/* assets/css/pricing-1107.css —— 价格页整改（2026-11-07 · 文案整改方案 v1.0）专属样式
   ============================================================
   为什么单独一个文件、而不是继续往 blueprint-pages.css 里追加：
   那份文件已经贴着 300 行的门禁线（本轮追加后 313 > 300），而门禁的处置意见写得很清楚——
   「新增部分拆到新文件里」。这些规则只服务 pricing.html（骨架屏 / 通栏年包卡 /
   政务轨说明块 / 同题不同价 / 三轨对比表 / 页脚关于价格），本来也不该由全站共用。
   只在 pricing.html 引入：别的页面没有这些结构，多引一份就是多一次请求。 */
/* ============================================================
   价格页整改（2026-11-07 · 文案整改方案 v1.0）
   ------------------------------------------------------------
   本段只服务 pricing.html 新增/改造的几块：骨架屏、通栏年包卡、
   政务说明块、R 点换算、页脚「关于价格」、三轨对比表。
   沿用同一套语言：纸面 + 石墨字 + 1px 线 + 零圆角 + 橙色只给主 CTA。
   ============================================================ */

/* ---------- 骨架屏（§3 第 11 项） ----------
   原来的空态是一行「正在加载档位…」，网慢时整屏像坏页。
   骨架屏先占住卡片的轮廓：宽度、行数、间距都按真卡片来，
   数据到了原地替换，不跳版。动画只做透明度呼吸，不做位移。 */
.plan-sk-card { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; border: 1px solid var(--line-c); background: var(--paper); }
.sk { display: block; height: 12px; background: var(--paper-2); animation: skbreath 1.4s ease-in-out infinite; }
.sk--t { height: 20px; width: 56%; }
.sk--p { height: 30px; width: 42%; }
.sk--l { height: 10px; width: 100%; }
.sk--l:nth-of-type(4) { width: 82%; }
.sk--l:nth-of-type(5) { width: 64%; }
@keyframes skbreath { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* ---------- 卡片内 R 点换算（§3 第 8 项） ----------
   「2,000 R 点/月」是抽象单位，客户没法自估用量；
   换算行用钢灰小字贴着限额清单，读起来是注解，不抢价格。 */
.plan-cred { font-family: var(--mono); font-size: var(--fs-sm); color: var(--steel); line-height: 1.6; margin: 10px 0 0; padding-left: 12px; border-left: 2px solid var(--line-c); }

/* ---------- 无公开金额档位（旗舰版） ---------- */
.plan-quote { margin: 10px 0 2px; }
.plan-quote b { display: block; font-size: 22px; font-weight: 800; color: var(--graphite); letter-spacing: 0; }
.plan-quote .hint { display: block; margin-top: 2px; }

/* ---------- 承诺行收口（§3 第 10 项） ---------- */
.plan-promise { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line-c); font-family: var(--mono); font-size: var(--fs-sm); color: var(--steel); letter-spacing: .04em; }
.plan-promise[hidden] { display: none; }

/* ---------- 通栏年包卡（§3 第 7 项） ----------
   1.99 万到 14 万之间原本没有台阶。这一档只标年付，所以给一整行：
   价格、含什么、怎么买三段并列，读完就知道它不属于上面那排月付档位。 */
#plan-band[hidden] { display: none; }
#plan-band { margin-top: 22px; }
.card--band { display: grid; grid-template-columns: minmax(240px, 1.05fr) minmax(260px, 1.35fr) minmax(200px, .8fr); gap: 28px; align-items: start; border: 1px solid var(--graphite); background: var(--paper); padding: 26px 28px; }
.card--band .chip { display: inline-block; margin-bottom: 8px; }
.card--band h3 { font-size: 20px; font-weight: 800; color: var(--graphite); letter-spacing: 0; }
.card--band .band__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.card--band .band__list .ticks { margin: 0; }
.card--band .band__cta .plan-cta { display: flex; flex-direction: column; gap: 8px; }
.card--band .band__cta .plan-cta .btn { width: 100%; text-align: center; margin: 0; }
@media (max-width: 900px) {
  .card--band { grid-template-columns: 1fr; gap: 18px; }
  .card--band .band__list { grid-template-columns: 1fr; }
}

/* ---------- 政务 / 园区轨说明块（§3 第 9 项） ----------
   这一栏不再加载档位：三段口径 + 一个「获取方案书」。
   刻意做成三栏并列的声明，而非卡片 —— 卡片会再次暗示「这里也有价」。 */
.ent-panel-wrap { display: block; }
.ent-panel { border: 1px solid var(--line-c); background: var(--paper); padding: 0; }
.ent-panel__cell { padding: 22px 24px; border-bottom: 1px solid var(--line-c); }
.ent-panel__cell:last-of-type { border-bottom: 0; }
.ent-panel__cell h3 { font-size: 16px; font-weight: 800; color: var(--graphite); letter-spacing: 0; margin-bottom: 6px; }
.ent-panel__cell p { font-size: 14.5px; line-height: 1.85; color: #3A3E42; max-width: 780px; }
.ent-panel__foot { display: flex; flex-wrap: wrap; gap: 12px; padding: 22px 24px; background: var(--paper-2); border-top: 1px solid var(--graphite); }
@media (min-width: 861px) {
  .ent-panel { display: grid; grid-template-columns: repeat(3, 1fr); }
  .ent-panel__cell { border-bottom: 1px solid var(--line-c); border-right: 1px solid var(--line-c); }
  .ent-panel__cell:nth-of-type(3) { border-right: 0; }
  .ent-panel__cell p { max-width: none; }
  .ent-panel__foot { grid-column: 1 / -1; }
}

/* ---------- 同题不同价（§3 末段） ---------- */
.why-gap { font-size: 16px; line-height: 1.95; color: #2E3236; max-width: 860px; }
.why-gap b { color: var(--graphite); font-weight: 700; }

/* ---------- 三轨对比表（§7 第 3 项） ---------- */
.tb--tracks th:first-child { width: 116px; text-align: left; color: var(--steel); font-weight: 500; }
.tb--tracks thead th { text-align: left; }
.tb--tracks tbody th { font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: .04em; color: var(--steel); font-weight: 500; white-space: nowrap; }
.tb--tracks tbody td { font-size: 14.5px; line-height: 1.7; vertical-align: top; }
.tb--tracks tbody tr:last-child th, .tb--tracks tbody tr:last-child td { border-bottom: 0; }

/* ---------- 页脚「关于价格」（§3 第 12 项） ---------- */
.price-foot { border-top: 1px solid var(--graphite); background: var(--paper-2); padding: 34px 0 38px; }
.price-foot__in h3 { font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: .18em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.price-foot__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 32px; }
.price-foot__list li { font-size: 14px; line-height: 1.85; color: #3A3E42; padding-top: 12px; border-top: 1px solid var(--line-c); }
.price-foot__list b { display: block; margin-bottom: 4px; font-size: 14.5px; color: var(--graphite); font-weight: 700; }
@media (max-width: 860px) { .price-foot__list { grid-template-columns: 1fr; } }

/* 「同题不同价」标题里的价格位：它是标题的一部分，不是价格牌 ——
   字重跟随标题，只用橙色告诉读者「这里是个真数，不是修辞」。 */
.why-gap__price { color: var(--mark); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ================================================================
   静态兜底价（2026-11-14 新增）
   ----------------------------------------------------------------
   这块由 tools/rectify/gen-pricing-static.js 从 server/admin/plans.json
   生成，**不要手工改 HTML 里的金额** —— 下次生成会覆盖。
   存在的意义：广告审核与搜索引擎不执行 JS，改造前它们抓到的是一张
   没有价格的价目表；接口抖动时访客看到的是骨架屏。
   JS 成功渲染实时档位后，这块会被隐藏（pricing.js 的 hideStatic()）。
   ================================================================ */
.plan-static {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.plan-static[hidden] { display: none !important; }
.plan-static__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-radius: var(--radius-md, 10px);
  text-align: left;
}
.plan-static__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy, #071B33);
  margin: 0;
}
.plan-static__price {
  margin: 2px 0 0;
  line-height: 1.1;
  color: var(--navy, #071B33);
}
.plan-static__price b {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.plan-static__price i {
  font-style: normal;
  font-size: 13px;
  color: rgba(7, 27, 51, 0.55);
  margin-left: 4px;
}
.plan-static__feats {
  margin: 4px 0 10px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(7, 27, 51, 0.72);
}
.plan-static__card .btn { margin-top: auto; }
.plan-static__note {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(7, 27, 51, 0.62);
  margin: 10px 0 18px;
}
.plan-static__note[hidden] { display: none !important; }
.plan-static__warn {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(196, 154, 74, 0.16);
  color: #8a6a1f;
  font-weight: 600;
}
