/* 小影说官网 · 共享样式（浅色主题）
   设计基准：docs 设计稿 v2 —— 柔和蓝紫光斑 + 深色播放器焦点 */

:root {
  --paper: #f6f9fe;
  --paper-2: #edf3fc;
  --ink: #0f1e38;
  --ink-soft: #5b6c8f;
  --ink-faint: #8b9bbc;
  --line: #e3ebf8;
  --brand: #3f7ef0;
  --brand-hi: #5d97ff;
  --brand-deep: #2757c9;
  --ai: #8a5cf6;
  --amber: #f2b324;
  --hl: #ffd34d;
  --night: #0b1322;
  --night-2: #121f38;
  --on-night: #eaf1ff;
  --on-night-soft: #8fa3c8;
  --sh-sm: 0 2px 10px rgba(23, 48, 102, 0.06);
  --sh-md: 0 14px 36px rgba(23, 48, 102, 0.1);
  --sh-lg: 0 32px 80px rgba(23, 48, 102, 0.16);
  --mono: "Cascadia Code", "Consolas", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--brand-deep);
  background: #fff; border: 1px solid var(--line); border-radius: 99px;
  padding: 7px 18px; margin-bottom: 20px; box-shadow: var(--sh-sm);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--ai)); }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: 0.01em; text-wrap: balance; line-height: 1.32; }
.lede { color: var(--ink-soft); max-width: 36em; margin-top: 14px; font-size: 16px; }

/* 渐显动效 */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- 导航 ---------- */
nav.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(227, 235, 248, 0.9);
}
.nav-in { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 66px; display: flex; align-items: center; gap: 36px; }
.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18.5px; color: var(--ink); }
.logo img { width: 36px; height: 36px; border-radius: 10px; display: block; box-shadow: var(--sh-sm); }
.nav-links { display: flex; gap: 30px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); margin-left: 6px; }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-deep); }
.nav-cta {
  margin-left: auto; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-deep));
  padding: 10px 22px; border-radius: 99px;
  box-shadow: 0 6px 18px rgba(63, 126, 240, 0.35);
  transition: transform 0.18s, box-shadow 0.18s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(63, 126, 240, 0.45); }

/* ---------- 首页首屏 ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(46% 38% at 12% 6%, rgba(93, 151, 255, 0.2), transparent 70%),
    radial-gradient(40% 34% at 88% 12%, rgba(138, 92, 246, 0.14), transparent 70%),
    radial-gradient(30% 26% at 76% 62%, rgba(242, 179, 36, 0.1), transparent 70%),
    linear-gradient(180deg, #eaf2fd 0%, var(--paper) 58%, #fff 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(63, 126, 240, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(58% 42% at 50% 26%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(58% 42% at 50% 26%, #000 0%, transparent 100%);
}
.hero-in { max-width: 1120px; margin: 0 auto; padding: 0 24px; position: relative; }
.hero-copy { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 99px; margin-bottom: 26px; box-shadow: var(--sh-sm);
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--ai)); display: inline-block; }
h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 800; line-height: 1.2; letter-spacing: 0.01em; text-wrap: balance; color: var(--ink); }
h1 .grad { background: linear-gradient(100deg, var(--brand) 10%, var(--ai) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .en { display: block; font-size: 0.36em; font-weight: 600; color: var(--ink-faint); letter-spacing: 0.22em; margin-top: 18px; }
.hero-sub { color: var(--ink-soft); margin-top: 20px; font-size: 17px; line-height: 1.8; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px;
  padding: 14px 32px; border-radius: 14px; border: 0; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-deep)); color: #fff;
  box-shadow: 0 10px 30px rgba(63, 126, 240, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(63, 126, 240, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn.is-disabled { pointer-events: none; opacity: 0.55; cursor: not-allowed; }
.btn-ghost { background: rgba(255, 255, 255, 0.9); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--sh-sm); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

/* 播放器舞台 */
.stage-outer { position: relative; max-width: 960px; margin: 0 auto; }
.stage {
  position: relative; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(120% 90% at 24% 30%, #3a2f1e 0%, transparent 55%),
    radial-gradient(90% 80% at 78% 38%, #232e4d 0%, transparent 60%),
    radial-gradient(140% 120% at 50% 110%, #0e1830 20%, #080d18 70%);
  border: 1px solid rgba(23, 48, 102, 0.16);
  box-shadow: var(--sh-lg), 0 6px 20px rgba(23, 48, 102, 0.1);
  aspect-ratio: 16 / 8.6; min-height: 420px;
}
.stage::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(5% 8% at 20% 26%, rgba(255, 205, 120, 0.5), transparent 70%),
    radial-gradient(4% 7% at 32% 20%, rgba(255, 190, 110, 0.35), transparent 70%),
    radial-gradient(6% 9% at 74% 22%, rgba(150, 180, 255, 0.25), transparent 70%),
    radial-gradient(3% 5% at 85% 30%, rgba(255, 215, 140, 0.3), transparent 70%);
  filter: blur(6px);
}
.stage-bar {
  position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 16px;
  padding: 16px 22px; font-family: var(--mono); font-size: 12.5px; color: var(--on-night-soft);
}
.track { flex: 1; height: 4px; border-radius: 2px; background: rgba(143, 163, 200, 0.25); position: relative; }
.track::before { content: ""; position: absolute; inset: 0; width: 38%; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--ai)); }
.track::after {
  content: ""; position: absolute; left: 38%; top: 50%; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 4px rgba(63, 126, 240, 0.35);
}
.stamp { font-variant-numeric: tabular-nums; white-space: nowrap; }
.subs { position: absolute; left: 0; right: 0; bottom: 78px; text-align: center; padding: 0 24px; }
.sub-en { font-size: clamp(19px, 2.6vw, 28px); font-weight: 700; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); letter-spacing: 0.01em; }
.sub-en .word { color: var(--hl); border-bottom: 3px solid var(--hl); padding: 0 3px; cursor: pointer; border-radius: 4px; transition: background 0.2s; }
.sub-en .word:hover { background: rgba(255, 211, 77, 0.16); }
.sub-zh { font-size: clamp(13px, 1.6vw, 17px); color: #d7e2f5; margin-top: 8px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }

.dict {
  position: absolute; left: 50%; bottom: 186px; transform: translateX(-74%);
  width: min(300px, 78vw); text-align: left;
  background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(12px);
  border: 1px solid rgba(143, 163, 200, 0.28); border-radius: 16px; padding: 17px 19px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: dictFloat 5s ease-in-out infinite;
}
.dict::after {
  content: ""; position: absolute; left: 74%; bottom: -7px; width: 14px; height: 14px;
  background: rgba(15, 23, 42, 0.9);
  border-right: 1px solid rgba(143, 163, 200, 0.28);
  border-bottom: 1px solid rgba(143, 163, 200, 0.28);
  transform: rotate(45deg);
}
@keyframes dictFloat {
  0%, 100% { transform: translateX(-74%) translateY(0); }
  50% { transform: translateX(-74%) translateY(-7px); }
}
.dict-head { display: flex; align-items: baseline; gap: 10px; }
.dict-word { font-size: 23px; font-weight: 800; color: #fff; }
.dict-ipa { font-family: var(--mono); font-size: 12.5px; color: var(--on-night-soft); }
.dict-def { font-size: 13.5px; color: #c9d6ee; margin-top: 5px; }
.dict-tip { font-size: 12px; color: var(--hl); margin-top: 9px; padding-top: 9px; border-top: 1px dashed rgba(143, 163, 200, 0.25); }
.dict-btns { display: flex; gap: 9px; margin-top: 13px; }
.chip { font-size: 12px; font-weight: 600; padding: 7px 13px; border-radius: 9px; cursor: pointer; border: 1px solid; }
.chip-blue { color: #9cc0ff; border-color: rgba(63, 126, 240, 0.55); background: rgba(63, 126, 240, 0.14); }
.chip-ai { color: #c5afff; border-color: rgba(138, 92, 246, 0.55); background: rgba(138, 92, 246, 0.14); }

.rail {
  position: absolute; right: 16px; top: 54px; display: flex; flex-direction: column; gap: 5px;
  background: rgba(15, 23, 42, 0.68); border: 1px solid rgba(143, 163, 200, 0.18);
  border-radius: 14px; padding: 9px 7px; backdrop-filter: blur(8px);
}
.rail button {
  all: unset; display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer;
  font-size: 10.5px; color: var(--on-night-soft); padding: 7px 10px; border-radius: 10px; position: relative;
}
.rail button svg { width: 19px; height: 19px; }
.rail button.on { background: var(--brand); color: #fff; }
.rail .new::after {
  content: "NEW"; position: absolute; top: -2px; right: -4px; font-size: 8px; font-weight: 700;
  color: #0b1322; background: var(--hl); padding: 1px 4px; border-radius: 5px; letter-spacing: 0.03em;
}
.ctrl {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 24px;
  background: rgba(15, 23, 42, 0.72); border: 1px solid rgba(143, 163, 200, 0.16);
  border-radius: 99px; padding: 9px 26px; backdrop-filter: blur(8px);
  font-size: 10.5px; color: var(--on-night-soft);
}
.ctrl span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ctrl svg { width: 17px; height: 17px; }
.ctrl .play { color: var(--brand-hi); }
.ctrl .rate { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--brand-hi); border: 1.5px solid var(--brand-hi); border-radius: 99px; padding: 2px 9px; }

/* 舞台外悬浮卡片 */
.float-card {
  position: absolute; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--sh-md);
  padding: 13px 17px; font-size: 13px; z-index: 3;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fc-word { left: -64px; top: 16%; }
.fc-word .t { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.fc-word .t i {
  width: 22px; height: 22px; border-radius: 7px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #e4fbef, #c9f2dc); color: #0e9f5b; font-size: 13px; font-style: normal;
}
.fc-word small { display: block; color: var(--ink-soft); margin-top: 3px; font-size: 12px; }
.fc-score { right: -58px; bottom: 20%; animation-delay: 1.4s; text-align: center; }
.fc-score b {
  font-family: var(--mono); font-size: 26px; font-weight: 800; display: block;
  background: linear-gradient(135deg, var(--brand), var(--ai));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.fc-score small { color: var(--ink-soft); font-size: 12px; }
.fc-streak { left: -46px; bottom: 12%; animation-delay: 2.6s; display: flex; align-items: center; gap: 10px; }
.fc-streak i {
  width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; font-style: normal;
  background: linear-gradient(135deg, #fff3d6, #ffe3a1); font-size: 16px;
}
.fc-streak b { font-size: 13.5px; display: block; }
.fc-streak small { color: var(--ink-soft); font-size: 11.5px; }

/* ---------- 事实条 ---------- */
.facts { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-in { max-width: 1120px; margin: 0 auto; padding: 26px 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { display: flex; align-items: center; gap: 13px; font-size: 13.5px; color: var(--ink-soft); justify-content: center; }
.fact i {
  width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf2ff, #dbe9ff); color: var(--brand-deep); font-style: normal;
}
.fact i svg { width: 19px; height: 19px; }
.fact b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 700; }

/* ---------- 学习闭环 ---------- */
.loop { padding: 104px 0 92px; position: relative; overflow: hidden; }
.loop::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(36% 30% at 88% 10%, rgba(138, 92, 246, 0.08), transparent 70%),
    radial-gradient(30% 26% at 6% 80%, rgba(93, 151, 255, 0.1), transparent 70%);
}
.loop-head { text-align: center; max-width: 660px; margin: 0 auto 60px; }
.loop-head .lede { margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 26px 26px; position: relative; box-shadow: var(--sh-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: block; color: var(--ink);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: #cbdcf6; }
.step-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #eaf2ff, #d6e6ff); color: var(--brand-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.step-ico svg { width: 22px; height: 22px; }
.step-no { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--ink-faint); letter-spacing: 0.08em; }
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }
.step .tag { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--brand-deep); background: #edf3fe; border-radius: 8px; padding: 4px 11px; }
.step.ai-step .step-ico { background: linear-gradient(135deg, #f3edff, #e5d8ff); color: #6d3fd8; }
.step.ai-step .tag { color: #6d3fd8; background: #f4eefe; }

/* ---------- 功能深潜 ---------- */
.deep { background: #fff; border-top: 1px solid var(--line); padding: 104px 0 60px; }
.deep-head { max-width: 660px; margin-bottom: 20px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 60px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature h3 { font-size: 25px; font-weight: 800; margin-bottom: 12px; text-wrap: balance; letter-spacing: 0.01em; }
.feature > div > p { color: var(--ink-soft); font-size: 15.5px; max-width: 30em; }
.feature ul { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; list-style: none; }
.feature li { display: flex; gap: 12px; font-size: 14.5px; align-items: baseline; color: #33456b; }
.feature li::before {
  content: "✓"; flex: none; width: 19px; height: 19px; border-radius: 50%; font-size: 11px; font-weight: 800;
  display: grid; place-items: center; transform: translateY(2px);
  background: linear-gradient(135deg, #eaf2ff, #d6e6ff); color: var(--brand-deep);
}
.feature.rev .mock-cell { order: -1; }

/* CSS 迷你样机（浅色 app 卡片） */
.mock-cell { display: flex; justify-content: center; position: relative; }
.mock-cell::before {
  content: ""; position: absolute; width: 76%; height: 76%; left: 50%; top: 52%;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(93, 151, 255, 0.18), transparent);
}
.feature.alt .mock-cell::before { background: radial-gradient(closest-side, rgba(138, 92, 246, 0.14), transparent); }
.mock {
  width: min(420px, 100%); border-radius: 22px; padding: 0; overflow: hidden; position: relative;
  background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--sh-lg);
}
.mock-head {
  display: flex; align-items: center; gap: 10px; padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, #f4f8fe);
}
.mock-head i {
  width: 26px; height: 26px; border-radius: 9px; flex: none; display: grid; place-items: center; font-style: normal;
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-deep)); color: #fff;
}
.mock-head i svg { width: 14px; height: 14px; }
.mock.ai-mock .mock-head i { background: linear-gradient(135deg, #a37dff, #7443e8); }
.mock.amber-mock .mock-head i { background: linear-gradient(135deg, #ffcf5c, #f2a814); color: #4d3500; }
.mock-head span { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.mock-head small { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); }
.mock-body { padding: 22px; }
.mock-line { font-size: 15px; color: var(--ink); font-weight: 600; }
.mock-line-zh { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.mock .chip-blue { color: var(--brand-deep); border-color: rgba(63, 126, 240, 0.4); background: rgba(63, 126, 240, 0.08); }

.wave { display: flex; align-items: center; gap: 4px; height: 60px; margin: 16px 0 18px; }
.wave i { flex: 1; background: linear-gradient(180deg, var(--brand), var(--ai)); border-radius: 3px; animation: wob 1.6s ease-in-out infinite; }
@keyframes wob { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1); } }
.score-row { display: flex; justify-content: space-between; align-items: center; }
.score {
  font-family: var(--mono); font-size: 34px; font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--ai));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.score small { font-size: 13px; color: var(--ink-soft); font-weight: 400; margin-left: 6px; -webkit-text-fill-color: var(--ink-soft); }

.card-anchor {
  font-family: var(--mono); font-size: 12px; color: var(--brand-deep);
  background: rgba(63, 126, 240, 0.08); border: 1px solid rgba(63, 126, 240, 0.32);
  display: inline-flex; gap: 8px; border-radius: 8px; padding: 5px 11px; margin-bottom: 14px;
}
.flash-word { font-size: 30px; font-weight: 800; color: var(--ink); }
.flash-ipa { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); margin-left: 10px; }
.flash-sent { font-size: 14px; color: #44557a; margin-top: 10px; line-height: 1.75; }
.flash-sent b { color: var(--ink); font-weight: 700; background: rgba(255, 211, 77, 0.55); border-radius: 4px; padding: 0 3px; }
.srs-row { display: flex; gap: 8px; margin-top: 20px; }
.srs-row span {
  flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; padding: 9px 0; border-radius: 10px;
  border: 1px solid var(--line); color: var(--ink-soft); background: #fff;
}
.srs-row .good {
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-deep));
  border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(63, 126, 240, 0.3);
}

.bubbles { display: flex; flex-direction: column; gap: 12px; }
.bub { max-width: 86%; padding: 11px 15px; border-radius: 15px; font-size: 13.5px; line-height: 1.6; }
.bub.ai { background: #f5f0fe; border: 1px solid #e4d8fa; color: #4a2f8f; border-top-left-radius: 5px; }
.bub.me { background: #e9f2fe; border: 1px solid #cfe1fa; color: #1f3c77; align-self: flex-end; border-top-right-radius: 5px; }
.bub .who { display: block; font-size: 10.5px; letter-spacing: 0.09em; opacity: 0.7; margin-bottom: 4px; font-weight: 700; }

.chart { display: flex; align-items: flex-end; gap: 10px; height: 116px; margin: 6px 0 8px; }
.chart i { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--brand-hi) 0%, rgba(93, 151, 255, 0.28) 100%); }
.chart i.today { background: linear-gradient(180deg, var(--amber), rgba(242, 179, 36, 0.3)); }
.chart-x { display: flex; gap: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-faint); }
.chart-x span { flex: 1; text-align: center; }
.streak { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); }
.streak b { color: var(--ink); font-size: 16px; font-family: var(--mono); }

/* 词汇体检样机（功能详情页） */
.vocab-bars { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 4px; }
.vocab-bar { display: grid; grid-template-columns: 72px 1fr 44px; align-items: center; gap: 12px; font-size: 12.5px; color: var(--ink-soft); }
.vocab-bar .rail-bg { height: 10px; border-radius: 5px; background: var(--paper-2); overflow: hidden; }
.vocab-bar .rail-fill { height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--brand-hi), var(--brand-deep)); }
.vocab-bar.warn .rail-fill { background: linear-gradient(90deg, #ffcf5c, #f2a814); }
.vocab-bar b { font-family: var(--mono); color: var(--ink); text-align: right; }
.vocab-estimate {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--ink-soft);
}
.vocab-estimate b { font-family: var(--mono); font-size: 22px; color: var(--brand-deep); }

/* ---------- 资源与导入 ---------- */
.res { padding: 104px 0; position: relative; overflow: hidden; background: var(--paper); }
.res::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(34% 30% at 92% 88%, rgba(93, 151, 255, 0.1), transparent 70%);
}
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.res-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  box-shadow: var(--sh-sm); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.res-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: #cbdcf6; }
.res-card i {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 15px;
  background: linear-gradient(135deg, #eaf2ff, #d6e6ff); color: var(--brand-deep); font-style: normal;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.res-card i svg { width: 20px; height: 20px; }
.res-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.res-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 下载区块 ---------- */
.dl { position: relative; overflow: hidden; padding: 110px 0; background: linear-gradient(180deg, #fff 0%, #e9f1fd 100%); }
.dl::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 44% at 14% 20%, rgba(93, 151, 255, 0.16), transparent 70%),
    radial-gradient(34% 38% at 88% 78%, rgba(138, 92, 246, 0.12), transparent 70%);
}
.dl-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.dl-note {
  margin-top: 28px; font-size: 13px; color: var(--ink-soft); background: #fff;
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  border-radius: 12px; padding: 14px 18px; max-width: 34em; box-shadow: var(--sh-sm);
}
.dl-card {
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px);
  border: 1px solid #fff; border-radius: 24px; padding: 34px;
  box-shadow: var(--sh-lg), inset 0 1px 0 #fff; position: relative;
}
.dl-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 24px; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(93, 151, 255, 0.5), rgba(138, 92, 246, 0.3), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.dl-card .mascot { width: 66px; height: 66px; border-radius: 18px; margin-bottom: 18px; box-shadow: var(--sh-md); }
.dl-card h3 { font-size: 21px; font-weight: 800; }
.dl-meta { font-size: 13px; color: var(--ink-soft); margin: 16px 0 24px; display: flex; flex-direction: column; gap: 9px; }
.dl-meta span { display: flex; align-items: center; gap: 9px; }
.dl-meta b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.dl-meta svg { width: 15px; height: 15px; color: var(--brand); flex: none; }
.dl-card .btn { width: 100%; justify-content: center; }
.dl-alt { text-align: center; font-size: 12.5px; color: var(--ink-faint); margin-top: 15px; }

/* ---------- 二级页页头 ---------- */
.page-hero { position: relative; overflow: hidden; padding: 76px 0 56px; text-align: center; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 40% at 16% 0%, rgba(93, 151, 255, 0.18), transparent 70%),
    radial-gradient(36% 32% at 86% 8%, rgba(138, 92, 246, 0.12), transparent 70%),
    linear-gradient(180deg, #eaf2fd 0%, var(--paper) 70%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero .lede { margin-left: auto; margin-right: auto; }

/* ---------- 下载页 ---------- */
.dl-page { position: relative; padding: 64px 0 104px; overflow: hidden; }
.dl-page::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 40% at 12% 30%, rgba(93, 151, 255, 0.12), transparent 70%),
    radial-gradient(34% 36% at 90% 70%, rgba(138, 92, 246, 0.1), transparent 70%);
}
.dl-page-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; position: relative; }
.dl-steps { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.dl-step {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--sh-sm);
}
.dl-step i {
  width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #eaf2ff, #d6e6ff); color: var(--brand-deep);
  font-family: var(--mono); font-weight: 800; font-size: 14px; font-style: normal;
}
.dl-step b { display: block; font-size: 15px; margin-bottom: 3px; }
.dl-step p { font-size: 13.5px; color: var(--ink-soft); }
.dl-faq { margin-top: 34px; }
.dl-faq h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.dl-faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; margin-bottom: 10px; box-shadow: var(--sh-sm);
}
.dl-faq summary { cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dl-faq details p { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; }
.release-notes {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
  font-size: 13px; color: var(--ink-soft); text-align: left; white-space: pre-line;
}
.release-notes b { display: block; color: var(--ink); margin-bottom: 6px; font-size: 13.5px; }

/* ---------- 页脚 ---------- */
footer.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--ink-soft); padding: 40px 0; font-size: 13px; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.foot-in img { width: 30px; height: 30px; border-radius: 9px; box-shadow: var(--sh-sm); }
.foot-links { display: flex; gap: 24px; margin-left: auto; }
.foot-links a:hover { color: var(--brand-deep); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .float-card { display: none; }
  .facts-in { grid-template-columns: repeat(2, 1fr); }
  .dl-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .feature.rev .mock-cell { order: 0; }
  .res-grid { grid-template-columns: 1fr; }
  .dl-in { grid-template-columns: 1fr; gap: 44px; }
  .rail { display: none; }
  .stage { aspect-ratio: auto; height: 440px; }
  .dict { transform: none; left: 24px; right: 24px; width: auto; bottom: 196px; animation: none; }
  .dict::after { left: 60%; }
}
@media (max-width: 560px) { .facts-in { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .dict, .wave i, .float-card { animation: none; }
  .btn:hover, .step:hover, .res-card:hover { transform: none; }
}
