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

:root {
    --primary-color: #0066ff;
    --secondary-color: #ff6b35;
    --dark-bg: #0a0e27;
    --dark-card: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-color: #10b981;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

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

/* ===== 侧边固定导航 ===== */
.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 80px;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-wrapper {
    margin-bottom: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.nav-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.nav-dot::before {
    content: attr(title);
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--dark-card);
    padding: 5px 15px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.nav-dot:hover::before {
    opacity: 1;
}

.nav-dot:hover,
.nav-dot.active {
    background: var(--primary-color);
    transform: scale(1.5);
}

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

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===== 主内容区 ===== */
.main-content {
    margin-left: 80px;
}

/* ===== Hero 全屏区 ===== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #db2777 100%);
    opacity: 0.15;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}

.el-1 {
    width: 400px;
    height: 400px;
    background: rgba(102, 126, 234, 0.3);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.el-2 {
    width: 300px;
    height: 300px;
    background: rgba(219, 39, 119, 0.3);
    bottom: -50px;
    right: 10%;
    animation-delay: 7s;
}

.el-3 {
    width: 350px;
    height: 350px;
    background: rgba(124, 58, 237, 0.3);
    top: 50%;
    right: -100px;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(50px, -50px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.trust-badges {
    display: flex;
    gap: 60px;
    justify-content: center;
}

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

.badge-item strong {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--primary-color));
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(-20px); }
    50% { opacity: 1; transform: translateY(0); }
}

/* ===== 核心优势区 - 六边形卡片 ===== */
.advantages-section {
    padding: 120px 0;
    background: var(--dark-bg);
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 700;
}

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

.hexagon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.hex-card {
    background: var(--dark-card);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.hex-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hex-card:hover::before {
    opacity: 0.1;
}

.hex-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.hex-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: grayscale(0.5);
    transition: filter 0.3s ease;
}

.hex-card:hover .hex-icon {
    filter: grayscale(0);
}

.hex-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.hex-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===== 多平台下载区 - 时间线 ===== */
.platforms-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
    position: relative;
}

.section-header.light .section-title,
.section-header.light .section-desc {
    color: white;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item.left .timeline-content {
    margin-right: 55%;
}

.timeline-item.right .timeline-content {
    margin-left: 55%;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 30px;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.3);
}

.timeline-item.left .timeline-content::before {
    right: -58px;
}

.timeline-item.right .timeline-content::before {
    left: -58px;
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.8;
}

.platform-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.platform-link:hover {
    gap: 10px;
}

/* ===== 使用指南区 - 步骤卡片 ===== */
.guide-section {
    padding: 120px 0;
    background: var(--dark-bg);
}

.steps-container {
    display: grid;
    gap: 40px;
}

.step-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 100px 1fr 150px;
    gap: 40px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.1);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.2;
    animation: pulse 2s infinite;
}

.visual-circle.c2 {
    animation-delay: 0.5s;
}

.visual-circle.c3 {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* ===== FAQ 手风琴区 ===== */
.faq-section {
    padding: 120px 0;
    background: var(--dark-bg);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-card);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    list-style: none;
    user-select: none;
    transition: background 0.3s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: slideDown 0.3s ease;
}

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

/* ===== 页脚 ===== */
.footer {
    background: var(--dark-card);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.back-to-top {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item.left .timeline-content,
    .timeline-item.right .timeline-content {
        margin-left: 80px;
        margin-right: 0;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -58px;
    }
    
    .step-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .side-nav {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 70px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: row;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 30px;
    }
    
    .hexagon-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}