/* ============================================
   LP-PV-4 — EASY PAC STYLE
   Font: Plus Jakarta Sans
   Primary: emerald/teal  |  Accent: orange
   Multi-step quiz layout
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: hsl(160, 10%, 12%);
  background: hsl(0, 0%, 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === VARIABLES === */
:root {
  --primary: hsl(160, 84%, 39%);
  --primary-hover: hsl(160, 84%, 33%);
  --primary-light: hsl(160, 60%, 95%);
  --primary-bg: hsla(160, 84%, 39%, 0.06);
  --accent: hsl(30, 90%, 55%);
  --accent-hover: hsl(30, 90%, 48%);
  --accent-light: hsl(30, 90%, 95%);
  --gold: hsl(43, 96%, 56%);
  --destructive: hsl(0, 84%, 60%);
  --bg: hsl(0, 0%, 100%);
  --bg-alt: hsl(150, 20%, 97%);
  --bg-hero: hsl(150, 30%, 97%);
  --dark: hsl(160, 20%, 10%);
  --foreground: hsl(160, 10%, 12%);
  --muted: hsl(160, 6%, 45%);
  --muted-light: hsl(150, 10%, 60%);
  --border: hsl(150, 15%, 90%);
  --border-strong: hsl(150, 15%, 82%);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.05);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.center { text-align: center; }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-weight: 800; color: var(--foreground); letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.125rem); }
h3 { font-size: 1.2rem; }
p { color: var(--muted); line-height: 1.7; }
strong { color: var(--foreground); font-weight: 700; }
.text-primary { color: var(--primary); }
.text-accent-orange { color: var(--accent); }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-tag.center { display: block; text-align: center; }
.section-title { margin-bottom: 2.5rem; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: hsla(0, 0%, 100%, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.35rem; font-weight: 800; color: var(--foreground); text-decoration: none; letter-spacing: -0.03em; }
.logo-dot { color: var(--primary); }
.header-trust { display: flex; align-items: center; gap: 0.5rem; }
.header-badge-gold { font-size: 0.7rem; font-weight: 700; color: hsl(43, 80%, 40%); background: hsl(43, 90%, 93%); border: 1px solid hsl(43, 70%, 80%); padding: 0.2rem 0.6rem; border-radius: 100px; }
.header-badge-green { font-size: 0.7rem; font-weight: 700; color: var(--primary); background: var(--primary-light); border: 1px solid hsla(160, 84%, 39%, 0.15); padding: 0.2rem 0.6rem; border-radius: 100px; }

/* ====================================================
   HERO — BG IMAGE + TEXT LEFT + QUIZ RIGHT
   ==================================================== */
.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
  min-height: 620px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(160, 20%, 8%, 0.93) 0%, hsla(160, 20%, 8%, 0.82) 50%, hsla(160, 20%, 8%, 0.7) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

/* === HERO LEFT === */
.hero-left { color: #fff; padding-top: 0.5rem; }
.hero-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: hsla(30, 90%, 55%, 0.1);
  border: 1px solid hsla(30, 90%, 55%, 0.2);
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero-left h1 { color: #fff; margin-bottom: 1.25rem; line-height: 1.2; }
.hero-sub { font-size: 1.05rem; color: hsla(0, 0%, 100%, 0.7); margin-bottom: 2rem; max-width: 500px; line-height: 1.7; }
.hero-sub strong { color: #fff; }

/* Stats Row */
.hero-stats-row {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  background: hsla(0, 0%, 100%, 0.06);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: var(--radius);
  padding: 1.125rem 0;
  backdrop-filter: blur(4px);
}
.stat-item { flex: 1; text-align: center; }
.stat-value { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 0.15rem; }
.stat-label { font-size: 0.7rem; color: hsla(0, 0%, 100%, 0.5); }
.stat-divider { width: 1px; background: hsla(0, 0%, 100%, 0.1); }

/* Proof */
.hero-proof { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.75rem; }
.proof-avatars { display: flex; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2.5px solid hsla(0, 0%, 100%, 0.3); margin-right: -10px; object-fit: cover; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }
.avatar:last-child { margin-right: 0; }
.proof-text { font-size: 0.8rem; color: hsla(0, 0%, 100%, 0.7); }
.proof-text strong { color: var(--primary); }

/* Certifs */
.hero-certifs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.certif { font-size: 0.62rem; font-weight: 700; color: hsla(0, 0%, 100%, 0.55); background: hsla(0, 0%, 100%, 0.06); border: 1px solid hsla(0, 0%, 100%, 0.1); padding: 0.25rem 0.625rem; border-radius: 100px; letter-spacing: 0.02em; }
.certif-primary { color: var(--primary) !important; background: hsla(160, 84%, 39%, 0.1) !important; border-color: hsla(160, 84%, 39%, 0.2) !important; }

/* ====================================================
   QUIZ CARD
   ==================================================== */
.hero-right { position: relative; }

.quiz-card {
  background: hsla(0, 0%, 100%, 0.98);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

/* Progress */
.quiz-progress { margin-bottom: 1.75rem; }
.progress-bar { height: 4px; background: var(--border); border-radius: 100px; overflow: hidden; margin-bottom: 0.5rem; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 100px; width: 25%; transition: width 0.4s ease; }
.progress-text { font-size: 0.72rem; font-weight: 600; color: var(--muted); }

/* Step */
.quiz-step { display: none; animation: fadeIn 0.3s ease; }
.quiz-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.step-title { font-size: 1.2rem; font-weight: 800; color: var(--foreground); margin-bottom: 0.375rem; letter-spacing: -0.02em; }
.step-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Option Cards */
.options-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.625rem; }
.options-grid.cols-2 { grid-template-columns: 1fr 1fr; }

.option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
  font-family: inherit;
  font-size: inherit;
  color: var(--foreground);
}
.option-card:hover { border-color: var(--border-strong); background: hsl(150, 20%, 95%); transform: translateY(-1px); }
.option-card.selected { border-color: var(--primary); background: var(--primary-bg); box-shadow: 0 0 0 1px var(--primary); }
.option-icon { font-size: 1.75rem; line-height: 1; }
.option-label { font-size: 0.85rem; font-weight: 600; color: var(--foreground); }

/* Step Field (code postal) */
.step-field { margin-bottom: 1rem; }
.step-field input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: center;
  letter-spacing: 0.1em;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.step-field input::placeholder { color: var(--muted-light); font-weight: 400; letter-spacing: 0; }
.step-field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px hsla(160, 84%, 39%, 0.1); }
.field-error { font-size: 0.75rem; color: var(--destructive); margin-top: 0.35rem; text-align: center; min-height: 1rem; }

/* Next Button */
.btn-next {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px hsla(160, 84%, 39%, 0.2);
}
.btn-next:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: 0 4px 16px hsla(160, 84%, 39%, 0.25); }
.btn-next:active { transform: translateY(0); }

/* Back Button */
.btn-back {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  padding: 0.75rem 0 0;
  transition: color var(--transition);
}
.btn-back:hover { color: var(--foreground); }

/* === STEP 4: Form Fields === */
.fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.field-group { margin-bottom: 0.75rem; }
.field-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: 0.3rem; }
.field-group input {
  width: 100%;
  padding: 0.7rem 0.875rem;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--foreground);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.field-group input::placeholder { color: var(--muted-light); }
.field-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px hsla(160, 84%, 39%, 0.1); }
.field-group input.valid { border-color: var(--primary); }
.field-group input.error { border-color: var(--destructive); }
.field-group .field-error { font-size: 0.72rem; color: var(--destructive); margin-top: 0.2rem; text-align: left; }

/* Consent */
.consent { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.73rem; color: var(--muted); line-height: 1.5; cursor: pointer; margin-bottom: 1rem; }
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.consent input[type="checkbox"]:checked { background: var(--primary); border-color: var(--primary); }
.consent input[type="checkbox"]:checked::after { content: '\2713'; position: absolute; top: -1px; left: 2px; font-size: 0.68rem; color: white; font-weight: 800; }
.consent a { color: var(--primary); text-decoration: underline; }

/* Submit */
.btn-submit {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px hsla(30, 90%, 55%, 0.25);
}
.btn-submit:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px hsla(30, 90%, 55%, 0.3); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* Step Reassurance */
.step-reassurance { display: flex; justify-content: center; gap: 0.75rem; margin-top: 0.75rem; font-size: 0.68rem; color: var(--muted); flex-wrap: wrap; }

/* === LOADING === */
.quiz-loading { display: none; text-align: center; padding: 3rem 2rem; background: hsla(0, 0%, 100%, 0.98); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.quiz-loading.active { display: block; }
.spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 1.5rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.quiz-loading h3 { margin-bottom: 1.5rem; font-size: 1.1rem; }
.load-steps { display: flex; flex-direction: column; gap: 0.75rem; max-width: 280px; margin: 0 auto; text-align: left; }
.load-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: var(--muted-light); transition: color 0.3s; }
.load-item .li-icon { width: 20px; text-align: center; flex-shrink: 0; }
.load-item.done { color: var(--primary); }
.load-item.done .li-icon { color: var(--primary); }

/* === CONFIRMATION === */
.quiz-confirm { display: none; text-align: center; padding: 2.5rem 2rem; background: hsla(0, 0%, 100%, 0.98); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.quiz-confirm.active { display: block; }
.confirm-icon { margin-bottom: 1rem; }
.quiz-confirm h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.quiz-confirm > p { max-width: 380px; margin: 0 auto 1.5rem; font-size: 0.9rem; }
.confirm-details { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; max-width: 340px; margin: 0 auto; }
.cd-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.cd-row:last-child { border-bottom: none; }
.cd-row span { color: var(--muted); }
.cd-row strong { color: var(--foreground); }

/* === PROOF SECTION === */
.proof-section { padding: 2rem 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.proof-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.proof-item {}
.pi-value { display: block; font-size: 1.5rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }
.pi-label { font-size: 0.75rem; color: var(--muted); }

/* === BENEFITS SECTION === */
.benefits-section { padding: 5rem 0; background: var(--bg-alt); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.bc-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--foreground); }
.benefit-card p { font-size: 0.85rem; line-height: 1.6; }

/* === COMPARE SECTION === */
.compare-section { padding: 5rem 0; background: var(--bg); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.compare-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
}
.compare-card.good { border-color: var(--primary); border-width: 2px; }
.cc-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; background: hsl(0, 84%, 95%); color: hsl(0, 84%, 50%); }
.cc-badge.green { background: var(--primary-light); color: var(--primary); }
.cc-amount { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.25rem; }
.cc-amount.red { color: var(--destructive); }
.cc-amount.green { color: var(--primary); }
.cc-detail { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; }
.cc-list { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 0.5rem; }
.cc-list li { font-size: 0.85rem; color: var(--foreground); padding-left: 1.5rem; position: relative; }
.compare-card.bad .cc-list li::before { content: '\2715'; position: absolute; left: 0; color: var(--destructive); font-weight: 700; font-size: 0.75rem; }
.compare-card.good .cc-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

.savings-banner {
  text-align: center;
  padding: 1.25rem;
  background: var(--primary-light);
  border: 1px solid hsla(160, 84%, 39%, 0.15);
  border-radius: var(--radius);
}
.sb-label { font-size: 0.9rem; color: var(--foreground); margin-right: 0.5rem; }
.sb-amount { font-size: 1.75rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; }

/* === FAQ === */
.faq-section { padding: 5rem 0; background: var(--bg-alt); }
.faq-section .section-title { margin-bottom: 2.5rem; }
.faq-list { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary { padding: 1rem 1.25rem; font-size: 0.95rem; font-weight: 600; color: var(--foreground); cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; transition: background var(--transition); }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item summary::after { content: '+'; font-size: 1.25rem; font-weight: 400; color: var(--muted); flex-shrink: 0; margin-left: 1rem; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 1.25rem 1rem; font-size: 0.85rem; line-height: 1.7; }

/* === CTA BUTTONS === */
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px hsla(30, 90%, 55%, 0.25);
}
.btn-cta:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 16px hsla(30, 90%, 55%, 0.3); }
.btn-cta:active { transform: translateY(0); }

/* === FINAL CTA === */
.final-cta { padding: 5rem 0; background: var(--bg); }
.final-loss { font-size: 1rem; color: var(--destructive); font-weight: 600; margin-bottom: 1rem; }
.final-loss strong { color: var(--destructive); }
.final-cta h2 { margin-bottom: 1.5rem; }
.final-guarantees { display: flex; justify-content: center; gap: 1.25rem; margin-top: 1.25rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }

/* === FOOTER === */
.footer { text-align: center; padding: 2rem 1rem 5rem; color: var(--muted-light); font-size: 0.75rem; line-height: 1.5; border-top: 1px solid var(--border); }
.footer-links { margin: 0.5rem 0 1rem; display: flex; justify-content: center; gap: 1.5rem; }
.footer-links a { color: var(--muted); text-decoration: underline; }
.footer-disclaimer { max-width: 600px; margin: 0 auto; font-size: 0.65rem; color: var(--muted-light); line-height: 1.6; }
.footer-disclaimer p { margin-bottom: 0.5rem; }

/* === MODALES === */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 10000; justify-content: center; align-items: center; padding: 1rem; }
.modal.active { display: flex; }
.modal-content { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; max-width: 600px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--foreground); }
.modal-content h2 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--foreground); }
.modal-content h3 { font-size: 1rem; margin-top: 1.25rem; margin-bottom: 0.5rem; }
.modal-content p, .modal-content li { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.modal-content a { color: var(--primary); }
.modal-date { font-style: italic; color: var(--muted-light) !important; font-size: 0.8rem !important; }

/* === EXIT POPUP === */
.exit-popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10001; justify-content: center; align-items: center; padding: 1rem; }
.exit-popup.active { display: flex; }
.exit-popup-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.exit-popup-card { position: relative; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem 2rem; max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-xl); animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes popIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.exit-popup-close { position: absolute; top: 0.75rem; right: 0.75rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.exit-popup-close:hover { color: var(--foreground); }
.exit-popup-card h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }
.exit-popup-card p { font-size: 0.95rem; margin-bottom: 1.5rem; color: var(--muted); }
.exit-popup-card .btn-cta { display: block; margin-bottom: 0.75rem; }
.exit-dismiss { background: none; border: none; color: var(--muted); font-size: 0.8rem; cursor: pointer; text-decoration: underline; font-family: inherit; }
.exit-dismiss:hover { color: var(--foreground); }

/* === MOBILE HERO INTRO (above quiz on mobile) === */
.mobile-hero-intro {
  display: none;
}
.mobile-hero-intro .hero-pill { margin-bottom: 0.75rem; }
.mobile-hero-intro h1 { color: #fff; margin-bottom: 0.5rem; line-height: 1.2; font-size: clamp(1.4rem, 4vw, 1.75rem); }
.mobile-hero-intro .hero-sub { font-size: 0.9rem; color: hsla(0, 0%, 100%, 0.7); margin-bottom: 1rem; line-height: 1.5; }
.mobile-hero-intro .hero-sub strong { color: #fff; }

/* === STICKY CTA (always visible) === */
.sticky-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.sticky-cta.hidden { transform: translateY(100%); }
.sticky-cta-btn {
  display: block;
  width: 100%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem;
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 2px 8px hsla(30, 90%, 55%, 0.25);
}

/* ====================================================
   RESPONSIVE — QUIZ FIRST ON MOBILE
   ==================================================== */
@media (max-width: 968px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-right { order: -1; }
  .hero-left { padding-top: 0; }
  .hero { min-height: auto; padding: 1rem 0 2rem; }
  .hero-stats-row { max-width: 480px; }
  .mobile-hero-intro { display: block; margin-bottom: 1rem; }
}

@media (max-width: 768px) {
  .hero { padding: 0.75rem 0 1.5rem; }
  .hero-stats-row { flex-direction: column; padding: 1rem; gap: 0.75rem; }
  .stat-divider { width: 60%; height: 1px; margin: 0 auto; }
  .hero-certifs { justify-content: center; }
  .compare-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .proof-bar { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .options-grid { grid-template-columns: 1fr 1fr; }
  .options-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .fields-row { grid-template-columns: 1fr; }
  .quiz-card { padding: 1.5rem; }
  .final-guarantees { flex-direction: column; align-items: center; gap: 0.375rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .options-grid { grid-template-columns: 1fr; }
  .options-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .hero-proof { flex-direction: column; text-align: center; }
  .proof-avatars { justify-content: center; }
  .quiz-card { padding: 1.25rem; border-radius: var(--radius); }
  .step-reassurance { flex-direction: column; align-items: center; gap: 0.25rem; }
  .proof-bar { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.35rem; }
}
