/* 基础样式重置 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: rgba(59, 130, 246, 0.15);
    --secondary-color: #2B2B2B;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --bg-white: #1a1a2e;
    --bg-gray: #24243e;
    --bg-dark: #1a1a2e;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* 白色主题 */
body.light-theme {
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-muted: #999;
    --bg-white: #ffffff;
    --bg-gray: #f5f7fa;
    --border-color: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-white);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 主题切换按钮 */
.theme-toggle {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    color: white;
    position: absolute;
    transition: var(--transition);
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

body.light-theme .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

body.light-theme .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

body.light-theme .navbar {
    background: rgba(255,255,255,0.95);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand .logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
}

.nav-brand .brand-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu .nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.nav-menu .nav-cta:hover {
    background: var(--primary-dark);
}

/* 导航标签样式 */
.nav-item-with-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-tag {
    position: absolute;
    top: -10px;
    right: -8px;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 5px;
    border-radius: 8px;
    line-height: 1;
    z-index: 1;
}

.demo-tag {
    font-size: 11px;
    background: transparent;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.rebate-tag {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(255, 165, 0, 0.3);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero 区域 */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #24243e 50%, #1a1a2e 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

body.light-theme .hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f8 50%, #f0f7f4 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

body.light-theme .hero-badge {
    background: rgba(59, 130, 246, 0.1);
    color: #2563EB;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

body.light-theme .hero h1 {
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

body.light-theme .hero-subtitle {
    color: #666;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

body.light-theme .btn-secondary {
    background: white;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Hero 垂直流向架构图 */
.flow-diagram {
    position: relative;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    margin-left: auto;
}

/* 流程节点 */
.flow-node {
    position: relative;
    width: 320px;
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.98), rgba(25, 25, 40, 0.99));
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.flow-node:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(59, 130, 246, 0.15);
}

/* 客户端节点 */
.client-node {
    border-color: rgba(16, 185, 129, 0.3);
}

.client-node:hover {
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(16, 185, 129, 0.15);
}

/* 核心节点 - 更大更突出 */
.core-node {
    width: 360px;
    padding: 36px;
    background: linear-gradient(145deg, rgba(30, 30, 46, 0.99), rgba(20, 20, 35, 1));
    border-color: rgba(59, 130, 246, 0.4);
    border-width: 2px;
}

.core-node::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.5));
    z-index: -1;
    opacity: 0.5;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* 系统节点 */
.system-node {
    border-color: rgba(245, 166, 35, 0.3);
}

.system-node:hover {
    border-color: rgba(245, 166, 35, 0.6);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(245, 166, 35, 0.15);
}

/* 节点图标 */
.node-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.client-node .node-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    border-color: rgba(16, 185, 129, 0.3);
}

.system-node .node-icon {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(217, 119, 6, 0.1));
    border-color: rgba(245, 166, 35, 0.3);
}

.node-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

/* 节点内容 */
.node-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.node-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

/* 节点标签 */
.node-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}

.tag {
    font-size: 11px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
}

/* 节点徽章 */
.node-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-node .node-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

.system-node .node-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

/* 脉冲光环 - 核心节点 */
.pulse-ring {
    position: absolute;
    inset: -8px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 24px;
    animation: nodePulse 2s ease-out infinite;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 26px;
    animation: nodePulse 2s ease-out infinite 0.5s;
}

@keyframes nodePulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.08);
        opacity: 0;
    }
}

/* 连接线 */
.flow-connector {
    position: relative;
    width: 2px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.connector-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(59, 130, 246, 0.1) 0%,
        rgba(59, 130, 246, 0.5) 50%,
        rgba(59, 130, 246, 0.1) 100%
    );
}

.connector-dot {
    width: 12px;
    height: 12px;
    background: rgba(59, 130, 246, 0.8);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    animation: dotPulse 1.5s ease-in-out infinite;
    z-index: 5;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.8);
    }
}

/* 流向标签 */
.flow-label {
    position: absolute;
    right: -90px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 14px;
    background: rgba(30, 30, 46, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    white-space: nowrap;
}

body.light-theme .flow-label {
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    border-color: rgba(0, 0, 0, 0.1);
}

/* 流动粒子 */
.flow-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle-up,
.particle-down {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.particle-up {
    background: rgba(16, 185, 129, 0.8);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    animation: flowUp 3s linear infinite;
}

.particle-down {
    background: rgba(245, 166, 35, 0.8);
    box-shadow: 0 0 10px rgba(245, 166, 35, 0.6);
    animation: flowDown 3s linear infinite;
}

.particle-up:nth-child(1) { top: 15%; animation-delay: 0s; }
.particle-up:nth-child(2) { top: 15%; animation-delay: 1s; }
.particle-up:nth-child(3) { top: 15%; animation-delay: 2s; }
.particle-down:nth-child(4) { top: 55%; animation-delay: 0.5s; }
.particle-down:nth-child(5) { top: 55%; animation-delay: 1.5s; }
.particle-down:nth-child(6) { top: 55%; animation-delay: 2.5s; }

@keyframes flowUp {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-120px) scale(0.5);
        opacity: 0;
    }
}

@keyframes flowDown {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(120px) scale(0.5);
        opacity: 0;
    }
}

/* 旧代码区域样式 - 保留备用 */
.hero-code-3d {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 420px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
}

.glow-ring::before,
.glow-ring::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(59, 130, 246, 0.08);
    border-radius: 50%;
}

.glow-ring::before {
    width: 400px;
    height: 400px;
    top: -50px;
    left: -50px;
    animation: ringExpand 4s ease-out infinite 1s;
}

.glow-ring::after {
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    animation: ringExpand 4s ease-out infinite 2s;
}

@keyframes ringExpand {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* 旧代码区域样式 - 保留备用 */
.hero-code {
    background: #1e1e2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
}

.code-content {
    padding: 20px;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.code-content code {
    color: #e4e4e7;
}

.code-content .comment { color: #6a9955; }
.code-content .string { color: #ce9178; }
.code-content .key { color: #9cdcfe; }

.code-footer {
    padding: 12px 20px;
    background: #2d2d44;
    border-top: 1px solid #3d3d5c;
}

.code-footer .tip {
    color: #a0a0b0;
    font-size: 13px;
}

/* 通用 section 样式 */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: white;
}

body.light-theme .section-dark {
    background: #f5f7fa;
    color: var(--text-primary);
}

.section-dark .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--primary-color);
}

body.light-theme .section-dark .section-tag {
    background: var(--primary-light);
}

.section-dark h2,
.section-dark .section-desc {
    color: white;
}

body.light-theme .section-dark h2,
body.light-theme .section-dark .section-desc {
    color: var(--text-primary);
}

.section-gray {
    background: var(--bg-gray);
}

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

.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

/* 产品简介 */
.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.intro-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.intro-text strong {
    color: var(--text-primary);
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

body.light-theme .stat-item {
    background: white;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 技术架构 */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.arch-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
}

body.light-theme .arch-card {
    background: white;
    border: 1px solid var(--border-color);
}

body.light-theme .arch-card:hover {
    background: white;
}

.arch-card:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.arch-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.arch-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.arch-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.arch-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

body.light-theme .arch-card p {
    color: var(--text-secondary);
}

/* 功能介绍 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
}

body.light-theme .feature-card {
    background: white;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    color: white;
}

.feature-icon.friend { background: #4A90E2; }
.feature-icon.message { background: #3B82F6; }
.feature-icon.group { background: #F5A623; }
.feature-icon.moment { background: #BD10E0; }
.feature-icon.video { background: #FF6B6B; }

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--border-color);
}

.feature-card li:last-child {
    border-bottom: none;
}

/* 应用案例 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 案例客户 */
.partners-marquee {
    overflow: hidden;
    margin: 40px 0;
    position: relative;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color), transparent);
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color), transparent);
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marquee 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    flex-shrink: 0;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    transition: var(--transition);
}

body.light-theme .marquee-item {
    background: white;
    border-color: var(--border-color);
    color: #333;
}

.marquee-item:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
    color: #3B82F6;
    transform: scale(1.05);
}

body.light-theme .marquee-item:hover {
    background: rgba(37, 99, 235, 0.1);
}

@media (max-width: 576px) {
    .marquee-item {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.partner-group {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

body.light-theme .partner-group {
    background: white;
    box-shadow: var(--shadow-sm);
}

.partner-group:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.partner-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partner-names {
    display: block;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

body.light-theme .partner-names {
    color: #333;
}

@media (max-width: 768px) {
    .partners-groups {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partners-groups {
        grid-template-columns: 1fr;
    }
}

.case-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

body.light-theme .case-card {
    background: white;
}

.case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.case-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-tag.platform {
    background: #e3f2fd;
    color: #1976d2;
}

.case-tag.function {
    background: #e8f5e9;
    color: #388e3c;
}

.case-tag.business {
    background: #fff3e0;
    color: #f57c00;
}

.case-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.case-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 技术对比 */
.compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: 48px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

body.light-theme .compare-table {
    background: white;
}

.compare-table th,
.compare-table td {
    padding: 16px 24px;
    text-align: center;
}

.compare-table th {
    background: var(--bg-gray);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.compare-table td {
    border-bottom: 1px solid var(--border-color);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table tr.highlight {
    background: var(--primary-light);
}

.compare-table tr.highlight td {
    font-weight: 600;
}

.tech-name {
    text-align: left !important;
    font-weight: 600;
}

.star {
    color: var(--text-muted);
    letter-spacing: 2px;
}

.star.active {
    color: #ffc107;
}

.score {
    font-weight: 700;
    color: var(--text-muted);
}

.score.active {
    color: var(--primary-color);
}

.compare-notes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.note-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

body.light-theme .note-item {
    background: white;
}

.note-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.note-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(7, 193, 96, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.contact-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.contact-cta {
    text-align: center;
}

.contact-tip {
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* 页脚 */
.footer {
    background: #0f0f1a;
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand .logo {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.footer-brand .brand-text {
    font-size: 24px;
    font-weight: 700;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

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

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.9);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
}

.footer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.footer-row p,
.footer-row a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-row a:hover {
    color: #3B82F6;
}

body.light-theme .footer-row p,
body.light-theme .footer-row a {
    color: #666;
}

body.light-theme .footer-row a:hover {
    color: #2563EB;
}

.footer-warning {
    margin-top: 12px;
    text-align: center;
}

.footer-warning p {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* 二维码弹窗样式 */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.qr-modal-content {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    max-width: 350px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}

.qr-modal-content h3 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 18px;
}

.qr-image {
    width: 200px;
    height: 200px;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
}

.qr-modal-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.qr-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.qr-close:hover {
    color: var(--text-primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .architecture-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    body.light-theme .nav-menu {
        background: white;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .architecture-grid,
    .features-grid,
    .cases-grid,
    .compare-notes {
        grid-template-columns: 1fr;
    }

    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .intro-stats {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
