/* ============================================================
   pricing-v2.css — Pricing page styles
   Extends home-v2.css — do not duplicate tokens or base styles
   ============================================================ */

/* ── SECTION UTILITIES ── */
.section--sm { padding: 3.5rem 0; }

.sec-header { margin-bottom: 2rem; }
.sec-header--center { text-align: center; }
.sec-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.sec-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

/* ── PAGE HERO (LIGHT) ── */
.page-hero-light {
  background: var(--white);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% -20%, rgba(0,119,204,0.055) 0%, transparent 65%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--t);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--border); }

.page-hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.875rem;
}

.page-hero__subtitle {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 580px;
  line-height: 1.72;
  margin-bottom: 2rem;
}

/* ── BILLING TOGGLE (PILL) ── */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.billing-opt {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--t);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.billing-opt:hover { color: var(--text-strong); }
.billing-opt.active {
  background: var(--white);
  color: var(--text-strong);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}

.billing-save {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  padding: 0.1em 0.45em;
}
.billing-opt.active .billing-save {
  background: rgba(0,119,204,0.12);
}

/* ── PLAN TABS ── */
.svc-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.svc-tabs::-webkit-scrollbar { display: none; }

.svc-tab {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.75rem 1.125rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color var(--t), border-color var(--t);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  flex-shrink: 0;
}
.svc-tab:hover { color: var(--text-strong); }
.svc-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  background: var(--accent-light);
}

/* ── TAB PANELS ── */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── PRICING CARDS GRID ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.pricing-grid--vps {
  grid-template-columns: repeat(5, 1fr);
}
.pricing-grid--game {
  grid-template-columns: repeat(5, 1fr);
}

/* ── PRICING CARD ── */
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-md);
}
.pricing-card--featured:hover {
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.pricing-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.25rem 0;
  gap: 0.5rem;
}

.pricing-card__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pricing-card--featured .pricing-card__name {
  color: var(--accent);
}

.pricing-card__featured-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  padding: 0.15em 0.65em;
}

/* Hide the old terminal-style term controls */
.term-controls { display: none; }

.pricing-card__body {
  padding: 1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.1rem;
  margin-bottom: 0.25rem;
  line-height: 1;
}
.pricing-card__currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-top: 0.35rem;
}
.pricing-card__amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-card__period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 0.1rem;
}

.pricing-card__billed {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-bottom: 0.875rem;
}

.pricing-card__desc {
  font-size: 0.845rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

/* ── FEATURE LIST ── */
.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pf {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text);
  line-height: 1.45;
}
.pf--off {
  color: var(--text-muted);
}

.pf__check {
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
}
.pf:not(.pf--off) .pf__check { color: var(--green); }
.pf--off .pf__check { color: var(--text-muted); }

.pf__link {
  color: var(--accent);
  text-decoration: none;
}
.pf__link:hover { text-decoration: underline; }

/* ── GAME RECOMMENDATION LINE ── */
.pricing-card__game-rec {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--cyan);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ── CARD CTA ── */
.pricing-card__cta { margin-top: auto; }
.btn--full { width: 100%; justify-content: center; }
.btn--md { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* ── VPS CUSTOM FOOTER NOTE ── */
.tab-note {
  margin-top: 1.25rem;
  font-size: 0.775rem;
  color: var(--text-muted);
  text-align: center;
}
.tab-note a { color: var(--accent); text-decoration: none; }
.tab-note a:hover { text-decoration: underline; }

/* ── IT SERVICES INFO BOX ── */
.it-info-box {
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-strong);
  line-height: 1.7;
}
.it-info-box__ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 0.875rem;
}
.it-info-box__range {
  font-size: 0.845rem;
  color: var(--text);
}
.it-info-box__range strong { color: var(--text-strong); }
.it-info-box__link {
  display: block;
  margin-top: 0.875rem;
  font-size: 0.845rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.it-info-box__link:hover { text-decoration: underline; }

/* ── IT SERVICE LIST ── */
.it-svc-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.it-svc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.125rem 1.375rem;
  background: var(--white);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t);
}
.it-svc-row:last-child { border-bottom: none; }
.it-svc-row:nth-child(even) { background: var(--bg); }
.it-svc-row:hover { background: var(--accent-light); }

.it-svc-row__info { flex: 1; min-width: 0; }
.it-svc-row__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.2rem;
}
.it-svc-row__desc {
  font-size: 0.8125rem;
  color: var(--text);
  line-height: 1.55;
}
.it-svc-row__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--t);
  white-space: nowrap;
}
.it-svc-row__cta:hover { background: var(--accent-dark); }

/* ── ADD-ONS TABLE ── */
.addon-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.addon-table__head {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2fr auto;
  gap: 1rem;
  padding: 0.7rem 1.375rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.addon-table__head span:first-child { opacity: 0; }

.addon-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.375rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--t);
}
.addon-row:last-child { border-bottom: none; }
.addon-row:nth-child(even) { background: var(--bg); }
.addon-row:hover { background: var(--accent-light); }

.addon-icon {
  font-size: 1.125rem;
  text-align: center;
}
.addon-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-strong);
}
.addon-desc {
  font-size: 0.825rem;
  color: var(--text);
}
.addon-price {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}

/* ── FAQ ACCORDION ── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
  appearance: none;
  border: none;
  background: var(--white);
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.faq-q:hover { background: var(--bg); color: var(--accent); }
.faq-item.open .faq-q {
  background: var(--accent-light);
  color: var(--accent);
}

.faq-q__icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
}
.faq-item.open .faq-q__icon {
  content: '−';
  color: var(--accent);
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 1.375rem 1.125rem;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
}
.faq-a a { color: var(--accent); }
.faq-item.open .faq-a { display: block; }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--dark);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner__inner { max-width: 680px; margin: 0 auto; }
.cta-banner__title {
  font-size: clamp(1.75rem, 3.5vw, 2.625rem);
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}
.cta-banner__sub {
  font-size: 1.0rem;
  color: #64748b;
  line-height: 1.72;
  margin-bottom: 2.25rem;
}
.cta-banner__actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FADE-IN ANIMATION ── */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .pricing-grid--vps,
  .pricing-grid--game {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero-light { padding: 2.5rem 0 2rem; }

  .it-svc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
  }
  .it-svc-row__cta { align-self: flex-start; }

  .addon-table__head { display: none; }
  .addon-row {
    grid-template-columns: 2.5rem 1fr;
    grid-template-rows: auto auto;
    gap: 0.25rem 0.75rem;
    padding: 0.875rem 1rem;
  }
  .addon-icon { grid-row: 1 / 3; align-self: center; }
  .addon-name { grid-column: 2; }
  .addon-desc { grid-column: 2; color: var(--text-muted); font-size: 0.78rem; }
  .addon-price {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 3.25rem;
    font-size: 0.825rem;
  }

  .faq-q { font-size: 0.845rem; padding: 1rem 1.125rem; }
  .faq-a { padding: 0 1.125rem 1rem; }
}

@media (max-width: 640px) {
  .pricing-grid,
  .pricing-grid--vps,
  .pricing-grid--game {
    grid-template-columns: 1fr;
  }

  .it-info-box__ranges { flex-direction: column; gap: 0.5rem; }

  .cta-banner { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .billing-toggle { flex-wrap: wrap; border-radius: var(--radius); }
  .billing-opt { flex: 1; justify-content: center; }
}
