/* ==========================================================================
   Fitness · Study 数据看板
   风格：深空黑底 + 金(#d4af37) + 霓虹绿(#00ff9d) + 霓虹粉(#ff2a6d)
   字体：Orbitron（标题） / JetBrains Mono（数据）
   ========================================================================== */

:root {
  --gold: #d4af37;
  --gold-l: #f9d423;
  --green: #00ff9d;
  --pink: #ff2a6d;
  --navy: #0a192f;
  --navy-2: #112240;
  --ink: #050505;
  --line: #1f2f4a;
  --text: #cbd5e1;
  --text-dim: #7d8ea8;
  --mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
  --display: 'Orbitron', 'HarmonyOS Sans SC', 'PingFang SC', sans-serif;
  --body: 'HarmonyOS Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

[v-cloak] { display: none !important; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: #000; }

/* ---------------------------------------------------- 背景层 */
#particles-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scan-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 24%, #000 8%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 24%, #000 8%, transparent 72%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 6%, rgba(212, 175, 55, 0.10), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(0, 255, 157, 0.08), transparent 42%),
    radial-gradient(circle at 50% 96%, rgba(255, 42, 109, 0.07), transparent 46%);
}

#app { position: relative; z-index: 1; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================================================== 导航栏 */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: 13px;
  color: #000;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.5);
}
.brand-name {
  background: linear-gradient(90deg, #fff, var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green));
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-clock {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--green);
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(0, 255, 157, 0.45);
}
.nav-admin {
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.42);
  transition: all 0.28s;
}
.nav-admin:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.5);
}

.nav-toggle { display: none; }

/* ===================================================== HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--green);
  border: 1px solid rgba(0, 255, 157, 0.3);
  background: rgba(0, 255, 157, 0.06);
  margin-bottom: 24px;
}
.hero-badge i { font-size: 7px; animation: blink 1.6s ease-in-out infinite; }

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: 0.02em;
}

.hero-title .typing {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  vertical-align: bottom;
  max-width: 100%;
  border-right: 3px solid var(--gold);
  background: linear-gradient(90deg, #fff 10%, var(--gold) 48%, var(--green) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 关键：基础宽度即动画终态宽度，避免动画结束后的宽度跳变；
     同时用 backwards 让延迟期间保持「未打出」的状态。
     若浏览器禁用动画，元素会退回基础宽度 => 文字依然完整可见。 */
  width: 100%;
  animation:
    typing 3.2s steps(24, end) 0.25s backwards,
    caret 0.9s step-end infinite 0.25s;
}

@keyframes typing {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes caret {
  50% { border-color: transparent; }
}

/* 动画结束后隐藏光标，避免一直闪烁 */
.hero-title .typing::after { content: none; }

.hero-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--gold);
  letter-spacing: 0.22em;
  font-family: var(--mono);
}

.hero-desc {
  margin-top: 18px;
  font-size: 15px;
  color: var(--text-dim);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.btn-gold {
  color: #000;
  background: linear-gradient(120deg, var(--gold-l), var(--gold));
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.32);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(212, 175, 55, 0.5);
}
.btn-ghost {
  color: var(--green);
  border-color: rgba(0, 255, 157, 0.38);
  background: rgba(0, 255, 157, 0.05);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(0, 255, 157, 0.13);
  box-shadow: 0 12px 34px rgba(0, 255, 157, 0.22);
}

.hero-stats {
  display: flex;
  gap: 44px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px dashed rgba(212, 175, 55, 0.2);
}
.hero-stats > div { display: flex; flex-direction: column; }
.hs-num {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  line-height: 1.1;
}
.hs-label {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.14em;
  margin-top: 4px;
}

/* -------------------------------------- hero 环形进度 */
.hero-ring-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

.hero-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.35));
}
.hero-ring .ring-track {
  fill: none;
  stroke: rgba(212, 175, 55, 0.10);
  stroke-width: 6;
}
.hero-ring .ring-value {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 6;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 110px 110px;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-ring .ring-dashed {
  fill: none;
  stroke: rgba(0, 255, 157, 0.28);
  stroke-width: 1;
  stroke-dasharray: 4 10;
  transform-origin: 110px 110px;
  animation: spin 22s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-ring-center {
  position: relative;
  text-align: center;
  z-index: 2;
}
.hero-ring-num {
  font-family: var(--mono);
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 26px rgba(0, 255, 157, 0.5);
}
.hero-ring-unit {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--green);
  margin-top: 8px;
}
.hero-ring-goal {
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 6px;
  letter-spacing: 0.08em;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 20px;
  opacity: 0.7;
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 10px); }
}

/* ===================================================== 区块通用 */
.section {
  padding: 90px 0;
  position: relative;
}

.sec-title {
  font-family: var(--display);
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 900;
  text-align: center;
  letter-spacing: 0.05em;
}
.sec-title .w { color: #fff; }
.sec-title .g { color: var(--gold); }
.sec-title .n { color: var(--green); }
.sec-title .p { color: var(--pink); }

.sec-sub {
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-top: 12px;
  margin-bottom: 46px;
}

/* 通用面板 */
.panel {
  position: relative;
  background: linear-gradient(160deg, rgba(10, 25, 47, 0.92), rgba(5, 5, 5, 0.85));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.panel::before {
  content: '';
  position: absolute;
  top: -1px; left: 26px;
  width: 52px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.panel:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.10);
}

.panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.04em;
}
.panel-title .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.dot.gold  { background: var(--gold);  box-shadow: 0 0 12px var(--gold); }
.dot.green { background: var(--green); box-shadow: 0 0 12px var(--green); }
.dot.pink  { background: var(--pink);  box-shadow: 0 0 12px var(--pink); }

.panel-meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.chart { width: 100%; height: 340px; }
.chart-lg { height: 380px; }
.chart-fallback {
  display: grid;
  place-items: center;
  color: var(--text-dim);
  font-size: 13px;
  font-family: var(--mono);
}

/* ---------------------------------------------- 图表工具条：单位切换 */
.chart-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.seg-switch {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 25, 47, 0.72);
}
.seg-switch button {
  min-width: 46px;
  padding: 3px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.seg-switch button:hover { color: #fff; }
.seg-switch button.active {
  color: #050505;
  background: linear-gradient(135deg, var(--gold-l), var(--gold));
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.45);
}

/* ------------------------------------------------------- 类别复选项 */
.factor-checks {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.factor-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  cursor: pointer;
  user-select: none;
  transition: color 0.25s ease;
}
.factor-check:hover { color: #fff; }
.factor-check input { display: none; }
.factor-check i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.42;
  transition: opacity 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.factor-check.checked { color: #e2e8f0; }
.factor-check.checked i {
  opacity: 1;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

/* ===================================================== 指标卡 */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 22px;
}

.kpi {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(10, 25, 47, 0.92), rgba(5, 5, 5, 0.85));
  border: 1px solid var(--line);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.kpi::after {
  content: '';
  position: absolute;
  right: -34px; top: -34px;
  width: 96px; height: 96px;
  border-radius: 50%;
  opacity: 0.14;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.kpi:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 18px 50px rgba(212, 175, 55, 0.14);
}
.kpi:hover::after { opacity: 0.28; transform: scale(1.2); }

.kpi[data-accent="gold"]::after  { background: var(--gold); }
.kpi[data-accent="green"]::after { background: var(--green); }
.kpi[data-accent="pink"]::after  { background: var(--pink); }

.kpi-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.kpi[data-accent="gold"]  .kpi-top i { color: var(--gold); }
.kpi[data-accent="green"] .kpi-top i { color: var(--green); }
.kpi[data-accent="pink"]  .kpi-top i { color: var(--pink); }

.kpi-value {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.kpi-value .num {
  font-family: var(--mono);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.kpi[data-accent="gold"]  .kpi-value .num { text-shadow: 0 0 22px rgba(212, 175, 55, 0.55); }
.kpi[data-accent="green"] .kpi-value .num { text-shadow: 0 0 22px rgba(0, 255, 157, 0.5); }
.kpi[data-accent="pink"]  .kpi-value .num { text-shadow: 0 0 22px rgba(255, 42, 109, 0.5); }

.kpi-value .unit {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.kpi-foot {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ===================================================== 进度条 */
.progress-list {
  display: grid;
  gap: 20px;
  margin-top: 6px;
}
.progress-item { display: grid; gap: 9px; }

.progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text);
}
.progress-val {
  font-family: var(--mono);
  color: var(--gold);
  font-size: 13px;
}

.progress-bar {
  height: 9px;
  border-radius: 999px;
  background: rgba(10, 25, 47, 0.9);
  border: 1px solid rgba(125, 142, 168, 0.14);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.progress-fill.gold  { background: linear-gradient(90deg, var(--gold), var(--gold-l)); box-shadow: 0 0 16px rgba(212, 175, 55, 0.6); }
.progress-fill.green { background: linear-gradient(90deg, #0a5c3f, var(--green)); box-shadow: 0 0 16px rgba(0, 255, 157, 0.5); }
.progress-fill.pink  { background: linear-gradient(90deg, #6b0f2c, var(--pink)); box-shadow: 0 0 16px rgba(255, 42, 109, 0.5); }

/* ===================================================== 栅格布局 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.stack { display: grid; gap: 20px; }

/* ===================================================== 终端动态 */
.terminal {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(3, 8, 16, 0.92);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(10, 25, 47, 0.9);
  border-bottom: 1px solid var(--line);
}
.tb-dot { width: 10px; height: 10px; border-radius: 50%; }
.tb-dot.r { background: #ff5f57; }
.tb-dot.y { background: #febc2e; }
.tb-dot.g { background: #28c840; }
.tb-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.terminal-body {
  padding: 16px 18px;
  max-height: 360px;
  overflow-y: auto;
  font-family: var(--mono);
  font-size: 13px;
}
.term-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(125, 142, 168, 0.10);
}
.term-line:last-child { border-bottom: none; }
.term-line.dim { color: var(--text-dim); justify-content: center; padding: 30px 0; border: none; }
.term-prompt { color: var(--green); }
.term-time { color: var(--text-dim); font-size: 12px; white-space: nowrap; }
.term-tag {
  padding: 1px 9px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
}
.term-tag.workout { color: var(--gold); background: rgba(212, 175, 55, 0.13); border: 1px solid rgba(212, 175, 55, 0.3); }
.term-tag.study   { color: var(--green); background: rgba(0, 255, 157, 0.11); border: 1px solid rgba(0, 255, 157, 0.28); }
.term-name { flex: 1; color: #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-dur { color: var(--pink); font-size: 12px; white-space: nowrap; }

/* ===================================================== 页脚 */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  margin-top: 30px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-dim);
  font-family: var(--mono);
}
.footer-inner .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
}
.footer-inner .live i { font-size: 7px; animation: blink 1.6s ease-in-out infinite; }
.footer-inner .footer-beian {
  color: var(--text-dim);
  transition: color 0.25s ease;
}
.footer-inner .footer-beian:hover { color: var(--gold); }

/* ===================================================== 状态 / 错误 */
.boot-error {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--mono);
}
.boot-error h2 { color: var(--pink); margin-bottom: 12px; }

.state-box {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
  font-family: var(--mono);
  color: var(--text-dim);
}
.state-box .spin {
  width: 42px; height: 42px;
  border: 3px solid rgba(212, 175, 55, 0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto;
}
.state-box .err-icon { font-size: 40px; color: var(--pink); }
.err-tip {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 12.5px;
  color: #ffb1c6;
  background: rgba(255, 42, 109, 0.09);
  border: 1px solid rgba(255, 42, 109, 0.3);
}

/* ===================================================== 滚动入场 */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===================================================== 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #06080e; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), #6b5416);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--green), var(--gold));
}

/* ===================================================== 响应式 */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  .hero-ring-wrap { width: 260px; height: 260px; }
  .hero-ring-num { font-size: 42px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 62px 0; }
  .hero { padding: 106px 0 60px; }
  .hero-title .typing {
    white-space: normal;
    animation: none;
    border-right: none;
    width: auto;
  }
  .hero-stats { gap: 28px; }
  .hs-num { font-size: 24px; }
  .kpi-grid { grid-template-columns: 1fr; }
  .panel { padding: 18px 16px; }
  .chart { height: 280px; }
  .chart-lg { height: 300px; }
  .nav-clock { display: none; }
  .hero-ring-wrap { width: 220px; height: 220px; }
  .hero-ring-num { font-size: 36px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* 打印 / 无障碍降级 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
