/* ============================================================
   VPNCU · pricing.css
   套餐页专属样式
   ============================================================ */

/* ---------- 页面 Hero ---------- */
.page-hero {
  padding: 64px 0 44px;
  text-align: center;
}

.page-hero .kicker {
  margin: 0 auto;
}

.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.page-hero-sub {
  margin: 16px auto 0;
  max-width: 680px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-cta-row {
  justify-content: center;
  margin-top: 28px;
}

/* ---------- 套餐区 ---------- */
.plans-section {
  padding: 32px 0 72px;
}

.plan-grid {
  margin-top: 32px;
}

.plan-card {
  position: relative;
}

.plan-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- 流量包区 ---------- */
.packs-section {
  padding: 72px 0;
  background: var(--panel2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.pack-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--panel);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-1);
  transition: transform .22s ease, box-shadow .22s ease;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pack-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.pack-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

.pack-price {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 34px;
  color: var(--ink);
  line-height: 1.1;
}

.pack-price .cur {
  font-size: 17px;
  font-weight: 700;
  vertical-align: top;
  margin-right: 2px;
}

.pack-traffic {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent-dark);
  font-weight: 600;
}

.pack-note {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.pack-card .btn {
  margin-top: 18px;
  width: 100%;
}

/* ---------- 包含清单 ---------- */
.included-section {
  padding: 72px 0;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--panel);
  box-shadow: var(--shadow-1);
  min-width: 0;
}

.included-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--r-sm);
}

.included-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.included-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.included-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 对比表 ---------- */
.compare-section {
  padding: 72px 0;
}

.compare-table {
  margin-top: 32px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.compare-table td {
  white-space: nowrap;
}

/* ---------- 支付方式 ---------- */
.payment-section {
  padding: 72px 0;
  background: var(--panel2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.payment-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--panel);
  box-shadow: var(--shadow-1);
  min-width: 0;
}

.payment-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  background: var(--bg);
  border-radius: var(--r-sm);
}

.pay-char {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: var(--accent-dark);
}

.payment-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.payment-note {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 760px;
  line-height: 1.7;
}

/* ---------- 退款区 ---------- */
.refund-section {
  padding: 72px 0;
}

.refund-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 36px 40px;
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--shadow-1);
  flex-wrap: wrap;
}

.refund-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--ok);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--r-md);
}

.refund-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.refund-content {
  flex: 1;
  min-width: 240px;
}

.refund-content h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 8px;
}

.refund-content p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

.refund-panel .btn {
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 72px 0;
}

.faq-list {
  margin-top: 32px;
  max-width: 760px;
}

/* ---------- 底部 CTA ---------- */
.bottom-cta {
  padding: 72px 0;
}

.cta-panel {
  text-align: center;
  padding: 48px 40px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--panel);
  box-shadow: var(--shadow-1);
}

.cta-panel h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.cta-panel p {
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .pack-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .payment-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 48px 0 32px;
  }

  .page-hero h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .page-hero-sub {
    font-size: 15px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .included-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .refund-panel {
    padding: 28px 24px;
    flex-direction: column;
    text-align: center;
  }

  .refund-content {
    min-width: 0;
  }

  .cta-panel {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .payment-card {
    padding: 16px 18px;
  }
}