/* ============================================================
   开心学伴 官网 · 样式表
   设计基调：墨绿（信任/教育）× 暖白（纸感/留白）× 金（品质/点睛）
   ⛔ 不引外部字体与 CDN：整站离线可开，字体走系统栈。
   ============================================================ */

:root {
  /* 主色 */
  --ink: #0e2a21;          /* 深墨绿：深色区背景、正文标题 */
  --ink-2: #17392e;        /* 次级深色 */
  --green: #1f7a54;        /* 主题绿：主按钮、强调 */
  --green-2: #2a9166;      /* 亮一档，用于 hover / 渐变 */
  --green-soft: #e9f2ed;   /* 浅绿底 */
  --gold: #c19a2b;         /* 金：eyebrow、分隔线、数字 */
  --gold-soft: #f8f0da;

  /* 中性 */
  --paper: #fbfaf6;        /* 暖白：页面底 */
  --paper-2: #f4f2ec;      /* 浅灰底：卡片/斑马区块 */
  --white: #ffffff;
  --text: #23342c;         /* 正文 */
  --muted: #5f7168;        /* 次要文字 */
  --line: rgba(14, 42, 33, 0.1);
  --line-strong: rgba(14, 42, 33, 0.18);

  /* 尺度 */
  --maxw: 1180px;
  --r: 18px;               /* 卡片圆角 */
  --r-sm: 12px;
  --shadow: 0 18px 50px -24px rgba(14, 42, 33, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(14, 42, 33, 0.42);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans CN", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 通用容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ⛔ scroll-margin-top 的算法：导航高（75）+ 呼吸（16）- 自己的 padding-top（104）= -13px
   只让开导航是不够的 —— 那样 padding-top 会把栏目标题推到导航下方 ~180px，看着像"滚偏了"。
   ⛔ 改 section 的 padding 或导航高度，这个数要跟着重算；820 断点里另有一份（那边 padding 是 76）。 */
section { padding: 50px 0; position: relative; scroll-margin-top: -13px; }
section.tight { padding: 72px 0; }

/* ---------- 文本零件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.sec-title {
  font-size: clamp(28px, 3.4vw, 42px);
  margin: 18px 0 14px;
}
.sec-lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 640px;
  line-height: 1.85;
}
.center { text-align: center; }
.center .sec-lead { margin: 0 auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px -12px rgba(31, 122, 84, 0.7); }
.btn-primary:hover { background: var(--green-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-onDark { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.btn-onDark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #cfaa3c; transform: translateY(-2px); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(14, 42, 33, 0.5);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 10px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { font-size: 18px; color: var(--ink); letter-spacing: 0.02em; }
.brand span { font-size: 11px; color: var(--muted); letter-spacing: 0.16em; display: block; margin-top: -3px; }

/* 第 120 批：一级菜单首位多了「首页」，8 项在 1180px 上限里会比原来挤，
   横排间距 30 → 24px；>1024px 电脑端观感基本不变，移动端由下方媒体查询接管。 */
.nav-links { display: flex; gap: 24px; margin-left: auto; flex-wrap: nowrap; }
.nav-links a {
  font-size: 15px;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.nav-cta { flex-shrink: 0; }
/* 第 160 批：一级菜单 8 → 9 项，1025~1180px 之间横排会顶到边。
   只在这个区间收紧间距，>1180px 仍按上面 24px 的定稿观感，不动全局。 */
@media (min-width: 1025px) and (max-width: 1180px) {
  .nav-inner { gap: 20px; }
  .nav-links { gap: 14px; }
}
.burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  padding: 0;
}
.burger i { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: 0.25s var(--ease); }
.burger.open i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 20px;
  background:
    radial-gradient(900px 460px at 78% 8%, rgba(31, 122, 84, 0.09), transparent 62%),
    radial-gradient(700px 400px at 8% 92%, rgba(193, 154, 43, 0.09), transparent 60%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 39px);
  line-height: 1.22;
  color: var(--ink);
  margin: 22px 0 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.hero-sub {
  font-size: 17.5px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; margin: 34px 0 26px; flex-wrap: wrap; }
.hero-note { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { flex-shrink: 0; }

.hero-stats {
  display: flex;
  gap: 38px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.hero-stats div b {
  display: block;
  font-size: 27px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}
.hero-stats div span { font-size: 13px; color: var(--muted); }

/* ---------- 客户端界面示意（纯 CSS，不用截图） ---------- */
.mock {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-bar {
  height: 40px;
  background: var(--ink);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.mock-title { font-size: 12px; color: rgba(255, 255, 255, 0.62); letter-spacing: 0.06em; }
.mock-body { display: grid; grid-template-columns: 74px 1fr; min-height: 340px; }
.mock-side { background: var(--ink-2); padding: 14px 8px; display: flex; flex-direction: column; gap: 6px; }
.mock-side span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 6px;
  border-radius: 8px;
  text-align: center;
}
.mock-side span.on { background: var(--green); color: #fff; font-weight: 600; }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--paper); }
.mock-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.mock-tabs span {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--muted);
}
.mock-tabs span.on { background: var(--green); border-color: var(--green); color: #fff; }
.mock-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
}
.mock-card h5 { font-size: 13px; margin: 0 0 8px; color: var(--ink); }
.mock-line { height: 7px; border-radius: 4px; background: var(--paper-2); margin-bottom: 7px; }
.mock-line.w70 { width: 70%; }
.mock-line.w50 { width: 50%; }
.mock-line.w90 { width: 90%; }
.mock-line.green { background: var(--green-soft); }
.mock-ask {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}
.mock-ask svg { flex-shrink: 0; }

/* ---------- 痛点（深底） ---------- */
.dark { background: var(--ink); color: #fff; }
.dark .sec-title { color: #fff; }
.dark .sec-lead { color: rgba(255, 255, 255, 0.66); }
.dark .eyebrow { color: #d9bd6a; }
.dark .eyebrow::before { background: #d9bd6a; }

.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 54px; }
.pain {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--r);
  padding: 30px 30px 32px;
  transition: all 0.3s var(--ease);
}
.pain:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(217, 189, 106, 0.35); transform: translateY(-3px); }
.pain-no {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #d9bd6a;
  font-weight: 700;
}
.pain h3 { font-size: 20px; margin: 12px 0 10px; color: #fff; }
.pain p { color: rgba(255, 255, 255, 0.6); font-size: 15px; line-height: 1.8; }
.pain .fix {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: #8fd6b4;
}

/* ---------- 特点卡片（#highlights） ---------- */
.hl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.hl {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 28px 30px;
  transition: all 0.3s var(--ease);
}
.hl:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(31, 122, 84, 0.25); }
.hl-ico {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--green-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.hl-ico svg { width: 23px; height: 23px; }
.hl h3 { font-size: 18.5px; margin-bottom: 10px; color: var(--ink); }
.hl p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 学生：三段流程 ---------- */
.flow { margin-top: 56px; display: grid; gap: 18px; }
.flow-item {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 34px;
  align-items: start;
  transition: all 0.3s var(--ease);
}
.flow-item:hover { box-shadow: var(--shadow); border-color: rgba(31, 122, 84, 0.22); }
.flow-tag {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.flow-item h3 { font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.flow-item > div > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}
.flow-side { text-align: center; padding-top: 4px; }
.flow-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--green-soft);
  line-height: 1;
  display: block;
}
.flow-side em { font-style: normal; font-size: 13px; color: var(--muted); }

/* ---------- 家长 ---------- */
.parent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.parent-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 28px 26px;
}
.parent-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.parent-card p { font-size: 14.5px; color: var(--muted); line-height: 1.82; }

.quote {
  margin-top: 54px;
  background: var(--gold-soft);
  border-radius: var(--r);
  padding: 42px 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
}
.quote-mark { font-size: 62px; color: var(--gold); line-height: 0.7; font-family: Georgia, "Times New Roman", serif; }
.quote p { font-size: 19px; color: var(--ink); line-height: 1.85; }
.quote small { display: block; margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- 功能矩阵 ---------- */
.fn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.fn {
  background: var(--paper-2);
  border-radius: var(--r);
  padding: 28px 26px;
  transition: all 0.3s var(--ease);
}
.fn:hover { background: var(--green-soft); }
.fn b { font-size: 17px; color: var(--ink); display: block; margin-bottom: 8px; }
.fn p { font-size: 14px; color: var(--muted); line-height: 1.78; }

/* ---------- 硬件推荐（#hardware，京东联盟广告位） ----------
   ⛔ union.js 在「执行瞬间」取文档中最后一个 script 当锚点，异步 JSONP 回来后把
      inline 300×300 的 div + iframe 插到它后面。第 94 批起每个广告位由一段引导
      脚本用 document.write 条件写出「pid + union.js」这一对，位置与顺序和静态写法
      完全等价，锚点仍落在各自的 .hw-adbox 内；小程序 web-view 里一个 iframe 都不建。
   ⛔ 京东后台给这 7 个 pid 下发的都是 300×300（/pre 返回 &w=300&h=300）。
      ⛔ zoom 只缩外框、iframe 内部视口不跟着缩，再被 overflow 一切就把商品图
      下半截（价格、按钮）裁没了 —— 第 94 批改 transform: scale()：对整个渲染
      结果做仿射变换，iframe 内部内容一起等比缩小，点击坐标由浏览器换算。
      ⛔ 不要去改 iframe 的 width/height 来「调小高度」，那同样只会裁内容。
      脚本被拦截 / 本地 file:// 打开时，adbox 仍是规整浅色框，整组不会塌掉。 */
.hw-guide {
  margin: 22px auto 0;
  max-width: 900px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.hw-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.hw-slot {
  min-height: 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  text-align: center;
  overflow: hidden;
}
.hw-tag {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.hw-no {
  display: inline-block;
  margin-right: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 2px 9px;
  line-height: 1.6;
}
/* 缩放后视觉 300*0.72=216；容器固定 216 高，300 的布局盒由 overflow 收口。
   ⛔ max-width 必须放开：压窄 wrap 会让 300 宽的 iframe 横着溢出再被裁。 */
.hw-adbox { height: 216px; overflow: hidden; }
.hw-adbox > div {
  width: 300px;
  height: 300px;
  max-width: none;
  margin: 0 auto;
  transform: scale(0.72);
  transform-origin: top center;
}
.hw-slot iframe { border: 0; max-width: 100%; }
.hw-slot img, .hw-slot table { max-width: 100%; height: auto; }
/* 第 94 批：小程序 web-view 专用文字版，纯静态、零第三方 iframe */
.hw-mp-only {
  display: none;
  margin: 30px auto 0;
  max-width: 620px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
}
.hw-mp-only p { margin: 0 0 12px; }
.hw-mp-only ul { margin: 0 0 12px; padding-left: 1.2em; }
.hw-mp-only li { margin-bottom: 6px; }
html.in-mp .hw-grid, html.in-mp .hw-note { display: none; }
/* 第 120 批：小程序 web-view 也改显静态商品卡（本地图 + 复制返佣链接），
   ⛔ 仍然零第三方 iframe；原纯文字 .hw-mp-only 下线，避免两版要点重复。 */
html.in-mp .hw-mp-only { display: none; }
html.in-mp .hw-mobile { display: block; }
.hw-note {
  margin-top: 22px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- 第 120 批：移动端硬件推荐 · 静态商品卡 ----------
   起因：京东联盟广告位靠 ads-union.jd.com 的 iframe + 360buyimg.com 图片渲染，
   移动端 / 小程序 web-view 受业务域名与第三方资源限制，商品图和链接都出不来。
   改法：商品名、商品图、京东联盟返佣链接全部固化成本地静态卡片，点按钮复制链接，
   用户去京东 APP 粘贴打开 —— 图片走 assets/ 本地资源，页面零 iframe。
   ⛔ 电脑端 (>1024px 且非小程序) 仍显示原 7 个广告位，这段默认不显示。 */
.hw-mobile { display: none; }
.hw-m-lead {
  margin: 22px auto 0;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  text-align: center;
}
.hw-m-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.hw-m-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow);
}
.hw-m-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.hw-m-head .hw-no { margin-right: 0; }
.hw-m-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--paper-2);
  border-radius: 8px;
}
.hw-m-name {
  flex: 1 1 auto;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  word-break: break-word;
}
.hw-m-copy {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s var(--ease);
}
.hw-m-copy:active { background: var(--green-2); }
.hw-m-tip {
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.mode {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px;
  background: var(--white);
  position: relative;
}
.mode.on { border-color: var(--green); box-shadow: var(--shadow); }
.mode .tick {
  position: absolute; top: 20px; right: 20px;
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 700;
}
.mode h4 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.mode .who { font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.mode ul li {
  font-size: 14px; color: var(--muted);
  padding: 5px 0 5px 18px; position: relative;
}
.mode ul li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}

/* ---------- 定价 ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; max-width: 860px; margin-left: auto; margin-right: auto; }
/* 2026-10-28 永久授权板块下架后只剩一张卡：单卡居中占半宽，
   以后加回第二张卡自动恢复两列布局 */
.price-grid > .price:only-child { grid-column: 1 / -1; max-width: 420px; margin-left: auto; margin-right: auto; }
.price {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  padding: 38px 34px;
}
.price.hot { background: rgba(193, 154, 43, 0.12); border-color: rgba(217, 189, 106, 0.45); }
.price h3 { font-size: 20px; color: #fff; margin-bottom: 6px; }
.price .sub { font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.price .num { font-size: 46px; color: #fff; font-weight: 700; margin: 22px 0 4px; line-height: 1; }
.price .num small { font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, 0.6);
text-decoration-line: line-through;    /* 线条类型 */
text-decoration-color: #c19a2b;             /* 颜色 */
text-decoration-thickness: 2px;         /* 粗细 */
text-decoration-style: solid;          /* solid / dashed / dotted / wavy */

 }
.price.hot .num { color: #e9cf85; }
.price ul { margin: 22px 0 26px; }
.price ul li { font-size: 14.5px; color: rgba(255, 255, 255, 0.72); padding: 6px 0 6px 20px; position: relative; }
.price ul li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 7px; height: 7px; border-radius: 50%;
  border: 1.5px solid #8fd6b4;
}
.price .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 50px auto 0; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  transition: color 0.2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 1.6px solid var(--green);
  border-bottom: 1.6px solid var(--green);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq summary:hover { color: var(--green); }
.faq p {
  padding: 0 40px 24px 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}

/* ---------- 模型注册（第 160 批：硬件 → 软件 → 模型服务开通） ----------
   三张等宽步骤卡 + 一句可选项说明 + 手册下载按钮，不铺截图、不引第三方。 */
.model-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 42px auto 0;
}
.model-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.model-no {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 16px; font-weight: 700;
}
.model-step h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.model-step p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.model-note {
  max-width: 820px;
  margin: 26px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
}
.model-cta { margin-top: 28px; text-align: center; }
.model-cta .btn { margin: 0 6px; }

/* ---------- 尾部 CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 55%, #12493a 100%);
  padding: 84px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, 0.62); font-size: 16.5px; margin-bottom: 32px; }
.cta-band .btn { margin: 0 7px; }

/* ---------- 下载区：家长端小程序码（第 74 批） ----------
   深色横幅上用白卡托住小程序码，跟电脑端安装包一起给到家长。
   ⛔ 码是白底 JPG（344×344），只许 contain 缩放，别裁切、别压深色底，否则扫不出来。
   ⛔ .cta-band p 会把段落染成白色并加 32px 下边距，这里必须用更高优先级覆盖回来。 */
/* 第 111 批：#parent-miniapp 直达时让开 fixed 导航（75px）+ 16px 呼吸。
   ⛔ 点链接走 main.js 的 scrollToSection（按 padding-top 算），带 # 直接进页面走浏览器原生定位，
      两条路径都要让二维码整张露出来；别套用 section 的 -13px（.cta-band 不是 section、没有 104px padding）。 */
.mp-card {
  max-width: 680px;
  margin: 30px auto 0;
  scroll-margin-top: 92px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: left;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}
.mp-qr {
  flex: 0 0 164px;
  width: 164px;
  height: 164px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.mp-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mp-txt { flex: 1 1 auto; min-width: 0; }
.mp-kicker {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.mp-card .mp-txt h3 { margin: 0 0 8px; color: var(--ink); font-size: 19px; line-height: 1.4; }
.mp-card .mp-txt p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.mp-hint { display: inline-block; margin-top: 10px; color: var(--green); font-size: 13.5px; font-weight: 600; }

/* 第 112 批：家长小程序码卡片内的「成为推广者」引导。
   ⛔ 用 div/span 不用 p：.cta-band p 会把段落染成白色并加 32px 下边距。
   ⛔ 不新增 a 标签 —— 官网打不开小程序内页，入口只能靠扫码。 */
.mp-promo {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--green-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.mp-promo-tag { flex: none; white-space: nowrap; color: #e46e17; font-weight: 700; }
.mp-promo-txt { flex: 1 1 220px; }
.mp-promo-txt b { color: var(--green); }
.mp-promo-path { flex: 1 1 100%; font-size: 12.5px; color: var(--muted); }

/* ---------- 联系我们 ---------- */
/* 两张码并排（各约 570px），电话占满下面整条。
   ⛔ 别改回三等分：横幅那张是 3.13:1，三分之一宽只剩 ~97px，里面的二维码会小到不好扫 */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 54px; }
.c-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 26px 30px;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.c-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: rgba(31, 122, 84, 0.25); }
/* 第 113 批：服务号横幅（3.13:1）下线后，两格都是 ~0.75 竖版（994×1291 / 950×1296），
   比例一致、统一等高容器即可。高度从 230 提到 280：竖版海报里的码约占图宽 2/3，
   230px 时码径只有 ~115px，偏小不好扫；280px 时约 140px。
   ⛔ 仍只许 contain，别给容器定 aspect-ratio 再 object-fit: cover —— 会把码裁掉，扫不出来 */
.c-qr {
  height: 280px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-qr img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* 第 161 批：视频号二维码点开放大 + 复制名称。
   ⛔ 用户拍板不加任何可见提示语，只用光标暗示可点。 */
.c-qr[data-qr-zoom] { cursor: zoom-in; }
.c-qr[data-qr-zoom]:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 10px; }
.c-copy {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  cursor: pointer;
  margin-top: 14px;
  padding: 10px 22px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s var(--ease);
}
.c-copy:active { background: var(--green-2); }
.c-card h3 { font-size: 18.5px; margin-bottom: 10px; color: var(--ink); }
.c-card p { font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.c-card b { color: var(--green); font-weight: 600; }
.c-ico {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.c-ico svg { width: 36px; height: 36px; }
.c-tel {
  display: inline-block;
  margin-bottom: 10px;
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green);
  transition: color 0.25s var(--ease);
}
.c-tel:hover { color: var(--gold); }
/* 电话卡：整条横排 —— 图标 | 标题+号码 | 说明 */
.c-tel-card {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  text-align: left;
  padding: 24px 30px;
}
.c-tel-card .c-ico { flex: 0 0 auto; width: 68px; height: 68px; }
.c-tel-card .c-ico svg { width: 30px; height: 30px; }
.c-tel-card h3 { margin-bottom: 2px; }
.c-tel-card .c-tel { margin-bottom: 0; }
.c-tel-card p { margin-left: 34px; max-width: 340px; }

/* ---------- 页脚 ---------- */
footer { background: var(--ink); color: rgba(255, 255, 255, 0.5); padding: 56px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; }
.foot-brand b { color: #fff; font-size: 17px; }
.foot-grid h5 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 600; }
.foot-grid li { padding: 5px 0; }
.foot-grid li a:hover { color: #8fd6b4; }
.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}
/* 备案信息：主办单位 + ICP 号。号必须可点、能跳工信部备案系统 */
.foot-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.foot-bottom a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.foot-bottom a:hover { color: #8fd6b4; border-color: #8fd6b4; }
/* 公安备案链接：办下来后放开 index.html 里那段注释；警徽图放 assets/ghs.png（14px） */
.foot-bottom a.ghs img { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }

/* ---------- 滚动淡入 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   界面一览：横向滚动轨道 + 灯箱
   ⛔ 轨道**不套 .wrap 的 padding**（页面两边留白会让卡片"切一半"看着像没排完），
      用 `scroll-padding` + 首尾两张的 `scroll-margin` 自己对齐第一张。
   ⛔ 卡片高度固定 + `object-fit: cover`：截图是 1440×900，不裁的话一张就占满屏高，
      轨道里九张并排会拖出很长的横向滚动条；放大看原图交给灯箱。
   ============================================================ */
/* 2026-11-02 用户要求：翻页按钮挪到滚动区两侧——
   三栏行：左箭头 | 图片轨道(flex:1 撑满剩余宽) | 右箭头；箭头垂直居中。 */
.shots-row { margin-top: 54px; display: flex; align-items: center; gap: 14px; }
/* 第 115 批：电脑端展示区横向撑满网页 —— 突破 .wrap 的 1180px 上限，左右各留 28px。
   ⛔ 只在 >820px 生效：≤820 是第 113 批的移动端规则（隐藏箭头、图片完整不裁），别互相覆盖。
   ⛔ 28px 留白 > Windows 垂直滚动条约 15px，所以 `50vw` 含滚动条也不会冒出水平滚动条。
   公式在 box-sizing:border-box 下自适配：宽屏 50% = 558px，窄屏 50% = 50vw - 32px，两端都对齐。 */
@media (min-width: 821px) {
  .shots-row {
    margin-left: calc(50% - 50vw + 28px);
    margin-right: calc(50% - 50vw + 28px);
  }
}
.shots-rail {
  margin-top: 0;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-left: 4px;
  padding: 4px 4px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.08);
}
.shots-rail::-webkit-scrollbar { height: 8px; }
.shots-rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); border-radius: 99px; }
.shots-rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); border-radius: 99px; }
.shots-rail::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.45); }

/* 第 115 批：电脑端卡片 600×350 → 760×480。760/480 = 1.58，正好贴近 1440×900 界面截图的 1.6，
   `cover` 几乎不再裁掉界面内容，字能看清；宽卡同步放大并与界面卡等高，轨道不会被 stretch 拉出空白。
   ⛔ ≤820px 的移动端仍由第 113 批 width:76vw / height:auto !important 覆盖，这里改不到它。 */
.shot {
  margin: 0;
  flex: 0 0 auto;
  width: 760px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  overflow: hidden;
  cursor: zoom-in;
  position: relative; /* 左上角那枚对话框标签贴着卡片定位 */
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

/* 卡片左上角的白色对话框标签（照着宣传图那枚做的，字是 HTML 不是图，
   免得让模型画中文画出一堆乱码） */
.shot-tag {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 13px;
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.45);
}
.shot.wide { width: 820px; }
.shot:hover {
  transform: translateY(-5px);
  border-color: rgba(193, 154, 43, 0.55);
  background: rgba(255, 255, 255, 0.08);
}
.shot img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: left top;
  background: #0b1f19;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* 场景图是 3:2，默认 `left top` 只留到墙面，这里往回收一点，让书桌和孩子落在画面里。
   第 115 批：宽卡也统一 480px 高，和界面卡等高。 */
.shot.wide img { height: 480px; object-position: center 45%; }
/* ⛔ `tagcut` 是给**带平台水印的生成图**用的：让图片比容器宽 10%，
   `overflow:hidden` 把右侧裁掉一溜 —— 水印正好在那一溜里。
   ❌ 别用 `transform: scale`：那是把位图放大，放大即糊；这里是**裁**，
      卡片只是少看一溜边，清晰度不受影响。
   ⛔ 灯箱里也必须照同一个裁切比例显示（见 `.lb.cut`），
      否则一放大水印就跑出来了。 */
.shot.tagcut img { width: 110%; object-position: left 42%; }

.shot figcaption { padding: 17px 20px 20px; }
.shot figcaption b { display: block; font-size: 15.5px; color: #fff; margin-bottom: 6px; }
.shot figcaption span { font-size: 13px; color: rgba(255, 255, 255, 0.56); line-height: 1.75; }

/* ============================================================
   「一张 AI 书桌，需要这些」清单卡 —— 滚动轨道里的第三张，
   纯 HTML 排版不传图（2026-10-28）。
   ⛔ 类名故意不叫 .shot：main.js 的灯箱/自动播放只认 .shot，
      不带 img 的卡混进去点开就报错；样式里自己复刻卡片骨架。
   ============================================================ */
.shotbox {
  margin: 0;
  flex: 0 0 auto;
  width: 452px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.shotbox:hover {
  transform: translateY(-5px);
  border-color: rgba(193, 154, 43, 0.55);
  background: rgba(255, 255, 255, 0.08);
}
.kit { background: var(--green-soft); padding: 16px; }
.kit-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--green);
  margin: 2px 2px 10px;
}
.kit-title i { width: 13px; height: 13px; border-radius: 50%; background: var(--green-2); flex: 0 0 auto; }
.kit-card { background: var(--white); border-radius: var(--r-sm); padding: 12px; }
.kit-card + .kit-card { margin-top: 10px; }
.kit-card.green { background: #e0efe7; }
.kit-h { font-size: 13.5px; font-weight: 700; color: var(--green); margin: 1px 2px 6px; }
.kit-h small { font-size: 11.5px; font-weight: 500; color: var(--muted); margin-left: 6px; }
.kit-list { list-style: none; margin: 0; padding: 0; }
.kit-list li { display: flex; gap: 9px; align-items: flex-start; padding: 5px 2px; }
.kit-list li + li { border-top: 1px solid #edf1ed; }
.kit-list em {
  font-style: normal; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px;
  border-radius: 50%; background: #dbeee3; color: var(--green);
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.kit-list p { margin: 0; font-size: 12.5px; line-height: 1.45; color: #4a554e; }
.kit-list b { color: var(--ink); margin-right: 3px; }
.kit-card > p { margin: 0; font-size: 12.5px; line-height: 1.5; color: #4a554e; }
.kit-card > p + p { margin-top: 4px; }
.kit mark { background: none; color: #d97b06; font-weight: 600; padding: 0; }

/* 2026-11-02 用户要求：按钮挪到滚动区两侧后加大（56px / 图标 34px），点起来不费劲 */
.rail-btn {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  padding: 0 0 4px; /* ‹ › 字形偏上，垫一点让它视觉居中 */
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.rail-btn:hover { background: var(--green); border-color: var(--green); }
.shots-hint { margin-top: 14px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.42); }
/* 第 113 批：提示按端切换，≤820 的移动端不提「点箭头」（那两个按钮已隐藏）。 */
.hint-mobile { display: none; }

/* ============================================================
   第 114 批：家长端微信小程序 —— 界面一览里「电脑端展示」下方的独立子区块。
   ⛔ 不复用 .shot / .shots-rail：那条轨道的卡是 350px 定高 + object-fit:cover，
      还挂着灯箱和自动播放；9:20 竖屏截图套进去只剩顶部一条，也会扰乱滚动步长。
      这里自己一套类，图片各断点都按原比例完整显示；点开走新标签看原图，main.js 不动。
   ⛔ >1024px 一排 5 张铺满；≤1024px 改横向 scroll-snap 轨道，不再挤成 5 条细缝。
   ============================================================ */
.mp-app-block {
  margin-top: 68px;
  padding-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.mp-app-title { margin: 0 0 10px; color: #fff; font-size: clamp(22px, 2.4vw, 30px); }
.mp-app-lead {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}
.mp-app-rail {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.mp-app-card {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.mp-app-card:hover { transform: translateY(-5px); border-color: rgba(193, 154, 43, 0.55); }
.mp-app-card a { display: block; cursor: zoom-in; }
.mp-app-card img {
  display: block;
  width: 100%;
  height: auto; /* ⛔ 别定高 + cover，会把手机截图裁掉 */
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mp-app-card figcaption { padding: 12px 14px 16px; }
.mp-app-card figcaption b { display: block; margin-bottom: 4px; color: #fff; font-size: 15px; }
.mp-app-card figcaption span { display: block; color: rgba(255, 255, 255, 0.56); font-size: 13px; line-height: 1.7; }
.mp-app-hint { margin-top: 14px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.42); }

/* ---------- 灯箱 ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 18, 14, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 56px 40px 78px;
  /* 第 122 批：横向手势交给灯箱自己翻页，别被浏览器当成页面滚动吃掉 */
  touch-action: pan-y;
}
.lb.on { display: flex; }
/* 常规图：完整显示，不裁 —— 框贴着图片走，标签才不会飘到图外 */
.lb-frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  display: flex;
}
.lb-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
}
/* 带水印的生成图：用与宽卡同一个比例（820 : 480）的固定裁切框，右侧一溜落在框外
   ⚠️ 第 115 批同步：1.708 = 820 / 480，必须跟着 .shot.wide 宽度 / .shot.wide img 高度走 */
.lb.cut .lb-frame {
  display: block;
  width: min(92vw, calc(82vh * 1.708));
  aspect-ratio: 1.708;
}
.lb.cut .lb-frame img {
  width: 110%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: left 42%;
  border-radius: 0;
}

/* 灯箱里那枚白色对话框标签（与卡片同源，字是 HTML） */
.lb-tag {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 2;
  display: none;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 14px 14px 14px 3px;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.45);
}
.lb.has-tag .lb-tag { display: block; }
.lb-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13.5px;
  padding: 0 30px;
}
/* 第 122 批：放大后显示「第几张 / 共几张」，左右切换时有反馈。
   纯数字，不改任何既有文案；顶部居中，与右上角关闭按钮错开。 */
.lb-count {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-btn:hover { background: var(--green); border-color: var(--green); }
.lb-x { top: 20px; right: 24px; width: 42px; height: 42px; font-size: 20px; }
.lb-arrow { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 24px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
/* 第 161 批：灯箱「单图模式」——二维码放大时不带页码、左右箭头与图注，
   图片仍按 92vw / 82vh 撑到接近满屏，方便长按识别或另一台手机扫。 */
.lb.single .lb-arrow, .lb.single .lb-count, .lb.single .lb-cap { display: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 90px 0 80px; }
  .hl-grid, .fn-grid, .parent-grid, .modes, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  /* 第 120 批：移动端一级菜单不再藏进右上角汉堡按钮，改成常驻视口左侧的窄竖栏。
     ⛔ 宽度小（--rail-w）、字号 13px，body 整体右移让出这条，避免侧栏压住正文；
        >1024px 电脑端仍是顶部横排菜单。
     ⛔ 原 .nav-links.open 下拉规则整组删除：菜单现在恒可见，不再需要展开态。 */
  :root { --rail-w: 76px; }
  body { padding-left: var(--rail-w); }
  .nav-inner { gap: 0; }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 74px;
    /* ⛔ 第 120 批实测修正：滚过 12px 后 .nav.stuck 会带 backdrop-filter，
       它让 .nav 变成 fixed 子元素的包含块，此时 bottom:0 只按 .nav 那 74px 高算，
       侧栏会塌成 38px、只剩「首页」一项（页面顶部没滚时看不出来）。
       改成显式视口高度，滚动前后都撑满；overflow-y:auto 仍给小屏留竖滚。 */
    height: calc(100vh - 74px);
    width: var(--rail-w);
    margin-left: 0;
    gap: 3px;
    padding: 14px 6px 24px;
    background: rgba(251, 250, 246, 0.96);
    backdrop-filter: saturate(160%) blur(12px);
    border-right: 1px solid var(--line);
    box-shadow: 8px 0 26px -22px rgba(14, 42, 33, 0.6);
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 99;
  }
  .nav-links a {
    font-size: 13px;
    line-height: 1.35;
    padding: 9px 2px;
    text-align: center;
    white-space: nowrap;
    border-radius: 8px;
  }
  .nav-links a:hover, .nav-links a.active {
    color: var(--green);
    background: var(--green-soft);
  }
  .nav-links a.active::after { display: none; }
  .burger { display: none; }
  .nav-cta { display: none; }
  /* 第 115 批 full-bleed 公式建立在 body 无左内边距上；这里被 --rail-w 顶偏，
     移动端收回普通边距，避免图片轨道往左溢出到侧栏底下。 */
  .shots-row { margin-left: 0; margin-right: 0; }
  /* 移动端硬件推荐：隐掉京东联盟 iframe 广告位，改显本地静态商品卡 */
  .hw-grid { display: none; }
  .hw-mobile { display: block; }
  .hw-note-desktop { display: none; }
  /* 第 114 批：≤1024 五列会挤成细条，家长端截图改横滑轨道，一次看 3~4 张 */
  .mp-app-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    padding: 4px 4px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.08);
  }
  .mp-app-rail::-webkit-scrollbar { height: 8px; }
  .mp-app-rail::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.08); border-radius: 99px; }
  .mp-app-rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.3); border-radius: 99px; }
  .mp-app-card { flex: 0 0 220px; scroll-snap-align: start; }
  /* 第 116 批：手机/平板横滑时竖图不再按 9:20 撑到 700+px 高。
     固定 460px 高 + contain 完整显示（不裁内容），220px 卡宽下两侧仅约 6px 浅底；
     >1024px 的五列 grid 仍是 height:auto 完整竖图，不受影响。 */
  .mp-app-card img {
    height: 460px;
    object-fit: contain;
    background: #f5f7f5;
  }
}

@media (max-width: 820px) {
  /* 这里 padding 是 76px，算法同上：75 + 16 - 76 = 15px */
  section { padding: 76px 0; scroll-margin-top: 15px; }
  .wrap { padding: 0 22px; }
  .nav-inner { padding: 0 22px; }
  .pain-grid, .price-grid { grid-template-columns: 1fr; }
  /* 第 160 批：模型注册三步卡在平板/手机改单列，文字不挤成竖条 */
  .model-steps { grid-template-columns: 1fr; }
  .flow-item { grid-template-columns: 1fr; gap: 16px; padding: 26px; }
  .flow-side { display: flex; align-items: center; gap: 14px; text-align: left; }
  .flow-num { font-size: 30px; }
  .quote { grid-template-columns: 1fr; padding: 30px 26px; gap: 12px; }
  .quote-mark { font-size: 46px; }
  /* 第 113 批：≤820 按移动端处理 —— 图片完整显示、两侧箭头下线，靠手指左右滑动翻看。
     ⛔ 电脑端（>820）仍保留两侧箭头与固定高度 cover 排版，别把这套提到全局。
     ⛔ height:auto 带 !important 是为了压掉 scene-desk2.jpg 上的 inline height:100%，
       那张卡是用户直接加的，⛔ 不改 HTML。 */
  .shot, .shot.wide, .shotbox { width: 76vw; }
  .shots-row { gap: 0; }
  .rail-btn.side { display: none; }
  /* 第 122 批：移动端轨道不再被最高的那张卡撑开。
     ⛔ 图片依旧按原比例完整显示（contain，不裁）；只把「卡片高度」统一，
        让滚动条紧贴卡片底，而不是悬在图片下方几百像素处。
     ⛔ 桌面端（>820）固定 480px cover + 610px 等高那一套一行不动。
     ⛔ height:auto 的 !important 仍保留，压掉 scene-desk2.jpg 上的 inline height。 */
  .shots-rail { align-items: stretch; padding-bottom: 12px; }
  .shot, .shot.wide, .shotbox {
    display: flex;
    flex-direction: column;
    height: 460px;
  }
  .shot img, .shot.wide img {
    height: auto !important;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;
  }
  .shot figcaption { flex: 0 0 auto; }
  /* 清单卡文字比截图卡多：卡内自己上下滚，既不裁内容，也不把整条轨道撑高。
     中等屏把它放宽到桌面原宽 452px，文字少换行、几乎不用滚。 */
  .shotbox { width: 452px; }
  .shotbox .kit { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
  .hint-desktop { display: none; }
  .hint-mobile { display: inline; }
  /* 第 116 批：不再按 vw 把竖卡越放越宽（82vw 时图会撑到 700+px 高），
     统一封顶 220px，与 ≤1024 的 460px 定高 contain 配套，整图完整不裁 */
  .mp-app-block { margin-top: 52px; padding-top: 36px; }
  .mp-app-card { flex-basis: min(68vw, 220px); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  /* 硬件推荐：中等屏幕一行 2 个，京东卡仍能完整显示 */
  .hw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  /* 第 120 批：窄屏把左侧菜单再收窄一档，给正文留宽度 */
  :root { --rail-w: 64px; }
  .nav-links a { font-size: 12px; padding: 8px 2px; }
  /* 静态商品卡改一列，商品名与「复制链接」按钮完整可读 */
  .hw-m-grid { grid-template-columns: 1fr; }
  .hw-m-lead { font-size: 14px; text-align: left; }
  .hl-grid, .fn-grid, .parent-grid, .modes, .contact-grid { grid-template-columns: 1fr; }
  /* 硬件推荐：窄屏一行 1 个，选型要点独占一行 */
  .hw-grid { grid-template-columns: 1fr; }
  .hw-guide { text-align: left; }
  .hw-mp-only { padding: 20px 16px; font-size: 15px; }
  .c-tel-card { flex-direction: column; align-items: flex-start; gap: 16px; }
  .c-tel-card p { margin-left: 0; max-width: none; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .hero-actions .btn { width: 100%; }
  /* 第 113 批：箭头已在 ≤820 隐藏，卡片直接吃满轨道宽度，一次一张；说明区收紧一点 */
  .shot, .shot.wide, .shotbox { width: 100%; }
  .shot figcaption { padding: 14px 16px 16px; }
  /* 第 122 批：窄屏再收一档（380px 卡高 / 200px 图框），
     最长的「书桌实拍」说明是 179px，200+179=379 刚好放得下，不会被 overflow:hidden 裁字。 */
  .shot, .shot.wide, .shotbox { height: 380px; }
  .shot img, .shot.wide img { max-height: 200px; }
  .lb { padding: 56px 16px 76px; }
  /* 第 122 批：手机上放大后箭头要看得见、点得到。
     原来 40px + 10% 白底压在图上几乎看不出，放大到 46px 并加深底色。 */
  .lb-arrow {
    width: 46px;
    height: 46px;
    font-size: 26px;
    background: rgba(6, 18, 14, 0.62);
    border-color: rgba(255, 255, 255, 0.45);
  }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; margin: 6px 0 0; }
  /* 第 160 批：手册下载按钮在窄屏吃满一行，好点 */
  .model-cta .btn { width: 100%; margin: 6px 0 0; }
  /* 第 74 批：窄屏小程序卡改纵向堆叠，二维码居中、文字居中，别让 164px 图挤掉正文 */
  .mp-card { flex-direction: column; text-align: center; gap: 16px; padding: 20px 18px; }
  .mp-qr { flex: 0 0 auto; }
  /* 第 116 批：窄屏同样封顶 220px，说明区收紧 */
  .mp-app-card { flex-basis: min(82vw, 220px); }
  .mp-app-lead { font-size: 14px; }
  .mp-app-card figcaption { padding: 12px 14px 14px; }
}
