/* =========================================
   CSS 变量定义与基础设置
   ========================================= */
:root {
    /* 主色调 - 科技蓝紫 */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-super-light: #c7d2fe;
    
    /* 渐变色彩 */
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --tech-gradient: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%);
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --geo-gradient: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    --ai-gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    
    /* 背景色 */
    --dark-bg: #0f172a;
    --darker-bg: #1e293b;
    --light-bg: #f8fafc;
    --lighter-bg: #ffffff;
    
    /* 卡片背景 */
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.12);
    
    /* 文字颜色 */
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    /* 交互颜色 */
    --accent: var(--primary-color);
    --accent-hover: var(--primary-light);
    
    /* 阴影效果 */
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.3);
    --shadow-glow-green: 0 0 30px rgba(16, 185, 129, 0.3);
    
    /* 过渡效果 */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 边框圆角 */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 30px;
    
    /* 玻璃态效果 */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

.light-mode {
    /* 明亮模式配色 */
    --dark-bg: #f8fafc;
    --darker-bg: #ffffff;
    --light-bg: #f1f5f9;
    --lighter-bg: #ffffff;
    
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 0, 0, 0.08);
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--dark-bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* =========================================
   标题格式系统
   ========================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

.section-title h2 {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 英雄标题动态渐变 */
.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(90deg, 
        #ff6b6b, #ffa94d, #ffd93d, 
        #6bcf7f, #4d8af0, #9d4edd, 
        #ff6b6b);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 8s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =========================================
   按钮系统
   ========================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-slow);
    cursor: pointer;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    font-size: 1rem;
}

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

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

/* 按钮变体 */
.btn-primary { 
    background: var(--primary-gradient); 
    color: white; 
    box-shadow: var(--shadow); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary { 
    background: var(--secondary-gradient); 
    color: white; 
    box-shadow: var(--shadow); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-success { 
    background: var(--success-gradient); 
    color: white; 
    box-shadow: var(--shadow); 
    font-weight: 600; 
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-primary:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4); 
}

.btn-secondary:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.4); 
}

.btn-success:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4); 
}

.btn-outline:hover {
    background: var(--glass-bg);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow);
}

.btn-phone {
    background: var(--success-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.btn-phone:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* =========================================
   导航栏样式
   ========================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-slow);
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.light-mode header { 
    background: rgba(248, 250, 252, 0.9); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled { 
    background: rgba(15, 23, 42, 0.95); 
    padding: 15px 0; 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.light-mode header.scrolled { 
    background: rgba(255, 255, 255, 0.95); 
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.light-mode .logo { 
    color: var(--text-primary); 
}

.logo-icon {
    width: 40px;
    height: 40px; 
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 10s linear infinite;
}

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

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    font-size: 1rem;
}

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

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

.nav-links a:hover::after { 
    width: 100%; 
}

/* 移动端菜单按钮美化 - 修复：仅在移动端显示 */
.mobile-menu-btn {
    display: none; /* 默认隐藏 */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.mobile-menu-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.mobile-menu-btn:hover::before {
    opacity: 0.1;
}

.mobile-menu-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.mobile-menu-btn.active:hover {
    background: var(--primary-gradient);
    color: white;
}

.mobile-menu-btn .menu-icon {
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active .menu-icon {
    transform: rotate(90deg);
}

/* 移动端菜单展开动画 */
.nav-links {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 67px;
        left: 50%;
        transform: translateX(-50%) translateY(-30px);
        width: 100%; 
        background: var(--darker-bg);
        flex-direction: column; 
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);  
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        backdrop-filter: blur(20px);
    }
    
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
        transform: translateX(-50%) translateY(0);
    }
    
    .nav-links li {
        width: 100%; 
        padding: 15px ;
        border-bottom: 1px solid var(--card-border);
        transform: translateX(-20px);
        opacity: 0;
        transition: all 0.4s ease;
    }
    
    .nav-links.active li {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links li:nth-child(7) { transition-delay: 0.4s; }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .light-mode .nav-links { 
        background: var(--lighter-bg); 
        border: 1px solid var(--card-border);
    }
    
    /* 在移动端显示菜单按钮 */
    .mobile-menu-btn {
        display: flex;
    }
}

/* =========================================
   英雄区域样式
   ========================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #312e81 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.light-mode .hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 50%, #c7d2fe 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite alternate;
}

.hero-content { 
    z-index: 2;
    position: relative;
    padding: 60px 0;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 700px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}

/* 科技线条效果 */
.tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.tech-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), transparent);
    height: 1px;
    animation: techLineMove 8s linear infinite;
}

.tech-line:nth-child(1) { top: 20%; width: 100px; animation-delay: 0s; animation-duration: 12s; }
.tech-line:nth-child(2) { top: 40%; width: 200px; animation-delay: 2s; animation-duration: 10s; }
.tech-line:nth-child(3) { top: 60%; width: 150px; animation-delay: 4s; animation-duration: 15s; }
.tech-line:nth-child(4) { top: 80%; width: 180px; animation-delay: 6s; animation-duration: 8s; }
.tech-line:nth-child(5) { top: 30%; width: 120px; right: 0; animation-delay: 1s; animation-duration: 14s; }

@keyframes techLineMove {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

/* 数据流效果 */
.data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.data-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: dataFlow 6s linear infinite;
    box-shadow: 0 0 10px var(--primary-color);
}

.data-point:nth-child(1) { top: 25%; left: 10%; animation-delay: 0s; }
.data-point:nth-child(2) { top: 45%; left: 15%; animation-delay: 1s; }
.data-point:nth-child(3) { top: 65%; left: 20%; animation-delay: 2s; }
.data-point:nth-child(4) { top: 35%; left: 85%; animation-delay: 3s; }

@keyframes dataFlow {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translateY(-20px) scale(1.5); }
    90% { opacity: 1; }
    100% { transform: translateY(-40px) scale(1); opacity: 0; }
}

/* 浮动元素 */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    animation: floatEnhanced 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .floating-element {
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@keyframes floatEnhanced {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.7;
    }
    25% { 
        transform: translate(20px, -30px) rotate(90deg) scale(1.1);
        opacity: 0.9;
    }
    50% { 
        transform: translate(-15px, 20px) rotate(180deg) scale(0.9);
        opacity: 0.6;
    }
    75% { 
        transform: translate(25px, 15px) rotate(270deg) scale(1.05);
        opacity: 0.8;
    }
}

.floating-element:nth-child(1) { width: 120px; height: 120px; top: 15%; left: 5%; background: rgba(99, 102, 241, 0.15); animation-duration: 12s; }
.floating-element:nth-child(2) { width: 180px; height: 180px; top: 65%; left: 85%; background: rgba(139, 92, 246, 0.15); animation-duration: 15s; animation-delay: 2s; }
.floating-element:nth-child(3) { width: 90px; height: 90px; top: 75%; left: 15%; background: rgba(59, 130, 246, 0.15); animation-duration: 10s; animation-delay: 4s; }

/* 3D插画效果 - 修改为居中并放大 */
.hero-illustration {
    position: absolute;
    right:20%;
    top: 50%;
    transform: translate(-50%, -50%); 
    height: 450px;
    z-index: 1;
}

.cube {
    position: absolute;
    width: 180px; /* 增大立方体 */
    height: 180px;
    transform-style: preserve-3d;
    animation: cubeRotate 20s infinite linear;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.cube .face {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cube .front  { transform: rotateY(0deg) translateZ(90px); background: rgba(99, 102, 241, 0.3); }
.cube .back   { transform: rotateY(180deg) translateZ(90px); background: rgba(139, 92, 246, 0.3); }
.cube .right  { transform: rotateY(90deg) translateZ(90px); background: rgba(59, 130, 246, 0.3); }
.cube .left   { transform: rotateY(-90deg) translateZ(90px); background: rgba(16, 185, 129, 0.3); }

@keyframes cubeRotate {
    from { transform: translate(-50%, -50%) rotateX(20deg) rotateY(0deg); }
    to { transform: translate(-50%, -50%) rotateX(20deg) rotateY(360deg); }
}

.geo-sphere {
    position: absolute;
    width: 220px; /* 增大球体 */
    height: 220px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.4), rgba(16, 185, 129, 0.4));
    animation: spherePulse 4s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(99, 102, 241, 0.4); /* 增强发光效果 */
}

@keyframes spherePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); } /* 增强脉动效果 */
}

.ai-badge {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ai-gradient);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    animation: badgeFloat 3s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    white-space: nowrap;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-15px); } /* 增强浮动效果 */
}

/* =========================================
   卡片网格系统
   ========================================= */

.platforms-grid,
.advantages-grid,
.testimonial-cards,
.guarantee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* 通用卡片样式 */
.platform-card,
.advantage-card,
.testimonial-card,
.guarantee-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 40px 30px;
}

.platform-card:hover,
.advantage-card:hover,
.testimonial-card:hover,
.guarantee-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: rgba(99, 102, 241, 0.3);
}

/* 卡片顶部装饰条 */
.platform-card::before,
.advantage-card::before,
.guarantee-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

/* 卡片图标样式 */
.platform-icon,
.advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 卡片图标悬停效果 */
.platform-card:hover .platform-icon,
.advantage-card:hover .advantage-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 卡片内容文本 */
.platform-card h3,
.advantage-card h3,
.testimonial-card h4,
.guarantee-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-card:hover h3,
.advantage-card:hover h3,
.testimonial-card:hover h4,
.guarantee-card:hover h3 {
    color: var(--primary-light);
}

.platform-card p,
.advantage-card p,
.testimonial-card p,
.guarantee-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.platform-card:hover p,
.advantage-card:hover p,
.testimonial-card:hover p,
.guarantee-card:hover p {
    color: var(--text-primary);
}

/* 多彩渐变分配 */
.platform-card:nth-child(1) .platform-icon { background: var(--primary-gradient); }
.platform-card:nth-child(2) .platform-icon { background: var(--secondary-gradient); }
.platform-card:nth-child(3) .platform-icon { background: var(--tech-gradient); }
.platform-card:nth-child(4) .platform-icon { background: var(--success-gradient); }
.platform-card:nth-child(5) .platform-icon { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }
.platform-card:nth-child(6) .platform-icon { background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%); }

.advantage-card:nth-child(1) .advantage-icon { background: var(--primary-gradient); }
.advantage-card:nth-child(2) .advantage-icon { background: var(--secondary-gradient); }
.advantage-card:nth-child(3) .advantage-icon { background: var(--tech-gradient); }
.advantage-card:nth-child(4) .advantage-icon { background: var(--success-gradient); }
.advantage-card:nth-child(5) .advantage-icon { background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); }
.advantage-card:nth-child(6) .advantage-icon { background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%); }

/* =========================================
   区域背景色定义
   ========================================= */

.stats { 
    background: var(--darker-bg); 
    position: relative;
}

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

.how-it-works { 
    background: var(--darker-bg); 
}

.advantages { 
    background: var(--dark-bg); 
}

.testimonials { 
    background: var(--darker-bg); 
}

.guarantee { 
    background: var(--dark-bg); 
}

/* 最终行动号召区域 - 优化背景和动效 */
.final-cta { 
    background: linear-gradient(135deg, #0f766e 0%, #0891b2 100%); 
    color: white; 
    text-align: center; 
    position: relative; 
    overflow: hidden; 
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    animation: ctaBgPulse 10s ease-in-out infinite alternate;
}

@keyframes ctaBgPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

/* 最终区域几何动效 */
.cta-geometrics {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    opacity: 0.15;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: ctaShapeMove 25s linear infinite;
}

.cta-shape:nth-child(1) {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 10%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-duration: 30s;
}

.cta-shape:nth-child(2) {
    width: 180px;
    height: 180px;
    top: 60%;
    right: 15%;
    border-radius: 50% 50% 20% 80% / 80% 20% 80% 20%;
    animation-duration: 35s;
    animation-delay: 5s;
}

.cta-shape:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 25%;
    left: 20%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-duration: 25s;
    animation-delay: 10s;
}

@keyframes ctaShapeMove {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(25px, 10px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.final-cta p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
 
/* =========================================
   工作原理区域
   ========================================= */

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.step {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-light);
    border: 1px solid var(--card-border);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.step:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: var(--shadow);
    border-color: rgba(99, 102, 241, 0.3);
}

.step-number {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.step:nth-of-type(2n) .step-number {
    background: var(--ai-gradient);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(10deg);
    background: var(--ai-gradient);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
    transition: all 0.3s ease;
}

.step:hover .step-content h3 {
    color: var(--primary-light);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.step:hover .step-content p {
    color: var(--text-primary);
}

/* =========================================
   客户见证区域
   ========================================= */

.testimonial-card {
    text-align: left;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 5rem;
    color: rgba(99, 102, 241, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover::before {
    color: rgba(99, 102, 241, 0.2);
    transform: scale(1.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
    transform: scale(1.1);
    background: var(--ai-gradient);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-info h4 {
    color: var(--primary-light);
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-info span {
    color: var(--text-primary);
}
/* =========================================
   粒子容器优化样式
   ========================================= */

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

/* 确保canvas正确渲染 */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* =========================================
   数据见证专业实力 - 优化图标和背景
   ========================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 2; /* 确保内容在粒子之上 */
}

.stat-item {
    padding: 50px 30px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--card-border);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 为每个统计项添加圆角矩形渐变多色背景图标 */
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 2;
}

/* 为每个统计项添加圆角矩形渐变多色背景 */
.stat-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%);
    z-index: -1;
    opacity: 0.6;
    transition: all 0.8s ease;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: statBgRotate 20s linear infinite;
}

@keyframes statBgRotate {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(1); }
}

.stat-item:hover::after {
    opacity: 0.9;
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    animation-duration: 10s;
}

.stat-item:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
}

/* 统计项图标样式 - 圆角矩形渐变色背景 */
.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: white;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* 为每个图标添加不同的渐变色背景 */ 
.stat-item:nth-child(1) i {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.stat-item:nth-child(2) i {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.stat-item:nth-child(3) i {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.stat-item:nth-child(4) i {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}
/* 图标悬停效果 */
.stat-item:hover i {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* 图标发光效果 */
.stat-item i::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover i::after {
    opacity: 1;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    transition: all 0.5s ease;
    text-shadow: 0 5px 15px rgba(99, 102, 241, 0.2);
}

.stat-item:hover .stat-number {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    transform: scale(1.05);
}

.stat-label {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.5s ease;
    letter-spacing: 0.5px;
}

.stat-item:hover .stat-label {
    color: var(--primary-light);
    transform: translateY(5px);
}
/* =========================================
   保障区域  
   ========================================= */ 
.guarantee-card {
    text-align: center;
    position: relative;
    padding-top: 60px; /* 为图标留出空间 */
}

.guarantee-icon { 
    margin: 0 auto;
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
    z-index: 2;
}

.guarantee-card:nth-child(1) .guarantee-icon {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.guarantee-card:nth-child(2) .guarantee-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

.guarantee-card:nth-child(3) .guarantee-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.guarantee-card:hover .guarantee-icon {
    transform: translateX(-50%) scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 保障卡片内容调整 */
.guarantee-card h3 {
    margin-top: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.guarantee-card p {
    margin: 15px 0 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.highlight {
    color: #10b981;
    font-size: 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.guarantee-card:hover .highlight {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.disclaimer-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid #ef4444;
    padding: 25px;
    margin-top: 50px;
    border-radius: 0 10px 10px 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.disclaimer-box:hover {
    background: rgba(239, 68, 68, 0.15);
    transform: translateX(5px);
}

.disclaimer-box p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================
   页脚样式
   ========================================= */

footer {
    background: var(--darker-bg);
    padding: 80px 0 40px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-column:hover h3::after {
    width: 80px;
}

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

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-size: 1rem;
}

.footer-column a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.wechat-qr {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.qr-code:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-info {
    flex: 1;
}

.qr-info p {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   右侧固定按钮
   ========================================= */

.fixed-side-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    outline: none;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    position: relative;
    overflow: hidden;
}

.side-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.side-button:hover::before {
    left: 100%;
}

.phone-side-button { 
    background: var(--success-gradient); 
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 15px 25px rgba(16, 185, 129, 0.4); }
}

.side-button:hover { 
    transform: translateY(-8px) scale(1.1); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); 
}

.back-to-top {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top.show { 
    opacity: 1; 
    visibility: visible; 
}

/* =========================================
   移动端适配优化
   ========================================= */

 

@media (max-width: 992px) {
    .hero-illustration {
        position: relative; 
        height: 350px;
        right: 40%;
        top:auto; 
        bottom: 10%; 
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
   
    .section-title h2 {
        font-size: 2.5rem;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .platforms-grid,
    .advantages-grid,
    .testimonial-cards,
    .guarantee-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .stats-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 67px;
        text-align: center;
    }
    
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .section-title p {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    .stats-grid { 
        gap: 20px;
    }
    
    .final-cta h2 {
        font-size: 2.5rem;
    }
    
    .final-cta p {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 15px;
    }
    
    .fixed-side-buttons {
        right: 15px;
        bottom: 15px;
    }
    
    .side-button {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .wechat-qr {
        flex-direction: column;
        text-align: center;
    }
    
    .step {
        padding: 30px 20px;
    }
    
   
    
    .platforms-grid,
    .advantages-grid,
    .testimonial-cards,
    .guarantee-cards {
        grid-template-columns:repeat(1,1fr);
        gap: 20px;
    }
    
    .platform-card,
    .advantage-card,
    .testimonial-card,
    .guarantee-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    .fixed-side-buttons {
        right: 10px;
        bottom: 10px;
    }
    
    .side-button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2.8rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* 滚动动画类 */
.fade-in {
    opacity: 0.95;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 呼吸动画 */
@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* 震动动画 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* 美化：增强交互效果 */
.platform-card:hover .platform-icon,
.advantage-card:hover .advantage-icon,
.guarantee-card:hover .highlight,
.testimonial-card:hover .author-avatar {
    animation: shake 0.5s ease;
}

/* 美化：增加卡片内边距和阴影 */
.platform-card,
.advantage-card,
.testimonial-card,
.guarantee-card,
.stat-item {
    padding: 40px 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* 美化：增强标题效果 */
.section-title h2 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 美化：增强按钮效果 */
.btn {
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* 美化：增强导航效果 */
.nav-links a {
    font-weight: 600;
}
