/* ═══════════════════════════════════════════════════════
   PRICING PAGE
═══════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────── */
.pricing-hero {
  background: var(--color-light, #f5f5f3);
  text-align: center;
  padding: 80px 20px 56px;
}
.pricing-hero .hero-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #5444B4; background: rgba(84,68,180,.08);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.pricing-hero h1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.1;
  color: #111; margin: 0 0 16px;
}
.pricing-hero h1 em { font-style: normal; color: #5444B4; }
.pricing-hero > p {
  font-size: 17px; color: #6b6b6b; line-height: 1.65;
  max-width: 520px; margin: 0 auto 36px;
}

/* ── Billing toggle ────────────────────────────────── */
.billing-toggle {
  display: inline-flex; align-items: center;
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: 100px; padding: 4px; gap: 2px;
}
.toggle-opt {
  padding: 8px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 600; color: #6b6b6b;
  cursor: pointer; transition: all .22s; user-select: none;
  display: flex; align-items: center; gap: 8px;
}
.toggle-opt.active { background: #111; color: #fff; }
.toggle-opt:not(.active):hover { color: #111; }
.save-badge {
  display: inline-block; background: #dcfce7; color: #16a34a;
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 100px;
}

/* ── HPC Widget (hero pricing card) ────────────────── */

.hpc-widget {
  max-width: 440px;
  margin: 40px auto 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,.14);
  text-align: left;
}

/* Dark outer tab bar — matches screenshot */
.hpc-tabs {
  display: grid; grid-template-columns: repeat(3,1fr);
  background: #111; padding: 7px; gap: 4px;
}
.hpc-tab {
  padding: 10px 6px; border: none; border-radius: 11px;
  background: transparent;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.4);
  cursor: pointer; transition: all .2s; font-family: inherit; text-align: center;
}
.hpc-tab:hover:not(.active) { color: rgba(255,255,255,.7); }
.hpc-tab.active { background: #fff; color: #111; }

/* White card — grid keeps height fixed */
.hpc-box { display: grid; background: #fff; }

/* All three main panels overlap → tallest sets height, never jumps */
.hpc-panel {
  grid-area: 1 / 1; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.hpc-panel.active { opacity: 1; pointer-events: auto; }

/* Inner pill tabs */
.hpc-inner-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 18px 20px 0; }
.hpc-inner-tab {
  padding: 6px 15px; border-radius: 100px; border: 1.5px solid rgba(0,0,0,.1);
  background: transparent; font-size: 13px; font-weight: 600; color: #6b6b6b;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.hpc-inner-tab:hover:not(.active) { border-color: rgba(0,0,0,.22); color: #333; }
.hpc-inner-tab.active { background: #111; color: #fff; border-color: #111; }
.hpc-inner-tab-best.active { background: #5444B4; border-color: #5444B4; }

/* Inner panels overlap too → no jump when switching inner tab */
.hpc-inner-panels { flex: 1; display: grid; }
.hpc-inner-panel {
  grid-area: 1 / 1; display: flex; flex-direction: column;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.hpc-inner-panel.active { opacity: 1; pointer-events: auto; }

.hpc-inner-body { flex: 1; padding: 16px 20px 0; }

.hpc-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: #6b6b6b; margin-bottom: 8px;
}
.hpc-title {
  font-size: 24px; font-weight: 800; color: #111;
  line-height: 1.15; letter-spacing: -.03em; margin-bottom: 16px;
}
.hpc-meta { font-size: 12px; color: #6b6b6b; margin: -10px 0 12px; }
.hpc-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.hpc-from { font-size: 14px; color: #6b6b6b; font-weight: 500; }
.hpc-amount { font-size: 44px; font-weight: 800; color: #111; letter-spacing: -2px; line-height: 1; }
.hpc-period { font-size: 12px; color: #6b6b6b; margin-bottom: 16px; }

.hpc-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.hpc-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #333; line-height: 1.4; }
.hpc-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(84,68,180,.1); color: #5444B4;
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; margin-top: 1px;
}

/* Full-width CTA pinned to bottom */
.hpc-cta-wrap { margin-top: auto; }
.hpc-divider { height: 1px; background: rgba(0,0,0,.08); margin-top: 20px; }
.hpc-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; background: #111; color: #fff;
  text-decoration: none; font-size: 15px; font-weight: 700;
  font-family: inherit; transition: background .18s;
}
.hpc-cta:hover { background: #2a2a2a; color: #fff; }
.hpc-cta span { font-size: 18px; font-weight: 300; }

/* ── Plan grid ─────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px; max-width: 1100px; margin: 0 auto;
  padding: 0 20px 80px; align-items: start;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; } }

.plan-card {
  background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px; padding: 28px 26px; position: relative;
}
.plan-card.featured {
  background: #111; border: none;
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(0,0,0,.18);
}
.featured-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: #5444B4; color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 16px; border-radius: 100px; white-space: nowrap;
}
.plan-name {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #6b6b6b; margin-bottom: 8px;
}
.plan-card.featured .plan-name { color: rgba(255,255,255,.45); }
.plan-desc { font-size: 13px; color: #6b6b6b; margin: 0 0 16px; line-height: 1.5; }
.plan-card.featured .plan-desc { color: rgba(255,255,255,.5); }

.orig-price {
  font-size: 12px; color: #6b6b6b; text-decoration: line-through;
  min-height: 16px; margin-bottom: 0;
}
.plan-card.featured .orig-price { color: rgba(255,255,255,.35); }

.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.price-currency {
  font-size: 18px; font-weight: 600; color: #6b6b6b; margin-top: 6px;
}
.plan-card.featured .price-currency { color: rgba(255,255,255,.7); }
.price-amount {
  font-size: 52px; font-weight: 700; letter-spacing: -3px; color: #111; line-height: 1;
}
.plan-card.featured .price-amount { color: #fff; }
.price-period { font-size: 13px; color: #6b6b6b; margin-bottom: 16px; }
.plan-card.featured .price-period { color: rgba(255,255,255,.4); }

.plan-btn {
  display: block; width: 100%; padding: 14px; border-radius: 100px;
  font-size: 14px; font-weight: 600; font-family: inherit;
  text-align: center; text-decoration: none; margin-bottom: 18px;
  transition: all .22s; cursor: pointer; box-sizing: border-box;
}
.btn-default {
  background: transparent; color: #111; border: 1.5px solid rgba(0,0,0,.12);
}
.btn-default:hover { background: var(--color-light,#f5f5f3); border-color: rgba(0,0,0,.2); }
.btn-featured { background: #5444B4; color: #fff; border: none; }
.btn-featured:hover {
  background: #4535a0; transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(84,68,180,.3);
}

.features-divider { height: 1px; background: rgba(0,0,0,.08); margin-bottom: 14px; }
.plan-card.featured .features-divider { background: rgba(255,255,255,.08); }
.features-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #6b6b6b; margin-bottom: 10px;
}
.plan-card.featured .features-label { color: rgba(255,255,255,.3); }

.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.feature-item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: #333; line-height: 1.35;
  padding: 6px 0;
  /* neutralise the global hover from styles.css */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  transform: none !important;
  transition: none !important;
}
.feature-item:hover {
  background: transparent !important;
  border-color: transparent !important;
  transform: none !important;
}
.plan-card.featured .feature-item { color: rgba(255,255,255,.75); }
.feature-item.muted { opacity: .35; }
.feature-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(84,68,180,.1); color: #5444B4;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 10px; margin-top: 1px;
}
.plan-card.featured .feature-check { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }

/* ── Bottom (FAQ + Trust) ──────────────────────────── */
.bottom-section { background: var(--color-light,#f5f5f3); padding: 0 20px 80px; }
.compare-section { max-width: 1100px; margin: 0 auto 60px; }

.faq-row h2 {
  font-size: clamp(24px,3vw,36px); font-weight: 700;
  letter-spacing: -.03em; color: #111; margin: 0 0 32px;
}
.faq-row .faq-item {
  border-top: 1px solid rgba(0,0,0,.08); padding: 20px 0; cursor: pointer;
}
.faq-row .faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
.faq-row .faq-q {
  font-size: 16px; font-weight: 600; color: #111;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-row .faq-q::after {
  content: '+'; font-size: 20px; font-weight: 300; color: #6b6b6b;
  transition: transform .22s; flex-shrink: 0; margin-left: 16px;
}
.faq-row .faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-row .faq-a {
  font-size: 14px; color: #6b6b6b; line-height: 1.7;
  margin-top: 12px; display: none;
}
.faq-row .faq-item.open .faq-a { display: block; }

.trust-row {
  max-width: 1100px; margin: 40px auto 0;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  align-items: center; justify-content: center;
  padding-top: 40px; border-top: 1px solid rgba(0,0,0,.08);
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: #6b6b6b;
}
.trust-icon { font-size: 16px; }
