/* ========== 中信证券 - 全新设计 ========== */
:root {
    --primary: #D4142A;
    --primary-dark: #A81020;
    --primary-light: #FF4D5A;
    --gold: #C9A84C;
    --gold-light: #E8CD7A;
    --bg-deep: #05080F;
    --bg-dark: #0B101E;
    --bg-card: #111729;
    --bg-card-hover: #162033;
    --border: #1E2A45;
    --text-primary: #EBEDF2;
    --text-secondary: #8896B4;
    --text-muted: #5A6680;
    --gradient-hero: linear-gradient(135deg, #0B101E 0%, #162033 50%, #0E1425 100%);
    --gradient-card: linear-gradient(180deg, #111729 0%, #0D1321 100%);
    --gradient-accent: linear-gradient(135deg, #D4142A 0%, #C9A84C 100%);
    --gradient-btn: linear-gradient(135deg, #D4142A 0%, #E83A4A 100%);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 40px rgba(212,20,42,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;
}

/* ========== 背景粒子 ========== */
.bg-particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
    overflow: hidden;
}
.bg-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    background: var(--primary);
    animation: floatUp linear infinite;
}
@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.06; }
    90% { opacity: 0.02; }
    100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

/* ========== K线装饰 ========== */
.kline-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}
.kline-bar {
    display: inline-block;
    margin: 0 1px;
    background: currentColor;
}
.kline-up { color: var(--primary); }
.kline-down { color: #34A853; }

/* ========== 导航 ========== */
.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(11,16,30,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: 20px; 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(--gold); }
.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(212,20,42,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(212,20,42,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(212,20,42,0.1);
    border: 1px solid rgba(212,20,42,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(212,20,42,0.4); }
    50% { box-shadow: 0 0 0 12px rgba(212,20,42,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(212,20,42,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(--gold);
    color: var(--gold);
    background: rgba(201,168,76,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(--gold);
    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(--gold);
    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(201,168,76,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}
.feature-icon {
    width: 52px; height: 52px;
    background: rgba(212,20,42,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(212,20,42,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(201,168,76,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(--gold); }
.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(--gold); }

/* ========== 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; }
}
