/* ========== 同花顺 - 科技蓝主题 ========== */
:root {
    --primary: #1677FF;
    --primary-dark: #0958D9;
    --primary-light: #4096FF;
    --accent: #00D4AA;
    --accent-light: #33E6C0;
    --bg-deep: #060B1A;
    --bg-dark: #0A1228;
    --bg-card: #0F1A36;
    --bg-card-hover: #132144;
    --border: #1A2A52;
    --text-primary: #E8EDF5;
    --text-secondary: #8899BB;
    --text-muted: #556688;
    --gradient-hero: linear-gradient(135deg, #060B1A 0%, #0D1A3A 50%, #0A1228 100%);
    --gradient-card: linear-gradient(180deg, #0F1A36 0%, #0B1428 100%);
    --gradient-accent: linear-gradient(135deg, #1677FF 0%, #00D4AA 100%);
    --gradient-btn: linear-gradient(135deg, #1677FF 0%, #4096FF 100%);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.35);
    --shadow-glow: 0 0 40px rgba(22,119,255,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    --font-mono: 'SF Mono', 'Consolas', monospace;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========== 数据流背景 ========== */
.data-stream {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0; overflow: hidden;
}
.data-line {
    position: absolute;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(22,119,255,0.08), transparent);
    animation: dataFlow linear infinite;
}
@keyframes dataFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* ========== 导航 ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 40px; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(10,18,40,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon {
    width: 38px; height: 38px;
    background: var(--gradient-accent);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 900; color: #fff;
}
.nav-logo-text { font-size: 18px; font-weight: 700; color: var(--text-primary); letter-spacing: 1px; }
.nav-logo-text span { color: var(--accent); }
.nav-cta {
    padding: 10px 24px;
    background: var(--gradient-btn);
    border: none; border-radius: 50px;
    color: #fff; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: var(--transition); letter-spacing: 0.5px;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(22,119,255,0.4); }

/* ========== Hero ========== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 40px 80px; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute;
    top: 50%; left: 50%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(22,119,255,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 18px;
    background: rgba(22,119,255,0.1);
    border: 1px solid rgba(22,119,255,0.25);
    border-radius: 50px;
    font-size: 13px; color: var(--primary-light);
    margin-bottom: 28px; letter-spacing: 2px;
}
.hero-badge::before {
    content: ''; width: 8px; height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22,119,255,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(22,119,255,0); }
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.25; margin-bottom: 20px; letter-spacing: 1px; }
.hero h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc { font-size: 17px; color: var(--text-secondary); margin-bottom: 40px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    padding: 14px 40px;
    background: var(--gradient-btn);
    border: none; border-radius: 50px;
    color: #fff; font-size: 16px; font-weight: 600;
    cursor: pointer; transition: var(--transition);
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px; letter-spacing: 0.5px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(22,119,255,0.45); }
.btn-outline {
    padding: 14px 40px; background: transparent;
    border: 1.5px solid var(--border); border-radius: 50px;
    color: var(--text-primary); font-size: 16px; font-weight: 600;
    cursor: pointer; transition: var(--transition); text-decoration: none;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(0,212,170,0.05); }
.hero-stats { display: flex; gap: 48px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 36px; font-weight: 800; color: var(--accent); font-family: var(--font-mono); }
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ========== 特点 ========== */
.section { padding: 100px 40px; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { font-size: 13px; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 700; margin-bottom: 14px; }
.section-sub { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0); transition: transform 0.4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { border-color: rgba(0,212,170,0.3); transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.feature-icon {
    width: 52px; height: 52px;
    background: rgba(22,119,255,0.1);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ========== 下载区 ========== */
.download-section { background: var(--bg-dark); }
.download-card {
    background: var(--gradient-card); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 48px;
    display: flex; align-items: center; gap: 48px;
    position: relative; overflow: hidden;
}
.download-card::after {
    content: ''; position: absolute; top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(22,119,255,0.08) 0%, transparent 70%);
}
.download-info { flex: 1; position: relative; z-index: 1; }
.download-info h3 { font-size: 28px; margin-bottom: 12px; }
.download-info p { color: var(--text-secondary); margin-bottom: 24px; }
.download-meta { display: flex; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.download-meta-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.download-meta-item span { color: var(--text-secondary); font-weight: 600; }
.download-qrcode {
    width: 160px; height: 160px; background: #fff;
    border-radius: var(--radius-lg); padding: 8px;
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.download-qrcode canvas { width: 100%; height: 100%; }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--gradient-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); margin-bottom: 12px;
    overflow: hidden; transition: var(--transition);
}
.faq-item.active { border-color: rgba(0,212,170,0.3); }
.faq-question {
    padding: 20px 24px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; font-size: 15px; user-select: none;
}
.faq-arrow { transition: transform 0.3s ease; color: var(--text-muted); font-size: 18px; }
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px; color: var(--text-secondary); font-size: 14px; line-height: 1.8;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ========== 底部 ========== */
.footer {
    background: var(--bg-dark); border-top: 1px solid var(--border);
    padding: 40px; text-align: center; position: relative; z-index: 1;
}
.footer p { font-size: 13px; color: var(--text-muted); }
.footer a { color: var(--text-secondary); text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* ========== 404 ========== */
.notfound {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 40px;
}
.notfound-code {
    font-size: 140px; font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1; margin-bottom: 12px;
}
.notfound h2 { font-size: 24px; margin-bottom: 12px; }
.notfound p { color: var(--text-secondary); margin-bottom: 32px; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } .download-card { flex-direction: column; text-align: center; } }
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; } .hero-stats { gap: 24px; }
    .section { padding: 60px 20px; } .features-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 26px; } .download-card { padding: 28px; } .nav { padding: 0 20px; }
}
