/* ============================================================
   PlanFinder — Main Stylesheet
   WhistleOut-inspired: dark hero, clean cards, blue accents
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --primary:        #2563EB;
  --primary-dark:   #1D4ED8;
  --primary-light:  #EFF6FF;
  --hero-bg:        #0F172A;
  --hero-text:      #F8FAFC;
  --hero-sub:       #94A3B8;
  --surface:        #FFFFFF;
  --bg:             #F1F5F9;
  --border:         #E2E8F0;
  --text:           #1E293B;
  --text-muted:     #64748B;
  --success:        #10B981;
  --warning:        #F59E0B;
  --badge-basic:    #6B7280;
  --badge-mid:      #2563EB;
  --badge-premium:  #7C3AED;
  --radius:         12px;
  --shadow:         0 4px 24px rgba(0,0,0,.10);
  --shadow-hero:    0 8px 40px rgba(0,0,0,.30);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
       background: var(--bg); color: var(--text); line-height: 1.6; }
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 80px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { height: 40px; width: 40px; object-fit: contain; display: block; }
.nav-logo-text { font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; font-weight: 700; line-height: 1; }
.nav-logo-switch { color: #0F172A; }
.nav-logo-ninja { color: #8B5CF6; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  color: #475569; font-size: .9rem; font-weight: 500;
  padding: 6px 14px; border-radius: 6px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--bg); color: var(--text); }
.nav-links a.active { background: #DBEAFE; color: #1D4ED8; font-weight: 700; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--hero-bg);
  padding: 72px 24px 56px;
  text-align: center;
}
.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; color: var(--hero-text);
  line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero-headline span { color: var(--primary); }
.hero-sub {
  font-size: 1.1rem; color: var(--hero-sub);
  max-width: 560px; margin: 0 auto 48px;
}

/* ── Ninja Mascot Character ─────────────────────────────────── */
.navi-hero-wrap {
  width: 240px; height: 240px;
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
}
.navi-hero-img {
  width: 240px; height: 240px;
  object-fit: contain;
}
.navi-results-wrap {
  width: 180px; height: 180px;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.navi-results-img {
  width: 180px; height: 180px;
  object-fit: contain;
}

/* ── 404 page ───────────────────────────────────────────────── */
.navi-404-wrap {
  width: 200px; height: 200px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
}
.navi-404-img {
  width: 180px; height: 180px;
  object-fit: contain;
}

/* ── Carrier Trust Bar ──────────────────────────────────────── */
.carrier-trust-bar {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 14px 24px;
}
.carrier-trust-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.carrier-trust-label {
  font-size: .78rem; font-weight: 600; color: #94A3B8;
  text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
  line-height: 1;
}
.carrier-trust-chips {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.carrier-chip {
  display: inline-flex; align-items: center;
  background: #FFFFFF; border: 1px solid #E2E8F0;
  color: #64748B; font-size: .82rem; font-weight: 600;
  padding: 5px 12px; border-radius: 6px; white-space: nowrap;
  line-height: 1;
}
.carrier-chip--more { background: #F1F5F9; color: #94A3B8; }

/* ── Footer tagline ─────────────────────────────────────────── */
.footer-tagline { font-size: .85rem; color: #8B5CF6; margin-bottom: 12px; font-style: italic; }

/* ── Quiz Card ─────────────────────────────────────────────── */
.quiz-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hero);
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
  scroll-margin-top: 80px;
}
.quiz-progress-bar {
  height: 4px; background: var(--border);
}
.quiz-progress-fill {
  height: 100%; background: var(--primary);
  transition: width .3s ease;
}
.quiz-body { padding: 36px 40px 32px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; }

.quiz-intro {
  font-size: .85rem; color: var(--text-muted);
  margin-bottom: 12px;
}
.quiz-step-label {
  font-size: .8rem; font-weight: 600; color: var(--primary);
  text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 10px;
}
.quiz-question {
  font-size: 1.3rem; font-weight: 700; color: var(--text);
  margin-bottom: 24px; line-height: 1.3;
  font-family: 'Space Grotesk', sans-serif;
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-options--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quiz-options--grid .quiz-option { font-size: .88rem; padding: 11px 12px; justify-content: center; text-align: center; }
.quiz-option {
  display: flex; align-items: center;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
  font-size: .95rem; font-weight: 500; color: var(--text);
  background: var(--surface);
  text-align: left; width: 100%;
}
.quiz-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}
.quiz-option.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.quiz-option .opt-icon {
  width: 22px; height: 22px;
  border: 2px solid #D1D5DB;
  border-radius: 50%;
  margin-right: 12px; flex-shrink: 0;
  transition: all .15s;
  position: relative;
  opacity: 0; /* hidden by default — clean button look */
}
.quiz-option:hover .opt-icon {
  opacity: 0; /* stay hidden on hover — circle only appears on selection */
}
.quiz-option.selected .opt-icon {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.2);
  opacity: 1;
}
.quiz-option.selected .opt-icon::after {
  content: '✓';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px; font-weight: 700;
  color: #fff; line-height: 1;
}

.quiz-intl-row {
  margin-top: 18px;
  padding: 14px 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
}
.quiz-intl-label {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; font-size: 0.95rem; color: #334155;
}
.quiz-intl-check {
  width: 18px; height: 18px; cursor: pointer;
  accent-color: #2563EB;
}

.quiz-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px;
}
.btn-back {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text-muted);
  padding: 11px 24px; border-radius: 8px;
  font-size: .9rem; font-weight: 600;
  transition: border-color .15s, color .15s;
}
.btn-back:hover { border-color: var(--text-muted); color: var(--text); }
.btn-next {
  background: var(--primary); color: #fff;
  padding: 12px 32px; border-radius: 8px;
  font-size: .95rem; font-weight: 700;
  transition: background .15s, transform .1s;
  flex: 1; margin-left: 12px;
}
.btn-next:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-next:disabled { background: var(--border); color: var(--text-muted); transform: none; cursor: not-allowed; }

/* ── Section wrapper ───────────────────────────────────────── */
.section { max-width: 1200px; margin: 0 auto; padding: 56px 24px; }
.results-overlap {
  margin-top: -80px;
  position: relative;
  z-index: 10;
  border-radius: 16px 16px 0 0;
  background: var(--bg);
  padding-top: 48px;
  padding-left: 40px;
  padding-right: 40px;
}
.section-title {
  font-size: 1.6rem; font-weight: 800; color: var(--text);
  margin-bottom: 8px;
}
.section-sub { color: var(--text-muted); font-size: .95rem; margin-bottom: 36px; }

/* ── Plan Cards (Results page) ─────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.card-wrapper { display: flex; flex-direction: column; }
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  flex: 1;
  transition: transform .2s, box-shadow .2s;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.13); }
.plan-card.card-featured {
  border-left: 4px solid var(--primary);
  box-shadow: 0 6px 32px rgba(37,99,235,.15);
}

.card-top-banner {
  background: var(--primary);
  color: #fff; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  padding: 7px 16px; text-align: center;
  border-radius: var(--radius) var(--radius) 0 0;
}
.card-top-banner.banner-hidden { visibility: hidden; }

.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.card-carrier {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.carrier-logo {
  width: 50px; height: 50px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800;
  color: #fff; flex-shrink: 0; letter-spacing: .5px;
  text-transform: uppercase;
}
.logo-verizon     { background: #CD040B; }
.logo-att         { background: #00A8E0; }
.logo-tmobile     { background: #E20074; }
.logo-metro       { background: #46166B; }
.logo-cricket     { background: #00A150; }
.logo-straighttalk{ background: #CC0000; }
.logo-tello       { background: #FF6B00; }
.logo-mint        { background: #78C200; }
.logo-visible     { background: #0ABFBC; }
.logo-usmobile    { background: #4338CA; }

.card-carrier-info .carrier-name { font-size: 1rem; font-weight: 700; }
.card-carrier-info .plan-name { font-size: .85rem; color: var(--text-muted); }

.tier-badge {
  display: inline-block; margin-left: auto;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  padding: 2px 9px; border-radius: 99px;
}
.tier-basic   { background: #F1F5F9; color: var(--badge-basic); }
.tier-mid     { background: var(--primary-light); color: var(--primary); }
.tier-premium { background: #EDE9FE; color: var(--badge-premium); }

/* Score bar */
.score-bar-heading {
  font-size: .68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted); margin-top: 4px;
}
.score-bar-row {
  display: flex; align-items: center; gap: 10px;
  margin: 6px 0 16px;
}
.score-bar-track {
  flex: 1; height: 8px;
  background: #E2E8F0; border-radius: 99px; overflow: hidden;
}
.score-bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #2563EB, #10B981);
  transition: width .4s ease;
}
.score-bar-label {
  font-size: .72rem; font-weight: 700;
  color: #10B981; white-space: nowrap; min-width: 42px; text-align: right;
}

/* Savings bar (full-width, below price) */
.savings-bar {
  display: block;
  font-size: .88rem; font-weight: 700;
  color: #1D4ED8; background: #EFF6FF;
  border-left: 3px solid var(--primary);
  padding: 8px 12px; border-radius: 0 6px 6px 0;
  margin-bottom: 14px;
}
.savings-bar--green {
  color: #065F46; background: #ECFDF5;
  border-left-color: #059669;
}
.savings-bar-placeholder {
  display: block;
  padding: 8px 12px; margin-bottom: 14px;
  font-size: .88rem; visibility: hidden;
}

/* Taxes included badge */
.taxes-badge {
  display: inline-block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #6EE7B7;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* Taxes extra badge */
.taxes-extra-badge {
  display: inline-block;
  background: #F9FAFB;
  color: #6B7280;
  border: 1px solid #D1D5DB;
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  margin-bottom: 8px;
}

/* Smartwatch callout */
.watch-callout {
  background: #FFF7ED;
  border: 1px solid #FB923C;
  border-left: 4px solid #EA580C;
  color: #9A3412;
  font-size: .78rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  margin: 8px 0 10px;
  line-height: 1.4;
}

/* Plan caveat warning */
.plan-caveat {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600;
  color: #92400E; background: #FFFBEB;
  border: 1px solid #FCD34D;
  padding: 5px 10px; border-radius: 6px;
  margin-bottom: 10px;
}

.best-for-badge {
  display: inline-block;
  font-size: .78rem; font-weight: 600;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 10px; border-radius: 99px;
  margin: 8px 0 4px;
}

.card-price {
  margin-bottom: 10px;
}
.price-amount {
  font-size: 2.6rem; font-weight: 900; color: var(--primary);
  line-height: 1;
}
.price-label { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }

.card-features { margin-bottom: 20px; }
.card-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: .88rem; color: var(--text); padding: 4px 0;
}
.feat-icon {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  fill: var(--success);
}

.why-section {
  background: var(--primary-light);
  border-radius: 8px; padding: 12px 14px;
  margin-bottom: 20px;
}
.why-title {
  font-size: .75rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 6px;
}
.why-list li {
  font-size: .83rem; color: var(--text);
  padding: 2px 0; display: flex; align-items: flex-start; gap: 6px;
}
.why-bullet { color: var(--primary); font-weight: 700; flex-shrink: 0; }

.btn-view {
  display: block; width: 100%;
  background: var(--primary); color: #fff;
  padding: 13px; border-radius: 8px;
  font-size: .95rem; font-weight: 700; text-align: center;
  transition: background .15s;
  margin-top: auto;
}
.btn-view:hover { background: var(--primary-dark); }

/* Non-featured cards (picks #2 and #3) — boost CTA prominence */
.plan-card:not(.card-featured) .btn-view {
  padding: 15px;
  font-size: 1rem;
  box-shadow: 0 3px 12px rgba(37,99,235,.28);
}

/* ── All Plans section (below top 3) ───────────────────────── */
.all-plans-toggle {
  text-align: center;
  margin: 16px 0 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.btn-ghost {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 32px; border-radius: 8px;
  font-size: .95rem; font-weight: 700;
  transition: background .15s, color .15s;
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ── Plans Table ───────────────────────────────────────────── */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-bar select {
  padding: 9px 14px; border: 1px solid var(--border);
  border-radius: 8px; background: var(--surface);
  font-size: .9rem; color: var(--text);
  cursor: pointer;
}
.filter-bar select:focus { outline: 2px solid var(--primary); }

.chip-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; margin: 4px 0 10px;
}
.chip-label {
  font-size: .82rem; color: var(--text-muted);
  font-weight: 500; white-space: nowrap;
}
.chip {
  background: #1E293B; color: #94A3B8;
  border: 1px solid #334155; border-radius: 20px;
  padding: 6px 14px; font-size: .82rem; font-weight: 500;
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.chip:hover { border-color: var(--primary); color: #F8FAFC; }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.plan-count-line { font-size: .82rem; color: var(--text-muted); margin: 0 0 14px; }
.plan-count-line span { font-weight: 600; color: var(--primary); }
.row-highlight { background: rgba(37, 99, 235, 0.07) !important; box-shadow: inset 3px 0 0 var(--primary); }
.top-pick-badge {
  display: block; margin-top: 5px;
  background: var(--primary); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: 2px 8px; border-radius: 10px;
  width: fit-content;
}

.table-wrap { overflow-x: auto; overflow-y: auto; max-height: 72vh; border-radius: var(--radius); box-shadow: var(--shadow); }
table {
  width: 100%; border-collapse: collapse;
  background: var(--surface); font-size: .88rem;
}
thead th {
  background: var(--hero-bg); color: var(--hero-text);
  padding: 14px 16px; text-align: left;
  font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .5px;
  white-space: nowrap;
  position: sticky; top: 0; z-index: 10;
}
/* Corner cell — sticky both vertically and horizontally */
thead th.sticky { left: 0; z-index: 20; }
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) { background: #F8FAFC; }
tbody tr:hover { background: var(--primary-light); }
td { padding: 13px 16px; vertical-align: middle; }
td.sticky { position: sticky; left: 0; background: var(--surface); z-index: 1; white-space: nowrap; }
tbody tr:nth-child(even) td.sticky { background: #F8FAFC; }
tr:hover td.sticky { background: var(--primary-light); }

.check-yes { color: var(--success); font-size: 1.1rem; }
.check-no  { color: var(--border); font-size: 1.1rem; }

/* ── Ninja Transparency footer (plans page) ────────────────── */
.ninja-transparency {
  margin: 40px auto 0;
  max-width: 820px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-left: 4px solid #8B5CF6;
  border-radius: 8px;
  padding: 16px 20px;
}
.ninja-transparency-label {
  font-size: .72rem; font-weight: 700;
  color: #8B5CF6; text-transform: uppercase;
  letter-spacing: .6px; margin-bottom: 6px;
}
.ninja-transparency-body {
  font-size: .82rem; color: var(--text-muted);
  line-height: 1.65; margin: 0;
}

/* ── Email capture strip ───────────────────────────────────── */
.email-capture-strip {
  background: #1E293B;
  text-align: center;
  padding: 48px 24px;
}
.email-capture-form {
  display: flex; gap: 10px; justify-content: center;
  flex-wrap: wrap; max-width: 480px; margin: 0 auto;
}
.email-input {
  flex: 1; min-width: 220px;
  padding: 12px 16px; border-radius: 8px;
  border: 2px solid #334155;
  background: #0F172A; color: #F8FAFC;
  font-size: .95rem; outline: none;
}
.email-input:focus { border-color: var(--primary); }
.email-btn {
  background: var(--primary); color: #fff;
  padding: 12px 24px; border-radius: 8px;
  font-size: .95rem; font-weight: 700;
  transition: background .15s; white-space: nowrap;
}
.email-btn:hover { background: var(--primary-dark); }

/* ── Retake / CTA strip ────────────────────────────────────── */
.cta-strip {
  background: var(--hero-bg);
  text-align: center; padding: 48px 24px;
}
.cta-strip h2 { color: var(--hero-text); font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.cta-strip p  { color: var(--hero-sub); margin-bottom: 28px; }

/* ── How it Works ──────────────────────────────────────────── */
.how-section {
  background: #FFFFFF;
  padding: 72px 24px 80px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner { max-width: 900px; margin: 0 auto; }
.how-title {
  font-size: 1.6rem; font-weight: 800; color: var(--text);
  margin-bottom: 52px;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
/* Connector arrows between steps */
.how-steps::before, .how-steps::after {
  content: "→";
  position: absolute; top: 30px;
  font-size: 1.4rem; color: #94A3B8;
  font-weight: 600;
}
.how-steps::before { left: calc(33.33% - 10px); }
.how-steps::after  { left: calc(66.66% - 10px); }
.how-step { padding: 0 16px; }
.how-step-mid { position: relative; }
.how-icon {
  width: 60px; height: 60px;
  background: #EFF6FF;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.how-icon svg { width: 26px; height: 26px; color: #2563EB; }
.how-step-num {
  font-size: .72rem; font-weight: 800; color: #8B5CF6;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 8px;
}
.how-step-title {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin-bottom: 8px;
}
.how-step-desc { font-size: .95rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 640px) {
  .how-steps { grid-template-columns: 1fr; gap: 36px; }
  .how-steps::before, .how-steps::after { display: none; }
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #0B1120;
  padding: 36px 24px;
  text-align: center;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { font-size: 1.2rem; font-weight: 800; color: var(--hero-text); margin-bottom: 10px; font-family: 'Space Grotesk', sans-serif; }
.footer-note  { font-size: .8rem; color: #64748B; max-width: 600px; margin: 0 auto 12px; }
.footer-links { margin-bottom: 12px; }
.footer-links a { font-size: .78rem; color: #64748B; text-decoration: none; }
.footer-links a:hover { color: #8B5CF6; text-decoration: underline; }
.footer-sep   { font-size: .78rem; color: #334155; margin: 0 8px; }
.footer-copy  { font-size: .78rem; color: #475569; }

/* ── Start Now CTA ─────────────────────────────────────────── */
.cta-section { background: #0B1120; padding: 64px 24px; text-align: center; }
.cta-title { font-size: 1.75rem; font-weight: 800; color: #F1F5F9; margin-bottom: 24px; }
.cta-btn {
  display: inline-block;
  background: #7C3AED;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
}
.cta-btn:hover { background: #6D28D9; }
.cta-sub { font-size: .82rem; color: #64748B; margin-top: 14px; }

/* ── Legal Pages ───────────────────────────────────────────── */
.legal-page { background: #fff; padding: 60px 24px; }
.legal-inner { max-width: 740px; margin: 0 auto; }
.legal-inner h1 { font-size: 2rem; font-weight: 800; color: #0F172A; margin-bottom: 4px; }
.legal-date { font-size: .82rem; color: #94A3B8; margin-bottom: 36px; }
.legal-inner h2 { font-size: 1.05rem; font-weight: 700; color: #1E293B; margin: 28px 0 8px; }
.legal-inner p, .legal-inner li { font-size: .92rem; color: #475569; line-height: 1.7; }
.legal-inner ul { padding-left: 20px; margin-bottom: 12px; }
.legal-inner a { color: #7C3AED; text-decoration: underline; }

/* ── Utility ───────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  /* Card 3 is alone in row 2 — remove blank banner space above it */
  .card-wrapper:last-child .card-top-banner.banner-hidden { display: none; }
  .card-wrapper:last-child .plan-card { border-radius: var(--radius); }
}
@media (max-width: 640px) {
  .hero { padding: 48px 16px 56px; }
  .quiz-body { padding: 24px 20px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .nav-links a { padding: 5px 10px; font-size: .85rem; }
  /* Vertical stacking — no horizontal alignment needed, remove blank banner gaps */
  .card-top-banner.banner-hidden { display: none; }
  .card-top-banner.banner-hidden + .plan-card { border-radius: var(--radius); }

  /* 1 — Quiz tap targets */
  .quiz-option { min-height: 52px; padding: 14px 16px; }

  /* 3 — Card price font */
  .price-amount { font-size: 2rem; }

  /* 4 — Results hero: enough padding so Retake Quiz button clears the overlap */
  .results-hero-section { padding-bottom: 110px !important; }

  /* 5 — Navi results image: shrink on mobile */
  .navi-results-wrap { width: 140px; height: 140px; margin-bottom: 12px; }
  .navi-results-img { width: 140px; height: 140px; object-fit: contain; }
}
