/* 首页专用样式 */

/* 字体导入和基础设置 */
:root {
    /* 浅色主题色彩系统 */
    --primary-bg: #ffffff;
    --secondary-bg: #f8fafc;
    --ai-orange: #FF6A00;
    --aqi-purple: #8A2BE2;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: rgba(0, 0, 0, 0.02);
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glow-orange: rgba(255, 106, 0, 0.15);
    --glow-purple: rgba(138, 43, 226, 0.15);
    --glow-blue: rgba(59, 130, 246, 0.15);
    
    /* 间距系统 - 8px基准倍数 */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 40px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    
    /* 动效曲线 */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* 字体 */
    --font-title: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 50%, #f1f5f9 100%);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* 粒子背景 */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 106, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
}

.particles-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(59, 130, 246, 0.2), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(6, 182, 212, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 106, 0, 0.2), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(138, 43, 226, 0.2), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
}

/* 鼠标跟随光效 */
.mouse-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 2;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.nav-logo h2 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 24px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.nav-link.active {
    color: var(--accent-blue);
    font-weight: 600;
}

.nav-primary .nav-link {
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* 导航栏下拉菜单样式 */
.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-dropdown a {
    display: block;
    padding: 8px 16px;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.nav-dropdown a:hover {
    background-color: rgba(255, 106, 0, 0.1);
    color: #FF6A00;
}

/* 移动端导航样式 */
.nav-menu.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 12px 12px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active .nav-item {
        margin-bottom: 8px;
    }
    
    .nav-menu.active .nav-dropdown {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        margin-top: 8px;
        margin-left: 16px;
        backdrop-filter: blur(15px);
    }
    
    .nav-menu.active .nav-dropdown.show {
        display: block !important;
    }
    
    .nav-menu.active .nav-dropdown a {
        color: #1F2937 !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    
    .nav-menu.active .nav-dropdown a:hover {
        background-color: rgba(59, 130, 246, 0.1) !important;
        color: #1E40AF !important;
        transform: translateX(4px);
    }
    
    .nav-menu.active .nav-dropdown a:first-child {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
    }
    
    .nav-menu.active .nav-dropdown a:last-child {
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
        border-bottom: none;
    }
    
    .nav-menu.active .nav-dropdown a:hover {
        background-color: rgba(255, 106, 0, 0.2);
        border-radius: 4px;
        padding-left: 8px;
    }
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
}

/* 英雄区域样式 */
.hero-section {
    background: transparent;
    color: var(--text-dark);
    padding: 120px 0 var(--spacing-3xl);
    margin-top: 64px;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 106, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 48px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
    background: linear-gradient(45deg, var(--accent-blue), var(--ai-orange), var(--aqi-purple));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-2xl);
}

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

.stat-number {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 36px;
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* 产品卡片区域样式 */
.products-section {
    padding: var(--spacing-3xl) 0;
    background: transparent;
    position: relative;
    z-index: 3;
}

.section-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    color: var(--text-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    min-height: 480px;
}

.ai-service-card {
    border-color: var(--ai-orange);
    box-shadow: 0 8px 32px var(--glow-orange);
}

.ai-service-card::before {
    background: linear-gradient(90deg, var(--ai-orange), #FF8533);
}

.aqi-card {
    border-color: var(--aqi-purple);
    box-shadow: 0 8px 32px var(--glow-purple);
}

.aqi-card::before {
    background: linear-gradient(90deg, var(--aqi-purple), #9A3BF0);
}

.tech-card {
    border-color: #4F46E5;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
}

.tech-card::before {
    background: linear-gradient(90deg, #4F46E5, #7C3AED);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ai-icon {
    background: linear-gradient(135deg, var(--ai-orange), #FF8533);
    box-shadow: 0 0 20px var(--glow-orange);
}

.aqi-icon {
    background: linear-gradient(135deg, var(--aqi-purple), #9A3BF0);
    box-shadow: 0 0 20px var(--glow-purple);
}

.tech-icon {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-header h3 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 20px;
    color: var(--text-dark);
}

.card-content {
    margin-bottom: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    color: var(--text-dark);
}

.feature-icon {
    font-size: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.tech-tag {
    background-color: rgba(138, 43, 226, 0.1);
    color: var(--aqi-purple);
    padding: 4px var(--spacing-xs);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.live-stats {
    background-color: rgba(255, 106, 0, 0.1);
    border-radius: 8px;
    padding: var(--spacing-sm);
    text-align: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 24px;
    color: var(--ai-orange);
}

.stat-unit {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.websocket-demo {
    background-color: rgba(138, 43, 226, 0.1);
    border-radius: 8px;
    padding: var(--spacing-sm);
}

.connection-status {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    font-size: 14px;
    color: var(--aqi-purple);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10B981;
}

.message-flow {
    display: flex;
    gap: 4px;
    justify-content: center;
}

.message-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--aqi-purple);
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.tech-feature {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #4F46E5;
    transition: all 0.3s ease;
}

.tech-feature:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(124, 58, 237, 0.15));
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
}

/* AI指标样式 */
.ai-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.05), rgba(255, 133, 51, 0.05));
    border: 1px solid rgba(255, 106, 0, 0.2);
    border-radius: 8px;
}

.metric-item {
    text-align: center;
    padding: var(--spacing-xs);
}

.metric-value {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 18px;
    color: var(--ai-orange);
    margin-bottom: 2px;
}

.metric-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

/* 性能统计样式 */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05), rgba(154, 59, 240, 0.05));
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
    padding: var(--spacing-xs);
}

.stat-value {
    display: block;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 18px;
    color: var(--aqi-purple);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.collapse-panel {
    margin-top: var(--spacing-sm);
}

.collapse-toggle {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(124, 58, 237, 0.05));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 8px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 14px;
    font-weight: 500;
    color: #4F46E5;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.collapse-toggle:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    border-color: rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    margin-top: var(--spacing-xs);
}

.collapse-content.active {
    max-height: 200px;
}

.collapse-content a {
    display: block;
    color: #4F46E5;
    text-decoration: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.collapse-content a:hover {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    color: #7C3AED;
    transform: translateX(4px);
}

.card-footer {
    margin-top: auto;
    padding-top: var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 12px var(--spacing-md);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ai-orange), #FF8533);
    color: var(--white);
    box-shadow: 0 4px 15px var(--glow-orange);
}



.btn-secondary {
    background: linear-gradient(135deg, var(--aqi-purple), #9A3BF0);
    color: var(--white);
    box-shadow: 0 4px 15px var(--glow-purple);
}

.btn-outline {
    background: transparent;
    color: #4F46E5;
    border: 2px solid #4F46E5;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.15);
}

.btn-outline:hover {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

/* 技术生态卡片特有样式 */
.tech-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(79, 70, 229, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xs);
}

.highlight-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
    font-weight: 500;
}

.highlight-value {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    color: #4F46E5;
}



/* 产品对比区域样式 */
.comparison-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--white);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: var(--spacing-2xl);
    align-items: center;
}

.comparison-left h3,
.comparison-right h3 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 24px;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.ai-visualization {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: var(--spacing-md);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-visualization canvas {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 300px;
}

.performance-table {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: var(--spacing-md);
}

.perf-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid #E5E7EB;
}

.perf-item:last-child {
    border-bottom: none;
}

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

.perf-value {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--aqi-purple);
    font-size: 16px;
}

/* 服务展示区域样式 */
.services-section {
    padding: var(--spacing-3xl) 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--accent-blue), #2563EB);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.service-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

/* 微信咨询区域样式 */
.wechat-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--accent-blue) 0%, #2563EB 100%);
    color: var(--white);
}

.wechat-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-2xl);
}

.wechat-text h3 {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 28px;
    margin-bottom: var(--spacing-sm);
}

.wechat-text p {
    font-size: 16px;
    opacity: 0.9;
}

.wechat-qr {
    display: flex;
}

.wechat-qr img {
    width: 90px;
    height: 90px;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background-color: var(--white);
    padding: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.qr-hint {
    font-size: 14px;
    opacity: 0.8;
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, #e2e8f0 100%);
    color: var(--text-dark);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
    position: relative;
    z-index: 3;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    font-family: var(--font-title);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

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

.footer-section li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    position: relative;
}

/* 页脚微信区域 */
.footer-contact {
    text-align: center;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-bottom {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    text-align: center;
    color: var(--text-muted);
    backdrop-filter: blur(5px);
    border-radius: 8px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-stats {
        gap: var(--spacing-lg);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .nav-logo h2 {
        font-size: 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .wechat-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-xs);
        width: 100%;
        max-width: 100%;
    }
    
    /* 确保所有主要区域占满宽度 */
    .hero-section,
    .products-section,
    .comparison-section,
    .services-section,
    .wechat-section,
    .footer {
        width: 100%;
        max-width: 100%;
    }
    
    /* 确保容器内元素不超出屏幕 */
    .hero-container,
    .nav-container {
        width: 100%;
        max-width: 100%;
        padding: 0 var(--spacing-xs);
    }
    
    /* 强制所有网格和flex容器占满宽度 */
    .products-grid,
    .comparison-grid,
    .services-grid {
        width: 100%;
        max-width: 100%;
    }
    
    /* 确保所有卡片不超出容器 */
    .product-card,
    .comparison-left,
    .comparison-right {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .logo-img {
        height: 24px;
    }
    
    .nav-logo h2 {
        font-size: 18px;
    }
    
    .hero-section {
        padding: 100px 0 var(--spacing-lg);
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-card,
    .service-card {
        padding: var(--spacing-sm);
    }
    
    .card-header h3 {
        font-size: 18px;
    }
    
    .btn {
        padding: 10px var(--spacing-sm);
        font-size: 13px;
    }
}