/* 定价页与账户页
   延续设计系统:1px 缝隙拼接、等宽数字、语义色。
   价格页最容易滑向「三张浮空圆角卡 + 紫色渐变」的模板长相,
   这里刻意用与看板同一套表格化结构,让它看起来是同一个产品的一部分。 */

.price-page { padding: 56px 0 88px; }

.price-head { text-align: center; margin-bottom: 40px; }
.price-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px;
  letter-spacing: -1.1px; font-weight: 700; }
.price-head p { color: var(--text-2); font-size: 15px; margin: 0 auto 26px; max-width: 52ch; }

.cycle-switch { display: inline-flex; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.cyc { border: 0; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 9px 18px; background: var(--surface); color: var(--text-2); transition: background .14s, color .14s; }
.cyc:hover { background: var(--surface-2); color: var(--text); }
.cyc.cur { background: var(--accent); color: var(--on-accent); }
.cyc em { font-style: normal; font-size: 11.5px; opacity: .85; margin-left: 5px; }

/* ── 套餐卡 ── */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; }
.plan-loading { grid-column: 1 / -1; background: var(--surface);
  padding: 60px; text-align: center; color: var(--text-3); }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; } }

.plan { background: var(--surface); padding: 30px 26px 26px; display: flex; flex-direction: column;
  position: relative; }
/* 推荐款靠顶部一条实线标出,而不是靠放大和阴影 —— 那是模板做法 */
.plan.featured { box-shadow: inset 0 3px 0 0 var(--accent); }
.plan.current { background: var(--accent-dim); }
.badge { position: absolute; top: 0; right: 0; background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-bottom-left-radius: var(--radius-sm);
  letter-spacing: .02em; }
.plan h3 { margin: 0 0 5px; font-size: 18px; font-weight: 650; letter-spacing: -.3px; }
.plan-desc { margin: 0 0 22px; color: var(--text-3); font-size: 13px; min-height: 2.6em; }

.price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.price .cur-sym { font-size: 19px; font-weight: 600; color: var(--text-2); }
.price .amt { font-family: var(--mono); font-variant-numeric: tabular-nums;
  font-size: 40px; font-weight: 700; letter-spacing: -1.5px; line-height: 1; }
.price .unit { font-size: 14px; color: var(--text-3); margin-left: 3px; }
.price .free { font-size: 34px; font-weight: 700; letter-spacing: -1px; }
.permo { font-size: 12.5px; color: var(--up); margin-bottom: 4px; font-weight: 600; }

.limits, .feats { list-style: none; padding: 0; margin: 20px 0 0; }
.limits { border-top: 1px solid var(--line); padding-top: 16px; }
.limits li { font-size: 13.5px; padding: 4px 0; color: var(--text); font-weight: 550; }
.feats { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--hairline); flex: 1; }
.feats li { font-size: 13px; padding: 3.5px 0; display: flex; gap: 8px; align-items: center; }
.feats li.on { color: var(--text-2); }
.feats li.off { color: var(--text-3); }
.feats .mk { width: 14px; flex: none; text-align: center; font-weight: 700; }
.feats li.on .mk { color: var(--up); }
.feats li.off .mk { color: var(--line-strong); }

.plan .btn { margin-top: 22px; justify-content: center; }
.plan .btn[disabled] { opacity: .55; cursor: default; }

/* ── 功能对比表 ── */
.compare { margin-top: 64px; }
.compare h2, .faq-box h2 { font-size: 21px; margin: 0 0 18px; font-weight: 650; letter-spacing: -.4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.cmp-table th, .cmp-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--surface-2); font-weight: 650; font-size: 13px;
  position: sticky; top: 0; }
.cmp-table tbody th { font-weight: 500; color: var(--text-2); background: var(--surface); }
.cmp-table td { background: var(--surface); text-align: center; }
.cmp-table td.yes { color: var(--up); font-weight: 700; }
.cmp-table td.no { color: var(--line-strong); }
.cmp-table td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.cmp-table tbody tr:last-child th, .cmp-table tbody tr:last-child td { border-bottom: 0; }

/* ── 常见问题 ── */
.faq-box { margin-top: 60px; }
.faq-box dl { margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); }
.faq-box dt { font-weight: 650; font-size: 14px; padding: 16px 20px 0; }
.faq-box dd { margin: 6px 0 0; padding: 0 20px 16px; color: var(--text-2); font-size: 13.5px;
  border-bottom: 1px solid var(--line); line-height: 1.7; }
.faq-box dd:last-child { border-bottom: 0; }

/* ── 收银台 ── */
.pay-summary { border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); padding: 14px 16px; margin-bottom: 20px; }
.pay-summary .row { display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; font-size: 13.5px; color: var(--text-2); }
.pay-summary .row b { color: var(--text); font-weight: 600; }
.pay-summary .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 11px; }
.pay-summary .total b { font-size: 20px; font-family: var(--mono); font-variant-numeric: tabular-nums; }

.pay-label { font-size: 12.5px; color: var(--text-3); margin-bottom: 9px; }
.channels { display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.ch { display: flex; align-items: center; gap: 10px; padding: 12px 15px;
  background: var(--surface); cursor: pointer; font-size: 13.5px; transition: background .14s; }
.ch:hover { background: var(--surface-2); }
.ch.disabled { cursor: not-allowed; color: var(--text-3); }
.ch.disabled:hover { background: var(--surface); }
.ch input { accent-color: var(--accent); }
.ch-name { font-weight: 550; }
.ch.disabled .ch-name { font-weight: 400; }
/* 未开通的渠道如实标出还差什么,而不是假装不存在 */
.ch-note { margin-left: auto; font-size: 11.5px; color: var(--text-3);
  background: var(--surface-3); border-radius: 4px; padding: 2px 7px; }

.pay-err { margin-top: 14px; font-size: 13px; color: var(--down);
  background: var(--down-soft); border: 1px solid var(--down-line);
  border-radius: var(--radius-sm); padding: 9px 12px; }
