/* ==========================================================================
   VPNNK — pricing.css(套餐页专属)
   只补充 base.css / components.css 未覆盖的排布,颜色一律引用 :root 令牌。
   ========================================================================== */

/* ---- 页头 ---- */
.price-hero {
  position: relative;
  padding-top: 44px;
  padding-bottom: 34px;
  overflow-x: clip;
  max-width: 100%;
  isolation: isolate;
}
.price-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(560px 340px at 14% -10%, var(--blush) 0%, rgba(246, 214, 232, 0) 70%),
    radial-gradient(620px 380px at 62% 2%, var(--lilac) 0%, rgba(230, 220, 247, 0) 68%),
    radial-gradient(520px 340px at 96% 0%, var(--frost) 0%, rgba(207, 233, 245, 0) 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 30%, rgba(0, 0, 0, 0) 78%);
  mask-image: linear-gradient(to bottom, #000 0, #000 30%, rgba(0, 0, 0, 0) 78%);
}
.price-hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.price-hero h1 {
  margin-top: 14px;
  max-width: 18ch;
}
.price-hero .lede { margin-top: 14px; }
.price-hero .ctas { margin-top: 20px; justify-content: flex-start; }
.price-hero .trust { margin-top: 16px; justify-content: flex-start; }

/* ---- 档位说明三栏 ---- */
.plan-notes {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.plan-notes > * { min-width: 0; }
.plan-note {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px;
}
.plan-note h3 { font-size: 17px; }
.plan-note p { margin-top: 8px; font-size: 14px; color: var(--text-muted); }

/* ---- 流量包区 ---- */
.pack-explain {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
.pack-explain > * { min-width: 0; }
.pack-copy h3 { font-size: 20px; }
.pack-copy p { margin-top: 12px; font-size: 15px; color: var(--text-muted); }
.pack-panel {
  border-radius: var(--radius-l);
  padding: 26px;
  background: linear-gradient(132deg, var(--lilac), var(--frost));
  box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 255, 255, .72);
  overflow: hidden;
}
.pack-panel .mini-win { width: 100%; }
.pack-panel .mini-win li span { color: var(--on-ink); }

/* ---- 所有套餐均包含 ---- */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.included-grid > * { min-width: 0; }
.included-grid li {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.included-grid b { font-size: 15.5px; font-weight: 700; }
.included-grid p { font-size: 13.5px; color: var(--text-muted); }
.inc-icon {
  width: 34px; height: 34px;
  border-radius: var(--radius-s);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.inc-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.included-grid li:nth-child(3n + 2) .inc-icon {
  background: var(--violet-soft);
  border-color: var(--violet-line);
}
.included-grid li:nth-child(3n + 2) .inc-icon svg { stroke: var(--violet); }
.included-grid li:nth-child(3n) .inc-icon {
  background: var(--ice-soft);
  border-color: var(--ice-line);
}
.included-grid li:nth-child(3n) .inc-icon svg { stroke: var(--ice); }

/* ---- 对比表补充说明 ---- */
.compare-notes {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.compare-notes > * { min-width: 0; }

/* ---- 支付方式 ---- */
.pay-card { display: flex; flex-direction: column; gap: 10px; }
.pay-card h3 { font-size: 17px; }
.pay-card p { font-size: 14px; color: var(--text-muted); }
.pay-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-s);
  background: var(--bg-panel-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.pay-icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent-dark); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---- 退款区 ---- */
.refund-block {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.refund-block > * { min-width: 0; }
.refund-copy h3 { font-size: 20px; }
.refund-copy p { margin-top: 12px; font-size: 15px; color: var(--text-muted); }
.refund-side {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 20px;
}
.refund-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--success-soft);
  border: 1px solid rgba(26, 158, 106, .34);
  color: var(--success);
  font-size: 13.5px;
  font-weight: 700;
}
.refund-badge svg {
  width: 15px; height: 15px;
  stroke: currentColor; fill: none;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.refund-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.refund-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.refund-list li::before {
  content: "";
  width: 6px; height: 6px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 auto;
}

/* ---- FAQ 收尾 ---- */
.faq-more {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}
.faq-more .link-arrow { font-size: 14px; }

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .plan-notes { grid-template-columns: minmax(0, 1fr); }
  .included-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pack-explain { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pack-panel { order: -1; }
  .refund-block { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .compare-notes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .price-hero { padding-top: 30px; padding-bottom: 26px; }
  .price-hero h1 { max-width: none; }
  .price-hero .ctas { width: 100%; }
  .price-hero .ctas .btn { width: 100%; }
  .included-grid { grid-template-columns: minmax(0, 1fr); }
  .pack-panel { padding: 20px; }
}