/* ============================================================
   HarmTerm 官网样式
   设计令牌与产品本体同源（docs/产品与技术设计方案.md §1.1）
   bg #04070A · fg #d8ffe9 · accent #00FF88 · JetBrains Mono
   ============================================================ */

:root {
  --bg-0: #04070a;
  --bg-1: rgba(7, 12, 9, 0.93);
  --bg-2: #0d1510;
  --bg-3: #15221a;
  --fg-0: #d8ffe9;
  --fg-1: #8fc9a8;
  --fg-2: #4e7a60;
  --accent: #00ff88;
  --accent-dim: #00b862;
  --accent-soft: rgba(0, 255, 136, 0.14);
  --accent-softer: rgba(0, 255, 136, 0.06);
  --border: rgba(0, 255, 136, 0.2);
  --border-soft: rgba(0, 255, 136, 0.1);
  --term-bg: #04110a;
  --term-fg: #55ffa2;
  --term-dim: rgba(85, 255, 162, 0.55);
  --err: #ff6b81;
  --warn: #ffc94d;
  --glow: 0 0 18px rgba(0, 255, 136, 0.14), 0 0 42px rgba(0, 255, 136, 0.05);
  --glow-strong: 0 0 24px rgba(0, 255, 136, 0.3), 0 0 80px rgba(0, 255, 136, 0.12);
  --r-sm: 9px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 28px;
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
  --dur-2: 220ms;
  --dur-3: 380ms;
  --font-ui: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

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

.mono { font-family: var(--font-mono); }
code, kbd { font-family: var(--font-mono); }

::selection { background: rgba(0, 255, 136, 0.55); color: #000; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- 背景光效层 ---------- */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
}

.bg-glow { position: absolute; border-radius: 50%; filter: blur(110px); }

.bg-glow-1 {
  width: 640px; height: 640px; top: -220px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 255, 136, 0.13), transparent 65%);
}

.bg-glow-2 {
  width: 520px; height: 520px; top: 55vh; right: -180px;
  background: radial-gradient(circle, rgba(0, 184, 98, 0.1), transparent 65%);
}

.bg-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, 0.12) 3px 4px);
  opacity: 0.5;
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease),
              backdrop-filter var(--dur-2) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(4, 7, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}

.nav-inner {
  width: min(1180px, 92vw); margin: 0 auto;
  height: 68px; display: flex; align-items: center; gap: var(--sp-6);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg-0); }

.brand-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.4)); }

.brand-name {
  font-family: var(--font-mono); font-size: 17px; letter-spacing: 2px; font-weight: 400;
}
.brand-name b { color: var(--accent); font-weight: 700; }

.nav-links { display: flex; gap: var(--sp-5); margin-left: auto; }

.nav-links a {
  color: var(--fg-1); text-decoration: none; font-size: 14.5px;
  transition: color var(--dur-2) var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--accent); text-shadow: 0 0 12px rgba(0, 255, 136, 0.5); }

.nav-cta { margin-left: var(--sp-4); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--r-sm);
  width: 40px; height: 34px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 16px; height: 1.5px; background: var(--fg-1); display: block; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r-md);
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: all var(--dur-2) var(--ease);
  position: relative; overflow: hidden;
}

.btn-primary {
  color: #02120a; background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  box-shadow: var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--glow-strong); }

.btn-ghost {
  color: var(--fg-0); background: var(--accent-softer);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--accent-dim); transform: translateY(-2px); }

.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-lg { padding: 15px 34px; font-size: 16.5px; }

.btn-glyph { font-family: var(--font-mono); font-weight: 700; }
.arrow { font-family: var(--font-mono); }

/* ---------- Hero ---------- */
.hero { padding: 170px 0 60px; position: relative; }

.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; font-size: 13.5px; color: var(--fg-1);
  background: var(--accent-softer);
  font-family: var(--font-mono);
}

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(42px, 5.4vw, 66px);
  line-height: 1.18; font-weight: 800; letter-spacing: -1px;
  margin: var(--sp-5) 0 var(--sp-4);
}

.grad-text {
  background: linear-gradient(120deg, var(--accent) 15%, #7dffc4 55%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 255, 136, 0.28));
}

.hero-sub { color: var(--fg-1); font-size: 17px; max-width: 560px; margin-bottom: var(--sp-6); }
.hero-sub b { color: var(--accent); }

.hero-actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

.hero-meta {
  margin-top: var(--sp-6); color: var(--fg-2); font-size: 13px;
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.hero-meta i { color: var(--fg-2); font-style: normal; }

/* ---------- 终端窗口 ---------- */
.hero-term-wrap { position: relative; }

.term-window {
  background: var(--term-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--glow-strong), 0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative; z-index: 2;
}

.term-titlebar {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 var(--sp-4);
  background: rgba(9, 16, 11, 0.85);
  border-bottom: 1px solid var(--border-soft);
}

.tb-dot { width: 11px; height: 11px; border-radius: 50%; }
.tb-r { background: #ff5f57; } .tb-y { background: #febc2e; } .tb-g { background: #28c840; }

.tb-title { margin-left: 10px; font-size: 12px; color: var(--term-dim); flex: 1; }

.tb-tab {
  font-size: 11.5px; color: var(--term-fg);
  background: var(--accent-softer); border: 1px solid var(--border-soft);
  padding: 3px 12px; border-radius: 6px;
}

.term-body {
  padding: var(--sp-5); font-size: 13.5px; line-height: 1.66;
  min-height: 320px; color: var(--term-fg);
  white-space: pre-wrap; word-break: break-all;
}

.term-statusbar {
  display: flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 var(--sp-4);
  border-top: 1px solid var(--border-soft);
  font-size: 11.5px; color: var(--term-dim);
  background: rgba(9, 16, 11, 0.6);
}
.st-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px var(--accent); animation: pulse 2s infinite; }
.st-right { margin-left: auto; }

.term-glow {
  position: absolute; inset: 12% 6% -6% 6%; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1), transparent 70%);
  filter: blur(40px);
}

/* 终端文字配色 */
.t-ps1 { color: var(--accent); font-weight: 700; }
.t-cmd { color: var(--term-fg); }
.t-arg { color: #b8ffd9; }
.t-ok { color: var(--accent); font-weight: 700; }
.t-fg { color: var(--term-fg); }
.t-warn { color: var(--warn); }
.t-err { color: var(--err); }
.t-dim { color: var(--term-dim); }

.cursor {
  display: inline-block; width: 8px; height: 1.1em;
  background: var(--accent); vertical-align: text-bottom;
  animation: caretBlink 1.06s steps(1, end) infinite;
}
@keyframes caretBlink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0; } }

/* ---------- 滚动提示 ---------- */
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1.5px solid var(--fg-2); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-hint span {
  width: 3px; height: 10px; border-radius: 2px; background: var(--accent);
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 数据带 ---------- */
.stats { padding: var(--sp-6) 0; }

.stats-band {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background: var(--bg-1);
  overflow: hidden;
}

.stat {
  padding: var(--sp-6) var(--sp-4); text-align: center;
  border-right: 1px solid var(--border-soft);
  transition: background var(--dur-2) var(--ease);
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--accent-softer); }

.stat-num { font-family: var(--font-mono); font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: 1.1; }
.stat-label { color: var(--fg-2); font-size: 13px; margin-top: 8px; line-height: 1.5; }

/* ---------- 通用 Section ---------- */
.section { padding: 110px 0; position: relative; }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.sec-tag {
  color: var(--accent-dim); font-size: 13px; letter-spacing: 1.5px;
  margin-bottom: var(--sp-4);
}

.sec-title {
  font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; line-height: 1.25;
  letter-spacing: -0.5px;
}

.sec-sub { color: var(--fg-1); font-size: 16px; margin-top: var(--sp-4); max-width: 640px; }

/* ---------- 特性卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }

.card {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative; overflow: hidden;
  transition: transform var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease),
              box-shadow var(--dur-3) var(--ease);
}

.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--dur-3) var(--ease);
}

.card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--glow); }
.card:hover::before { opacity: 1; }

.card-glyph {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  margin-bottom: var(--sp-5);
  box-shadow: inset 0 0 18px rgba(0, 255, 136, 0.08);
}

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--fg-1); font-size: 14.5px; }

.kbd {
  font-size: 12px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 6px; padding: 2px 8px; color: var(--accent);
}

.code { font-size: 13px; color: var(--accent); background: var(--accent-softer);
  padding: 1px 7px; border-radius: 6px; }

/* ---------- 端侧 AI ---------- */
.section-ai {
  background: linear-gradient(180deg, transparent, rgba(0, 255, 136, 0.03) 40%, transparent);
}

.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.ai-points { list-style: none; margin-top: var(--sp-6); display: grid; gap: var(--sp-4); }

.ai-points li {
  display: grid; grid-template-columns: 120px 1fr; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border-soft); border-radius: var(--r-md);
  background: var(--bg-1);
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.ai-points li:hover { border-color: var(--border); background: var(--accent-softer); }
.ai-points b { color: var(--fg-0); font-size: 15px; }
.ai-points span { color: var(--fg-1); font-size: 14px; }
.ai-points .hl { color: var(--accent); font-weight: 600; }

.term-sm .term-body { min-height: 250px; font-size: 12.5px; }

.ai-privacy {
  margin-top: var(--sp-5); display: flex; gap: var(--sp-4); align-items: center;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--accent-softer); padding: var(--sp-4) var(--sp-5);
}
.ai-privacy b { color: var(--accent); font-size: 15px; }
.ai-privacy p { color: var(--fg-1); font-size: 13.5px; margin-top: 3px; }

.privacy-ring { position: relative; width: 44px; height: 44px; flex-shrink: 0; }
.privacy-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--accent-dim);
}
.privacy-ring::after {
  content: "✓"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-weight: 800;
}
.privacy-ring span {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid var(--accent-soft);
  animation: ring 2.4s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }

/* ---------- 主题 ---------- */
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }

.theme-card {
  border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer;
  transition: transform var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease),
              box-shadow var(--dur-3) var(--ease);
  background: var(--bg-1);
}
.theme-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--glow); }
.theme-card.active { border-color: var(--accent); box-shadow: var(--glow-strong); }

.theme-preview { height: 130px; position: relative; padding: var(--sp-4); }
.theme-preview .mini-bar { display: flex; gap: 5px; margin-bottom: 10px; }
.theme-preview .mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.theme-preview .mini-line { height: 6px; border-radius: 3px; margin-bottom: 7px; }
.theme-preview .mini-line:nth-child(3) { width: 62%; }
.theme-preview .mini-line:nth-child(4) { width: 84%; }
.theme-preview .mini-line:nth-child(5) { width: 48%; }

.theme-info { padding: var(--sp-4) var(--sp-5); display: flex; align-items: center; gap: 10px; }
.theme-info b { font-size: 15px; }
.theme-info span { color: var(--fg-2); font-size: 12.5px; margin-left: auto; font-family: var(--font-mono); }
.theme-swatch { width: 16px; height: 16px; border-radius: 5px; flex-shrink: 0; }

/* ---------- 架构 ---------- */
.arch-stack { max-width: 760px; margin: 0 auto; }

.arch-layer {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  background: var(--bg-1);
  transition: box-shadow var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
}
.arch-layer:hover { box-shadow: var(--glow); transform: translateX(6px); }

.arch-name { color: var(--accent); font-size: 14px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: var(--sp-3); }

.arch-items { display: flex; flex-wrap: wrap; gap: 8px; }
.arch-items span {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--fg-1);
  background: var(--accent-softer); border: 1px solid var(--border-soft);
  padding: 4px 12px; border-radius: 999px;
}

.arch-core { border-color: var(--accent-dim); background: linear-gradient(180deg, var(--bg-1), rgba(0, 255, 136, 0.04)); }

.arch-note { color: var(--fg-2); font-size: 12.5px; margin-top: var(--sp-3); }

.arch-arrow { text-align: center; color: var(--fg-2); font-size: 11.5px; padding: 10px 0; letter-spacing: 1px; }

.arch-platforms {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.arch-platforms .pill { font-size: 13px; padding: 7px 20px; }

/* ---------- 平台矩阵 ---------- */
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
  margin-bottom: 72px;
}

.platform-card {
  background: var(--bg-1);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative; overflow: hidden;
  transition: transform var(--dur-3) var(--ease), border-color var(--dur-3) var(--ease),
              box-shadow var(--dur-3) var(--ease);
}

.platform-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity var(--dur-3) var(--ease);
}

.platform-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--glow); }
.platform-card:hover::before { opacity: 1; }

.pc-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-4); }
.pc-head b { font-size: 18px; }
.pc-head .pill { margin-left: auto; }

.pc-icon {
  width: 44px; height: 44px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--border);
  box-shadow: inset 0 0 16px rgba(0, 255, 136, 0.08);
}

.platform-card p { color: var(--fg-1); font-size: 14.5px; }

.pc-foot {
  margin-top: var(--sp-5); padding-top: var(--sp-3);
  border-top: 1px dashed var(--border-soft);
  color: var(--fg-2); font-size: 12px; letter-spacing: 0.3px;
}

.ct-label {
  padding: var(--sp-3) var(--sp-5);
  color: var(--accent-dim); font-size: 12px; letter-spacing: 1.5px;
  background: rgba(9, 16, 11, 0.7); border-bottom: 1px solid var(--border-soft);
}

/* ---------- 分平台下载 ---------- */
.dl-platforms {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4);
  max-width: 620px; margin: 44px auto 0;
}

.dl-plat {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: var(--accent-softer);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all var(--dur-2) var(--ease);
}

.dl-plat:hover { background: var(--accent-soft); transform: translateY(-3px); box-shadow: var(--glow); }

.dl-plat.disabled { opacity: 0.45; cursor: not-allowed; }
.dl-plat.disabled:hover { background: var(--accent-softer); transform: none; box-shadow: none; }
.dl-plat.disabled .dl-plat-cta { color: var(--fg-2); font-weight: 400; }

.dl-glyph {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--accent);
  background: rgba(4, 7, 10, 0.55); border: 1px solid var(--border);
}

.dl-plat-name { display: grid; text-align: left; }
.dl-plat-name b { color: var(--fg-0); font-size: 16px; }
.dl-plat-name i { color: var(--fg-2); font-size: 12px; font-style: normal; margin-top: 2px; }

.dl-plat-cta {
  margin-left: auto; color: var(--accent); font-size: 17px; font-weight: 700;
  transition: transform var(--dur-2) var(--ease);
}
.dl-plat:hover .dl-plat-cta { transform: translateY(3px); }

.dl-actions { justify-content: center; margin-top: var(--sp-5); }

/* ---------- 兼容性 ---------- */
.compat-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }

.compat-points { list-style: none; margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.compat-points li { color: var(--fg-1); font-size: 14.5px; padding-left: 22px; position: relative; }
.compat-points li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }

.compat-table { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-1); }

.compat-table table { width: 100%; border-collapse: collapse; }

.compat-table th {
  text-align: left; padding: var(--sp-4) var(--sp-5);
  color: var(--fg-2); font-size: 13px; font-weight: 600;
  background: rgba(9, 16, 11, 0.7); border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-mono); letter-spacing: 1px;
}
.compat-table td { padding: var(--sp-4) var(--sp-5); border-bottom: 1px solid var(--border-soft); font-size: 14px; }
.compat-table tr:last-child td { border-bottom: none; }
.compat-table tr { transition: background var(--dur-2) var(--ease); }
.compat-table tbody tr:hover { background: var(--accent-softer); }

.pill {
  display: inline-block; font-size: 12px; padding: 3px 12px; border-radius: 999px;
  font-family: var(--font-mono); white-space: nowrap;
}
.pill-l1 { background: rgba(255, 201, 77, 0.12); color: var(--warn); border: 1px solid rgba(255, 201, 77, 0.3); }
.pill-l2 { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border); }
.pill-dev { background: var(--accent-softer); color: var(--fg-1); border: 1px solid var(--border-soft); font-size: 13px; padding: 6px 16px; }

.compat-device { display: flex; gap: 10px; flex-wrap: wrap; padding: var(--sp-4) var(--sp-5); }

/* ---------- 下载 ---------- */
.download-panel {
  position: relative; text-align: center;
  border: 1px solid var(--border); border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 70% 90% at 50% -10%, rgba(0, 255, 136, 0.12), transparent 60%),
    var(--bg-1);
  padding: 90px var(--sp-6) 80px;
  overflow: hidden;
  box-shadow: var(--glow);
}

.dl-logo { width: 76px; height: 76px; margin-bottom: var(--sp-5); filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.5)); }

.dl-title { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.25; letter-spacing: -1px; }

.dl-sub { color: var(--fg-1); margin-top: var(--sp-4); font-size: 16px; }

.dl-meta { color: var(--fg-2); font-size: 12.5px; margin-top: var(--sp-5); }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 48px 0; background: rgba(4, 7, 10, 0.8); }

.footer-inner { display: flex; flex-direction: column; gap: var(--sp-5); }

.footer-top { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-tag { color: var(--fg-2); font-size: 11.5px; margin-top: 2px; }

.footer-links { display: flex; gap: var(--sp-5); margin-left: auto; flex-wrap: wrap; }
.footer-links a { color: var(--fg-1); text-decoration: none; font-size: 13.5px; transition: color var(--dur-2) var(--ease); }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); flex-wrap: wrap;
  border-top: 1px solid var(--border-soft); padding-top: var(--sp-5);
}
.footer-copy { color: var(--fg-2); font-size: 12px; }

.footer-beian { font-size: 12px; }
.footer-beian a { color: var(--fg-2); text-decoration: none; transition: color 220ms var(--ease); }
.footer-beian a:hover { color: var(--accent); }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.d1 { transition-delay: 120ms; }
.reveal.d2 { transition-delay: 240ms; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse-dot, .st-dot, .cursor, .privacy-ring span, .scroll-hint span { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid, .ai-grid, .compat-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-grid, .theme-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3), .stat:nth-child(6) { border-right: none; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--border-soft); }
}

@media (max-width: 820px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: rgba(4, 7, 10, 0.96);
    padding: var(--sp-5); border-bottom: 1px solid var(--border-soft);
    backdrop-filter: blur(14px);
  }
  .hero { padding-top: 130px; }
  .feature-grid, .theme-grid, .platform-grid, .dl-platforms { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border-soft); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-soft); }
  .ai-points li { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links { margin-left: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
