/* ============================================================
   播掌柜官方网站
   设计语言：Apple 产品页 —— 大标题、留白、系统蓝、轻盈卡片
   ============================================================ */

:root {
  color-scheme: light dark;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;

  --label: #1d1d1f;
  --label-2: #6e6e73;
  --label-3: #86868b;
  --bg: #fbfbfd;
  --section-light: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --separator: rgba(0, 0, 0, 0.1);
  --hairline: rgba(0, 0, 0, 0.08);
  --fill: rgba(0, 0, 0, 0.04);
  --fill-2: rgba(0, 0, 0, 0.06);

  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.08);
  --purple: #6e5bff;
  --green: #248a3d;
  --green-bright: #34c759;
  --orange: #c76a00;
  --red: #d70015;

  --dark: #1d1d1f;
  --dark-2: #2c2c2e;
  --on-dark: #f5f5f7;
  --on-dark-2: rgba(245, 245, 247, 0.68);

  --radius: 22px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.14), 0 8px 24px rgba(0, 0, 0, 0.05);
  --focus-ring: 0 0 0 4px rgba(0, 113, 227, 0.24);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-standard: cubic-bezier(0.25, 0.1, 0.25, 1);

  --mock-window: #ffffff;
  --mock-titlebar: #f5f5f7;
  --mock-tabs: #fafafc;
  --mock-body: #fbfbfd;
  --mock-surface: #ffffff;
  --mock-subtle: #f2f2f7;
  --mock-border: rgba(0, 0, 0, 0.08);
  --mock-thumb: linear-gradient(135deg, #dbe6ff, #c9d7f7);

  /* 兼容既有变量 */
  --brand: var(--blue);
  --brand-2: var(--purple);
  --brand-soft: var(--blue-soft);
  --ink: var(--label);
  --muted: var(--label-2);
  --line: var(--hairline);
  --card: var(--surface);
  --bg-subtle: var(--surface-2);
}

@media (prefers-color-scheme: dark) {
  :root {
    --label: #f5f5f7;
    --label-2: #a1a1a6;
    --label-3: #86868b;
    --bg: #000000;
    --section-light: #0a0a0a;
    --surface: #1c1c1e;
    --surface-2: #141416;
    --separator: rgba(255, 255, 255, 0.12);
    --hairline: rgba(255, 255, 255, 0.09);
    --fill: rgba(255, 255, 255, 0.05);
    --fill-2: rgba(255, 255, 255, 0.09);

    --blue: #2997ff;
    --blue-hover: #4aa8ff;
    --blue-soft: rgba(41, 151, 255, 0.14);
    --purple: #a78bfa;
    --green: #6fe39a;
    --orange: #ffc266;
    --red: #ff8a84;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.65);
    --focus-ring: 0 0 0 4px rgba(41, 151, 255, 0.36);

    --mock-window: #1c1c1e;
    --mock-titlebar: #2c2c2e;
    --mock-tabs: #242426;
    --mock-body: #161618;
    --mock-surface: #2c2c2e;
    --mock-subtle: #202022;
    --mock-border: rgba(255, 255, 255, 0.1);
    --mock-thumb: linear-gradient(135deg, #2f477c, #24345c);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--label);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.18s var(--ease-standard);
}
a:hover {
  color: var(--blue-hover);
}
h1,
h2,
h3,
h4 {
  line-height: 1.16;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
p {
  margin: 0 0 14px;
}
ul,
ol {
  margin: 0 0 14px;
  padding-left: 22px;
}
code {
  background: var(--fill-2);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.92em;
  font-family: var(--font-mono);
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}
.container.narrow {
  width: min(800px, calc(100% - 48px));
}
.center {
  text-align: center;
}
.muted {
  color: var(--label-2);
}
.small {
  font-size: 13px;
}
.mt {
  margin-top: 24px;
}
.pre-line {
  white-space: pre-line;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 0 0 10px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  background: var(--surface);
  color: var(--label);
  white-space: nowrap;
  transition:
    background 0.2s var(--ease-standard),
    color 0.2s var(--ease-standard),
    border-color 0.2s var(--ease-standard),
    transform 0.15s var(--ease-standard),
    box-shadow 0.2s var(--ease-standard);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.2);
}
.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.28);
}
.btn-outline {
  border-color: var(--separator);
  color: var(--label);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--label-3);
  color: var(--label);
  background: var(--fill);
}
.btn-ghost {
  background: transparent;
  color: var(--label-2);
}
.btn-ghost:hover {
  color: var(--label);
  background: var(--fill);
}
.btn-light {
  background: #fff;
  color: #1d1d1f;
}
.btn-light:hover {
  background: #f5f5f7;
  color: #1d1d1f;
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.36);
  color: #f5f5f7;
  background: transparent;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-lg {
  height: 48px;
  padding: 0 26px;
  font-size: 15px;
}
.btn-sm {
  height: 32px;
  padding: 0 15px;
  font-size: 12.5px;
}
.btn-block {
  width: 100%;
}
.btn.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
@media (prefers-color-scheme: dark) {
  .site-header {
    background: rgba(22, 22, 23, 0.78);
  }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 56px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--label);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.015em;
}
.logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.logo:hover {
  color: var(--label);
}
.site-nav {
  display: flex;
  gap: 26px;
  margin-left: 14px;
}
.site-nav a {
  color: var(--label-2);
  font-size: 12.5px;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--label);
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: var(--label);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
  width: 38px;
  height: 34px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--label);
  border-radius: 2px;
  transition: transform 0.2s var(--ease-standard), opacity 0.2s;
}
.announce {
  background: var(--blue-soft);
  border-top: 1px solid var(--hairline);
}
.announce .container {
  padding: 8px 0;
  font-size: 12.5px;
  color: var(--label-2);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 104px;
  background: var(--bg);
}
.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 760px;
  background:
    radial-gradient(620px 420px at 72% 18%, rgba(0, 113, 227, 0.1), transparent 68%),
    radial-gradient(520px 380px at 18% 8%, rgba(110, 91, 255, 0.07), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
}
.hero-copy > * {
  animation: heroRise 0.8s var(--ease-out) both;
}
.hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.07s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.17s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.22s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.27s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.eyebrow.light {
  color: #7fb0ff;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
  animation: pulse 2.6s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin: 0 0 20px;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.grad {
  background: linear-gradient(96deg, #0071e3 2%, #6e5bff 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-color-scheme: dark) {
  .grad {
    background: linear-gradient(96deg, #6cb2ff 2%, #b39dff 98%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}
.lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--label-2);
  max-width: 560px;
}
.page-hero {
  background: var(--bg);
  color: var(--label);
  padding: 64px 0 44px;
}
.page-hero .lead {
  color: var(--label-2);
}
.page-hero h1 {
  font-size: clamp(32px, 3.8vw, 48px);
  letter-spacing: -0.03em;
}
.hero-actions,
.download-actions,
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-actions {
  margin: 28px 0 20px;
}
.hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--label-3);
}
.hero-promo {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--label);
  background: var(--blue-soft);
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: 14px;
  padding: 11px 15px;
}
.promo-pill {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

/* ---------- Hero 模拟窗口 ---------- */
.hero-visual {
  position: relative;
  animation: heroRise 0.9s var(--ease-out) 0.1s both;
}
.mock-window {
  border-radius: 18px;
  background: var(--mock-window);
  border: 1px solid var(--mock-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: float 8s ease-in-out infinite;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  background: var(--mock-titlebar);
  border-bottom: 1px solid var(--mock-border);
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mock-dot.red { background: #ff5f57; }
.mock-dot.yellow { background: #febc2e; }
.mock-dot.green { background: #28c840; }
.mock-address {
  margin-left: 12px;
  font-size: 11.5px;
  color: var(--label-3);
}
.mock-tabs {
  display: flex;
  gap: 2px;
  padding: 5px 10px 0;
  background: var(--mock-tabs);
  border-bottom: 1px solid var(--mock-border);
}
.mock-tab {
  font-size: 11.5px;
  color: var(--label-3);
  padding: 6px 13px;
  border-radius: 8px 8px 0 0;
}
.mock-tab.active {
  background: var(--mock-window);
  color: var(--label);
  box-shadow: 0 -1px 0 var(--mock-border) inset, 1px 0 0 var(--mock-border) inset,
    -1px 0 0 var(--mock-border) inset;
}
.mock-body {
  display: grid;
  grid-template-columns: 1fr 168px;
  min-height: 276px;
  background: var(--mock-body);
}
.mock-main {
  padding: 14px;
}
.mock-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.mock-chip {
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.12);
  color: var(--green);
}
.mock-chip.muted {
  background: var(--fill);
  color: var(--label-2);
}
.mock-goods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-good {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--mock-surface);
  border: 1px solid var(--mock-border);
  animation: goodsGlow 9s linear infinite;
  animation-delay: calc(var(--i) * 3s);
}
.mock-good strong {
  display: block;
  font-size: 12px;
  color: var(--label);
  font-weight: 600;
}
.mock-good small {
  display: block;
  font-size: 10.5px;
  color: var(--label-3);
}
.mock-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--mock-thumb);
  flex: 0 0 auto;
}
.mock-live {
  margin-left: auto;
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.12);
  color: var(--red);
  animation: pulse 2s ease-in-out infinite;
}
.mock-comment {
  margin-top: 12px;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--blue-soft);
}
.mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  flex: 0 0 auto;
}
.mock-comment strong {
  font-size: 11px;
  color: var(--label);
  font-weight: 600;
}
.mock-comment small {
  display: block;
  font-size: 10.5px;
  color: var(--label-2);
}
.mock-panel {
  border-left: 1px solid var(--mock-border);
  padding: 12px;
  background: var(--mock-subtle);
}
.mock-panel-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--label-2);
  margin-bottom: 10px;
}
.mock-control {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--label-2);
  padding: 7px 0;
  border-bottom: 1px dashed var(--mock-border);
}
.mock-control em {
  font-style: normal;
  color: var(--green);
}
.mock-control.active em {
  color: var(--blue);
}
.mock-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--fill);
  margin: 12px 0 6px;
  overflow: hidden;
}
.mock-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  animation: barMove 5s ease-in-out infinite;
}
.mock-note {
  font-size: 9.5px;
  color: var(--label-3);
}

/* ---------- 区块 ---------- */
.section {
  padding: 96px 0;
  background: var(--bg);
}
.section-light {
  background: var(--section-light);
}
.section-dark {
  background: var(--dark);
  color: var(--on-dark);
}
.section-head {
  margin-bottom: 46px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-head p {
  margin: 0;
  font-size: 16.5px;
  color: var(--label-2);
}
.section-dark .section-head p {
  color: var(--on-dark-2);
}
.center.section-head,
.section-head.center {
  text-align: center;
}

/* ---------- 功能卡 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-standard),
    border-color 0.2s var(--ease-standard);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.feature-index {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}
.feature-card h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.feature-card p {
  color: var(--label-2);
  font-size: 14px;
  line-height: 1.65;
}
.feature-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--label-2);
  margin-bottom: 6px;
}
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.7;
}

/* ---------- 流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px 22px;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-standard);
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.step h3 {
  font-size: 16.5px;
  letter-spacing: -0.015em;
}
.step p {
  font-size: 13.5px;
  color: var(--label-2);
  margin: 0;
  line-height: 1.65;
}

/* ---------- 功能详情 ---------- */
.page-hero + .section {
  padding-top: 64px;
}
.feature-detail-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-detail.reverse .feature-detail-copy {
  order: 2;
}
.feature-detail-copy h2 {
  font-size: clamp(26px, 2.8vw, 34px);
  letter-spacing: -0.025em;
}
.feature-detail-copy p {
  color: var(--label-2);
  font-size: 15.5px;
  line-height: 1.7;
}
.feature-demo {
  background: #1d1d1f;
  border-radius: 20px;
  padding: 24px;
  min-height: 250px;
  color: #f5f5f7;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .feature-demo {
    background: #161618;
    border: 1px solid var(--hairline);
  }
}
.demo-goods-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
  margin-bottom: 8px;
  font-size: 13px;
}
.demo-goods-row span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #34497e, #24345c);
}
.demo-goods-row em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.demo-goods-row.active {
  background: rgba(41, 151, 255, 0.16);
  border: 1px solid rgba(41, 151, 255, 0.34);
}
.demo-goods-row.active em {
  color: #8fb6ff;
}
.demo-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin-top: 14px;
}
.demo-progress i {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2997ff, #a78bfa);
  animation: barMove 4s ease-in-out infinite;
}
.demo-comments {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.demo-bubble {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
}
.demo-bubble.alt {
  background: rgba(41, 151, 255, 0.2);
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
}
.demo-typing {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
}
.demo-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: typing 1.2s infinite;
}
.demo-typing i:nth-child(2) { animation-delay: 0.2s; }
.demo-typing i:nth-child(3) { animation-delay: 0.4s; }
.demo-tab-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  font-size: 12px;
}
.demo-tab-bar span {
  padding: 7px 13px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}
.demo-tab-bar span.active {
  background: #2c2c2e;
  color: #fff;
}
.demo-tab-body {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
}
.demo-line {
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  margin-bottom: 10px;
}
.demo-line.w70 { width: 70%; }
.demo-line.w50 { width: 50%; }
.demo-line.w80 { width: 80%; }
.demo-guard,
.demo-license,
.demo-update {
  font-size: 13px;
}
.demo-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 14px;
}
.demo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #34c759;
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
.demo-guard-line {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.demo-guard-line.muted {
  color: rgba(255, 255, 255, 0.45);
}
.demo-license-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.demo-license-row span {
  color: rgba(255, 255, 255, 0.55);
}
.demo-version {
  font-weight: 600;
  margin-bottom: 14px;
}
.demo-update-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 价格 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-standard);
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.price-card.highlight {
  border-color: rgba(0, 113, 227, 0.45);
  box-shadow: 0 18px 50px rgba(0, 113, 227, 0.14);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 999px;
}
.price-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.price {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--label);
  margin-bottom: 6px;
  line-height: 1.1;
}
.price .currency {
  font-size: 17px;
  font-weight: 600;
  margin-right: 2px;
}
.price .unit {
  font-size: 12px;
  font-weight: 400;
  color: var(--label-2);
  margin-left: 4px;
  letter-spacing: 0;
}
.price-daily {
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 600;
  margin: 0 0 8px;
}
.price-tagline {
  color: var(--label-2);
  font-size: 13px;
  min-height: 20px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 14px 0 24px;
  flex: 1;
}
.price-features li {
  font-size: 13px;
  color: var(--label-2);
  padding-left: 19px;
  position: relative;
  margin-bottom: 8px;
}
.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}
.promo-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--blue-soft);
  border: 1px solid rgba(0, 113, 227, 0.14);
  margin-bottom: 30px;
}
.promo-banner h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.promo-banner p {
  margin: 0;
  color: var(--label-2);
  font-size: 13.5px;
}
.promo-rules {
  margin: 0;
  padding-left: 18px;
  color: var(--label-2);
  font-size: 13px;
}
.pricing-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  align-items: start;
}

/* ---------- 下载 ---------- */
.download-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 48px;
  align-items: center;
}
.download-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.03em;
}
.download-copy p {
  color: var(--on-dark-2);
  font-size: 16px;
  line-height: 1.7;
}
.download-actions {
  margin: 24px 0;
}
.download-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin: 0;
}
.download-meta dt {
  font-size: 11.5px;
  color: rgba(245, 245, 247, 0.5);
  margin-bottom: 3px;
}
.download-meta dd {
  margin: 0;
  font-size: 14px;
  color: var(--on-dark);
}
.download-side .qr-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
}
.download-side .qr-text,
.download-side .qr-text strong {
  color: var(--on-dark);
}
.download-detail {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 28px;
  align-items: start;
}
.download-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.download-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 80px;
}
.sha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--fill);
  margin-top: 14px;
}
.sha-box code {
  word-break: break-all;
  font-size: 12px;
  background: transparent;
  padding: 0;
}
.release-notes {
  margin-top: 18px;
}
.release-notes h3 {
  font-size: 15.5px;
}

/* ---------- 二维码卡片 ---------- */
.qr-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.qr-card img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  flex: 0 0 auto;
}
.qr-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--label-2);
}
.qr-text strong {
  color: var(--label);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 面板 ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px;
}
.panel h2,
.panel h3 {
  font-size: 18px;
  letter-spacing: -0.015em;
}
.panel.sticky {
  position: sticky;
  top: 80px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.panel + .panel,
.panel .panel {
  margin-top: 0;
}
.download-aside .panel + .qr-card,
.article-aside .panel + .qr-card {
  margin-top: 16px;
}
.download-detail .panel h2,
.download-main .panel h2 {
  font-size: 21px;
}

/* ---------- 文章 ---------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-standard);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.article-cover img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.article-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.article-card-body time {
  font-size: 12px;
  color: var(--label-3);
}
.article-card-body h3 {
  font-size: 17px;
  letter-spacing: -0.015em;
  margin: 0;
}
.article-card-body p {
  font-size: 13.5px;
  color: var(--label-2);
  margin: 0;
  flex: 1;
  line-height: 1.65;
}
.read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}
.article-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 26px;
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--label-2);
  font-size: 13px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.chip:hover {
  color: var(--label);
  border-color: var(--label-3);
}
.chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.search-form {
  display: flex;
  gap: 8px;
}
.search-form input {
  width: 240px;
  max-width: 60vw;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--label);
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.search-form input:focus {
  border-color: var(--blue);
  box-shadow: var(--focus-ring);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
  padding: 52px 0 20px;
}
.article-page .article-layout {
  padding-bottom: 64px;
}
.article-header h1 {
  font-size: clamp(28px, 3.2vw, 42px);
  letter-spacing: -0.03em;
}
.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--label-3);
  margin-top: 10px;
}
.article-hero {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 20px;
  margin: 20px 0;
}
.article-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-faq,
.related {
  margin-top: 44px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--label-3);
  margin-bottom: 14px;
}
.page-hero .breadcrumb a {
  color: var(--label-2);
}
.article-page .breadcrumb {
  color: var(--label-3);
}
.pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}
.pagination a,
.pagination span {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-size: 13px;
  color: var(--label-2);
  transition: border-color 0.18s, color 0.18s;
}
.pagination a:hover {
  border-color: var(--label-3);
  color: var(--label);
}
.pagination .active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.empty-state {
  text-align: center;
  padding: 64px 20px;
}
.empty-state h2 {
  font-size: 23px;
}

/* ---------- 正文排版 ---------- */
.prose {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--label);
}
.prose h2 {
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 38px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
}
.prose h3 {
  font-size: 20px;
  margin: 30px 0 10px;
}
.prose p {
  margin: 0 0 16px;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose li {
  margin-bottom: 7px;
}
.prose img {
  border-radius: 16px;
  margin: 20px 0;
}
.prose blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  color: var(--label-2);
  border-radius: 0 12px 12px 0;
}
.prose code {
  background: var(--fill-2);
}
.prose pre {
  background: #1d1d1f;
  color: #e8e8ed;
  padding: 18px;
  border-radius: 14px;
  overflow: auto;
}
.prose pre code {
  background: transparent;
  color: inherit;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.prose th,
.prose td {
  border: 1px solid var(--hairline);
  padding: 10px 14px;
  text-align: left;
}
.prose th {
  background: var(--surface-2);
  font-weight: 600;
}

/* ---------- 活动 ---------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.activity-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-standard);
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.activity-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.activity-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.activity-card-body h3 {
  font-size: 17.5px;
  margin: 0;
  letter-spacing: -0.015em;
}
.activity-card-body p {
  font-size: 13.5px;
  color: var(--label-2);
  margin: 0;
}
.activity-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.activity-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
}
.activity-cover {
  border-radius: 20px;
}
.claim-box .qr-card {
  margin-top: 16px;
  padding: 14px;
}
.claim-box .qr-card img {
  width: 96px;
  height: 96px;
}

/* ---------- 表单 ---------- */
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--label-2);
  margin-bottom: 6px;
}
.input {
  width: 100%;
  height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--label);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.input:focus {
  border-color: var(--blue);
  box-shadow: var(--focus-ring);
}
.captcha-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.captcha-img {
  width: 110px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  cursor: pointer;
  object-fit: cover;
  background: var(--surface-2);
}
.hint {
  font-size: 12.5px;
  color: var(--label-2);
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color 0.18s, box-shadow 0.2s;
}
.faq-list details[open] {
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  position: relative;
  padding-right: 24px;
  outline: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -3px;
  color: var(--label-3);
  font-size: 19px;
  font-weight: 400;
  transition: transform 0.2s var(--ease-standard);
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list p {
  margin: 10px 0 0;
  color: var(--label-2);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- CTA ---------- */
.cta-band {
  background: var(--dark);
  color: var(--on-dark);
  padding: 72px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta-copy h2 {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.025em;
}
.cta-copy p {
  margin: 0;
  color: var(--on-dark-2);
  font-size: 15px;
}
.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.kv {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 9px 16px;
  margin: 0;
  font-size: 14px;
}
.kv dt {
  color: var(--label-2);
}
.kv dd {
  margin: 0;
}
.ordered {
  padding-left: 20px;
}
.ordered li {
  margin-bottom: 8px;
  color: var(--label-2);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--surface-2);
  color: var(--label-2);
  padding: 56px 0 28px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--label-2);
  max-width: 260px;
  line-height: 1.7;
}
.footer-brand .logo {
  color: var(--label);
  margin-bottom: 10px;
}
.footer-col h4 {
  color: var(--label);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 13px;
  letter-spacing: 0;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 13px;
  color: var(--label-2);
  margin-bottom: 9px;
}
.footer-col a:hover {
  color: var(--label);
}
.footer-qr img {
  border-radius: 12px;
  background: #fff;
  padding: 4px;
}
.footer-qr .small {
  margin-top: 7px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  margin-top: 38px;
  padding-top: 20px;
  font-size: 12px;
  color: var(--label-3);
}
.footer-bottom .muted {
  color: var(--label-3);
}

/* ---------- 错误页 ---------- */
.error-page .error-code {
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--blue);
  line-height: 1;
}
.error-page .actions {
  justify-content: center;
  margin-top: 22px;
}

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.feature-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.feature-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.steps .reveal:nth-child(2) { transition-delay: 0.06s; }
.steps .reveal:nth-child(3) { transition-delay: 0.12s; }
.steps .reveal:nth-child(4) { transition-delay: 0.18s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes barMove {
  0%, 100% { width: 30%; }
  50% { width: 82%; }
}
@keyframes goodsGlow {
  0%, 90%, 100% {
    background: var(--mock-surface);
    border-color: var(--mock-border);
  }
  8%, 30% {
    background: var(--blue-soft);
    border-color: rgba(0, 113, 227, 0.32);
  }
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero {
    padding: 64px 0 72px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }
  .feature-grid,
  .activity-grid,
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature-detail.reverse .feature-detail-copy {
    order: 0;
  }
  .download-grid,
  .download-detail,
  .activity-hero-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .article-aside,
  .download-aside {
    position: static;
  }
  .panel.sticky {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .site-nav {
    position: absolute;
    top: 57px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 16px;
    display: none;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-md);
    animation: higMenu 0.2s ease-out both;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 14px;
  }
  .site-nav a:last-child {
    border-bottom: 0;
  }
  .site-nav a.active::after {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .pricing-side {
    grid-template-columns: 1fr;
  }
  @keyframes higMenu {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .container,
  .container.narrow {
    width: calc(100% - 32px);
  }
  .feature-grid,
  .activity-grid,
  .article-grid,
  .steps,
  .pricing-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-meta {
    gap: 12px;
  }
  .mock-body {
    grid-template-columns: 1fr;
  }
  .mock-panel {
    border-left: 0;
    border-top: 1px solid var(--mock-border);
  }
  .article-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search-form input {
    width: 100%;
    max-width: none;
  }
  .search-form {
    width: 100%;
  }
  .search-form .btn {
    flex: 0 0 auto;
  }
  .qr-card {
    flex-direction: column;
    text-align: center;
  }
  .kv {
    grid-template-columns: 84px 1fr;
  }
  .btn-lg {
    width: 100%;
  }
  .hero-actions .btn,
  .download-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-inner {
    gap: 16px;
  }
  .header-actions .btn-sm {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 补充布局 ---------- */
.article-main {
  min-width: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* 白色区块内的卡片用浅灰/轻阴影拉开层次 */
.section-light .step {
  background: var(--surface-2);
  border-color: var(--hairline);
}
.section-light .panel {
  box-shadow: var(--shadow-xs);
}
.section-light .article-card,
.section-light .activity-card {
  box-shadow: var(--shadow-xs);
}

/* 标题换行更均衡（Apple 排版习惯） */
.section-head h2,
.page-hero h1 {
  text-wrap: balance;
}

.section-light .article-card:hover,
.section-light .activity-card:hover {
  box-shadow: var(--shadow-md);
}

/* ---------- 首次安装 / 版本更新 ---------- */
.install-options {
  padding-top: 72px;
}
.install-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 30px;
}
.install-tag {
  align-self: flex-start;
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11.5px;
  font-weight: 600;
}
.install-tag.update {
  background: rgba(52, 199, 89, 0.12);
  color: var(--green);
}
.install-card h3 {
  margin: 14px 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.install-card p {
  color: var(--label-2);
  font-size: 14.5px;
  line-height: 1.7;
}
.install-card .feature-points {
  margin: 4px 0 22px;
}
.install-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- 版本更新日志 ---------- */
.release-timeline {
  display: flex;
  flex-direction: column;
}
.release-item {
  position: relative;
  margin-left: 6px;
  padding: 20px 0 20px 26px;
  border-left: 2px solid var(--hairline);
}
.release-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--separator);
}
.release-item.current {
  border-left-color: rgba(0, 113, 227, 0.32);
}
.release-item.current::before {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.release-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.release-title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.release-title strong {
  font-size: 17px;
  letter-spacing: -0.01em;
}
.release-badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 600;
}
.release-badge.force {
  background: rgba(255, 59, 48, 0.1);
  color: var(--red);
}
.release-head time {
  font-size: 12px;
  color: var(--label-3);
}
.release-notes {
  margin-top: 6px;
  color: var(--label-2);
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-line;
}
.changelog-note {
  margin-top: 18px;
}
@media (max-width: 980px) {
  .install-options .two-col {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .install-card {
    padding: 24px 20px;
  }
  .install-card .btn {
    width: 100%;
    align-self: stretch;
  }
  .release-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
/* ============================================================
   2026 全站质感升级：毛玻璃 + 滚动 / 指针动效
   ============================================================ */

:root {
  --glass-bg: rgba(255, 255, 255, 0.58);
  --glass-bg-strong: rgba(255, 255, 255, 0.86);
  --glass-border: rgba(255, 255, 255, 0.72);
  --glass-blur: 18px;
  --glass-shadow: 0 20px 50px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-dur: 0.7s;
}

@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(28, 28, 30, 0.54);
    --glass-bg-strong: rgba(22, 22, 23, 0.84);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

html {
  background: var(--bg);
}

body {
  background: transparent;
}

/* 全站背景光斑：为玻璃提供可模糊的层次 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(760px 520px at 84% 2%, rgba(0, 113, 227, 0.075), transparent 62%),
    radial-gradient(680px 460px at 10% 12%, rgba(110, 91, 255, 0.055), transparent 60%),
    radial-gradient(900px 620px at 50% 110%, rgba(0, 113, 227, 0.05), transparent 65%);
}

@media (prefers-color-scheme: dark) {
  body::before {
    background:
      radial-gradient(760px 520px at 84% 2%, rgba(0, 113, 227, 0.16), transparent 62%),
      radial-gradient(680px 460px at 10% 12%, rgba(110, 91, 255, 0.12), transparent 60%),
      radial-gradient(900px 620px at 50% 110%, rgba(0, 113, 227, 0.1), transparent 65%);
  }
}

/* 浅色 / 深色区块内的局部光斑，让玻璃有内容可模糊 */
.section-light,
.section-dark {
  position: relative;
  isolation: isolate;
}

.section-light::before,
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 84% 0%, rgba(0, 113, 227, 0.06), transparent 62%),
    radial-gradient(520px 360px at 6% 88%, rgba(110, 91, 255, 0.05), transparent 60%);
}

.section-dark::before {
  background:
    radial-gradient(720px 460px at 82% 0%, rgba(0, 113, 227, 0.18), transparent 62%),
    radial-gradient(560px 380px at 8% 100%, rgba(110, 91, 255, 0.14), transparent 60%);
}

/* ---------- 页头：滚动后逐渐变实 ---------- */
.site-header {
  transition:
    background 0.35s var(--ease-standard),
    box-shadow 0.35s var(--ease-standard),
    border-color 0.35s var(--ease-standard);
}

.site-header.is-scrolled {
  background: var(--glass-bg-strong);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
  border-bottom-color: transparent;
}

@media (prefers-color-scheme: dark) {
  .site-header.is-scrolled {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4);
  }
}

/* 导航下划线：悬停时从左展开 */
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--motion-ease);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

/* ---------- 玻璃卡片 ---------- */
.feature-card,
.price-card,
.install-card,
.article-card,
.activity-card,
.promo-banner,
.qr-card,
.panel,
.claim-box {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.panel {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}

.section-light .article-card,
.section-light .activity-card,
.section-light .step,
.section-light .panel {
  background: var(--glass-bg);
}

.section-light .panel {
  background: var(--glass-bg-strong);
}

.section-dark .panel,
.section-dark .qr-card {
  background: rgba(28, 28, 30, 0.52);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--on-dark);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section-dark .panel h2,
.section-dark .panel h3,
.section-dark .qr-card strong {
  color: var(--on-dark);
}

.section-dark .panel .muted,
.section-dark .qr-card span {
  color: var(--on-dark-2);
}

/* 推荐价格卡：玻璃 + 渐变描边 + 缓慢呼吸 */
.price-card.highlight {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(234, 241, 255, 0.62));
  border-color: rgba(0, 113, 227, 0.38);
  box-shadow: 0 24px 60px rgba(0, 113, 227, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  isolation: isolate;
}

.price-card.highlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(0, 113, 227, 0.4), transparent 42%, rgba(110, 91, 255, 0.32));
  filter: blur(16px);
  opacity: 0.3;
  animation: cardBreathe 6s ease-in-out infinite;
}

@keyframes cardBreathe {
  0%,
  100% {
    opacity: 0.22;
  }
  50% {
    opacity: 0.48;
  }
}

@media (prefers-color-scheme: dark) {
  .price-card.highlight {
    background: linear-gradient(150deg, rgba(38, 48, 68, 0.72), rgba(28, 34, 52, 0.62));
    border-color: rgba(90, 150, 255, 0.4);
  }
}

/* 悬停：边框亮起 + 轻微抬升 */
.feature-card:hover,
.price-card:hover,
.install-card:hover,
.step:hover,
.activity-card:hover {
  border-color: rgba(0, 113, 227, 0.26);
}

/* 指针光斑 */
[data-glow] {
  position: relative;
  isolation: isolate;
}

[data-glow]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 113, 227, 0.1),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease-standard);
}

[data-glow]:hover::after {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  [data-glow]::after {
    background: radial-gradient(
      280px circle at var(--mx, 50%) var(--my, 50%),
      rgba(120, 170, 255, 0.14),
      transparent 62%
    );
  }
}

/* ---------- 按钮：光扫与抬升 ---------- */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -30%;
  width: 35%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: translateX(-220%) rotate(8deg);
  transition: transform 0.7s var(--motion-ease);
}

.btn-primary:hover::after {
  transform: translateX(420%) rotate(8deg);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

/* ---------- 文章卡：封面缩放 + 标题下划线 ---------- */
.article-cover {
  overflow: hidden;
}

.article-cover img {
  transition: transform 0.65s var(--motion-ease);
}

.article-card:hover .article-cover img,
.activity-card:hover img {
  transform: scale(1.04);
}

.article-card-body h3 {
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--motion-ease);
}

.article-card:hover .article-card-body h3 {
  background-size: 100% 1.5px;
}

.activity-card img {
  transition: transform 0.65s var(--motion-ease);
}

/* ---------- 使用流程：连接线生长 ---------- */
.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 54px;
  height: 1px;
  border-radius: 2px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 113, 227, 0.34),
    rgba(110, 91, 255, 0.3),
    transparent
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s 0.2s var(--motion-ease);
}

html.motion-ready .steps.is-in::before {
  transform: scaleX(1);
}

/* ---------- FAQ 展开内容淡入 ---------- */
.faq-list details[open] > p {
  animation: faqIn 0.35s var(--motion-ease) both;
}

@keyframes faqIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 首屏视差 ---------- */
.hero-visual-inner {
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 0.2s linear;
  will-change: transform;
}

/* ---------- 文章阅读进度 ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}

.reading-progress i {
  display: block;
  height: 100%;
  width: var(--read-progress, 0%);
  border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: width 0.12s linear;
}

.article-hero {
  animation: heroImage 0.9s var(--motion-ease) both;
}

@keyframes heroImage {
  from {
    opacity: 0;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.article-aside .panel,
.download-aside .panel {
  background: var(--glass-bg-strong);
}

/* ---------- 滚动入场系统 ---------- */
.reveal {
  opacity: 1;
  transform: none;
}

html.motion-ready .reveal,
html.motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0px), var(--reveal-y, 18px), 0)
    scale(var(--reveal-scale, 1));
  transition:
    opacity var(--motion-dur) var(--motion-ease) var(--reveal-delay, 0ms),
    transform calc(var(--motion-dur) + 0.15s) var(--motion-ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

html.motion-ready [data-reveal="fade"] {
  --reveal-y: 0px;
}

html.motion-ready [data-reveal="scale"] {
  --reveal-y: 10px;
  --reveal-scale: 0.98;
}

html.motion-ready [data-reveal="left"] {
  --reveal-x: -22px;
  --reveal-y: 0px;
}

html.motion-ready [data-reveal="right"] {
  --reveal-x: 22px;
  --reveal-y: 0px;
}

html.motion-ready .reveal.is-in,
html.motion-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式与动效降级 ---------- */
@media (max-width: 980px) {
  .steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --glass-blur: 10px;
  }

  html.motion-ready .reveal,
  html.motion-ready [data-reveal] {
    --reveal-y: 12px;
    --reveal-x: 0px;
  }

  .hero-visual-inner {
    transform: none !important;
  }

  .site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.motion-ready .reveal,
  html.motion-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn-primary::after,
  .price-card.highlight::before {
    display: none;
  }

  .steps::before {
    transform: scaleX(1);
    transition: none;
  }

  .article-hero,
  .faq-list details[open] > p {
    animation: none;
  }
}
/* ---------- 滚动叙事：一场直播的时间线 ---------- */
.story-section {
  padding: 96px 0 64px;
  overflow: clip;
}

.story-head {
  max-width: 760px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: start;
}

.story-copy {
  position: relative;
  padding: 16px 0;
}

.story-copy::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--hairline) 10%,
    var(--hairline) 90%,
    transparent
  );
}

.story-scene {
  position: relative;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 42px;
  opacity: 1;
  transition:
    opacity 0.5s var(--motion-ease),
    transform 0.6s var(--motion-ease);
}

html.motion-ready .story-scene {
  opacity: 0.34;
  transform: translateY(10px);
}

html.motion-ready .story-scene.active {
  opacity: 1;
  transform: none;
}

.story-scene::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 5px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--label-3);
  transition:
    background 0.3s var(--motion-ease),
    border-color 0.3s var(--motion-ease),
    box-shadow 0.3s var(--motion-ease);
}

html.motion-ready .story-scene.active::before {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(0, 113, 227, 0.14);
}

.story-scene-time {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--label-3);
}

.story-scene-time span {
  font-weight: 600;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.story-scene h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -0.025em;
}

.story-scene p {
  max-width: 460px;
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--label-2);
}

.story-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.story-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--label-2);
}

.story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.55;
}

/* 舞台 */
.story-stage-wrap {
  position: sticky;
  top: 92px;
}

.story-stage {
  position: relative;
}

.story-window {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.story-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.03);
}

.story-dots {
  display: flex;
  gap: 6px;
}

.story-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff5f57;
}

.story-dots i:nth-child(2) {
  background: #febc2e;
}

.story-dots i:nth-child(3) {
  background: #28c840;
}

.story-address {
  font-size: 12px;
  font-weight: 500;
  color: var(--label-2);
}

.story-clock {
  position: relative;
  width: 52px;
  height: 18px;
  margin-left: auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.story-clock b {
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 600;
  color: var(--label-2);
  opacity: 0;
  transition: opacity 0.35s var(--motion-ease);
}

.story-stage[data-scene="1"] [data-clock="1"],
.story-stage[data-scene="2"] [data-clock="2"],
.story-stage[data-scene="3"] [data-clock="3"],
.story-stage[data-scene="4"] [data-clock="4"],
.story-stage[data-scene="5"] [data-clock="5"],
.story-stage[data-scene="6"] [data-clock="6"] {
  opacity: 1;
}

.story-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.story-tabs span {
  padding: 6px 10px;
  border-radius: 8px 8px 0 0;
  font-size: 11.5px;
  color: var(--label-3);
}

.story-tabs span.active {
  margin-bottom: -1px;
  border: 1px solid var(--hairline);
  border-bottom-color: var(--surface);
  background: var(--surface);
  color: var(--label);
}

.story-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  flex: 1;
  min-height: 0;
}

.story-main {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px;
}

.story-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.story-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 68px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--fill);
  font-size: 11px;
  font-weight: 600;
  color: var(--label-2);
}

.story-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--label-3);
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

.story-badge b {
  position: absolute;
  left: 24px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s var(--motion-ease);
}

.story-stage[data-scene="1"] [data-status="1"],
.story-stage[data-scene="2"] [data-status="2"],
.story-stage[data-scene="3"] [data-status="3"],
.story-stage[data-scene="4"] [data-status="4"],
.story-stage[data-scene="5"] [data-status="5"],
.story-stage[data-scene="6"] [data-status="6"] {
  opacity: 1;
}

.story-stage[data-scene="2"] .story-badge i,
.story-stage[data-scene="3"] .story-badge i,
.story-stage[data-scene="4"] .story-badge i,
.story-stage[data-scene="5"] .story-badge i {
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.16);
}

.story-meta {
  font-size: 11px;
  color: var(--label-3);
}

.story-goods {
  display: grid;
  gap: 8px;
}

.story-good {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--surface-2);
  transition:
    background 0.4s var(--motion-ease),
    border-color 0.4s var(--motion-ease);
}

.story-thumb {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #dbe6ff, #c9d7f7);
}

.story-good strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}

.story-good small {
  font-size: 11px;
  color: var(--label-3);
}

.story-good-state {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--label-3);
  white-space: nowrap;
}

.story-good-state .state-live {
  display: none;
}

.story-stage[data-scene="3"] .story-good:first-child,
.story-stage[data-scene="4"] .story-good:first-child,
.story-stage[data-scene="5"] .story-good:first-child {
  background: var(--blue-soft);
  border-color: rgba(0, 113, 227, 0.26);
}

.story-stage[data-scene="3"] .story-good:first-child .state-idle,
.story-stage[data-scene="4"] .story-good:first-child .state-idle,
.story-stage[data-scene="5"] .story-good:first-child .state-idle {
  display: none;
}

.story-stage[data-scene="3"] .story-good:first-child .state-live,
.story-stage[data-scene="4"] .story-good:first-child .state-live,
.story-stage[data-scene="5"] .story-good:first-child .state-live {
  display: inline;
  font-weight: 600;
  color: var(--blue);
}

.story-comments {
  position: static;
  margin-top: auto;
  display: grid;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s var(--motion-ease),
    transform 0.5s var(--motion-ease);
}

.story-stage[data-scene="4"] .story-comments,
.story-stage[data-scene="5"] .story-comments {
  opacity: 1;
  transform: none;
}

.story-bubble {
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  color: var(--label-2);
}

.story-bubble.alt {
  background: var(--blue-soft);
}

.story-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-left: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.025);
}

.story-side-title {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--label-2);
}

.story-control {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-size: 11px;
  color: var(--label-2);
  transition:
    border-color 0.4s var(--motion-ease),
    background 0.4s var(--motion-ease);
}

.story-control em {
  font-style: normal;
  font-size: 10px;
  color: var(--label-3);
}

.story-control em .state-live {
  display: none;
}

.story-stage[data-scene="2"] .story-control[data-control="3"] .state-idle,
.story-stage[data-scene="3"] .story-control[data-control="3"] .state-idle,
.story-stage[data-scene="4"] .story-control[data-control="3"] .state-idle,
.story-stage[data-scene="5"] .story-control[data-control="3"] .state-idle,
.story-stage[data-scene="4"] .story-control[data-control="4"] .state-idle,
.story-stage[data-scene="5"] .story-control[data-control="4"] .state-idle {
  display: none;
}

.story-stage[data-scene="2"] .story-control[data-control="3"] .state-live,
.story-stage[data-scene="3"] .story-control[data-control="3"] .state-live,
.story-stage[data-scene="4"] .story-control[data-control="3"] .state-live,
.story-stage[data-scene="5"] .story-control[data-control="3"] .state-live,
.story-stage[data-scene="4"] .story-control[data-control="4"] .state-live,
.story-stage[data-scene="5"] .story-control[data-control="4"] .state-live {
  display: inline;
  color: var(--green);
  font-weight: 600;
}

.story-stage[data-scene="2"] .story-control[data-control="3"],
.story-stage[data-scene="3"] .story-control[data-control="3"],
.story-stage[data-scene="4"] .story-control[data-control="3"],
.story-stage[data-scene="5"] .story-control[data-control="3"],
.story-stage[data-scene="4"] .story-control[data-control="4"],
.story-stage[data-scene="5"] .story-control[data-control="4"] {
  border-color: rgba(52, 199, 89, 0.28);
}

.story-device {
  margin-top: auto;
  padding: 7px 8px;
  border-top: 1px dashed var(--hairline);
  font-size: 10.5px;
  color: var(--label-3);
}

.story-stage[data-scene="5"] .story-device {
  color: var(--blue);
}

.story-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--hairline);
}

.story-next {
  display: none;
  font-size: 10.5px;
  color: var(--label-3);
  white-space: nowrap;
}

.story-next b {
  color: var(--label-2);
}

.story-stage[data-scene="3"] [data-next="3"],
.story-stage[data-scene="4"] [data-next="3"],
.story-stage[data-scene="5"] [data-next="3"],
.story-stage[data-scene="6"] [data-next="6"] {
  display: inline;
}

.story-progress {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--fill);
  overflow: hidden;
}

.story-progress i {
  display: block;
  width: 8%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: width 0.4s var(--motion-ease);
}

.story-stage[data-scene="3"] .story-progress i,
.story-stage[data-scene="4"] .story-progress i,
.story-stage[data-scene="5"] .story-progress i {
  width: 62%;
  animation: storyBar 3s ease-in-out infinite;
}

@keyframes storyBar {
  0%,
  100% {
    width: 24%;
  }
  50% {
    width: 86%;
  }
}

.story-dots-line {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.story-dots-line i {
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: var(--fill-2);
  transition:
    width 0.3s var(--motion-ease),
    background 0.3s var(--motion-ease);
}

.story-stage[data-scene="1"] .story-dots-line i:nth-child(1),
.story-stage[data-scene="2"] .story-dots-line i:nth-child(2),
.story-stage[data-scene="3"] .story-dots-line i:nth-child(3),
.story-stage[data-scene="4"] .story-dots-line i:nth-child(4),
.story-stage[data-scene="5"] .story-dots-line i:nth-child(5),
.story-stage[data-scene="6"] .story-dots-line i:nth-child(6) {
  width: 32px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}

@media (max-width: 1200px) {
  .story-grid {
    gap: 40px;
  }
}

@media (max-width: 980px) {
  .story-section {
    padding: 64px 0 32px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .story-stage-wrap {
    position: static;
    order: -1;
  }

  .story-window {
    min-height: 380px;
  }

  .story-copy::before {
    left: 3px;
    top: 0;
    bottom: 0;
  }

  .story-scene {
    min-height: auto;
    padding: 22px 0 22px 28px;
  }

  html.motion-ready .story-scene {
    opacity: 1;
    transform: none;
  }

  .story-scene::before {
    left: -1px;
    top: 30px;
  }

  .story-comments {
    display: none;
  }

  .story-body {
    grid-template-columns: minmax(0, 1fr) 44%;
  }
}

@media (prefers-color-scheme: dark) {
  .story-titlebar {
    background: rgba(255, 255, 255, 0.04);
  }

  .story-side {
    background: rgba(255, 255, 255, 0.03);
  }

  .story-tabs span.active {
    border-bottom-color: var(--surface);
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-stage[data-scene="3"] .story-progress i,
  .story-stage[data-scene="4"] .story-progress i,
  .story-stage[data-scene="5"] .story-progress i {
    animation: none;
  }

  html.motion-ready .story-scene {
    opacity: 1;
    transform: none;
  }
}
/* ---------- 首页密度：仅首页收紧留白 ---------- */
body.page-home .section {
  padding: 64px 0;
}

body.page-home .section-head {
  margin-bottom: 28px;
}

body.page-home .section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
}

body.page-home .section-head p {
  font-size: 15px;
}

body.page-home .hero {
  padding: 72px 0 76px;
}

/* ---------- 滚动叙事：首页叙事章节 ---------- */
.narrative {
  position: relative;
}

.narrative-chapter {
  position: relative;
  padding: 64px 0;
}

.chapter-problem {
  padding-top: 56px;
}

.chapter-handover {
  background: var(--section-light);
}

.chapter-guard {
  background: var(--dark);
  color: var(--on-dark);
}

.chapter-no {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label-3);
}

.chapter-no span {
  color: var(--blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.chapter-no::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--hairline);
}

.chapter-guard .chapter-no {
  color: var(--on-dark-2);
}

.chapter-guard .chapter-no::after {
  background: rgba(255, 255, 255, 0.16);
}

.chapter-copy h2,
.chapter-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.chapter-lead {
  max-width: 560px;
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--label-2);
}

.chapter-guard .chapter-lead {
  color: var(--on-dark-2);
}

.chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.task-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.task-list li {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  box-shadow: var(--glass-shadow);
}

.task-list b {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.task-list span {
  display: block;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--label-2);
}

.chapter-foot {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--label-3);
}

.task-visual {
  position: relative;
  min-height: 430px;
}

.task-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 232px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
}

.task-card span {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--label-3);
}

.task-card strong {
  font-size: 15px;
}

.task-card em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
}

.task-1 {
  left: 5%;
  top: 3%;
  transform: rotate(-3deg);
}

.task-2 {
  right: 2%;
  top: 23%;
  transform: rotate(2.5deg);
}

.task-3 {
  left: 13%;
  top: 47%;
  transform: rotate(1.5deg);
}

.task-4 {
  right: 8%;
  top: 70%;
  transform: rotate(-2deg);
}

/* 02 交接 */
.chapter-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.handover-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: start;
}

.handover-copy {
  padding-bottom: 32px;
}

.handover-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60vh;
  opacity: 0.35;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--motion-ease),
    transform 0.6s var(--motion-ease);
}

.handover-step.active {
  opacity: 1;
  transform: none;
}

.handover-index {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--blue);
}

.handover-step h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.handover-step p {
  max-width: 440px;
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--label-2);
}

.handover-points {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.handover-points li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--label-2);
}

.handover-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.6;
}

.handover-link {
  display: inline-flex;
  margin-top: 18px;
  font-size: 13px;
  color: var(--blue);
}

.handover-visual {
  position: sticky;
  top: 96px;
}

.handover-window {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.handover-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  font-size: 11px;
  color: var(--label-3);
}

.handover-top em {
  margin-left: auto;
  font-style: normal;
  color: var(--label-2);
}

.handover-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.12);
  color: var(--green);
  font-weight: 600;
}

.handover-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.16);
}

.handover-body {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
}

.handover-block {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--surface-2);
  opacity: 0.5;
  transition:
    border-color 0.45s var(--motion-ease),
    background 0.45s var(--motion-ease),
    box-shadow 0.45s var(--motion-ease),
    opacity 0.45s var(--motion-ease),
    transform 0.45s var(--motion-ease);
}

.hv-title {
  margin-bottom: 8px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--label-3);
}

.hv-good {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.hv-thumb {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, #dbe6ff, #c9d7f7);
}

.hv-good strong {
  display: block;
  font-size: 11.5px;
}

.hv-good small {
  font-size: 10.5px;
  color: var(--label-3);
}

.hv-good em {
  margin-left: auto;
  font-style: normal;
  font-size: 10px;
  color: var(--label-3);
}

.hv-good.active em {
  color: var(--blue);
  font-weight: 600;
}

.hv-bubble {
  margin-bottom: 6px;
  padding: 6px 9px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: var(--surface);
  font-size: 10.5px;
  color: var(--label-2);
}

.hv-bubble.alt {
  background: var(--blue-soft);
}

.hv-guard-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 0;
  font-size: 11px;
  color: var(--label-2);
}

.hv-guard-row.muted {
  color: var(--label-3);
}

.hv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.16);
}

.handover-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--hairline);
  font-size: 10.5px;
  color: var(--label-3);
}

.handover-progress {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--fill);
}

.handover-progress i {
  display: block;
  width: 24%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  animation: handoverBar 3s ease-in-out infinite;
}

@keyframes handoverBar {
  0%,
  100% {
    width: 24%;
  }
  50% {
    width: 86%;
  }
}

.handover-window[data-scene="0"] .hv-goods,
.handover-window[data-scene="1"] .hv-comments,
.handover-window[data-scene="2"] .hv-guard {
  opacity: 1;
  border-color: rgba(0, 113, 227, 0.28);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(0, 113, 227, 0.1);
  transform: translateY(-1px);
}

/* 03 保障 */
.guard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.guard-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  transition:
    transform 0.3s var(--motion-ease),
    border-color 0.3s var(--motion-ease);
}

.guard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 113, 227, 0.3);
}

.guard-tag {
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.guard-card h3 {
  margin: 2px 0 0;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.guard-card p {
  flex: 1;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--label-2);
}

.guard-meta {
  padding-top: 8px;
  border-top: 1px dashed var(--hairline);
  font-size: 11px;
  color: var(--label-3);
}

.guard-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--on-dark-2);
}

.chapter-guard .guard-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.chapter-guard .guard-card h3 {
  color: var(--on-dark);
}

.chapter-guard .guard-card p {
  color: var(--on-dark-2);
}

.chapter-guard .guard-tag {
  background: rgba(41, 151, 255, 0.16);
  color: #9ec5ff;
}

.chapter-guard .guard-meta {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(245, 245, 247, 0.5);
}

@media (max-width: 1080px) {
  .guard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .narrative-chapter {
    padding: 48px 0;
  }

  .chapter-grid,
  .handover-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .task-visual {
    width: 100%;
    max-width: 520px;
    min-height: 380px;
    margin: 8px auto 0;
  }

  .handover-visual {
    position: static;
    order: -1;
  }

  .handover-step {
    min-height: auto;
    padding: 18px 0;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .task-list {
    grid-template-columns: 1fr;
  }

  .task-visual {
    min-height: 330px;
  }

  .task-card {
    width: 200px;
  }

  .guard-grid {
    grid-template-columns: 1fr;
  }

  body.page-home .section {
    padding: 48px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .handover-progress i {
    animation: none;
    width: 60%;
  }

  .handover-step {
    opacity: 1;
    transform: none;
  }
}

/* 锚点跳转时避开固定页头 */
.narrative-chapter,
.section[id] {
  scroll-margin-top: 72px;
}
/* ============================================================
   首页品牌化：深蓝紫视觉体系（仅 page-home）
   ============================================================ */

body.page-home {
  background:
    radial-gradient(1200px 800px at 82% -8%, rgba(106, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 640px at 2% 16%, rgba(26, 109, 255, 0.12), transparent 60%),
    linear-gradient(180deg, #eef3ff 0%, #f3f0ff 45%, #edf3ff 100%);
}

/* 首页公告条：深色页头下提高对比 */
body.page-home .site-header .announce {
  background: linear-gradient(90deg, rgba(26, 109, 255, 0.24), rgba(106, 92, 255, 0.2));
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-home .site-header .announce .container {
  color: rgba(238, 244, 255, 0.94);
  font-weight: 500;
}

body.page-home .site-header .announce a {
  color: #9fc2ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* 页头跟随品牌深色 */
body.page-home .site-header {
  background: rgba(6, 11, 26, 0.84);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.page-home .site-header.is-scrolled {
  background: rgba(6, 11, 26, 0.96);
  box-shadow: 0 14px 40px rgba(3, 8, 20, 0.5);
}

body.page-home .site-header .logo {
  color: #ffffff;
}

body.page-home .site-nav a {
  color: rgba(237, 243, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.page-home .site-nav a:hover,
body.page-home .site-nav a.active {
  color: #fff;
}

body.page-home .site-nav a::after {
  background: #7db0ff;
}

body.page-home .menu-toggle span {
  background: #f4f7ff;
}

@media (max-width: 980px) {
  body.page-home .site-nav {
    background: rgba(8, 14, 32, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  body.page-home .site-nav a {
    color: rgba(237, 243, 255, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  body.page-home .site-nav a:hover,
  body.page-home .site-nav a.active {
    color: #fff;
  }
}

/* 首屏：品牌深色 */
body.page-home .hero {
  background:
    radial-gradient(900px 620px at 80% 0%, rgba(26, 109, 255, 0.34), transparent 62%),
    radial-gradient(700px 520px at 6% 12%, rgba(106, 92, 255, 0.3), transparent 60%),
    linear-gradient(160deg, #070e20 0%, #0a1430 55%, #080e20 100%);
  color: #f5f8ff;
}

body.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 72% 18%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 72% 18%, #000 0%, transparent 68%);
}

body.page-home .hero .hero-grid {
  position: relative;
  z-index: 1;
}

body.page-home .hero-glow {
  background:
    radial-gradient(620px 420px at 72% 18%, rgba(60, 130, 255, 0.34), transparent 68%),
    radial-gradient(520px 380px at 18% 8%, rgba(120, 100, 255, 0.24), transparent 68%);
}

body.page-home .hero h1 {
  color: #fff;
}

body.page-home .hero .grad {
  background: linear-gradient(96deg, #7db0ff 2%, #b39dff 98%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.page-home .hero .lead {
  color: rgba(226, 235, 255, 0.7);
}

body.page-home .hero .eyebrow {
  color: #9fc2ff;
}

body.page-home .hero .eyebrow .dot {
  background: #7db0ff;
  box-shadow: 0 0 0 4px rgba(125, 176, 255, 0.14);
}

body.page-home .hero-meta {
  color: rgba(226, 235, 255, 0.52);
}

body.page-home .hero-promo {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(125, 176, 255, 0.22);
  color: #dbe7ff;
}

body.page-home .hero-promo .promo-pill {
  background: linear-gradient(135deg, #2f7cf6, #6a5cff);
}

body.page-home .hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: #eaf1ff;
  background: transparent;
}

body.page-home .hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

body.page-home .mock-window {
  box-shadow:
    0 50px 140px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(125, 176, 255, 0.16);
}

/* 品牌按钮 */
body.page-home .btn-primary {
  background: linear-gradient(135deg, #1a6dff, #6a5cff);
  box-shadow: 0 10px 26px rgba(26, 109, 255, 0.28);
}

body.page-home .btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(26, 109, 255, 0.36);
}

/* 章节背景 */
body.page-home .section {
  background: transparent;
}

body.page-home .section-light {
  background: linear-gradient(180deg, rgba(238, 243, 255, 0.72), rgba(243, 240, 255, 0.6));
}

body.page-home .section-dark {
  background:
    radial-gradient(900px 560px at 80% 0%, rgba(26, 109, 255, 0.24), transparent 62%),
    linear-gradient(160deg, #081026, #0b1733);
}

body.page-home .chapter-handover {
  background:
    radial-gradient(820px 520px at 86% 6%, rgba(26, 109, 255, 0.3), transparent 62%),
    radial-gradient(620px 440px at 4% 94%, rgba(106, 92, 255, 0.22), transparent 60%),
    linear-gradient(158deg, #081026 0%, #0b1734 58%, #070d1e 100%);
  color: #eef3ff;
}

body.page-home .chapter-guard {
  background:
    radial-gradient(900px 600px at 82% 0%, rgba(26, 109, 255, 0.24), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(106, 92, 255, 0.18), transparent 60%),
    linear-gradient(160deg, #070d1c, #0a1226);
}

/* 交接章节深色适配 */
body.page-home .chapter-handover .chapter-no {
  color: rgba(226, 235, 255, 0.55);
}

body.page-home .chapter-handover .chapter-no::after {
  background: rgba(255, 255, 255, 0.16);
}

body.page-home .chapter-handover h2 {
  color: #fff;
}

body.page-home .chapter-handover .chapter-lead,
body.page-home .chapter-handover .handover-step p,
body.page-home .chapter-handover .handover-points li {
  color: rgba(226, 235, 255, 0.68);
}

body.page-home .chapter-handover .handover-step h3 {
  color: #fff;
}

body.page-home .chapter-handover .handover-index,
body.page-home .chapter-handover .handover-link {
  color: #7db0ff;
}

body.page-home .chapter-handover .handover-points li::before {
  background: #7db0ff;
}

body.page-home .chapter-handover .handover-window {
  background: rgba(14, 26, 54, 0.72);
  border-color: rgba(120, 170, 255, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

body.page-home .chapter-handover .handover-top {
  color: rgba(226, 235, 255, 0.62);
  border-bottom-color: rgba(120, 170, 255, 0.14);
}

body.page-home .chapter-handover .handover-top em {
  color: #cfe0ff;
}

body.page-home .chapter-handover .handover-block {
  background: rgba(255, 255, 255, 0.05);
}

body.page-home .chapter-handover .hv-title {
  color: rgba(226, 235, 255, 0.5);
}

body.page-home .chapter-handover .hv-good strong {
  color: #eef3ff;
}

body.page-home .chapter-handover .hv-good small,
body.page-home .chapter-handover .hv-good em {
  color: rgba(226, 235, 255, 0.45);
}

body.page-home .chapter-handover .hv-good.active em {
  color: #7db0ff;
}

body.page-home .chapter-handover .hv-bubble {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(120, 170, 255, 0.12);
  color: rgba(230, 238, 255, 0.75);
}

body.page-home .chapter-handover .hv-bubble.alt {
  background: rgba(60, 120, 255, 0.18);
}

body.page-home .chapter-handover .hv-guard-row {
  color: rgba(226, 235, 255, 0.7);
}

body.page-home .chapter-handover .hv-guard-row.muted {
  color: rgba(226, 235, 255, 0.42);
}

body.page-home .chapter-handover .handover-foot {
  color: rgba(226, 235, 255, 0.5);
  border-top-color: rgba(120, 170, 255, 0.14);
}

body.page-home .chapter-handover .handover-progress {
  background: rgba(255, 255, 255, 0.1);
}

body.page-home .chapter-handover .handover-window[data-scene="0"] .hv-goods,
body.page-home .chapter-handover .handover-window[data-scene="1"] .hv-comments,
body.page-home .chapter-handover .handover-window[data-scene="2"] .hv-guard {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(90, 150, 255, 0.42);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* 卡片品牌描边 */
body.page-home .price-card,
body.page-home .article-card,
body.page-home .install-card,
body.page-home .task-list li,
body.page-home .guard-card {
  border-color: rgba(90, 120, 255, 0.18);
}

body.page-home .price-card.highlight {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(234, 241, 255, 0.72));
  border-color: rgba(90, 120, 255, 0.4);
  box-shadow:
    0 26px 64px rgba(60, 90, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.page-home .chapter-no span {
  color: #2f7cf6;
}
/* ============================================================
   首页动效优化：首屏、问题、交接、保障、价格、下载、FAQ
   ============================================================ */

/* ---------- 首屏 ---------- */
body.page-home .hero-copy > h1 {
  animation: none;
}

.hero-title .hero-line {
  display: block;
}

.hero-title .hero-line-2 {
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn 0.9s var(--motion-ease) 0.28s forwards;
}

.hero-title .hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn 0.8s var(--motion-ease) forwards;
}

.hero-title .hero-word:nth-child(1) {
  animation-delay: 0.06s;
}

.hero-title .hero-word:nth-child(2) {
  animation-delay: 0.16s;
}

.hero-title .hero-word:nth-child(3) {
  animation-delay: 0.26s;
}

@keyframes heroLineIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 背景光斑缓慢流动 */
body.page-home .hero-glow {
  animation: heroGlowDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroGlowDrift {
  from {
    transform: translate3d(-2%, -2%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.08);
  }
}

/* 鼠标跟随光晕 */
body.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--hero-mx, 72%) var(--hero-my, 18%),
    rgba(90, 150, 255, 0.2),
    transparent 62%
  );
  opacity: var(--hero-glow, 0);
  transition: opacity 0.5s var(--motion-ease);
}

body.page-home .hero .hero-grid {
  z-index: 2;
}

/* 主按钮呼吸光晕 */
body.page-home .hero-actions .btn-primary {
  animation: ctaBreath 4.5s ease-in-out infinite;
}

@keyframes ctaBreath {
  0%,
  100% {
    box-shadow: 0 10px 26px rgba(26, 109, 255, 0.28);
  }
  50% {
    box-shadow: 0 16px 44px rgba(106, 92, 255, 0.42);
  }
}

/* ---------- 01 问题区 ---------- */
body.page-home .task-list li {
  position: relative;
  padding-left: 48px;
}

body.page-home .task-list li::before {
  content: attr(data-index);
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(47, 124, 246, 0.12);
  color: #2f7cf6;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition:
    transform 0.3s var(--motion-ease),
    background 0.3s var(--motion-ease);
}

body.page-home .task-list li:hover::before {
  transform: rotate(-8deg) scale(1.1);
  background: rgba(47, 124, 246, 0.22);
}

body.page-home .task-list li:hover {
  border-color: rgba(90, 120, 255, 0.34);
}

/* ---------- 02 交接区 ---------- */
body.page-home .handover-copy {
  position: relative;
  padding-left: 28px;
}

body.page-home .handover-copy::before,
body.page-home .handover-copy::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 2px;
  pointer-events: none;
}

body.page-home .handover-copy::before {
  bottom: 0;
  background: rgba(255, 255, 255, 0.12);
}

body.page-home .handover-copy::after {
  height: 100%;
  transform: scaleY(var(--handover-progress, 0));
  transform-origin: top;
  background: linear-gradient(180deg, #4a8dff, #8b7bff);
  box-shadow: 0 0 14px rgba(90, 150, 255, 0.7);
  transition: transform 0.5s var(--motion-ease);
}

body.page-home .chapter-handover .handover-index {
  transition:
    letter-spacing 0.4s var(--motion-ease),
    color 0.4s var(--motion-ease);
}

body.page-home .chapter-handover .handover-step.active .handover-index {
  letter-spacing: 0.22em;
  color: #9fc2ff;
}

body.page-home .chapter-handover .handover-step.active h3 {
  text-shadow: 0 0 28px rgba(120, 170, 255, 0.28);
}

/* ---------- 03 保障区 ---------- */
body.page-home .guard-card:hover {
  box-shadow:
    0 26px 64px rgba(40, 80, 200, 0.28),
    0 0 0 1px rgba(125, 176, 255, 0.24);
}

/* ---------- 价格卡 ---------- */
body.page-home .price-card {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
    translateY(var(--lift, 0px));
  transition:
    transform 0.28s var(--motion-ease),
    box-shadow 0.28s var(--motion-ease),
    border-color 0.28s var(--motion-ease);
  will-change: transform;
}

body.page-home .price-card:hover {
  --lift: -4px;
  box-shadow: 0 26px 60px rgba(60, 90, 255, 0.18);
}

body.page-home .price-card.highlight {
  animation: priceFloat 6s ease-in-out infinite;
}

@keyframes priceFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

body.page-home .price-card.highlight::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--border-angle),
    transparent 0 62%,
    rgba(125, 176, 255, 0.75) 78%,
    rgba(106, 92, 255, 0.7) 84%,
    transparent 92%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: borderSpin 9s linear infinite;
}

@keyframes borderSpin {
  to {
    --border-angle: 360deg;
  }
}

body.page-home .price-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ---------- 下载区二维码 ---------- */
body.page-home .qr-card {
  position: relative;
}

body.page-home .qr-card::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 28px;
  border: 1px solid rgba(125, 176, 255, 0.35);
  pointer-events: none;
  animation: qrPulse 3.2s ease-out infinite;
}

@keyframes qrPulse {
  0% {
    transform: scale(0.97);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.06);
    opacity: 0;
  }
}

/* ---------- FAQ 平滑展开 ---------- */
.faq-list details .faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--motion-ease);
}

.faq-list details[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-list details .faq-body > p {
  overflow: hidden;
  margin: 0;
}

.faq-list details[open] .faq-body > p {
  margin-top: 10px;
}

/* ---------- 页面加载进度条 ---------- */
.page-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  height: 2px;
  background: linear-gradient(90deg, #2f7cf6, #6a5cff);
  box-shadow: 0 0 12px rgba(47, 124, 246, 0.6);
  transition:
    transform 0.2s linear,
    opacity 0.4s var(--motion-ease);
  pointer-events: none;
}

.page-progress.done {
  opacity: 0;
}

@media (max-width: 980px) {
  body.page-home .handover-copy {
    padding-left: 0;
  }

  body.page-home .handover-copy::before,
  body.page-home .handover-copy::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title .hero-line-2,
  .hero-title .hero-word {
    opacity: 1;
    transform: none;
    animation: none;
  }

  body.page-home .hero-glow,
  body.page-home .hero-actions .btn-primary,
  body.page-home .price-card.highlight,
  body.page-home .price-card.highlight::after,
  body.page-home .qr-card::after {
    animation: none;
  }

  body.page-home .qr-card::after {
    display: none;
  }

  body.page-home .price-card {
    transform: none;
  }

  .faq-list details .faq-body {
    transition: none;
  }
}

/* ---------- 会员等级分组 ---------- */
.plan-group-head { margin: 38px 0 18px; }
.plan-group-head:first-of-type { margin-top: 28px; }
.plan-group-head h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 6px; }
.plan-group-head p { color: var(--muted); font-size: 13.5px; line-height: 1.7; margin: 0; }
.plan-group-head.pro h2 { color: var(--blue); }
.plan-compare { margin-top: 48px; }
.plan-compare h3 { font-size: 18px; margin-bottom: 14px; }
.plan-compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
}
.plan-compare table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 13.5px; }
.plan-compare th,
.plan-compare td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  text-align: left;
}
.plan-compare thead th { background: rgba(0, 0, 0, 0.03); font-weight: 600; }
.plan-compare tbody tr:last-child td { border-bottom: 0; }
.plan-compare td:nth-child(2),
.plan-compare td:nth-child(3) { white-space: nowrap; }
.plan-compare strong { color: var(--blue); }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
