/* ============================================================
   扶摇官网 · styles.css（2026-11 视觉重设计 v2）
   无依赖、无构建。设计原则：
   1. 双主题（浅/深）由 CSS 变量驱动；默认跟随系统，可手动覆盖。
   2. 动效是点缀不是依赖：prefers-reduced-motion 下全部优雅降级。
   3. 无 JS 时内容完整可读（价格表/下载体积的动态部分只做增强）。
   4. 键盘可达：skip link + :focus-visible。
   5. 品牌紫 #7c3aed 与桌面 App 一致。
   6. 一个页面只有一处主行动：主 CTA 永远只有一个，其余降为次要链接。
   ============================================================ */

/* ---------------- 设计令牌 ---------------- */
:root {
  --bg: #f6f6fa;
  --bg-1: #ffffff;
  --bg-2: #eeedf6;
  --card: #ffffff;
  --line: #e7e5f1;
  --line-2: #d7d4e5;
  --ink: #14121f;
  --ink-2: #4e4962;
  --ink-3: #87819c;
  --brand: #7c3aed;
  --brand-2: #9333ea;
  --brand-3: #c084fc;
  --brand-ink: #ffffff;
  --brand-soft: #f3ecff;
  --good: #0f8a52;
  --good-soft: #e6f6ee;
  --warn: #b45309;
  --del: #c2413b;
  --del-soft: #fdeceb;
  --add: #137a4a;
  --add-soft: #e8f7ef;
  --sh-1: 0 1px 2px rgba(20, 18, 31, .04), 0 1px 3px rgba(20, 18, 31, .06);
  --sh-2: 0 4px 12px rgba(20, 18, 31, .06), 0 16px 40px rgba(20, 18, 31, .08);
  --sh-3: 0 10px 24px rgba(20, 18, 31, .1), 0 40px 80px rgba(20, 18, 31, .14);
  --r-s: 10px;
  --r-m: 14px;
  --r-l: 22px;
  --nav-h: 64px;
  --wrap: 1180px;
  --mono: ui-monospace, "Cascadia Code", Consolas, "Courier New", monospace;
  color-scheme: light;
}

/* 深色（手动切换 data-theme="dark"） */
:root[data-theme="dark"] {
  --bg: #08080c;
  --bg-1: #0d0d13;
  --bg-2: #15151e;
  --card: #101017;
  --line: #232331;
  --line-2: #33334a;
  --ink: #f3f1f9;
  --ink-2: #b6b1c7;
  --ink-3: #837d97;
  --brand: #8b5cf6;
  --brand-2: #a78bfa;
  --brand-3: #d8b4fe;
  --brand-ink: #ffffff;
  --brand-soft: #1f1732;
  --good: #3ecf8e;
  --good-soft: #0f2a1e;
  --warn: #e5a23c;
  --del: #f0797a;
  --del-soft: #2b1518;
  --add: #4fce93;
  --add-soft: #0f2a1e;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .5);
  --sh-2: 0 4px 14px rgba(0, 0, 0, .45), 0 18px 44px rgba(0, 0, 0, .45);
  --sh-3: 0 12px 30px rgba(0, 0, 0, .55), 0 48px 90px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* 深色（跟随系统：用户没手动选过主题时） */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08080c;
    --bg-1: #0d0d13;
    --bg-2: #15151e;
    --card: #101017;
    --line: #232331;
    --line-2: #33334a;
    --ink: #f3f1f9;
    --ink-2: #b6b1c7;
    --ink-3: #837d97;
    --brand: #8b5cf6;
    --brand-2: #a78bfa;
    --brand-3: #d8b4fe;
    --brand-ink: #ffffff;
    --brand-soft: #1f1732;
    --good: #3ecf8e;
    --good-soft: #0f2a1e;
    --warn: #e5a23c;
    --del: #f0797a;
    --del-soft: #2b1518;
    --add: #4fce93;
    --add-soft: #0f2a1e;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .5);
    --sh-2: 0 4px 14px rgba(0, 0, 0, .45), 0 18px 44px rgba(0, 0, 0, .45);
    --sh-3: 0 12px 30px rgba(0, 0, 0, .55), 0 48px 90px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}

/* 手动浅色要盖回系统深色（放在两个深色块之后） */
:root[data-theme="light"] {
  color-scheme: light;
}

/* ---------------- 基础 ---------------- */
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei",
        "Segoe UI", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: color-mix(in srgb, var(--brand) 26%, transparent); }

/* 焦点：必须看得见（键盘用户唯一的路标） */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 820px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--brand); color: var(--brand-ink);
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  font-size: .86rem; font-weight: 650; text-decoration: none;
  transition: top .18s ease;
}
.skip:focus { top: 0; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 11px 20px; border-radius: 12px;
  font-size: .92rem; font-weight: 650; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .16s ease, box-shadow .2s ease,
              background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 55%, #5b21b6 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(124, 58, 237, .28), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(124, 58, 237, .38), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn--line {
  background: transparent; border-color: var(--line-2); color: var(--ink);
}
.btn--line:hover {
  border-color: color-mix(in srgb, var(--brand) 55%, var(--line-2));
  color: var(--brand); transform: translateY(-1px);
}
.btn--lg { padding: 14px 26px; font-size: 1rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn.is-soon { opacity: .55; cursor: not-allowed; }
.btn:active { transform: translateY(0); }

/* ---------------- 顶栏 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  box-shadow: 0 6px 24px rgba(20, 18, 31, .05);
}
.nav__in { display: flex; align-items: center; gap: 26px; height: 100%; }
.nav__brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em;
  text-decoration: none; color: var(--ink); flex: 0 0 auto;
}
.nav__brand img { border-radius: 8px; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.nav__links a {
  position: relative;
  padding: 8px 12px; border-radius: 9px;
  font-size: .875rem; font-weight: 550; color: var(--ink-2);
  text-decoration: none; transition: color .16s ease, background-color .16s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(.45); }
.nav__links a[aria-current="true"] { color: var(--brand); }
.nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__theme {
  display: inline-grid; place-items: center; width: 36px; height: 36px;
  padding: 0; border-radius: 10px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink-2);
  transition: color .16s ease, border-color .16s ease, transform .16s ease;
}
.nav__theme:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.nav__theme:active { transform: scale(.94); }
:root[data-theme="dark"] .ico-moon { display: none; }
:root[data-theme="light"] .ico-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ico-moon { display: none; }
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .ico-sun { display: none; }
}
.ico-sun, .ico-moon { width: 17px; height: 17px; }

.nav__burger {
  display: none; width: 38px; height: 36px; padding: 8px;
  background: transparent; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav__burger span + span { margin-top: 5px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  text-align: center;
}
.hero__mesh {
  position: absolute; inset: -320px 0 auto; height: 1020px;
  background:
    radial-gradient(52% 44% at 50% 22%, color-mix(in srgb, var(--brand) 26%, transparent), transparent 72%),
    radial-gradient(38% 34% at 82% 16%, rgba(14, 165, 233, .16), transparent 74%),
    radial-gradient(34% 30% at 16% 12%, rgba(232, 121, 249, .14), transparent 74%);
  filter: blur(6px);
  pointer-events: none;
}
.hero__glow {
  position: absolute; left: 50%; top: 260px; width: 760px; height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 20%, transparent), transparent);
  filter: blur(70px); pointer-events: none;
}
.hero__in { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0; padding: 6px 14px 6px 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: color-mix(in srgb, var(--card) 78%, transparent);
  backdrop-filter: blur(10px);
  font-size: .8rem; font-weight: 550; color: var(--ink-2);
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 18%, transparent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--good) 18%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--good) 6%, transparent); }
}

.hero__title {
  margin: 26px auto 0; max-width: 900px;
  font-size: clamp(2.35rem, 5.4vw, 4rem);
  font-weight: 850; letter-spacing: -.035em; line-height: 1.08;
}
.hero__title .grad {
  background: linear-gradient(96deg, var(--brand-3) 0%, var(--brand) 42%, #e879f9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  margin: 22px auto 0; max-width: 640px;
  font-size: 1.02rem; line-height: 1.75; color: var(--ink-2);
}

/* ---- 下载区：一个主 CTA + 一行次要平台 ---- */
.dl { margin: 38px auto 0; max-width: 480px; }
.dl__main {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px 13px 14px;
  border-radius: 16px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 58%, #5b21b6 100%);
  box-shadow: 0 8px 24px rgba(124, 58, 237, .3), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: transform .18s ease, box-shadow .22s ease, filter .22s ease;
}
.dl__main:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 36px rgba(124, 58, 237, .42), inset 0 1px 0 rgba(255, 255, 255, .24);
}
.dl__main:active { transform: translateY(0); }
.dl__ico {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .16);
}
.dl__ico svg { width: 22px; height: 22px; }
.dl__main-txt {
  flex: 1; display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; line-height: 1.35; min-width: 0;
}
.dl__main-txt b { font-size: 1.02rem; font-weight: 750; letter-spacing: -.01em; }
.dl__main-txt small {
  font-size: .76rem; opacity: .85; font-variant-numeric: tabular-nums;
}
.dl__arrow { flex: 0 0 auto; font-size: 1.05rem; opacity: .85; transition: transform .2s ease; }
.dl__main:hover .dl__arrow { transform: translateY(2px); }

.dl__note { margin: 13px 0 0; font-size: .8rem; color: var(--ink-3); }
.dl__alt {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px; margin: 20px 0 0; padding: 0;
}
.dl__alt a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  color: var(--ink-2); font-size: .79rem; font-weight: 550; text-decoration: none;
  white-space: nowrap;
  transition: border-color .16s ease, color .16s ease, transform .16s ease;
}
.dl__alt a:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); color: var(--brand); transform: translateY(-1px); }
.dl__alt a.is-soon { opacity: .58; cursor: not-allowed; }
.dl__alt a.is-soon:hover { border-color: var(--line); color: var(--ink-2); transform: none; }
.dl__alt em { font-style: normal; color: var(--ink-3); font-size: .72rem; }
.dl__alt svg { width: 13px; height: 13px; opacity: .75; }
.dl__hint {
  margin: 16px auto 0; max-width: 500px;
  font-size: .75rem; line-height: 1.65; color: var(--ink-3);
}

/* ---- 应用窗口示意 ---- */
.shot {
  position: relative;
  max-width: 980px; margin: 58px auto 0;
  border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
  background: var(--card);
  box-shadow: var(--sh-3);
  text-align: left;
  transition: transform .3s ease, box-shadow .3s ease;
}
.shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(20, 18, 31, .12), 0 60px 100px rgba(20, 18, 31, .16);
}
.shot__bar {
  display: flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 55%, var(--card));
}
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; opacity: .9; }
.shot__bar i:nth-child(1) { background: #f87171; }
.shot__bar i:nth-child(2) { background: #fbbf24; }
.shot__bar i:nth-child(3) { background: #34d399; }
.shot__title {
  margin-left: 8px; font-size: .74rem; font-weight: 600; color: var(--ink-3);
  letter-spacing: .02em;
}
.shot__body { display: flex; min-height: 400px; }
.shot__side {
  flex: 0 0 168px; padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-2) 40%, var(--card));
}
.shot__main { flex: 1; padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 13px; min-width: 0; }

.sk { border-radius: 7px; background: var(--bg-2); }
.sk--ava { width: 34px; height: 34px; border-radius: 999px; margin-bottom: 16px; }
.sk--active {
  height: 32px; margin-bottom: 12px;
  background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 30%, transparent);
}
.sk--line { height: 10px; margin-bottom: 10px; }
.sk--short { width: 62%; }
.sk__gap { height: 16px; }

.bub {
  max-width: 88%; padding: 12px 15px; border-radius: 14px;
  font-size: .85rem; line-height: 1.62;
}
.bub--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff; border-bottom-right-radius: 5px;
  box-shadow: 0 6px 18px rgba(124, 58, 237, .25);
}
.bub--ai {
  align-self: flex-start;
  background: var(--bg-2); color: var(--ink);
  border: 1px solid var(--line); border-bottom-left-radius: 5px;
}
.bub__who {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; color: var(--ink-3); margin-bottom: 5px;
}
.bub__who i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent);
}
.bub code {
  font-family: var(--mono); font-size: .78rem;
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  padding: 1px 5px; border-radius: 5px;
}
.bub__tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }

.tag {
  display: inline-flex; align-items: center;
  padding: 2px 9px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--card);
  font-size: .7rem; font-weight: 600; color: var(--ink-2);
}
.tag--new {
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  background: var(--brand-soft); color: var(--brand);
}

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: .71rem; font-weight: 600; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.pill svg { width: 12px; height: 12px; }
.pill--pts { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 32%, transparent); }

/* 执行计划卡 */
.plan {
  align-self: flex-start; width: 74%; max-width: 420px;
  padding: 12px 14px; border-radius: 13px;
  border: 1px solid color-mix(in srgb, var(--brand) 26%, var(--line));
  background: color-mix(in srgb, var(--brand) 5%, var(--card));
}
.plan__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 9px;
}
.plan__head b { font-size: .76rem; color: var(--ink); }
.plan__head span { font-size: .7rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.plan ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.plan li { display: flex; gap: 9px; align-items: baseline; font-size: .78rem; color: var(--ink-2); }
.plan li i { font-style: normal; flex: 0 0 1em; text-align: center; font-size: .72rem; }
.plan li.is-done { color: var(--ink-3); text-decoration: line-through; }
.plan li.is-done i { color: var(--good); font-weight: 700; }
.plan li.is-doing { font-weight: 650; color: var(--ink); }
.plan li.is-doing i { color: var(--brand); }

/* 代码 diff */
.mini-diff {
  margin-top: 9px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
  font-family: var(--mono); font-size: .72rem;
}
.mini-diff__file {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 6px 10px; border-bottom: 1px solid var(--line);
  background: var(--bg-2); color: var(--ink-2);
}
.mini-diff__file b { font-weight: 600; }
.mini-diff__file em { font-style: normal; color: var(--add); }
.mini-diff__file u { text-decoration: none; color: var(--del); }
.mini-diff__row { padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-diff__row.is-del { background: var(--del-soft); color: var(--del); }
.mini-diff__row.is-add { background: var(--add-soft); color: var(--add); }

.shot__composer {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto; padding: 9px 9px 9px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--card); color: var(--ink-3); font-size: .8rem;
}
.shot__composer span:first-child { flex: 1; }
.shot__send {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff;
}
.shot__send svg { width: 13px; height: 13px; }
.shot__pills { display: flex; gap: 8px; }

/* ---------------- 信任条 ---------------- */
.strip { padding: 0 0 8px; }
.strip__in {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--card); box-shadow: var(--sh-1);
  overflow: hidden;
}
.strip__item { padding: 22px 20px; text-align: center; }
.strip__item + .strip__item { border-left: 1px solid var(--line); }
.strip__item b {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; font-weight: 700; color: var(--ink);
}
.strip__item b svg { width: 17px; height: 17px; color: var(--brand); }
.strip__item span { display: block; margin-top: 4px; font-size: .76rem; color: var(--ink-3); }

/* ---------------- 区块 ---------------- */
.sec { padding: 100px 0; }
.sec--alt {
  background: var(--bg-1);
  border-block: 1px solid var(--line);
}
.sec__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.sec__head h2 {
  margin: 14px 0 0;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 820; letter-spacing: -.028em; line-height: 1.16;
}
.sec__lead { margin: 16px 0 0; color: var(--ink-2); font-size: .99rem; line-height: 1.75; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 18px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand));
}
.sec__fresh {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px; margin: 22px 0 0;
}
.fresh-item {
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: .755rem; font-weight: 550; color: var(--ink-2);
}

/* ---------------- 功能卡片 ---------------- */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--card); box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .24s ease, border-color .24s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  box-shadow: var(--sh-2);
}
.card__ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--brand-soft); color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, transparent);
  margin-bottom: 16px;
}
.card__ico svg { width: 21px; height: 21px; }
.card h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 750; letter-spacing: -.01em; }
.card p { margin: 0; font-size: .86rem; color: var(--ink-2); line-height: 1.7; }

/* ---------------- 本地优先 ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split__col {
  padding: 28px 26px;
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--card); box-shadow: var(--sh-1);
}
.split__col--good { border-top: 3px solid var(--good); }
.split__col--net { border-top: 3px solid var(--warn); }
.split__title {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 20px;
}
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 700;
}
.badge svg { width: 14px; height: 14px; }
.badge--good { background: var(--good-soft); color: var(--good); }
.badge--net { background: color-mix(in srgb, var(--warn) 13%, transparent); color: var(--warn); }
.cnt { font-size: .76rem; color: var(--ink-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checklist li {
  position: relative; padding-left: 24px;
  font-size: .87rem; color: var(--ink-2); line-height: 1.6;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--good); transform: rotate(45deg);
}
.checklist--net li::before { background: var(--warn); }
.checklist--sm { gap: 9px; }
.checklist--sm li { font-size: .83rem; }
.split__foot { margin: 18px 0 0; font-size: .82rem; color: var(--ink-3); }

/* ---------------- 技能 chips ---------------- */
/* 默认可见：JS 挂了 / 截图 / 爬虫看到的都是完整内容。
   只有 JS 明确接管入场时才由 .chips--anim 把它们先藏起来（渐进增强，不是依赖）。 */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card);
  font-size: .81rem; font-weight: 550; color: var(--ink-2);
  transition: opacity .4s ease, transform .4s ease, border-color .16s ease, color .16s ease;
}
.chips--anim .chip { opacity: 0; transform: translateY(6px); }
.chips--anim .chip.is-in { opacity: 1; transform: none; }
.chip:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); color: var(--brand); }
.chip__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 70%, transparent);
}
.chips__note {
  max-width: 660px; margin: 26px auto 0; text-align: center;
  font-size: .82rem; color: var(--ink-3); line-height: 1.7;
}

/* ---------------- 定价 ---------------- */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price__card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--card); box-shadow: var(--sh-1);
  transition: transform .2s ease, box-shadow .24s ease, border-color .24s ease;
}
.price__card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.price__card--main {
  border-color: color-mix(in srgb, var(--brand) 42%, var(--line));
  box-shadow: 0 10px 34px color-mix(in srgb, var(--brand) 14%, transparent);
  background:
    radial-gradient(120% 60% at 100% 0%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 60%),
    var(--card);
}
.price__card--main::before {
  content: "最常用"; position: absolute; top: 16px; right: 18px;
  padding: 2px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand);
  font-size: .68rem; font-weight: 700; letter-spacing: .02em;
}
.price__name { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.price__amt {
  margin: 10px 0 6px; font-size: 2.4rem; font-weight: 850;
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.price__amt--free { color: var(--good); }
.price__cur { font-size: 1.15rem; font-weight: 700; margin-right: 2px; }
.price__per { font-size: .82rem; font-weight: 600; color: var(--ink-3); margin-left: 4px; letter-spacing: 0; }
.price__desc { margin: 0 0 20px; font-size: .82rem; color: var(--ink-2); }
.price__card .checklist { margin-bottom: 24px; flex: 1; }
.price .btn--block { margin-top: auto; }

.tablewrap {
  margin-top: 26px; padding: 6px 18px 14px;
  border: 1px solid var(--line); border-radius: var(--r-l);
  background: var(--card);
}
.tablewrap summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; cursor: pointer;
  font-size: .88rem; font-weight: 650; color: var(--ink);
  list-style: none;
}
.tablewrap summary::-webkit-details-marker { display: none; }
.tablewrap summary::after {
  content: "＋"; color: var(--ink-3); font-weight: 500; transition: color .16s ease;
}
.tablewrap[open] summary::after { content: "−"; color: var(--brand); }
.tablewrap summary:hover { color: var(--brand); }
.tablewrap__scroll { overflow-x: auto; padding-bottom: 6px; }
.ptable { width: 100%; border-collapse: collapse; font-size: .82rem; min-width: 660px; }
.ptable th, .ptable td {
  padding: 11px 12px; text-align: left;
  border-bottom: 1px solid var(--line);
}
.ptable thead th {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-3);
  background: color-mix(in srgb, var(--bg-2) 45%, transparent);
}
.ptable thead th small { display: block; font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .8; }
.ptable tbody tr:hover td { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.ptable__model { font-weight: 650; color: var(--ink); }
.ptable__model code {
  font-family: var(--mono); font-size: .76rem;
  color: var(--ink-2); background: var(--bg-2);
  padding: 1px 6px; border-radius: 5px;
}
.tier {
  display: inline-block; padding: 1px 8px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; vertical-align: 1px;
  margin-left: 6px;
}
.tier--low { background: var(--good-soft); color: var(--good); }
.tier--mid { background: var(--brand-soft); color: var(--brand); }
.tier--high { background: color-mix(in srgb, var(--warn) 13%, transparent); color: var(--warn); }
.ptable__sub { display: block; font-size: .68rem; color: var(--ink-3); font-weight: 400; }
.ptable__state { font-size: .76rem; }
.ptable__num { font-family: var(--mono); font-size: .78rem; font-variant-numeric: tabular-nums; }
.ptable__real { font-weight: 800; color: var(--brand); }
.ptable__note { margin: 12px 2px 6px; font-size: .76rem; color: var(--ink-3); line-height: 1.65; }
.state {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; font-weight: 600;
}
.state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.state--on { color: var(--good); }
.state--on::before { background: var(--good); }
.state--off {
  color: var(--ink-3);
}
.state--off::before { background: var(--ink-3); opacity: .5; }
.ptable tr.is-soon td { opacity: .62; }

/* ---------------- FAQ ---------------- */
.faq {
  border: 1px solid var(--line); border-radius: var(--r-m);
  background: var(--card); margin-bottom: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq:hover { border-color: var(--line-2); }
.faq[open] {
  border-color: color-mix(in srgb, var(--brand) 34%, var(--line));
  box-shadow: var(--sh-1);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; cursor: pointer; list-style: none;
  font-size: .94rem; font-weight: 650; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; flex: 0 0 auto; color: var(--ink-3); font-weight: 500;
  transition: color .16s ease;
}
.faq[open] summary::after { content: "−"; color: var(--brand); }
.faq p { margin: 0; padding: 0 20px 20px; font-size: .86rem; color: var(--ink-2); line-height: 1.78; }

/* ---------------- 结尾 CTA ---------------- */
.cta { padding: 0 0 100px; }
.cta__in {
  position: relative; overflow: hidden;
  padding: 64px 32px;
  border-radius: 28px; text-align: center;
  color: #fff;
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(139, 92, 246, .55), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(232, 121, 249, .28), transparent 70%),
    linear-gradient(145deg, #241046 0%, #150a2c 55%, #0d0719 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 30px 80px rgba(60, 20, 130, .28);
}
.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  font-weight: 820; letter-spacing: -.025em;
}
.cta p { margin: 0 auto; max-width: 520px; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.cta__btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 30px;
}
.cta__btns .btn--primary {
  box-shadow: 0 8px 26px rgba(124, 58, 237, .5), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.cta__btns .btn--line {
  border-color: rgba(255, 255, 255, .22); color: #fff;
  background: rgba(255, 255, 255, .06);
}
.cta__btns .btn--line:hover { border-color: rgba(255, 255, 255, .45); color: #fff; }
.cta__note {
  display: block; margin-top: 18px;
  font-size: .76rem; color: rgba(255, 255, 255, .5);
}

/* ---------------- 页脚 ---------------- */
.foot {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 40px 0 46px;
}
.foot__in {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
}
.foot__brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 750; font-size: .95rem;
}
.foot__brand img { border-radius: 7px; }
.foot__ver {
  padding: 1px 8px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-3);
  font-size: .7rem; font-weight: 600; font-variant-numeric: tabular-nums;
}
.foot__links {
  display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto;
}
.foot__links a {
  font-size: .8rem; color: var(--ink-3); text-decoration: none;
  transition: color .16s ease;
}
.foot__links a:hover { color: var(--brand); }
.foot__copy {
  flex: 1 0 100%; margin: 6px 0 0;
  font-size: .75rem; color: var(--ink-3);
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .wrap { padding: 0 22px; }
  .sec { padding: 78px 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .price { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .shot__side { display: none; }
  .shot__body { min-height: 340px; }
  .plan { width: 100%; }
  .nav__links { gap: 0; }
  .nav__links a { padding: 8px 9px; font-size: .84rem; }
}

@media (max-width: 720px) {
  :root { --nav-h: 60px; }
  .hero { padding: 52px 0 72px; }
  .hero__title { margin-top: 20px; font-size: clamp(1.9rem, 7.6vw, 2.35rem); }
  .hero__sub { font-size: .94rem; margin-top: 18px; }
  .dl { margin-top: 28px; }
  .dl__main { padding: 12px 14px; }
  .dl__main-txt b { font-size: .96rem; }
  .dl__alt { gap: 7px; }
  .dl__alt a { padding: 6px 11px; font-size: .76rem; }
  .shot { margin-top: 40px; border-radius: 16px; }
  .shot__main { padding: 16px 16px 14px; }
  .bub { max-width: 100%; }
  .strip__in { grid-template-columns: 1fr 1fr; }
  .strip__item + .strip__item { border-left: 0; }
  .strip__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec__head { margin-bottom: 38px; }
  .grid--3 { grid-template-columns: 1fr; }
  .cta { padding-bottom: 72px; }
  .cta__in { padding: 44px 20px; border-radius: 22px; }
  .foot__links { margin-left: 0; }

  .nav__burger { display: block; margin-left: auto; }
  .nav__cta { margin-left: 0; }
  .nav__links {
    position: absolute; left: 16px; right: 16px; top: calc(var(--nav-h) - 6px);
    display: none; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; border: 1px solid var(--line); border-radius: 16px;
    background: var(--card); box-shadow: var(--sh-2);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 11px 12px; border-radius: 10px; }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="true"] { background: var(--brand-soft); }
  .nav__cta .btn--primary { display: none; }
}

/* ---------------- 减少动态效果 ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .chip { opacity: 1; transform: none; }
}

/* changelog 历史条目内的补记小注（如 1.0.42 音乐条目的替换说明） */
.log__note { color: var(--text-3); font-style: normal; font-size: .9em; }
