/* ========== 基础变量与重置 ========== */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #0f1523;
    --bg-tertiary: #161e30;
    --bg-card: rgba(22, 30, 48, 0.6);
    --border-color: rgba(0, 255, 255, 0.1);
    --border-hover: rgba(0, 255, 255, 0.3);
    
    --text-primary: #e8f0ff;
    --text-secondary: #8b9ab8;
    --text-muted: #556178;
    
    --accent-primary: #00f5ff;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #f472b6;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;
    
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #8b5cf6 50%, #f472b6 100%);
    --gradient-cyan: linear-gradient(135deg, #00f5ff 0%, #00d4aa 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    
    --shadow-glow: 0 0 40px rgba(0, 245, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 60px rgba(0, 245, 255, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

canvas#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

/* ========== 通用组件 ========== */

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header.left {
    text-align: left;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent-primary);
    letter-spacing: 3px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title.left {
    text-align: left;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-desc.left {
    margin-left: 0;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    background: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0e17;
    box-shadow: 0 4px 20px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(0, 245, 255, 0.4);
}

.btn-secondary {
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    background: rgba(0, 245, 255, 0.05);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-hover);
    color: var(--accent-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 245, 255, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ========== 导航栏 ========== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.3));
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    position: relative;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero 区域 ========== */

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 100px;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.hero-badge span:last-child {
    font-size: 13px;
    color: var(--accent-primary);
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    background: var(--gradient-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* 地球动画 */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.globe-container {
    position: relative;
    width: 420px;
    height: 420px;
}

.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-style: dashed;
    animation: rotateRing 30s linear infinite;
}

.ring-2 {
    width: 80%;
    height: 80%;
    border-color: rgba(139, 92, 246, 0.2);
    animation: rotateRing 25s linear infinite reverse;
}

.ring-3 {
    width: 60%;
    height: 60%;
    border-color: rgba(244, 114, 182, 0.15);
    border-style: dashed;
    animation: rotateRing 20s linear infinite;
}

@keyframes rotateRing {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.globe-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-primary);
    padding: 2px;
    box-shadow: 0 0 80px rgba(0, 245, 255, 0.3);
    animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% {
        box-shadow: 0 0 80px rgba(0, 245, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 120px rgba(0, 245, 255, 0.5);
    }
}

.core-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.core-inner::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 40%;
    height: 30%;
    background: var(--gradient-cyan);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(20px);
}

.core-inner::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 10%;
    width: 50%;
    height: 35%;
    background: var(--gradient-purple);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(25px);
}

.orbit-node {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.6);
}

.node-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: nodeGlow 2s ease-in-out infinite;
}

.node-2 {
    bottom: 10%;
    left: 5%;
    background: var(--accent-secondary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    animation: nodeGlow 2.5s ease-in-out infinite 0.3s;
}

.node-3 {
    bottom: 20%;
    right: 8%;
    background: var(--accent-tertiary);
    box-shadow: 0 0 20px rgba(244, 114, 182, 0.6);
    animation: nodeGlow 2.2s ease-in-out infinite 0.6s;
}

@keyframes nodeGlow {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.3);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--accent-primary);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        top: -50%;
    }
    100% {
        top: 100%;
    }
}

/* ========== 产品区域 ========== */

.products {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 245, 255, 0.02) 50%, transparent 100%);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
    animation-delay: var(--delay, 0s);
}

.product-card.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.7s ease forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.product-visual {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-visual-1 { background: linear-gradient(135deg, rgba(0, 245, 255, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%); }
.product-visual-2 { background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(0, 245, 255, 0.1) 100%); }
.product-visual-3 { background: linear-gradient(135deg, rgba(244, 114, 182, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%); }
.product-visual-4 { background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%); }

.visual-icon {
    width: 80px;
    height: 80px;
    color: var(--accent-primary);
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.4));
}

.visual-lines {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 245, 255, 0.08) 1px, transparent 1px) 0 0 / 40px 100%,
        linear-gradient(rgba(0, 245, 255, 0.08) 1px, transparent 1px) 0 0 / 100% 40px;
}

.visual-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    padding: 40px;
    gap: 8px;
}

.visual-grid::before {
    content: '';
    position: absolute;
    inset: 40px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: var(--radius-md);
    animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

.visual-wave {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.visual-wave::before,
.visual-wave::after {
    content: '';
    position: absolute;
    left: -50%;
    right: -50%;
    height: 200%;
    border: 2px solid rgba(244, 114, 182, 0.3);
    border-radius: 40%;
    animation: waveRotate 10s linear infinite;
}

.visual-wave::after {
    border-color: rgba(139, 92, 246, 0.3);
    animation-duration: 15s;
    animation-direction: reverse;
}

@keyframes waveRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.visual-blocks {
    position: absolute;
    inset: 0;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}

.visual-blocks > * {
    background: rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-sm);
    animation: blockFade 3s ease-in-out infinite;
}

.visual-blocks::before,
.visual-blocks::after {
    content: '';
    background: rgba(239, 68, 68, 0.15);
    border-radius: var(--radius-sm);
}

.visual-blocks > :nth-child(odd) { animation-delay: 0.5s; }
.visual-blocks > :nth-child(even) { animation-delay: 1s; background: rgba(245, 158, 11, 0.1); }

@keyframes blockFade {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1); }
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-display);
    border-radius: 100px;
    letter-spacing: 1px;
    z-index: 3;
}

.product-badge.new {
    background: var(--accent-green);
}

.product-content {
    padding: 30px;
}

.product-category {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 14px;
}

.product-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding: 18px;
    background: rgba(0, 245, 255, 0.03);
    border: 1px solid rgba(0, 245, 255, 0.08);
    border-radius: var(--radius-md);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 6px 12px;
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 6px;
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.product-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.online {
    background: var(--accent-green);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-dot.beta {
    background: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.product-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.product-link:hover svg {
    transform: translateX(4px);
}

/* ========== 博客区域 ========== */

.blog {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.02) 50%, transparent 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    margin-bottom: 60px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.blog-card.animate {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.7s ease forwards;
}

.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.blog-card.featured {
    grid-row: span 2;
}

.blog-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card.featured .blog-image {
    height: 340px;
}

.blog-visual {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blog-visual-1 {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.code-lines {
    padding: 30px;
    width: 85%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.code-lines span {
    height: 10px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent-primary), transparent);
    opacity: 0.7;
}

.code-lines span:nth-child(1) { width: 90%; }
.code-lines span:nth-child(2) { width: 60%; margin-left: 20px; }
.code-lines span:nth-child(3) { width: 75%; margin-left: 10px; }
.code-lines span:nth-child(4) { width: 50%; margin-left: 30px; background: linear-gradient(90deg, var(--accent-secondary), transparent); }
.code-lines span:nth-child(5) { width: 85%; background: linear-gradient(90deg, var(--accent-tertiary), transparent); }

.blog-visual-2 {
    background: linear-gradient(135deg, #022c22 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-svg {
    width: 80%;
    height: 80%;
    color: var(--accent-green);
}

.blog-visual-3 {
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-grid {
    width: 70%;
    height: 70%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
}

.block-grid::before,
.block-grid::after {
    content: '';
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(99, 102, 241, 0.4));
    border-radius: 8px;
}

.block-grid::after {
    grid-column: span 3;
    background: linear-gradient(135deg, rgba(244, 114, 182, 0.4), rgba(139, 92, 246, 0.4));
}

.blog-visual-4 {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.circuit-pattern {
    width: 80%;
    height: 80%;
    background:
        linear-gradient(90deg, rgba(0, 245, 255, 0.15) 2px, transparent 2px) 0 0 / 30px 30px,
        linear-gradient(rgba(0, 245, 255, 0.15) 2px, transparent 2px) 0 0 / 30px 30px;
    position: relative;
}

.circuit-pattern::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    right: 20%;
    bottom: 30%;
    border: 2px solid rgba(0, 245, 255, 0.3);
    border-radius: 4px;
    clip-path: polygon(0 0, 60% 0, 60% 30%, 100% 30%, 100% 100%, 0 100%);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: rgba(15, 21, 35, 0.9);
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
    font-size: 12px;
    font-weight: 600;
    font-family: var(--font-display);
    border-radius: 6px;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.blog-category.featured-cat {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(0, 245, 255, 0.1);
}

.blog-content {
    padding: 28px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.blog-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
    transition: color 0.3s ease;
}

.blog-card.featured .blog-title {
    font-size: 26px;
}

.blog-card:hover .blog-title {
    color: var(--accent-primary);
}

.blog-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 14px;
}

.blog-author span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.blog-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--accent-secondary);
}

.blog-more {
    text-align: center;
}

/* ========== 关于区域 ========== */

.about {
    background: linear-gradient(180deg, transparent 0%, rgba(244, 114, 182, 0.02) 50%, transparent 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.about-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.skills {
    margin: 40px 0;
}

.skills-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--text-primary);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 245, 255, 0.15);
}

.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
}

.timeline-year {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--accent-primary);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.timeline-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-visual {
    position: relative;
    padding-top: 60px;
}

.tech-stack-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}

.stack-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.stack-dots {
    display: flex;
    gap: 6px;
}

.stack-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.stack-dots span:nth-child(1) { background: #ff5f57; }
.stack-dots span:nth-child(2) { background: #febc2e; }
.stack-dots span:nth-child(3) { background: #28c840; }

.stack-title {
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.stack-body {
    padding: 24px;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 2.2;
}

.stack-line {
    display: flex;
    flex-wrap: wrap;
}

.stack-key {
    color: var(--accent-tertiary);
    min-width: 100px;
}

.stack-value {
    color: var(--accent-primary);
}

.stack-value.status-ok {
    color: var(--accent-green);
}

.stack-cursor {
    margin-top: 10px;
}

.cursor {
    color: var(--accent-primary);
    animation: blink 1s steps(1) infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    font-weight: 600;
    font-size: 14px;
    animation: float 6s ease-in-out infinite;
}

.floating-card svg {
    width: 24px;
    height: 24px;
    color: var(--accent-primary);
}

.floating-card.card-1 {
    top: 0;
    right: 20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 80px;
    left: -30px;
    animation-delay: 2s;
}

.floating-card.card-2 svg {
    color: var(--accent-tertiary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ========== 联系区域 ========== */

.contact {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 245, 255, 0.02) 50%, transparent 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
}

.method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--accent-primary);
    flex-shrink: 0;
}

.method-icon svg {
    width: 22px;
    height: 22px;
}

.method-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.method-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 245, 255, 0.2);
}

.contact-form-wrap {
    position: relative;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 15px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 245, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b9ab8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 48px;
}

/* ========== 页脚 ========== */

.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand .logo-img {
    height: 32px;
}

.footer-brand .footer-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 320px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-primary);
}

/* ========== 回到顶部 ========== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-hover);
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.3);
    transform: translateY(-3px);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ========== 响应式设计 ========== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        min-height: 400px;
    }
    
    .globe-container {
        width: 350px;
        height: 350px;
    }
    
    .products-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card.featured {
        grid-row: auto;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 10px;
        transition: right 0.3s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        padding: 14px 0;
        font-size: 16px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .globe-container {
        width: 280px;
        height: 280px;
    }
    
    .hero-visual {
        min-height: 320px;
    }
    
    .section-header {
        margin-bottom: 50px;
    }
    
    .products-grid {
        gap: 20px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 24px;
    }
    
    .contact-form {
        padding: 28px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 38px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
