/* ============================================================================
   VoxMinutes 官网 — 样式表
   设计基调：浅色、克制、卡片化；主题色取自客户端 --primary（Streamlit 红 #FF4B4B）
   改色只需改下面 :root 里的 --brand 三兄弟。
   ========================================================================== */

:root {
  --brand: #ff4b4b;
  --brand-dark: #e13b3b;
  --brand-ink: #c92f2f;
  --brand-50: #fff5f5;
  --brand-100: #ffe9e9;
  --brand-200: #ffd4d4;

  --ink: #14181f;
  --ink-2: #39414d;
  --muted: #6b7480;
  --muted-2: #8b939e;

  --bg: #ffffff;
  --bg-soft: #f8f9fb;
  --bg-soft-2: #f3f5f8;
  --line: #e9ecef;
  --line-2: #f1f3f5;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06), 0 8px 20px -12px rgba(16, 24, 40, 0.12);
  --shadow: 0 1px 3px rgba(16, 24, 40, 0.06), 0 16px 36px -16px rgba(16, 24, 40, 0.16);
  --shadow-lg: 0 30px 70px -28px rgba(16, 24, 40, 0.28);
  --shadow-brand: 0 10px 26px -12px rgba(255, 75, 75, 0.55);

  --maxw: 1140px;
  --maxw-narrow: 780px;
  --header-h: 64px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── 布局 ────────────────────────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: var(--maxw-narrow);
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.55rem, 3.1vw, 2.15rem); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

/* ── 顶栏 ────────────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px -6px rgba(16, 24, 40, 0.18);
}
.header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex: 1;
  min-width: 0;
}
.nav a {
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--bg-soft-2); color: var(--ink); }

/* 顶栏里的「积分充值」：做成淡红胶囊，与普通导航项区分开 */
.nav a.nav-cta {
  color: var(--brand-ink);
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  font-weight: 700;
  margin: 0 4px;
  box-shadow: 0 1px 2px rgba(255, 75, 75, 0.12);
}
.nav a.nav-cta:hover {
  background: var(--brand-200);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* 语言切换 */
.lang { position: relative; }
.lang > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--ink-2);
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
  user-select: none;
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary:hover { border-color: var(--brand-200); background: var(--brand-50); }
.lang[open] > summary { border-color: var(--brand-200); background: var(--brand-50); }
.lang > summary .caret { transition: transform 0.18s ease; opacity: 0.55; }
.lang[open] > summary .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.lang-menu a:hover { background: var(--bg-soft-2); color: var(--ink); }
.lang-menu a[aria-current="true"] { background: var(--brand-50); color: var(--brand-ink); font-weight: 600; }
.lang-menu .tag { font-size: 0.75rem; color: var(--muted-2); font-weight: 500; }

/* 移动端菜单 */
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  color: var(--ink-2);
}
.menu-toggle:hover { border-color: var(--brand-200); background: var(--brand-50); }

/* ── 按钮 ────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.9688rem;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--brand-dark); color: #fff; box-shadow: 0 14px 30px -12px rgba(255, 75, 75, 0.65); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--brand-200); color: var(--brand-ink); background: var(--brand-50); }

.btn--soft { background: var(--brand-50); color: var(--brand-ink); border-color: var(--brand-100); }
.btn--soft:hover { background: var(--brand-100); color: var(--brand-ink); }

.btn--sm { padding: 8px 14px; font-size: 0.875rem; border-radius: 8px; }
.btn--lg { padding: 15px 30px; font-size: 1.0313rem; }
.btn--block { width: 100%; }

.btn[aria-disabled="true"], .btn:disabled {
  background: var(--bg-soft-2);
  color: var(--muted-2);
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row--center { justify-content: center; }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 76px 0 0;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -180px 0 auto;
  height: 620px;
  background:
    radial-gradient(58% 60% at 50% 0%, rgba(255, 75, 75, 0.13), transparent 70%),
    radial-gradient(40% 50% at 82% 12%, rgba(255, 75, 75, 0.07), transparent 70%);
  pointer-events: none;
}
.hero > .wrap { position: relative; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-xs);
  font-size: 0.8438rem;
  color: var(--ink-2);
  font-weight: 500;
}
.pill b { color: var(--brand-ink); font-weight: 700; }
.pill .dot {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 22px auto 0;
  font-size: clamp(2rem, 5.2vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.032em;
  max-width: 16em;
}
.hero h1 .accent { color: var(--brand); }

.hero .lede {
  margin: 20px auto 0;
  max-width: 44em;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: var(--muted);
}
.hero .lede strong { color: var(--ink-2); font-weight: 600; }

.hero .btn-row { margin-top: 30px; }

.hero-meta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 0.875rem;
  color: var(--muted-2);
}
.hero-meta li { display: flex; align-items: center; gap: 6px; }
.hero-meta svg { color: var(--brand); flex-shrink: 0; }
.hero-meta a { color: var(--muted-2); }
.hero-meta a:hover { color: var(--brand-ink); }
.hero-meta a:hover svg { color: var(--brand-ink); }

/* 「新用户送 100 积分」——首屏内的充值引导，点击直达价格卡 */
.hero-gift {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px dashed var(--brand-200);
  background: linear-gradient(135deg, var(--brand-50), #fff 80%);
  font-size: 0.9063rem;
  font-weight: 600;
  color: var(--brand-ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.12s ease;
}
.hero-gift:hover {
  color: var(--brand-ink);
  border-color: var(--brand);
  border-style: solid;
  box-shadow: 0 10px 26px -14px rgba(255, 75, 75, 0.65);
  transform: translateY(-1px);
}
.hero-gift svg { color: var(--brand); flex-shrink: 0; }

.shot {
  position: relative;
  margin: 52px auto 0;
  max-width: 980px;
  /* 固定 1.92:1 展示比例：四语言截图高度不一，靠 object-fit 统一裁掉底部空白 */
  aspect-ratio: 1.92;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 13px;
}
.shot::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
@media (max-width: 620px) {
  .shot { aspect-ratio: 1.62; margin-top: 36px; }
}

/* 数据条 */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 8px auto 0;
  max-width: 940px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats li { background: #fff; padding: 22px 16px; text-align: center; }
.stats .n {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.stats .k { margin-top: 4px; font-size: 0.875rem; color: var(--muted); }

/* ── 卡片网格 ────────────────────────────────────────────────────────────── */

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.card p { font-size: 0.9375rem; color: var(--muted); }

.icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand);
  margin-bottom: 16px;
  font-size: 1.25rem;
  line-height: 1;
}
.icon svg { width: 21px; height: 21px; }

.card--feature { background: #fff; }
.card--feature .tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card--feature .tags span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
}

/* 新版本亮点 */
.card--new {
  position: relative;
  border-color: var(--brand-100);
  background: linear-gradient(180deg, var(--brand-50), #fff 62%);
  padding-top: 30px;
}
.card--new::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--brand), #ff8a5c);
}
.badge-new {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  margin-bottom: 14px;
}
.card--new h3 { font-size: 1.1875rem; }
.card--new p { color: var(--ink-2); }

/* 对比表 */
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 0.9375rem;
}
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line-2); }
.compare thead th { background: var(--bg-soft); font-size: 0.875rem; color: var(--muted); font-weight: 600; }
.compare thead th:last-child { color: var(--brand-ink); background: var(--brand-50); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { font-weight: 600; color: var(--ink); width: 22%; }
.compare td:last-child { color: var(--ink); font-weight: 500; background: rgba(255, 245, 245, 0.5); }
.compare td:last-child .ok { color: var(--brand); font-weight: 700; margin-right: 6px; }

/* ── 价格 ────────────────────────────────────────────────────────────────── */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.plan:hover { border-color: var(--brand-200); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.plan--best {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  padding-top: 36px;
}
.plan--best:hover { border-color: var(--brand); }

.plan .flag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
}

.plan .name { font-size: 0.9375rem; font-weight: 600; color: var(--muted); }
.plan .price {
  margin-top: 10px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan .price small { font-size: 1.0625rem; font-weight: 600; margin-right: 2px; }
.plan .credits {
  margin-top: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-ink);
}
.plan .bonus {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
}
.plan .hours { margin-top: 14px; font-size: 0.875rem; color: var(--muted); }
.plan .btn { margin-top: 20px; }
.plan hr { border: 0; border-top: 1px solid var(--line-2); margin: 20px 0 0; }
.plan .fine { margin-top: 14px; font-size: 0.8125rem; color: var(--muted-2); line-height: 1.6; }

.notice {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  font-size: 0.875rem;
  color: var(--muted);
}
.notice li { display: flex; align-items: center; gap: 7px; }
.notice svg { color: var(--brand); flex-shrink: 0; }

.gift {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px dashed var(--brand-200);
  background: linear-gradient(180deg, var(--brand-50), #fff);
}
.gift h3 { font-size: 1.0625rem; }
.gift p { font-size: 0.875rem; color: var(--muted); margin-top: 4px; }

/* ── 步骤 ────────────────────────────────────────────────────────────────── */

.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-brand);
}
.step h3 { font-size: 1.0313rem; margin-bottom: 8px; }
.step p { font-size: 0.9375rem; color: var(--muted); }
.step::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 48px;
  right: -18px;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-200), transparent);
}
.grid--4 .step:last-child::after { display: none; }

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq { max-width: var(--maxw-narrow); margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details[open] { border-color: var(--brand-200); box-shadow: var(--shadow-xs); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 52px 17px 20px;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  position: relative;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted-2);
  border-bottom: 2px solid var(--muted-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); border-color: var(--brand); }
.faq summary:hover { color: var(--brand-ink); }
.faq .a { padding: 0 20px 20px; font-size: 0.9375rem; color: var(--muted); }
.faq .a p + p { margin-top: 10px; }
.faq .a code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: var(--bg-soft-2);
  border-radius: 4px;
  padding: 1px 5px;
}

/* ── 下载区 ──────────────────────────────────────────────────────────────── */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 56px 32px;
  text-align: center;
  background: linear-gradient(160deg, #fff6f6, #fff 55%), #fff;
  border: 1px solid var(--brand-100);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto -10% -70% 30%;
  height: 320px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(255, 75, 75, 0.16), transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { margin: 14px auto 0; max-width: 40em; color: var(--muted); }
.cta-band .btn-row { margin-top: 28px; }

.dl-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dl {
  display: flex;
  align-items: center;
  gap: 13px;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dl:hover { border-color: var(--brand-200); box-shadow: var(--shadow-xs); }
.dl .ico { width: 26px; height: 26px; flex-shrink: 0; color: var(--ink-2); }
.dl .t { font-weight: 600; color: var(--ink); font-size: 0.9375rem; }
.dl .s { font-size: 0.8125rem; color: var(--muted-2); }
.dl-note {
  margin: 20px auto 0;
  max-width: 54em;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted-2);
}

.dl--soon { opacity: 0.72; }
.dl--soon:hover { border-color: var(--line); box-shadow: none; }
.dl--soon .badge-soon {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-soft-2);
  border-radius: var(--radius-pill);
  padding: 2px 9px;
  white-space: nowrap;
}

/* ── 页脚 ────────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 56px 0 32px;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer .brand { margin-bottom: 14px; }
.footer .about { color: var(--muted); font-size: 0.9375rem; max-width: 30em; }
.footer h4 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer li + li { margin-top: 9px; }
.footer li a { color: var(--ink-2); font-size: 0.9375rem; }
.footer li a:hover { color: var(--brand-ink); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted-2);
  font-size: 0.875rem;
}
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ── 入场动画（无 JS 也可见，JS 只负责加 class）─────────────────────────── */

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover, .plan:hover { transform: none; }
}
/* 没有 JS 时不能让内容消失 */
.no-js .reveal { opacity: 1; transform: none; }

/* ── 响应式 ──────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .section { padding: 66px 0; }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header .wrap { gap: 12px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan--best { padding-top: 32px; }
  .dl-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .compare { font-size: 0.875rem; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare tbody th { width: 30%; }

  /* 移动端抽屉式导航 */
  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    gap: 2px;
  }
  .header.is-open .nav a { padding: 12px 12px; font-size: 1rem; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .card { padding: 22px; }
  .hero h1 { letter-spacing: -0.025em; }
  .hero-meta { gap: 6px 14px; font-size: 0.8125rem; }
  .btn-row .btn { width: 100%; }
  .cta-band { padding: 40px 20px; border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .gift { padding: 20px; }
  .gift .btn { width: 100%; }

  /* 顶栏：语言胶囊只留地球图标，避免在 390px 上挤出横向滚动条 */
  .lang-label { display: none; }
  .lang > summary { padding: 7px 10px; gap: 4px; }
  .header-actions { gap: 8px; }
}

/* 更窄：顶栏的下载按钮让位（首屏和下载区各有一个大按钮）；
   首屏的「查看源码」也收起——页脚与下载区都还有入口 */
@media (max-width: 460px) {
  .header-actions .btn { display: none; }
  .btn-src { display: none; }
}
