/* ==========================================================================
   VPNAN - 套餐页专属样式
   ========================================================================== */

/* ---- Pricing Hero ---- */
.pricing-hero {
  padding-top: 46px;
  padding-bottom: 40px;
  position: relative;
}

.pricing-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.13;
  letter-spacing: -.022em;
  margin: 20px 0 16px;
}

.pricing-hero .hero-sub {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 38em;
  margin-bottom: 24px;
}

.pricing-hero .hero-sub .no-break {
  color: var(--text);
  font-weight: 700;
}

/* ---- Ticker Band (decorative scrolling strip) ---- */
.ticker-band {
  overflow: hidden;
  max-width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  background: var(--bg-panel);
}

.ticker-track {
  display: flex;
  gap: 28px;
  width: max-content;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
}

html.gsap-ready .ticker-track {
  animation: none;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-track span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ticker-track span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none !important;
    transform: none !important;
  }
}

/* ---- Section spacing ---- */
.sec {
  padding-top: 56px;
  padding-bottom: 56px;
}

.sec-head {
  margin-bottom: 28px;
}

.sec-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  letter-spacing: -.015em;
  margin-bottom: 8px;
}

.sec-head p {
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 42em;
}

/* ---- Plans Section ---- */
.plans-section {
  border-bottom: 1px solid var(--border);
}

.selection-note {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--bg-panel2);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.selection-note p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 6px;
}

.selection-note p:last-child {
  margin-bottom: 0;
}

/* ---- Traffic Packs ---- */
.packs-section {
  border-bottom: 1px solid var(--border);
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 18px;
}

.pack-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform .15s, box-shadow .15s;
}

.pack-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -12px rgba(41, 33, 21, .25);
}

.pack-price {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
}

.pack-data {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: .02em;
}

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

.pack-extra-note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 42em;
}

/* ---- Included Section ---- */
.included-section {
  border-bottom: 1px solid var(--border);
}

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

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.included-item .inc-icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
  display: inline-flex;
}

.included-item .inc-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}

.included-item .inc-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Comparison Section ---- */
.compare-section {
  border-bottom: 1px solid var(--border);
}

/* ---- Billing Section ---- */
.billing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.billing-item {
  padding: 20px 22px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}

.billing-item-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.billing-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- Payment Section ---- */
.payment-section {
  border-bottom: 1px solid var(--border);
}

.pay-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.pay-chip svg {
  display: block;
  color: var(--accent-dark);
}

/* ---- Refund Section ---- */
.refund-section {
  border-bottom: 1px solid var(--border);
}

.refund-box {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  border-top: 3px solid var(--accent);
  padding: 36px 28px;
  text-align: center;
}

.refund-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--accent-dark);
  background: var(--tint-accent);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.refund-badge svg {
  display: block;
}

.refund-box h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}

.refund-box p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 34em;
  margin: 0 auto 24px;
}

.refund-cta .btn {
  display: inline-flex;
}

/* ---- FAQ Section ---- */
.faq-section {
  border-bottom: 1px solid var(--border);
}

/* ---- Bottom CTA ---- */
.bottom-cta {
  background: var(--bg-panel2);
  border-top: 1px solid var(--border);
  text-align: center;
  padding-top: 56px;
  padding-bottom: 56px;
}

.bottom-cta h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.bottom-cta p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .pricing-hero {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .pricing-hero h1 {
    font-size: 34px;
  }

  .packs-grid,
  .included-grid,
  .billing-grid {
    grid-template-columns: 1fr;
  }

  .sec {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sec-head h2 {
    font-size: 24px;
  }

  .bottom-cta {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .bottom-cta h2 {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  .refund-box {
    padding: 28px 18px;
  }

  .refund-box h2 {
    font-size: 22px;
  }

  .pack-price {
    font-size: 26px;
  }

  .pay-row {
    gap: 10px;
  }

  .pay-chip {
    padding: 9px 14px;
    font-size: 13.5px;
  }
}