/* 驱动精灵 V5 — 翡翠暗夜 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-soft: #6ee7b7;
    --emerald-bg: rgba(16,185,129,0.08);
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --rose: #f43f5e;
    --rose-soft: rgba(244,63,94,0.15);
    --bg-deep: #050a0e;
    --bg-dark: #0a1628;
    --bg-surface: #0f1f3a;
    --bg-card: rgba(16,185,129,0.05);
    --bg-card-hover: rgba(16,185,129,0.1);
    --bg-glass: rgba(255,255,255,0.03);
    --bg-glass-strong: rgba(255,255,255,0.06);
    --text-primary: #ecfdf5;
    --text-secondary: rgba(236,253,245,0.55);
    --text-tertiary: rgba(236,253,245,0.25);
    --border-subtle: rgba(16,185,129,0.12);
    --border-medium: rgba(16,185,129,0.25);
    --border-gold: rgba(245,158,11,0.2);
    --glow-emerald: rgba(16,185,129,0.3);
    --glow-gold: rgba(245,158,11,0.2);
    --shadow-card: 0 8px 32px rgba(5,10,14,0.4);
    --shadow-glow: 0 0 60px -10px var(--glow-emerald);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-full: 9999px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    min-height: 100vh;
    color: var(--text-primary);
    background: var(--bg-deep);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection { background: var(--emerald); color: white; }

/* ========== Background ========== */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-canvas .wave {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.bg-canvas .wave-1 {
    width: 800px; height: 400px;
    background: var(--emerald);
    top: -100px; left: -200px;
    animation: wave-drift 20s ease-in-out infinite;
}

.bg-canvas .wave-2 {
    width: 600px; height: 300px;
    background: var(--gold);
    bottom: -80px; right: -120px;
    animation: wave-drift 24s ease-in-out infinite reverse;
}

.bg-canvas .wave-3 {
    width: 400px; height: 200px;
    background: var(--rose);
    top: 40%; right: 20%;
    opacity: 0.08;
    animation: wave-drift 16s ease-in-out infinite;
    animation-delay: -6s;
}

.bg-canvas .grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16,185,129,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,185,129,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

@keyframes wave-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.05); }
    66% { transform: translate(-30px, 20px) scale(0.95); }
}

/* ========== Navbar ========== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: all 0.4s;
}

.navbar.scrolled {
    background: rgba(5,10,14,0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    width: 42px; height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px var(--glow-emerald);
}

.logo-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-pills {
    display: flex;
    gap: 4px;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 5px;
}

.nav-pills a {
    padding: 9px 24px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-pills a:hover { color: var(--text-primary); }

.nav-pills a.active {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: white;
    box-shadow: 0 2px 12px var(--glow-emerald);
}

/* ========== Hero ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 80px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-pulse-ring {
    position: relative;
    width: 160px; height: 160px;
    margin-bottom: 40px;
}

.hero-icon-core {
    width: 160px; height: 160px;
    border-radius: 48px;
    background: linear-gradient(145deg, var(--emerald), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-size: 72px;
    box-shadow: 0 32px 80px var(--glow-emerald), 0 0 200px var(--glow-gold);
    position: relative; z-index: 2;
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.hero-pulse-ring::before,
.hero-pulse-ring::after {
    content: '';
    position: absolute;
    border: 2px solid var(--border-medium);
    border-radius: 56px;
    animation: expand-ring 3.5s ease-out infinite;
    opacity: 0;
}

.hero-pulse-ring::after { animation-delay: 1.8s; }

@keyframes expand-ring {
    0% { inset: -8px; opacity: 0.5; }
    100% { inset: -80px; opacity: 0; }
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--emerald-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 13px;
    color: var(--emerald-light);
    font-weight: 600;
    margin-bottom: 32px;
}

.tag-dot {
    width: 8px; height: 8px;
    background: var(--emerald);
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-heading {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-heading .accent {
    background: linear-gradient(135deg, var(--emerald-light), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 640px;
    margin-bottom: 48px;
}

.hero-sub strong {
    color: var(--emerald-light);
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: white;
    box-shadow: 0 6px 28px var(--glow-emerald);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--glow-emerald);
    filter: brightness(1.1);
}

.btn-ghost {
    background: var(--bg-glass-strong);
    color: var(--text-primary);
    border: 1.5px solid var(--border-medium);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    border-color: var(--emerald);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-icon { width: 18px; height: 18px; }

/* ========== Stats Bar ========== */
.stats-bar {
    padding: 48px 32px;
    position: relative;
    z-index: 1;
}

.stats-strip {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px 48px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--border-subtle);
}

.stat-num {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--emerald-light), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 14px;
    color: var(--emerald-soft);
    font-weight: 600;
}

.stat-text {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* ========== Features Zigzag ========== */
.features {
    padding: 100px 32px;
    position: relative;
    z-index: 1;
}

.features-head {
    text-align: center;
    max-width: 480px;
    margin: 0 auto 64px;
}

.features-tag {
    display: inline-flex;
    padding: 6px 16px;
    background: var(--emerald-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: var(--emerald-light);
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.features-title {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.features-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.zigzag-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.zigzag-grid .feature-block:nth-child(2) {
    transform: translateY(32px);
}

.feature-block {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.feature-block::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald), var(--gold));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-block:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.feature-block:hover::after { opacity: 1; }

.block-icon {
    width: 56px; height: 56px;
    border-radius: 18px;
    background: var(--emerald-bg);
    border: 1px solid var(--border-subtle);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.feature-block:hover .block-icon {
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    border-color: transparent;
    box-shadow: 0 6px 20px var(--glow-emerald);
}

.block-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.block-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== Timeline Steps ========== */
.steps {
    padding: 100px 32px;
    position: relative;
    z-index: 1;
}

.steps-head {
    text-align: center;
    max-width: 480px;
    margin: 0 auto 56px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--emerald), var(--gold), var(--rose));
    opacity: 0.2;
}

.tl-item {
    display: flex;
    gap: 28px;
    padding: 32px 0;
    position: relative;
}

.tl-node {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-medium);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800;
    color: var(--emerald-light);
    flex-shrink: 0;
    position: relative; z-index: 2;
    transition: all 0.3s;
}

.tl-item:hover .tl-node {
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px var(--glow-emerald);
}

.tl-body {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    flex: 1;
    transition: all 0.3s;
}

.tl-item:hover .tl-body {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
}

.tl-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tl-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ========== CTA ========== */
.cta {
    padding: 80px 32px;
    position: relative;
    z-index: 1;
}

.cta-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 64px 48px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(245,158,11,0.06));
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--glow-emerald) 0%, transparent 60%);
    opacity: 0.15;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
}

.cta-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
}

.cta-inner .btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 6px 28px var(--glow-gold);
    color: var(--bg-deep);
}

.cta-inner .btn-primary:hover {
    filter: brightness(1.15);
}

/* ========== Footer ========== */
.footer {
    padding: 40px 32px;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
}

.footer-row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-copy .sep { color: var(--text-tertiary); margin: 0 6px; }

.footer-motto {
    color: var(--text-tertiary);
    font-size: 13px;
}

/* ========== Download Page ========== */
.download-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 60px;
    position: relative;
    z-index: 1;
}

.download-panel {
    max-width: 520px;
    width: 100%;
}

.dl-card {
    background: var(--bg-glass-strong);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 44px;
    position: relative;
    overflow: hidden;
}

.dl-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald), var(--gold), var(--rose));
}

.dl-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.dl-logo-box {
    width: 72px; height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
    box-shadow: 0 8px 28px var(--glow-emerald);
}

.dl-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}

.dl-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
}

.dl-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 18px;
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    border: 1px solid var(--border-subtle);
}

.info-cell { text-align: center; }

.info-label {
    display: block;
    color: var(--text-tertiary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 3px;
}

.info-val {
    color: var(--emerald-light);
    font-weight: 700;
    font-size: 14px;
}

.dl-systems { margin-bottom: 20px; }

.dl-systems h3 {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.sys-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.sys-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.sys-cell .ico { font-size: 18px; }
.sys-cell .nm { font-size: 14px; font-weight: 500; }
.sys-cell .vr { font-size: 11px; color: var(--text-tertiary); margin-left: auto; }

.dl-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.dl-pill {
    padding: 6px 14px;
    background: var(--emerald-bg);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 12px;
    color: var(--emerald-light);
    font-weight: 500;
}

.dl-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--emerald), var(--emerald-light));
    color: white;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 32px var(--glow-emerald);
    font-family: inherit;
}

.dl-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 44px var(--glow-emerald);
    filter: brightness(1.1);
}

.dl-main-btn svg { width: 22px; height: 22px; }

.dl-other {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 18px;
}

.dl-other a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.dl-other a:hover { color: var(--emerald-light); }

.dl-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.dl-back:hover { color: var(--emerald-light); }
.dl-back svg { width: 16px; height: 16px; }

/* ========== 404 ========== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 32px 60px;
    position: relative;
    z-index: 1;
}

.error-box {
    text-align: center;
    max-width: 520px;
}

.error-num {
    font-size: 160px;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--emerald), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.45;
    user-select: none;
}

.error-heading {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.error-msg {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.error-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== Reveal ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
    .hero-heading { font-size: 48px; }
    .hero-sub { font-size: 17px; }
    .hero-icon-core { width: 120px; height: 120px; font-size: 54px; border-radius: 36px; }
    .hero-pulse-ring { width: 120px; height: 120px; }

    .stats-strip {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }
    .stat-item + .stat-item { border-left: none; border-top: 1px solid var(--border-subtle); padding-top: 16px; }

    .zigzag-grid { grid-template-columns: 1fr; }
    .zigzag-grid .feature-block:nth-child(2) { transform: none; }

    .timeline::before { display: none; }
    .tl-item { flex-direction: column; gap: 16px; }

    .features-title, .steps .steps-title { font-size: 30px; }
    .cta-title { font-size: 28px; }
    .cta-inner { padding: 40px 24px; }

    .dl-card { padding: 28px 20px; }
    .dl-top { flex-direction: column; text-align: center; }
    .sys-row { grid-template-columns: 1fr; }
    .dl-other { flex-direction: column; gap: 12px; }
    .footer-row { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .hero { padding: 100px 20px 60px; }
    .hero-heading { font-size: 36px; }
    .hero-btns { flex-direction: column; align-items: center; }
    .stat-num { font-size: 28px; }
    .nav-inner { padding: 14px 16px; }
    .error-num { font-size: 100px; }
    .error-btns { flex-direction: column; }
}