/* ==========================================================================
   videonotes.work · 站点设计系统
   风格定位：学习 / 工具类 —— 克制的深色底 + 清晰的信息层级 + 可扫描的表格
   字号约定：正文 ≥16px · H1 ≥24px · H2 ≥20px · 卡片/表格 ≥15px · 行高 1.7
   ========================================================================== */

:root {
  /* 底色层次 */
  --bg: #0a0e17;
  --bg-soft: #0e1421;
  --surface: #141b2b;
  --surface-2: #1a2233;
  --surface-3: #212b3f;

  /* 描边 */
  --line: #253048;
  --line-soft: #1c2537;

  /* 文字 */
  --text: #e9edf6;
  --text-2: #b8c2d6;
  --text-dim: #8593ac;

  /* 主色：靛蓝 → 青（工具感） */
  --brand: #6366f1;
  --brand-2: #22d3ee;
  --brand-3: #8b5cf6;
  --grad: linear-gradient(120deg, #6366f1 0%, #8b5cf6 45%, #22d3ee 100%);

  /* 语义色 */
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 18px 44px rgba(0, 0, 0, .45);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .3);
  --ring: 0 0 0 3px rgba(99, 102, 241, .28);

  --maxw: 1160px;
  --nav-h: 66px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; }
p { margin: 0; }

::selection { background: rgba(99, 102, 241, .38); color: #fff; }

/* --------------------------------------------------------------- 布局 */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--alt { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }

/* --------------------------------------------------------------- 导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(10, 14, 23, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--grad);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 4px 14px rgba(99, 102, 241, .4);
}
.brand__mark svg { width: 17px; height: 17px; }
.brand__sub { color: var(--text-dim); font-weight: 500; font-size: 13px; padding-left: 10px; border-left: 1px solid var(--line); }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 14px; border-radius: 9px; color: var(--text-2);
  font-size: 15px; transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__links a.is-active { color: var(--text); background: var(--surface-2); }

.nav__toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); cursor: pointer; font-size: 18px;
}

/* --------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 11px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(99, 102, 241, .34); }
.btn--primary:hover { box-shadow: 0 12px 28px rgba(99, 102, 241, .45); }
.btn--ghost { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); background: var(--surface-3); }
.btn--sm { padding: 8px 15px; font-size: 14px; border-radius: 9px; }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* --------------------------------------------------------------- 区块头 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand-2); border-radius: 2px; }
.eyebrow__idx { color: var(--text-dim); font-weight: 500; letter-spacing: 0; }

.h-sec { font-size: 30px; font-weight: 700; margin-bottom: 12px; letter-spacing: -.2px; }
.h-sub { color: var(--text-2); font-size: 17px; max-width: 62ch; margin-bottom: 44px; }
.sec-head { margin-bottom: 40px; }
.sec-head--center { text-align: center; }
.sec-head--center .h-sub { margin-inline: auto; }
.sec-head--center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto; height: 620px;
  background:
    radial-gradient(760px 380px at 22% 18%, rgba(99, 102, 241, .3), transparent 62%),
    radial-gradient(620px 340px at 78% 8%, rgba(34, 211, 238, .2), transparent 60%),
    radial-gradient(520px 300px at 55% 30%, rgba(139, 92, 246, .16), transparent 65%);
  filter: blur(12px); pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero h1 { font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -1px; margin-bottom: 20px; }
.hero h1 .hl {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__lead { font-size: 18px; color: var(--text-2); max-width: 54ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 13px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2);
}
.badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }

/* Hero 侧：双产品速览卡 */
.stack { display: grid; gap: 14px; }
.mini {
  display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: start;
  padding: 20px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), rgba(20, 27, 43, .55));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .18s, border-color .18s;
}
.mini:hover { transform: translateY(-2px); border-color: var(--brand); }
.mini__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; flex: none;
  background: rgba(99, 102, 241, .14); border: 1px solid rgba(99, 102, 241, .34);
}
.mini__icon svg { width: 24px; height: 24px; }
.mini--cyan .mini__icon { background: rgba(34, 211, 238, .13); border-color: rgba(34, 211, 238, .34); }
.mini h3 { font-size: 17px; margin-bottom: 4px; }
.mini p { font-size: 14.5px; color: var(--text-dim); line-height: 1.65; }
.mini__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mini__tags span {
  font-size: 12px; padding: 2px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, .04); color: var(--text-dim); border: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------- 产品卡 */
.products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pcard {
  position: relative; display: flex; flex-direction: column;
  padding: 34px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pcard:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow); }
.pcard::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--grad);
}
.pcard--cyan::after { background: linear-gradient(120deg, #22d3ee, #6366f1); }
.pcard__top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.pcard__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; flex: none;
  background: rgba(99, 102, 241, .15); border: 1px solid rgba(99, 102, 241, .36); overflow: hidden;
}
.pcard--cyan .pcard__icon { background: rgba(34, 211, 238, .13); border-color: rgba(34, 211, 238, .36); }
.pcard__icon img { width: 100%; height: 100%; object-fit: cover; }
.pcard__icon svg { width: 27px; height: 27px; }
.pcard__kind {
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim);
  font-weight: 600; margin-bottom: 2px;
}
.pcard h3 { font-size: 22px; margin-bottom: 4px; }
.pcard__ver { font-size: 12.5px; color: var(--text-dim); }
.pcard__desc { color: var(--text-2); font-size: 15.5px; margin-bottom: 22px; }
.pcard__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.pcard__list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: var(--text-2); align-items: start; }
.pcard__list svg { width: 18px; height: 18px; margin-top: 4px; color: var(--brand-2); flex: none; }
.pcard--cyan .pcard__list svg { color: var(--brand-2); }
.pcard__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------- 特性网格 */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fbox {
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .18s, transform .18s;
}
.fbox:hover { border-color: var(--line); transform: translateY(-2px); }
.fbox__no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; color: var(--brand-2); letter-spacing: 1px; margin-bottom: 12px; display: block;
}
.fbox h3 { font-size: 18px; margin-bottom: 9px; }
.fbox p { font-size: 15px; color: var(--text-dim); line-height: 1.7; }

/* --------------------------------------------------------------- 表格 */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
table.cmp th, table.cmp td { padding: 15px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.cmp thead th {
  background: var(--surface-2); color: var(--text); font-weight: 600; font-size: 15px;
  position: sticky; top: 0;
}
table.cmp thead th:first-child { color: var(--text-dim); font-weight: 500; width: 20%; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr:hover { background: rgba(255, 255, 255, .02); }
table.cmp td:first-child { color: var(--text-dim); }
table.cmp td b { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------- 步骤 */
.steps { display: grid; gap: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start;
  padding: 24px 0; border-bottom: 1px solid var(--line-soft); position: relative;
}
.step:last-child { border-bottom: none; }
.step__no {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px; font-weight: 600; color: var(--brand-2);
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--text-dim); }
.step__tag {
  display: inline-block; margin-top: 10px; font-size: 13px; padding: 3px 10px;
  border-radius: 6px; background: rgba(99, 102, 241, .12); color: #b9b4ff;
  border: 1px solid rgba(99, 102, 241, .28);
}

/* --------------------------------------------------------------- 隐私条 */
.privacy-note {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pnote { padding: 24px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.pnote h4 { font-size: 16px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.pnote h4 svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.pnote p { font-size: 14.5px; color: var(--text-dim); }

/* --------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: border-color .18s;
}
.faq details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer; font-size: 16.5px; font-weight: 600; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 21px; color: var(--text-dim); font-weight: 400;
  transition: transform .2s; flex: none; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--brand-2); }
.faq p { margin-top: 12px; font-size: 15.5px; color: var(--text-dim); line-height: 1.75; }
.faq p code, .inline-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px; background: var(--surface-3); padding: 2px 6px; border-radius: 5px; color: #a5b4fc;
}

/* --------------------------------------------------------------- CTA */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 62px 32px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(99, 102, 241, .16), rgba(34, 211, 238, .09));
  border: 1px solid var(--line);
}
.cta h2 { font-size: 30px; margin-bottom: 12px; }
.cta p { color: var(--text-2); font-size: 17px; max-width: 58ch; margin: 0 auto 26px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --------------------------------------------------------------- 页脚 */
.footer { border-top: 1px solid var(--line-soft); padding: 48px 0 36px; background: var(--bg-soft); }
.footer__grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; margin-bottom: 30px; }
.footer__col { min-width: 150px; }
.footer__col h5 { font-size: 14px; margin: 0 0 12px; color: var(--text); letter-spacing: .3px; }
.footer__col a { display: block; font-size: 14.5px; color: var(--text-dim); padding: 4px 0; transition: color .15s; }
.footer__col a:hover { color: var(--brand-2); }
.footer__bot {
  border-top: 1px solid var(--line-soft); padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13.5px; color: var(--text-dim);
}

/* --------------------------------------------------------------- 产品页 */
.phero { padding: 72px 0 60px; position: relative; overflow: hidden; }
.phero::before {
  content: ""; position: absolute; inset: -30% 0 auto; height: 520px;
  background: radial-gradient(680px 340px at 26% 12%, rgba(99, 102, 241, .26), transparent 62%),
              radial-gradient(560px 300px at 74% 6%, rgba(34, 211, 238, .16), transparent 60%);
  filter: blur(10px); pointer-events: none;
}
.phero__inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.phero h1 { font-size: 40px; letter-spacing: -.6px; margin-bottom: 16px; }
.phero__lead { font-size: 18px; color: var(--text-2); max-width: 60ch; margin-bottom: 26px; }
.phero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.phero__icon {
  width: 132px; height: 132px; border-radius: 30px; overflow: hidden; flex: none;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center;
}
.phero__icon img { width: 76px; height: 76px; border-radius: 18px; }
.phero__icon svg { width: 60px; height: 60px; }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); transition: transform .2s, border-color .2s;
}
.shot:hover { transform: translateY(-3px); border-color: var(--brand); }
.shot img { width: 100%; height: auto; }
.shot figcaption {
  padding: 11px 16px; font-size: 14px; color: var(--text-dim);
  border-top: 1px solid var(--line-soft);
}

.kv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kvbox { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.kvbox dt { font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.kvbox dd { margin: 0; font-size: 15.5px; font-weight: 600; }

/* 截图说明网格 */
.shotgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shotcard { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.shotcard img { width: 100%; }
.shotcard figcaption { padding: 13px 16px; font-size: 14.5px; color: var(--text-2); border-top: 1px solid var(--line-soft); }
.shotcard figcaption b { color: var(--text); display: block; margin-bottom: 3px; font-size: 15px; }

/* 安装指引 */
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.icard { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.icard__step {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px;
  background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px;
}
.icard h3 { font-size: 17px; margin-bottom: 8px; }
.icard p { font-size: 14.5px; color: var(--text-dim); }
.icard code {
  display: inline-block; margin-top: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px; background: var(--surface-3); padding: 3px 8px; border-radius: 5px; color: #a5b4fc;
}

/* 面包屑 */
.crumb { font-size: 14px; color: var(--text-dim); margin-bottom: 18px; }
.crumb a { color: var(--text-dim); }
.crumb a:hover { color: var(--brand-2); }
.crumb span { margin: 0 8px; opacity: .5; }

/* 表格横滑提示：桌面端表格放得下，不需要提示 → 默认隐藏 */
.table-hint { display: none; }

/* --------------------------------------------------------------- 响应式 */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 38px; }
  .products, .feat, .privacy-note, .install, .shotgrid, .shots { grid-template-columns: 1fr; }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .phero__inner { grid-template-columns: 1fr; }
  .phero__icon { order: -1; width: 96px; height: 96px; border-radius: 22px; }
  .phero__icon img { width: 58px; height: 58px; }
  .phero h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .h-sec { font-size: 25px; }
}

/* ---------------------------------------------------------------
   移动端优化（≤720px）
   原则：
   1. 触控目标 ≥ 44px（Apple HIG / Material 建议值）
   2. 窄屏优先单列，但保留信息密度（kv 用 2 列而非 1 列）
   3. 表格给出「可横滑」的视觉提示，否则用户以为被截断
   4. 减少纵向留白，避免手机上一屏放不下一个卡片
   --------------------------------------------------------------- */
@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; align-items: stretch;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; gap: 2px;
    display: none;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .45);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: grid; place-items: center; }
  .brand__sub { display: none; }
  .wrap { padding: 0 18px; }

  /* ---- 触控目标放大到 ≥44px ---- */
  .nav__toggle { width: 44px; height: 44px; font-size: 19px; }
  .nav__links a { padding: 13px 14px; font-size: 16px; min-height: 44px; display: flex; align-items: center; }
  .brand { min-height: 44px; }              /* 品牌链接也是可点的，凑够高度 */
  .footer__col a { padding: 10px 0; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
  .footer__col a:only-child { min-height: 44px; }
  .btn { min-height: 44px; padding: 12px 20px; }
  .btn--sm { min-height: 44px; padding: 11px 16px; font-size: 15px; }
  .footer__col a { padding: 10px 0; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
  .faq summary { padding: 4px 0; min-height: 44px; }
  .shotcard figcaption, .icard p, .fbox p, .step p, .pnote p { font-size: 15px; }
  /* 页脚链接用 flex + min-height 撑满，宽度不再塌成文字宽（触控区域更大） */
  .footer__col a { display: flex; align-items: center; width: 100%; }

  /* ---- 锚点跳转避开 sticky 导航（导航高 66px + 呼吸） ---- */
  html { scroll-padding-top: calc(var(--nav-h) + 14px); }
  section[id], #products, #how, #compare, #privacy, #faq, #features, #screens, #install, #who, #capabilities, #ui { scroll-margin-top: calc(var(--nav-h) + 14px); }

  /* ---- Hero 收紧 ---- */
  .hero { padding: 46px 0 40px; }
  .hero h1 { font-size: 29px; line-height: 1.28; letter-spacing: -0.6px; }
  .hero__lead { font-size: 16px; margin-bottom: 24px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }        /* 主按钮整行，拇指更好点 */
  .hero__badges { gap: 6px; }
  .badge { font-size: 12.5px; padding: 5px 10px; }

  /* ---- 侧栏速览卡 ---- */
  .mini { grid-template-columns: 40px 1fr; gap: 13px; padding: 16px; }
  .mini__icon { width: 40px; height: 40px; border-radius: 11px; }
  .mini__icon svg { width: 21px; height: 21px; }
  .mini h3 { font-size: 16px; }
  .mini p { font-size: 14px; }
  .mini__tags span { font-size: 11.5px; }

  /* ---- 分区留白压缩 ---- */
  .section { padding: 46px 0; }
  .section--tight { padding: 34px 0; }
  .h-sec { font-size: 23px; margin-bottom: 10px; }
  .h-sub { font-size: 15.5px; margin-bottom: 28px; }
  .sec-head { margin-bottom: 26px; }
  .eyebrow { font-size: 12px; margin-bottom: 10px; }

  /* ---- 产品卡 ---- */
  .pcard { padding: 20px 18px; }
  .pcard__top { gap: 12px; margin-bottom: 16px; }
  .pcard__icon { width: 46px; height: 46px; border-radius: 13px; }
  .pcard__icon svg { width: 23px; height: 23px; }
  .pcard h3 { font-size: 19px; }
  .pcard__desc { font-size: 15px; margin-bottom: 18px; }
  .pcard__list { gap: 10px; margin-bottom: 20px; }
  .pcard__list li { font-size: 14.5px; }
  .pcard__foot { gap: 8px; }
  .pcard__foot .btn { flex: 1 1 100%; }   /* 卡片内按钮整行 */

  /* ---- 特性框 ---- */
  .fbox { padding: 18px 16px; }
  .fbox h3 { font-size: 16.5px; }
  .fbox__no { font-size: 12px; margin-bottom: 8px; }

  /* ---- 步骤条 ---- */
  .step { grid-template-columns: 38px 1fr; gap: 13px; padding: 18px 0; }
  .step__no { width: 38px; height: 38px; border-radius: 10px; font-size: 14px; }
  .step h3 { font-size: 16.5px; }
  .step__tag { font-size: 12px; margin-top: 8px; }

  /* ---- 关键参数：手机上保持 2 列，别浪费纵向空间 ---- */
  .kv { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kvbox { padding: 14px 14px; }
  .kvbox dt { font-size: 12px; margin-bottom: 4px; }
  .kvbox dd { font-size: 14.5px; }

  /* ---- 表格：提示可横滑 + 首列吸附 ---- */
  .table-wrap {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    position: relative;
  }
  /* 提示条放在表格容器「外面」（::after 会跟随滚动内容，用负 margin 盖住表格文字）。
     改用 wrapper 的伪元素 + 独立定位：提示固定在容器底部，不遮挡内容。 */
  .table-hint {
    display: block;
    margin-top: 8px;
    text-align: center;
    font-size: 12px;
    color: var(--text-dim);
  }
  table.cmp { min-width: 560px; font-size: 14.5px; }
  table.cmp th, table.cmp td { padding: 12px 14px; }
  table.cmp thead th:first-child,
  table.cmp tbody td:first-child {
    position: sticky; left: 0; z-index: 2;
    background: var(--surface);
    box-shadow: 1px 0 0 var(--line-soft);
  }
  table.cmp thead th:first-child { background: var(--surface-2); z-index: 3; }

  /* ---- FAQ ---- */
  .faq details { padding: 14px 16px; }
  .faq summary { font-size: 15.5px; }
  .faq p { font-size: 15px; margin-top: 10px; }

  /* ---- CTA ---- */
  .cta { padding: 38px 20px; }
  .cta h2 { font-size: 22px; }
  .cta p { font-size: 15.5px; margin-bottom: 20px; }
  .cta__btns .btn { flex: 1 1 100%; }

  /* ---- 页脚 ---- */
  .footer { padding: 34px 0 26px; }
  .footer__grid { flex-direction: column; gap: 26px; margin-bottom: 22px; }
  .footer__col { min-width: 0; }
  .footer__col h5 { margin-bottom: 8px; }
  .footer__bot { font-size: 12.5px; flex-direction: column; gap: 6px; }

  /* ---- 产品页头 ---- */
  .phero { padding: 40px 0 34px; }
  .phero h1 { font-size: 27px; letter-spacing: -0.4px; }
  .phero__lead { font-size: 16px; margin-bottom: 20px; }
  .phero__meta { gap: 6px; margin-bottom: 20px; }
  .phero__icon { width: 78px; height: 78px; border-radius: 19px; }
  .phero__icon img { width: 46px; height: 46px; border-radius: 12px; }
  .phero__icon svg { width: 38px; height: 38px; }
  .crumb { margin-bottom: 14px; }

  /* ---- 截图网格：手机上一列，卡片圆角收小 ---- */
  .shotgrid, .shots { gap: 12px; }
  .shotcard figcaption { padding: 11px 13px; font-size: 14px; }

  /* ---- 隐私说明 ---- */
  .pnote { padding: 18px 16px; }
  .pnote h4 { font-size: 15.5px; }

  /* ---- 安装指引 ---- */
  .icard { padding: 18px 16px; }
  .icard h3 { font-size: 16px; }
}

/* 极窄屏（iPhone SE / 小屏安卓） */
@media (max-width: 380px) {
  .wrap { padding: 0 15px; }
  .hero h1 { font-size: 26px; }
  .h-sec { font-size: 21px; }
  .kv { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kvbox { padding: 12px; }
  .pcard { padding: 18px 15px; }
  .mini { padding: 14px; gap: 11px; }
  .mini__icon { width: 36px; height: 36px; }
}

/* 触屏设备：去掉 hover 位移效果，避免"点完卡住"的错觉 */
@media (hover: none) {
  .mini:hover, .pcard:hover, .fbox:hover, .shot:hover { transform: none; }
  .btn:hover, .btn:active { transform: none; }
}


/* --------------------------------------------------------------- 动效 */
/* ⚠️ 关键：只有 JS 正常加载时才启用渐入动画。
   否则 JS 失败/被拦截时 .reveal 会永久停在 opacity:0，整页内容不可见。
   做法：
   - <head> 内联脚本同步给 <html> 加 .js 类（首屏渲染前生效，无闪烁）
   - CSS 只在 html.js 下才隐藏 .reveal
   - 内联脚本另起 2.5s 定时器兜底：即使 site.js 加载失败也强制显示全部内容
   - site.js 正常工作时会在 2.5s 前把可见区域元素逐个加上 .is-in */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 焦点可见 */
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 8px;
}

/* --------------------------------------------------------------- 顶部公告条
   （2026-10-30 新增：上边框太素，改为带内容的滚动条幅 + 渐变描边）            */
.topbar {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(99, 102, 241, .16), rgba(34, 211, 238, .10));
  border-bottom: 1px solid var(--line-soft);
}
.topbar::before {                 /* 顶部 2px 渐变描边，流动起来告别单调 */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--grad); background-size: 220% 100%;
  animation: topbar-flow 6s linear infinite;
}
@keyframes topbar-flow { to { background-position: 220% 0; } }
.topbar__track {
  display: flex; align-items: center; height: 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.topbar__marquee { display: flex; animation: topbar-scroll 30s linear infinite; }
.topbar:hover .topbar__marquee,
.topbar:focus-within .topbar__marquee { animation-play-state: paused; }
.topbar__group { display: flex; flex: none; gap: 44px; padding-right: 44px; }
.topbar__group span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-2); white-space: nowrap;
}
@keyframes topbar-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .topbar::before { animation: none; }
  .topbar__marquee { animation: none; }
  .topbar__track { -webkit-mask-image: none; mask-image: none; }
}

/* --------------------------------------------------------------- Hero 产品轮播条幅
   （2026-10-30 新增：原静态双卡改为自动轮播，两个产品轮流登场）              */
.pbanner { position: relative; }
.pbanner__viewport { overflow: hidden; border-radius: var(--radius-lg); }
.pbanner__track {
  display: flex; align-items: stretch;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
.pbanner__slide { flex: 0 0 100%; }
.pbslide {
  display: flex; flex-direction: column; height: 100%;
  padding: 30px; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--surface), rgba(20, 27, 43, .55));
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.pbslide:hover { border-color: var(--brand); }
.pbslide__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(99, 102, 241, .14); border: 1px solid rgba(99, 102, 241, .34);
}
.pbslide--cyan .pbslide__icon { background: rgba(34, 211, 238, .13); border-color: rgba(34, 211, 238, .34); }
.pbslide__icon img { width: 34px; height: 34px; border-radius: 9px; }
.pbslide__icon svg { width: 28px; height: 28px; color: var(--brand-2); }
.pbslide__kind {
  font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-dim); font-weight: 600; margin-bottom: 2px;
}
.pbslide h3 { font-size: 20px; margin: 0 0 10px; }
.pbslide p { font-size: 14.5px; color: var(--text-dim); line-height: 1.65; margin: 0 0 14px; }
.pbslide__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.pbslide__tags span {
  font-size: 12px; padding: 2px 8px; border-radius: 6px;
  background: rgba(255, 255, 255, .04); color: var(--text-dim); border: 1px solid var(--line-soft);
}
.pbslide .btn { margin-top: auto; align-self: flex-start; }

/* 控制条：箭头 + 圆点 */
.pbanner__controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.pbanner__arrow {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  font-size: 18px; line-height: 1; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.pbanner__arrow:hover { border-color: var(--brand); color: var(--brand-2); background: var(--surface-3); }
.pbanner__arrow:focus-visible { outline: none; box-shadow: var(--ring); }
.pbanner__dots { display: flex; align-items: center; gap: 8px; }
.pbanner__dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0; cursor: pointer;
  background: var(--surface-3); transition: background .2s, width .2s, border-radius .2s;
}
.pbanner__dot.is-active { background: var(--brand-2); width: 22px; border-radius: 5px; }
.pbanner__dot:focus-visible { outline: none; box-shadow: var(--ring); }
