/* ============================================================
   assets/style.css — Voxly 全站样式 (完全重设计)
   字体: Inter (正文) + JetBrains Mono (等宽)
   ============================================================ */

/* ============================================================
   1. 设计令牌 / CSS 变量
   ============================================================ */
:root {
    /* 背景层次 */
    --bg-0: #080a0e;
    --bg-1: #0d1017;
    --bg-2: #131720;
    --bg-3: #1a2030;
    --bg-glass: rgba(13, 16, 23, 0.6);
    --bg-glass-hover: rgba(20, 25, 38, 0.8);

    /* 主色调 */
    --primary: #3b82f6;
    --primary-light: #60a5fa;
    --primary-dark: #1d4ed8;
    --primary-glow: rgba(59, 130, 246, 0.25);

    /* 辅助色 */
    --accent: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.2);
    --success: #10b981;
    --danger: #ef4444;
    --purple: #8b5cf6;

    /* 文本 */
    --text-100: #f8fafc;
    --text-200: #e2e8f0;
    --text-300: #94a3b8;
    --text-400: #64748b;

    /* 边框 */
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(59, 130, 246, 0.4);

    /* 圆角 */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    /* 导航 */
    --nav-h: 68px;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-primary: 0 8px 30px rgba(59, 130, 246, 0.3);

    /* 动画 */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --dur-fast: 0.15s;
    --dur-mid: 0.25s;
    --dur-slow: 0.4s;
}

/* ============================================================
   2. 基础重置 & 排版
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg-0);
    color: var(--text-200);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-h);
    overflow-x: hidden;
}

main { flex: 1; }

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--dur-mid) var(--ease);
}
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

/* 无障碍焦点 */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* 等宽字体 */
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ============================================================
   3. 布局容器
   ============================================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   4. 导航栏
   ============================================================ */
.main-nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--nav-h);
    background: rgba(8, 10, 14, 0.82);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background var(--dur-mid) var(--ease),
                box-shadow var(--dur-mid) var(--ease);
}
.main-nav.scrolled {
    background: rgba(8, 10, 14, 0.96);
    box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.5);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-100);
    letter-spacing: -0.5px;
}
.nav-logo {
    height: 30px;
    width: 30px;
    border-radius: 8px;
    object-fit: contain;
}
.nav-brand-text {
    background: linear-gradient(135deg, #fff 20%, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: var(--text-300);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--r-sm);
    position: relative;
    transition: color var(--dur-fast) var(--ease),
                background var(--dur-fast) var(--ease);
}
.nav-link:hover { color: var(--text-100); background: rgba(255,255,255,0.06); }
.nav-link.active {
    color: var(--text-100);
    background: rgba(59, 130, 246, 0.12);
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary);
}

/* 汉堡按钮 */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    transition: border-color var(--dur-fast);
}
.nav-hamburger:hover { border-color: var(--border-hover); }
.hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-200);
    border-radius: 2px;
    transition: transform var(--dur-mid) var(--ease), opacity var(--dur-fast);
}
.nav-hamburger.open .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-hamburger.open .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动遮罩 */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--dur-mid) var(--ease);
}
.nav-overlay.active { opacity: 1; }

/* ============================================================
   5. 按钮系统
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease-spring),
                box-shadow var(--dur-mid) var(--ease),
                background var(--dur-fast) var(--ease),
                opacity var(--dur-fast);
    text-align: center;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97) !important; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
    background: var(--bg-glass);
    color: var(--text-200);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--border-hover);
    background: var(--bg-glass-hover);
    color: var(--text-100);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #d97706);
    color: #0a0600;
    font-weight: 700;
    box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.4);
}

.btn-lg { padding: 15px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

/* ============================================================
   6. 卡片系统
   ============================================================ */
.card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform var(--dur-mid) var(--ease),
                border-color var(--dur-mid) var(--ease),
                box-shadow var(--dur-mid) var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(59,130,246,0.1);
}

/* 渐变边框卡片 */
.card-gradient {
    position: relative;
    background: var(--bg-2);
    border-radius: var(--r-lg);
    padding: 32px;
}
.card-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--primary), var(--purple), var(--primary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: gradient-border 4s linear infinite;
    opacity: 0.6;
}
@keyframes gradient-border {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 强调卡片 */
.card-accent {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.02));
    border-color: rgba(245, 158, 11, 0.25);
}
.card-accent:hover { border-color: rgba(245, 158, 11, 0.5); }

/* ============================================================
   7. 区块标题
   ============================================================ */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-100);
    margin: 60px 0 32px;
    display: flex;
    align-items: center;
    gap: 14px;
    letter-spacing: -0.5px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 28px;
    background: linear-gradient(to bottom, var(--primary), var(--purple));
    border-radius: 4px;
    box-shadow: 0 0 12px var(--primary-glow);
    flex-shrink: 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

/* ============================================================
   8. 首页 Hero
   ============================================================ */
.hero-section {
    position: relative;
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 28px;
}

/* 粒子画布 */
#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
}

/* 背景光晕 */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    will-change: transform;
}
.hero-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
    top: -150px; left: 50%;
    transform: translateX(-50%);
    animation: pulse-glow 6s ease-in-out infinite;
}
.hero-glow-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
    bottom: -100px; right: -100px;
    animation: pulse-glow 8s ease-in-out infinite reverse;
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

.hero-content { position: relative; z-index: 1; max-width: 800px; }

.hero-logo {
    width: 100px; height: 100px;
    margin: 0 auto 28px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(59,130,246,0.15);
    cursor: pointer;
    transition: transform var(--dur-mid) var(--ease-spring),
                box-shadow var(--dur-mid) var(--ease);
    animation: float 4s ease-in-out infinite;
}
.hero-logo:hover {
    transform: scale(1.07);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(59,130,246,0.3);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
.hero-logo img { width: 75%; height: auto; border-radius: 16px; object-fit: contain; }

.hero-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    color: var(--text-100);
    margin-bottom: 16px;
}
.hero-gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--primary-light) 60%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-300);
    margin-bottom: 40px;
    min-height: 2em;
}
.typewriter-cursor {
    display: inline-block;
    width: 2px;
    background: var(--primary);
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 时钟 */
.hero-clock {
    margin-top: 56px;
    font-family: 'JetBrains Mono', monospace;
}
.clock-time {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-100);
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.2);
    font-variant-numeric: tabular-nums;
}
.clock-date {
    font-size: 0.85rem;
    color: var(--text-400);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ============================================================
   9. 首页 — 特性速览
   ============================================================ */
.features-preview {
    padding: 80px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 28px;
    backdrop-filter: blur(12px);
    transition: transform var(--dur-mid) var(--ease),
                border-color var(--dur-mid),
                box-shadow var(--dur-mid);
    /* 滚动入场 */
    opacity: 0;
    transform: translateY(24px);
}
.feature-card.visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
                border-color var(--dur-mid), box-shadow var(--dur-mid);
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}
.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
    display: block;
}
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-100);
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-300);
    line-height: 1.6;
}
.feature-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
}

/* ============================================================
   10. 首页 — 开发者引言
   ============================================================ */
.quote-section {
    padding: 60px 0;
}
.quote-card {
    background: linear-gradient(145deg, var(--bg-2), var(--bg-1));
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
}
.quote-card::before {
    content: '"';
    position: absolute;
    top: -20px; left: 20px;
    font-size: 12rem;
    font-weight: 900;
    color: rgba(59, 130, 246, 0.05);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.quote-text {
    font-size: 1.2rem;
    color: var(--text-200);
    line-height: 1.8;
    font-style: italic;
    position: relative;
}
.quote-author {
    margin-top: 20px;
    font-size: 0.88rem;
    color: var(--text-400);
    font-style: normal;
}

/* ============================================================
   11. 关于页面 — 定价卡片
   ============================================================ */
.pricing-card {
    text-align: center;
    background: linear-gradient(145deg, var(--bg-2), var(--bg-1));
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: var(--r-xl);
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}
.pricing-badge {
    position: absolute;
    top: 24px; right: 24px;
    background: linear-gradient(135deg, var(--accent), #d97706);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 20px;
}
.pricing-price {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -3px;
    line-height: 1;
    text-shadow: 0 0 40px var(--accent-glow);
    margin: 20px 0;
}
.pricing-price sup {
    font-size: 2rem;
    letter-spacing: 0;
    vertical-align: super;
}
.pricing-trial {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin: 12px 0 28px;
}

/* FAQ 手风琴 */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: border-color var(--dur-mid);
}
.faq-item.open { border-color: var(--border-hover); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: color var(--dur-fast);
}
.faq-question:hover { color: var(--primary-light); }
.faq-icon {
    font-size: 1.5rem;
    color: var(--text-400);
    transition: transform var(--dur-mid) var(--ease), color var(--dur-fast);
    flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease), padding 0.2s;
    padding: 0 24px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}
.faq-answer p { color: var(--text-300); line-height: 1.7; }

/* ============================================================
   12. 功能页面
   ============================================================ */
.features-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 40px;
}

/* 侧边 TOC */
.features-toc {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px;
    backdrop-filter: blur(12px);
}
.features-toc h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-400);
    font-weight: 600;
    margin-bottom: 16px;
}
.toc-link {
    display: block;
    font-size: 0.88rem;
    color: var(--text-400);
    padding: 8px 12px;
    border-radius: var(--r-sm);
    border-left: 2px solid transparent;
    transition: all var(--dur-fast);
    margin-bottom: 2px;
}
.toc-link:hover { color: var(--text-200); background: rgba(255,255,255,0.04); }
.toc-link.active {
    color: var(--primary-light);
    background: rgba(59, 130, 246, 0.08);
    border-left-color: var(--primary);
}

/* 功能内容块 */
.feature-section {
    scroll-margin-top: calc(var(--nav-h) + 24px);
    margin-bottom: 20px;
}

/* 可展开特性项 */
.expandable-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    backdrop-filter: blur(12px);
    margin-bottom: 12px;
    transition: border-color var(--dur-mid);
}
.expandable-card.open { border-color: var(--border-hover); }
.expandable-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background var(--dur-fast);
}
.expandable-header:hover { background: rgba(255,255,255,0.03); }
.expandable-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}
.expandable-num {
    width: 32px; height: 32px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
    flex-shrink: 0;
}
.expandable-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-100);
}
.expandable-arrow {
    font-size: 1.4rem;
    color: var(--text-400);
    transition: transform var(--dur-mid) var(--ease);
}
.expandable-card.open .expandable-arrow { transform: rotate(90deg); color: var(--primary); }
.expandable-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.2s;
    padding: 0 24px;
}
.expandable-card.open .expandable-body {
    max-height: 600px;
    padding-bottom: 24px;
}

/* 特性列表 */
.feat-list { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.feat-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--r-sm);
    border: 1px solid rgba(255,255,255,0.04);
    font-size: 0.9rem;
    color: var(--text-300);
}
.feat-dot {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
    box-shadow: 0 0 6px var(--primary);
}

/* 标签徽章组 */
.tag-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tag {
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-200);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
}
.tag.primary { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.2); color: var(--primary-light); }

/* ============================================================
   13. 下载页面
   ============================================================ */

/* 步骤向导 */
.wizard-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 40px 0;
}
.wizard-step {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}
.step-circle {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-400);
    background: var(--bg-2);
    flex-shrink: 0;
    transition: all var(--dur-mid);
}
.wizard-step.active .step-circle {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 16px var(--primary-glow);
}
.wizard-step.done .step-circle {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}
.step-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-400);
    white-space: nowrap;
    transition: color var(--dur-mid);
}
.wizard-step.active .step-label { color: var(--text-200); }
.step-connector {
    height: 2px;
    background: var(--border);
    flex: 1;
    margin: 0 8px;
    border-radius: 2px;
    transition: background var(--dur-mid);
}
.step-connector.done { background: var(--success); }

/* 向导内容面板 */
.wizard-panel {
    display: none;
    animation: fadeInUp 0.3s var(--ease) forwards;
}
.wizard-panel.active { display: block; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}

/* 下载选项卡片 */
.dl-options { display: grid; gap: 16px; }
.dl-card {
    background: var(--bg-glass);
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    transition: all var(--dur-mid) var(--ease);
    backdrop-filter: blur(12px);
}
.dl-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-glass-hover);
    transform: translateY(-2px);
}
.dl-card.selected {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    box-shadow: 0 0 0 1px rgba(59,130,246,0.1);
}
.dl-card-info { display: flex; align-items: center; gap: 16px; }
.dl-icon {
    font-size: 2rem;
    width: 52px; height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,0.08);
    border-radius: var(--r-sm);
    flex-shrink: 0;
}
.dl-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-100);
    margin-bottom: 4px;
}
.dl-card-desc {
    font-size: 0.85rem;
    color: var(--text-400);
}

/* 模型网格 */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.model-card {
    background: var(--bg-glass);
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    backdrop-filter: blur(12px);
    transition: all var(--dur-mid);
}
.model-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.model-card.recommended {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.06);
}
.model-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-100);
}
.model-size {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.82rem;
    color: var(--text-400);
}
.model-fit {
    font-size: 0.82rem;
    color: var(--text-300);
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 4px;
}
.model-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 8px;
    background: rgba(59,130,246,0.15);
    color: var(--primary-light);
    margin-bottom: 4px;
    align-self: flex-start;
}
.model-badge.rec { background: rgba(59,130,246,0.2); }

/* 系统要求 checklist */
.sys-check-list { display: flex; flex-direction: column; gap: 10px; }
.sys-check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-300);
}
.sys-check-icon {
    color: var(--success);
    font-size: 1rem;
    flex-shrink: 0;
}

/* ============================================================
   14. 页脚
   ============================================================ */
.site-footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    padding: 60px 0 36px;
    margin-top: auto;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo-img {
    height: 28px;
    width: 28px;
    border-radius: 6px;
    object-fit: contain;
}
.footer-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-100);
}
.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-400);
    margin-top: 4px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a {
    font-size: 0.88rem;
    color: var(--text-400);
    transition: color var(--dur-fast);
}
.footer-nav a:hover { color: var(--text-200); }

.footer-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}
.stat-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    color: var(--text-400);
    white-space: nowrap;
}
.stat-badge strong { color: var(--primary-light); font-weight: 700; }
.stat-icon { font-size: 0.75rem; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-copy { font-size: 0.85rem; color: var(--text-400); }
.footer-beian {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.beian-link {
    font-size: 0.8rem;
    color: var(--text-400);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color var(--dur-fast);
}
.beian-link:hover { color: var(--text-300); }
.beian-divider { color: var(--border); }
.gongan-icon { height: 14px; width: auto; }

/* ============================================================
   15. 入场动画 (IntersectionObserver)
   ============================================================ */
.anim-fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.anim-fade-up.visible { opacity: 1; transform: none; }

/* 延迟变体 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   16. 响应式
   ============================================================ */
@media (max-width: 900px) {
    .features-layout {
        grid-template-columns: 1fr;
    }
    .features-toc {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    .features-toc h4 { width: 100%; margin-bottom: 4px; }
    .toc-link { border-left: none; padding: 6px 12px; background: var(--bg-3); }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-stats { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-beian { flex-direction: column; align-items: flex-start; }
    .beian-divider { display: none; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 260px;
        height: 100vh;
        background: var(--bg-1);
        border-left: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: calc(var(--nav-h) + 16px) 16px 16px;
        transform: translateX(100%);
        transition: transform var(--dur-mid) var(--ease);
        z-index: 1001;
    }
    .nav-links.open { transform: none; }
    .nav-link { width: 100%; padding: 12px 16px; }
    .nav-hamburger { display: flex; }
    .nav-overlay { display: block; pointer-events: none; }
    .nav-overlay.active { pointer-events: auto; }

    .clock-time { font-size: 2.5rem; }
    .hero-section { min-height: auto; padding: 60px 28px; }
    .hero-title { font-size: 2.2rem; }
    .features-grid { grid-template-columns: 1fr; }
    .model-grid { grid-template-columns: 1fr 1fr; }
    .wizard-steps { flex-direction: column; align-items: flex-start; gap: 14px; }
    .step-connector { width: 2px; height: 20px; margin: 0 0 0 18px; }
    .pricing-card { padding: 40px 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .card { padding: 22px; }
    .model-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .btn-lg { width: 100%; }
    .dl-card { flex-direction: column; align-items: flex-start; }
}
