:root {
    --bg-primary: #0f172a;
    --bg-card: rgba(17,24,39,0.75);
    --bg-card-hover: rgba(22,32,51,0.85);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --accent-glow: rgba(6,182,212,0.3);
    --green: #22c55e;
    --orange: #f59e0b;
    --red: #ef4444;
    --font-display: 'Fira Code', 'JetBrains Mono', monospace;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(15,23,42,0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--accent-light);
}

.nav-logo { font-size: 22px; }

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
    border-radius: 1px;
}

.nav-links a:hover { color: var(--accent-light); }
.nav-links a:hover::after { width: 100%; }

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
}

.hero-content {
    text-align: center;
    max-width: 720px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 6px 20px;
    border-radius: 999px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-title-line { color: var(--text-primary); }

.hero-title-accent {
    color: var(--accent-light);
    text-shadow: 0 0 40px var(--accent-glow);
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.8s;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #0891b2);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--accent);
    background: rgba(6,182,212,0.05);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 1s;
}

.stat { text-align: center; }

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-light);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

section {
    position: relative;
    z-index: 1;
    padding: 100px 40px;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(24px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

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

.feature-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(24px);
}

.download-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.download-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.download-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.download-icon.baidu {
    background: rgba(6,182,212,0.1);
    color: #06b6d4;
}

.download-icon.quark {
    background: rgba(245,158,11,0.1);
    color: #f59e0b;
}

.download-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.download-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.baidu-btn {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
    box-shadow: 0 4px 16px rgba(6,182,212,0.25);
}

.baidu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6,182,212,0.35);
}

.quark-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245,158,11,0.25);
}

.quark-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}

.download-version {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-display);
}

footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 40px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.footer-logo { font-size: 20px; }

.footer-info {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-info a {
    color: var(--accent);
    text-decoration: none;
}

.footer-info a:hover { text-decoration: underline; }

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .navbar { padding: 12px 20px; }
    .nav-links { gap: 20px; }
    .nav-links a { font-size: 13px; }
    .hero { padding: 100px 20px 60px; }
    section { padding: 60px 20px; }
    .hero-stats { gap: 20px; }
    .stat-value { font-size: 22px; }
    .features-grid { grid-template-columns: 1fr; }
    .download-cards { grid-template-columns: 1fr; }
    footer { padding: 32px 20px; }
}

@media (max-width: 480px) {
    .nav-links a:last-child { display: none; }
    .hero-title { font-size: 40px; }
    .btn { padding: 12px 24px; font-size: 14px; }
}
