/* ==========================================================================
   VPNPF — components.css
   首屏装置(寻路台)/ 线路表 / 套餐卡 / 平台卡 / 文章卡 / tab / toc / FAQ /
   文末推广块 / 设计预览辅助类
   ========================================================================== */

/* ==========================================================================
   1. Hero 文案列 + 极光氛围层
   ========================================================================== */
.hero {
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  padding-top: 40px;
  padding-bottom: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: calc(-1 * var(--header-h)) 0 45% 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--aurora-lift), transparent 70%),
    linear-gradient(112deg, var(--aurora-a), var(--aurora-b));
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero .wrap { position: relative; z-index: 1; }

.copy {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  position: relative; z-index: 2;
}
.copy h1 { margin-top: 20px; max-width: 14ch; }
.copy .sub {
  margin-top: 16px; font-size: 19px; line-height: 1.5;
  color: var(--text-muted); max-width: 820px;
}
.copy .sub strong { font-weight: 500; color: var(--text); }

.cta-row { margin-top: 28px; display: flex; align-items: center; gap: 28px; }

.trust {
  margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  list-style: none;
}
.trust li {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 34px; padding: 6px 14px;
  border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg-panel);
  font-size: 13px; color: var(--text-muted); white-space: nowrap;
}
.trust li svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--text); }

/* ==========================================================================
   2. 首屏装置:左虹彩面 + 深墨线路窗口 / 右接入面板
   ========================================================================== */
.stage {
  margin-top: 40px;
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  height: 430px;
}
.stage-left, .stage-right { position: relative; min-width: 0; }

.panel {
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px var(--hl-panel),
    0 28px 48px -14px var(--shadow-indigo-2),
    0 3px 10px var(--shadow-indigo);
}

/* ---- 左面板:虹彩渐变面 ---- */
.iris { background: linear-gradient(158deg, var(--iris-base-a), var(--iris-base-b)); }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); will-change: transform; }
.blob-a {
  width: 62%; height: 120%; left: -12%; top: -30%;
  background: radial-gradient(closest-side, var(--iris-pink), transparent);
  animation: drift-a 46s ease-in-out infinite alternate;
}
.blob-b {
  width: 58%; height: 130%; right: -10%; top: -40%;
  background: radial-gradient(closest-side, var(--iris-cyan), transparent);
  animation: drift-b 54s ease-in-out infinite alternate;
}
.blob-c {
  width: 70%; height: 110%; left: 20%; bottom: -55%;
  background: radial-gradient(closest-side, var(--iris-lav), transparent);
  animation: drift-c 60s ease-in-out infinite alternate;
}
@keyframes drift-a { from { transform: translate(0, 0); } to { transform: translate(6%, 4%); } }
@keyframes drift-b { from { transform: translate(0, 0); } to { transform: translate(-5%, 6%); } }
@keyframes drift-c { from { transform: translate(0, 0); } to { transform: translate(-4%, -5%); } }

.grain {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .035; pointer-events: none; mix-blend-mode: multiply;
}

/* ---- 深墨客户端窗口 ---- */
.win {
  position: absolute; left: 50%; top: 56px; transform: translateX(-50%);
  width: 600px; max-width: calc(100% - 64px);
  background: var(--ink); border-radius: var(--r-md); color: var(--on-ink);
  box-shadow:
    inset 0 1px 0 var(--hl-ink),
    0 30px 40px -12px var(--shadow-ink),
    0 2px 8px var(--shadow-ink);
}
.win-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px; border-bottom: 1px solid var(--rule-ink);
}
.win-title { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--on-ink); }
.win-title .lights { display: flex; gap: 5px; margin-right: 4px; }
.win-title .lights i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-ink);
}
.win-title .mini {
  width: 18px; height: 18px; border-radius: 5px; background: var(--ink-2);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--rule-ink);
}
.win-title .mini svg { width: 11px; height: 11px; }
.win-pill {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px;
  border-radius: var(--r-pill); border: 1px solid var(--accent-light);
  color: var(--accent-light); font-size: 11.5px; letter-spacing: .02em; white-space: nowrap;
}
.win-body { padding: 6px 16px 12px; }

.routes { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 13px; }
.routes th {
  text-align: left; font-weight: 400; font-family: var(--font-body); font-size: 11.5px;
  letter-spacing: .04em; color: var(--on-ink-muted);
  padding: 9px 10px 8px; border-bottom: 1px solid var(--rule-ink); white-space: nowrap;
}
.routes td {
  padding: 9px 10px; border-top: 1px solid var(--rule-ink);
  color: var(--on-ink); white-space: nowrap;
}
.routes tr:first-child td { border-top: 0; }
.routes td.dim { color: var(--on-ink-muted); }
.routes td.tag-cell span {
  display: inline-block; padding: 1px 7px; border-radius: var(--r-sm);
  background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--rule-ink); font-size: 12px;
}
.win-note { margin-top: 8px; font-size: 12px; color: var(--on-ink-muted); font-family: var(--font-body); }

/* ---- 黄铜金罗盘徽章 ---- */
.compass {
  position: absolute; top: -16px; right: -16px; z-index: 4;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent-light), var(--accent) 55%, var(--accent-dark));
  box-shadow:
    inset 0 1px 0 var(--hl-ink),
    0 12px 26px var(--shadow-brass),
    0 2px 6px var(--shadow-brass);
  display: grid; place-items: center;
}
.compass::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid var(--hl-ink); }
.compass svg { width: 26px; height: 26px; position: relative; z-index: 1; }

/* ---- 右面板:接入面板 ---- */
.access {
  background: linear-gradient(180deg, var(--access-tint), transparent 60%), var(--bg-panel);
  padding: 22px 24px 20px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.sec { display: flex; flex-direction: column; gap: 10px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sec-label { font-size: 11.5px; letter-spacing: .06em; color: var(--text-muted); white-space: nowrap; }
.sec-code { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); white-space: nowrap; }

.plat, .flags { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; list-style: none; }
.plat li, .flags li {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 8px 0 6px; border-radius: var(--r-sm);
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--border);
  min-width: 0;
}
.plat li svg { width: 24px; height: 24px; color: var(--text); flex-shrink: 0; }
.plat li span, .flags li span { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
.flags li svg {
  width: 28px; height: 20px; border-radius: 3px; flex-shrink: 0;
  box-shadow: 0 1px 2px var(--shadow-indigo);
}

.f-red { fill: var(--flag-red); }
.f-blue { fill: var(--flag-blue); }
.f-white { fill: var(--flag-white); }
.f-black { fill: var(--flag-black); }
.f-gold { fill: var(--flag-gold); }

.facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.facts li {
  display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px;
  border-radius: var(--r-pill); border: 1px solid var(--accent);
  color: var(--accent-dark); font-size: 12px; white-space: nowrap;
}
.facts li b { font-family: var(--font-mono); font-weight: 500; margin-right: 3px; }

.signup { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 7px; }
.signup svg { width: 13px; height: 13px; color: var(--success); flex-shrink: 0; }

/* ---- 缝合胶囊 ---- */
.pay-pill {
  position: absolute; bottom: 0; z-index: 4;
  left: calc((100% - 24px) * 2 / 3 + 12px);
  transform: translate(-50%, 45%);
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 38px; padding: 0 18px;
  border-radius: var(--r-pill); background: var(--bg-panel); color: var(--text);
  font-size: 13px; white-space: nowrap;
  box-shadow:
    inset 0 0 0 1px var(--hl-panel),
    0 14px 28px var(--shadow-indigo-2),
    0 2px 6px var(--shadow-indigo);
}
.pay-pill svg { width: 14px; height: 14px; color: var(--text-muted); flex-shrink: 0; }
.pay-pill i { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }

/* ==========================================================================
   3. 卖点拼盘 1 + 4 + 1(无卡纯排版)
   ========================================================================== */
.feature-lead {
  display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.feature-ico { width: 64px; height: 64px; color: var(--accent); flex-shrink: 0; }
.feature-ico svg { width: 64px; height: 64px; }
.feature-lead h3 { font-size: 22px; }
.feature-lead p { margin-top: 10px; color: var(--text-muted); max-width: 62ch; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; }
.feature-item { padding: 28px 26px; min-width: 0; border-bottom: 1px solid var(--border); }
.feature-item:nth-child(odd) { border-right: 1px solid var(--border); }
.feature-item:nth-child(n+3) { padding-left: 58px; }
.feature-item .ico { width: 34px; height: 34px; color: var(--text); }
.feature-item .ico svg { width: 34px; height: 34px; }
.feature-item h3 { margin-top: 16px; font-size: 17px; }
.feature-item p { margin-top: 8px; font-size: 14px; color: var(--text-muted); }
.feature-item .arrow-link { margin-top: 16px; }

.refund-band {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: var(--bg-panel); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hl-panel), 0 24px 44px -20px var(--shadow-indigo-2);
}
.refund-band .rb-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.refund-band .rb-left svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.refund-band .rb-left strong { font-weight: 500; font-size: 17px; }
.refund-band .rb-right { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

.pay-marks { display: flex; flex-wrap: wrap; gap: 14px; }
.pay-mark {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); white-space: nowrap;
}
.pay-mark svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--text-muted); }

/* ==========================================================================
   4. 线路表(按地区分组,窄屏横滑)
   ========================================================================== */
.routes-table { font-size: 14px; }
.routes-table thead th {
  position: relative;
  padding: 12px 16px; text-align: left; white-space: nowrap;
  background: var(--bg-panel2); color: var(--text-muted);
  font-weight: 500; font-size: 12.5px; letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
}
.routes-table tbody th, .routes-table tbody td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text); white-space: nowrap;
}
.routes-table tbody tr:last-child th, .routes-table tbody tr:last-child td { border-bottom: 0; }
.routes-table .region-row th {
  background: var(--bg);
  font-size: 12px; letter-spacing: .1em; color: var(--text-muted); font-weight: 500;
}
.routes-table .tag-type {
  display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px;
  border-radius: var(--r-sm); border: 1px solid var(--border);
  background: var(--bg-panel2); font-size: 12.5px; color: var(--text);
}
.routes-table .tag-type.is-brass { border-color: var(--accent); color: var(--accent-dark); }

/* ==========================================================================
   5. 套餐卡
   ========================================================================== */
.plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
.plan-card {
  position: relative; min-width: 0;
  display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  background: var(--bg-panel); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hl-panel), 0 22px 40px -22px var(--shadow-indigo-2);
}
.plan-card.is-featured { box-shadow: inset 0 0 0 1px var(--accent), 0 26px 48px -20px var(--shadow-brass); }
.plan-card.is-current { background: linear-gradient(180deg, var(--access-tint), transparent 55%), var(--bg-panel); }
.plan-badge {
  position: absolute; top: -10px; left: 24px;
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 10px;
  border-radius: var(--r-pill); background: var(--accent); color: var(--bg-panel);
  font-size: 11.5px; letter-spacing: .02em;
}
.plan-flag {
  display: inline-flex; align-items: center; min-height: 22px; padding: 0 10px;
  border-radius: var(--r-pill); border: 1px solid var(--border); background: var(--bg);
  font-size: 11.5px; color: var(--text-muted); align-self: flex-start;
}
.plan-cycle { font-size: 13px; color: var(--text-muted); letter-spacing: .04em; }
.plan-price { margin-top: 12px; display: flex; align-items: baseline; gap: 4px; }
.plan-price .cur { font-size: 18px; color: var(--text); }
.plan-price .num { font-family: var(--font-mono); font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.plan-price .per { font-size: 14px; color: var(--text-muted); }
.plan-quota { margin-top: 10px; font-size: 14px; color: var(--text); }
.plan-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.plan-list li { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-muted); }
.plan-list svg { width: 15px; height: 15px; flex-shrink: 0; color: var(--success); margin-top: 2px; }
.plan-card .btn { margin-top: 22px; width: 100%; }
.plan-note { margin-top: 20px; font-size: 13px; color: var(--text-muted); }

/* ==========================================================================
   6. 平台卡
   ========================================================================== */
.plat-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.plat-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-width: 0; padding: 24px 16px 20px;
  background: var(--bg-panel); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hl-panel), 0 18px 34px -22px var(--shadow-indigo-2);
  text-align: center;
}
.plat-card .plat-ico { width: 32px; height: 32px; color: var(--text); flex-shrink: 0; }
.plat-card .plat-ico svg { width: 32px; height: 32px; }
.plat-card .plat-name { font-size: 15px; font-weight: 500; }
.plat-card .plat-note { font-size: 12.5px; color: var(--text-muted); }
.plat-card .btn { margin-top: 6px; }

/* ==========================================================================
   7. 文章卡
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; min-width: 0;
  padding: 22px 22px 20px;
  background: var(--bg-panel); border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hl-panel), 0 20px 38px -24px var(--shadow-indigo-2);
  transition: transform .18s, box-shadow .18s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--hl-panel), 0 26px 46px -22px var(--shadow-indigo-2); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-muted); }
.post-title { margin-top: 14px; font-size: 18px; font-weight: 500; line-height: 1.35; }
.post-sum { margin-top: 10px; font-size: 13.5px; color: var(--text-muted); }
.post-card .arrow-link { margin-top: auto; padding-top: 18px; align-self: flex-start; }

/* ==========================================================================
   8. tab 切换
   ========================================================================== */
.tabbar {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 5px;
  background: var(--bg-panel2); border-radius: var(--r-pill);
  max-width: 100%;
}
.tabbar [role="tab"] {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 20px;
  border-radius: var(--r-pill); font-size: 14px; color: var(--text-muted);
  white-space: nowrap; transition: background .18s, color .18s;
}
.tabbar [role="tab"]:hover { color: var(--text); }
.tabbar [role="tab"][aria-selected="true"] {
  background: var(--ink); color: var(--on-ink);
  box-shadow: inset 0 1px 0 var(--hl-ink);
}
[role="tabpanel"][hidden] { display: none; }
.tabpanel { padding-top: 26px; }

/* ==========================================================================
   9. 长页目录条(吸顶 + 跟随高亮)
   ========================================================================== */
.toc-tabs {
  position: sticky; top: 0; z-index: 30;
  display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  max-width: 100%;
  padding: 10px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  scrollbar-width: thin;
}
.toc-tabs a {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1px solid var(--border);
  background: var(--bg-panel); font-size: 13px; color: var(--text-muted);
  white-space: nowrap; flex-shrink: 0;
}
.toc-tabs a:hover { color: var(--text); }
.toc-tabs a.is-current {
  color: var(--on-ink); background: var(--ink); border-color: var(--ink);
}
body:has(.toc-tabs) section[id] { scroll-margin-top: 88px; }

/* ==========================================================================
   10. FAQ 折叠项
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 0;
  font-size: 16px; font-weight: 500; color: var(--text);
  cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex-shrink: 0;
  width: 10px; height: 10px; margin-right: 4px;
  border-right: 1.6px solid var(--text-muted); border-bottom: 1.6px solid var(--text-muted);
  transform: rotate(45deg); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item .faq-body { padding: 0 0 18px; font-size: 14.5px; color: var(--text-muted); max-width: 76ch; }

/* ==========================================================================
   11. 引用块 / 提示条
   ========================================================================== */
.callout {
  position: relative;
  padding: 16px 18px 16px 37px;
  background: var(--bg-panel); border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--hl-panel);
  font-size: 14px; color: var(--text-muted);
}
.callout::before {
  content: ""; position: absolute; left: 18px; top: 16px;
  width: 3px; height: calc(100% - 32px);
  border-radius: 2px; background: var(--accent);
}
.callout strong { color: var(--text); font-weight: 500; }
.callout-warn::before { background: var(--warn); }
.callout-ok::before { background: var(--success); }
.callout-err::before { background: var(--error); }

/* ==========================================================================
   12. 底部 CTA 带 + 文末推广块
   ========================================================================== */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 22px;
  padding: 30px 32px;
  border-radius: var(--r-lg);
  background: var(--ink); color: var(--on-ink);
  box-shadow: inset 0 1px 0 var(--hl-ink), 0 26px 50px -22px var(--shadow-ink);
}
.cta-band h2 { color: var(--on-ink); font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { margin-top: 8px; color: var(--on-ink-muted); font-size: 14px; }
.cta-band .btn-primary { background: var(--bg-panel); color: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--bg-panel2); }

.promo-block {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: var(--bg-panel);
  box-shadow: inset 0 0 0 1px var(--hl-panel), 0 24px 44px -20px var(--shadow-indigo-2);
}
.promo-block .pb-text { min-width: 0; }
.promo-block .pb-brand { font-size: 16px; font-weight: 600; }
.promo-block .pb-line { margin-top: 6px; font-size: 13.5px; color: var(--text-muted); }
.promo-block .btn { flex-shrink: 0; white-space: nowrap; }

/* ==========================================================================
   13. 正文排版(教程 / 文章 / 深度手册)
   ========================================================================== */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose ul, .prose ol { margin-top: 14px; font-size: 15px; color: var(--text-muted); }
.prose strong { color: var(--text); font-weight: 500; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--accent-dark); border-bottom: 1px solid var(--border); }
.prose .callout { margin-top: 20px; }
.prose pre { margin-top: 18px; }
/* 写作后台可能输出裸表格:必须自带横滑容器 */
.prose > .data-table {
  display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
  max-width: 100%; min-width: 0;
}

.steps { counter-reset: step; display: flex; flex-direction: column; gap: 26px; }
.steps > li {
  position: relative; padding-left: 52px; min-width: 0;
  list-style: none;
}
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-panel); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 13px; color: var(--text);
}
.steps h3 { font-size: 17px; }
.steps p { margin-top: 8px; font-size: 14.5px; color: var(--text-muted); }

/* ==========================================================================
   14. 设计预览页辅助类(design-preview.html 专用,全部在此定义)
   ========================================================================== */
.pv-section { padding-top: 60px; padding-bottom: 60px; border-top: 1px solid var(--border); }
.pv-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.pv-head h2 { font-size: 26px; }
.pv-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  color: var(--text-muted);
}
.pv-note { font-size: 13px; color: var(--text-muted); max-width: 72ch; }

.pv-swatches {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
}
.pv-swatch { min-width: 0; }
.pv-swatch-chip {
  height: 62px; border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--hl-panel), 0 8px 18px -12px var(--shadow-indigo-2);
}
.pv-swatch-name { margin-top: 8px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text); }
.pv-swatch-val { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

.pv-type { display: flex; flex-direction: column; gap: 20px; }
.pv-type-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline; }
.pv-type-row .pv-label { padding-top: 6px; }

.pv-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pv-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pv-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pv-stack { display: flex; flex-direction: column; gap: 18px; }
.pv-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .plat-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .pv-grid3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .copy .sub { font-size: 16px; }
  .cta-row { gap: 18px; }
  .stage { grid-template-columns: 1fr; height: auto; gap: 20px; margin-top: 32px; }
  .panel { position: relative; inset: auto; }
  .stage-left .panel { min-height: 380px; }
  .win {
    position: relative; left: 0; top: 0; transform: none;
    margin: 44px auto 40px; width: min(600px, calc(100% - 32px)); max-width: none;
  }
  .win-body { overflow-x: auto; }
  .compass { width: 40px; height: 40px; top: 12px; right: 12px; }
  .compass svg { width: 18px; height: 18px; }
  .compass::after { inset: 3px; }
  .pay-pill { position: static; transform: none; justify-self: center; }
  .access { padding: 18px; }
  .plat li span, .flags li span { font-size: 10.5px; }

  .feature-lead { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item:nth-child(odd) { border-right: 0; }
  .feature-item:nth-child(n+3) { padding-left: 26px; }

  .plan-grid { grid-template-columns: 1fr; }
  .plat-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .pv-grid2, .pv-grid3 { grid-template-columns: 1fr; }
  .pv-type-row { grid-template-columns: 1fr; gap: 6px; }
  .cta-band { padding: 24px 20px; }
  .promo-block { padding: 22px 20px; }
}

@media (max-width: 640px) {
  .trust li { white-space: normal; min-height: 0; }
  .cta-row { flex-direction: column; gap: 14px; }
  .facts li { white-space: normal; min-height: 0; padding: 5px 10px; }
  .refund-band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .post-card:hover { transform: none; }
}

/* 装饰性微倾斜:窄屏一律取消,避免长容器包围盒横向溢出 */
.tilt { transform: rotate(-.45deg); }
@media (max-width: 640px) {
  .tilt { transform: none; }
}