/* ============================================================
 *  FILE:  /<funnel>/assets/css/funnel.css
 *  ROLE:  Pagina-specifieke styles voor de funnel-landingspagina
 *         (hero, problem, solution, offer, FAQ, forms, sticky CTA, ...)
 *  USED BY:  /<funnel>/index.php
 *  LOADS AFTER:  base.css  (tokens, typografie-basis, nav, footer, container)
 * ============================================================ */

/* ============ TYPOGRAPHY — sizes (basis staat in base.css) ============ */
h1 { font-size: clamp(40px, 7vw, 76px); font-variation-settings: 'opsz' 144, 'SOFT' 30; }
h2 { font-size: clamp(32px, 5vw, 54px); font-variation-settings: 'opsz' 80; }
h3 { font-size: clamp(22px, 3vw, 32px); font-variation-settings: 'opsz' 36; line-height: 1.2; }

.nav-trust {
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stars {
  letter-spacing: 1px;
  color: var(--gold);
  font-size: 13px;
}

/* ============ HERO ============ */
.hero {
  padding: 130px 0 80px;
  position: relative;
  overflow: clip;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, var(--brand-soft) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, var(--gold-soft) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease both;
}
.hero h1 {
  margin: 20px 0 24px;
}
.hero h1 .italic {
  color: var(--brand);
  font-style: italic;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-soft);
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 36px;
}

/* Hero form */
.hero-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin-bottom: 24px;
  scroll-margin-top: 100px;
}
.form-row {
  display: flex;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.form-row:focus-within {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--brand-soft);
}
.form-row input[type="email"],
.form-row input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.form-row input[type="email"]::placeholder,
.form-row input[type="text"]::placeholder {
  color: var(--ink-mute);
}

/* Stacked variant: name on top, email + button below */
.form-row-stacked {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.form-row-stacked:focus-within {
  border-color: var(--brand);
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--brand-soft);
}
.form-row-stacked .field-name {
  padding: 14px 18px 10px;
  border-bottom: 1px solid var(--line);
}
.form-row-stacked .field-name input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  padding: 0;
}
.form-row-stacked .field-name input::placeholder {
  color: var(--ink-mute);
}
.form-row-stacked .field-name label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 2px;
}
.form-row-stacked .field-name .optional {
  color: var(--ink-mute);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  margin-left: 4px;
}
.form-row-stacked .field-email-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.form-row-stacked .field-email-row input[type="email"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.form-row-stacked .field-email-row input[type="email"]::placeholder {
  color: var(--ink-mute);
}
.cta-btn {
  background: var(--accent);
  color: white;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
  box-shadow: 0 4px 14px -2px rgba(235, 38, 76, .35);
}
.cta-btn:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -4px rgba(235, 38, 76, .45);
}
.cta-btn:active {
  transform: translateY(0);
}
.cta-btn svg {
  transition: transform .25s ease;
}
.cta-btn:hover svg {
  transform: translateX(3px);
}

.trust-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-mute);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-item svg {
  flex-shrink: 0;
  color: var(--brand);
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 580px;
  animation: fadeUp 1.2s ease .2s both;
}

/* Main hero image placeholder */
.hero-img {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1a2540 0%, #0E1726 60%, #2a1e4a 100%);
  box-shadow: var(--shadow-lg);
}
/* Real image goes here — Pixabay/Pexels image OR placeholder visuals below */
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative placeholder content if no image is loaded */
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, .9);
}
.moon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e7 0%, #f0d894 50%, #c89e3f 100%);
  box-shadow: 0 0 80px rgba(255, 230, 150, .4), 0 0 120px rgba(255, 230, 150, .2);
  margin-bottom: 32px;
  position: relative;
  animation: glow 4s ease-in-out infinite alternate;
}
.moon::after {
  content: '';
  position: absolute;
  width: 35px;
  height: 35px;
  background: radial-gradient(circle, rgba(14, 23, 38, .15), transparent 70%);
  border-radius: 50%;
  top: 30%;
  left: 35%;
}
.placeholder-text {
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
  font-variation-settings: 'SOFT' 100;
  color: rgba(255, 255, 255, .65);
  max-width: 280px;
  line-height: 1.4;
  letter-spacing: .02em;
}

/* Stars in hero image */
.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite alternate;
}
.star:nth-child(1) { top: 15%; left: 20%; width: 3px; height: 3px; animation-delay: 0s; }
.star:nth-child(2) { top: 25%; right: 25%; width: 2px; height: 2px; animation-delay: 1s; }
.star:nth-child(3) { top: 60%; left: 15%; width: 2px; height: 2px; animation-delay: 2s; }
.star:nth-child(4) { top: 75%; right: 20%; width: 3px; height: 3px; animation-delay: .5s; }
.star:nth-child(5) { top: 40%; right: 12%; width: 1.5px; height: 1.5px; animation-delay: 1.5s; }

/* Floating review card */
.review-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: var(--paper);
  padding: 18px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 280px;
  z-index: 3;
  animation: fadeUp 1.4s ease .4s both;
}
.review-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.review-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 8px;
  font-variation-settings: 'SOFT' 100;
}
.review-author {
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============ MARQUEE TRUST ROW ============ */
.trust-bar {
  background: var(--ink);
  color: var(--cream);
  padding: 24px 0;
  position: relative;
}
.trust-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(250, 247, 242, .75);
}
.trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.trust-bar-divider {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: .5;
}

/* ============ PROBLEM SECTION ============ */
.problem {
  padding: 100px 0;
  background: var(--cream);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem-text h2 {
  margin: 24px 0 32px;
}
.problem-text .italic { color: var(--brand); font-style: italic; }
.problem-list {
  list-style: none;
}
.problem-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  line-height: 1.5;
}
.problem-list li:last-child { border-bottom: none; }
.problem-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

/* Image placeholder block */
.img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, #1a2540 0%, #0E1726 100%);
  box-shadow: var(--shadow-lg);
}
.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: rgba(255, 255, 255, .7);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  font-variation-settings: 'SOFT' 100;
}

/* ============ SOLUTION SECTION ============ */
.solution {
  background: var(--ink);
  color: var(--cream);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.solution::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(83, 74, 183, .25) 0%, transparent 60%);
  pointer-events: none;
}
.solution h2 { color: var(--cream); margin-bottom: 24px; max-width: 800px; }
.solution h2 .italic { color: var(--gold); font-style: italic; }
.solution .eyebrow { color: var(--gold); }
.solution .eyebrow::before { background: var(--gold); }

.solution-intro {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(250, 247, 242, .8);
  max-width: 720px;
  line-height: 1.55;
  margin-bottom: 80px;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.solution-card {
  background: rgba(250, 247, 242, .03);
  border: 1px solid rgba(250, 247, 242, .1);
  border-radius: var(--radius);
  padding: 36px 28px;
  backdrop-filter: blur(8px);
  transition: all .3s ease;
}
.solution-card:hover {
  background: rgba(250, 247, 242, .06);
  border-color: rgba(200, 166, 100, .3);
  transform: translateY(-4px);
}
.solution-num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--gold);
  font-style: italic;
  line-height: 1;
  margin-bottom: 20px;
  font-variation-settings: 'opsz' 80, 'SOFT' 100;
}
.solution-card h3 {
  color: var(--cream);
  margin-bottom: 12px;
  font-size: 22px;
}
.solution-card p {
  color: rgba(250, 247, 242, .7);
  font-size: 15px;
  line-height: 1.6;
}

/* ============ OFFER STACK ============ */
.offer {
  background: var(--cream-warm);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.offer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -20%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, var(--brand-soft) 0%, transparent 60%);
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .5;
}
.offer-header {
  text-align: center;
  margin-bottom: 70px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.offer-header h2 { margin: 20px 0 20px; }
.offer-header h2 .italic { color: var(--brand); font-style: italic; }
.offer-header p {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.gifts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}
.gift {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1px solid transparent;
}
.gift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-soft);
}
.gift-badge {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--brand);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gift-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin: 16px 0 24px;
}
.gift h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.gift p {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 16px;
}
.gift-value {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-mute);
}
.gift-value s { opacity: .6; }
.gift-value strong { color: var(--brand); font-weight: 600; }

/* Total value box */
.total-box {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 740px;
  margin: 0 auto 40px;
  box-shadow: var(--shadow);
  border: 2px solid var(--brand);
  position: relative;
}
.total-box::before {
  content: 'JOUW PRIJS VANDAAG';
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--brand);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  padding: 4px 14px;
  border-radius: 20px;
}
.total-left .label {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.total-left .strike {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-mute);
  text-decoration: line-through;
}
.total-right {
  text-align: right;
}
.total-right .label {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.total-right .price {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  font-variation-settings: 'opsz' 80;
}

/* Inline form (second instance) */
.inline-form {
  max-width: 540px;
  margin: 0 auto;
}
.inline-form .form-row { box-shadow: var(--shadow-lg); }
.inline-form-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 16px;
}

/* ============ HOW IT WORKS ============ */
.how {
  padding: 120px 0;
  background: var(--cream);
}
.how-header {
  text-align: center;
  margin-bottom: 70px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.how-header h2 { margin: 20px 0; }
.how-header h2 .italic { color: var(--brand); font-style: italic; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--brand-soft) 0 8px, transparent 8px 16px);
}
.step {
  text-align: center;
  position: relative;
  background: var(--cream);
  padding: 0 16px;
}
.step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  background: var(--paper);
  border: 1.5px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 28px;
  color: var(--brand);
  font-style: italic;
  font-variation-settings: 'opsz' 36, 'SOFT' 100;
  box-shadow: 0 4px 14px -4px rgba(83, 74, 183, .25);
}
.step h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.step p {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
  background: var(--cream-warm);
  padding: 120px 0;
  position: relative;
}
.testimonials-header {
  text-align: center;
  margin-bottom: 70px;
}
.testimonials-header h2 { margin: 20px 0 16px; }
.testimonials-header h2 .italic { color: var(--brand); font-style: italic; }
.rating-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 10px 20px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  margin-top: 8px;
}
.rating-row .big-stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 2px;
}
.rating-row strong { color: var(--ink); font-weight: 600; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--paper);
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial:nth-child(2) {
  background: var(--ink);
  color: var(--cream);
}
.testimonial:nth-child(2) .t-text { color: var(--cream); }
.testimonial:nth-child(2) .t-name { color: var(--cream); }
.testimonial:nth-child(2) .t-meta { color: rgba(250, 247, 242, .6); }

.t-stars { color: var(--gold); letter-spacing: 2px; font-size: 16px; }
.t-text {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: 'opsz' 24, 'SOFT' 30;
  flex: 1;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, .08);
}
.testimonial:nth-child(2) .t-author { border-top-color: rgba(255, 255, 255, .15); }
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--brand);
  font-weight: 500;
  flex-shrink: 0;
}
.t-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.t-meta { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }

/* ============ FAQ ============ */
.faq {
  padding: 120px 0;
  background: var(--cream);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.faq-intro h2 { margin: 20px 0 24px; }
.faq-intro h2 .italic { color: var(--brand); font-style: italic; }
.faq-intro p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}
.faq-intro-img {
  background: var(--cream-deep);
  border-radius: var(--radius);
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 13px;
  text-align: center;
  box-shadow: #a19c9c 0px 2px 10px;
  line-height: 1.5;
  font-variation-settings: 'SOFT' 100;
  overflow: hidden;
  position: relative;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -.01em;
  transition: color .2s ease;
}
.faq-q:hover { color: var(--brand); }
.faq-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  font-size: 18px;
  font-weight: 300;
  transition: transform .3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 0 24px;
}

/* ============ FINAL CTA ============ */
.final {
  padding: 130px 0;
  background: linear-gradient(180deg, var(--ink) 0%, #1a2540 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.final::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(200, 166, 100, .2) 0%, transparent 60%);
  pointer-events: none;
}
.final-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.final h2 {
  color: var(--cream);
  margin: 24px 0 28px;
  font-size: clamp(36px, 6vw, 64px);
}
.final h2 .italic { color: var(--gold); font-style: italic; }
.final .eyebrow { color: var(--gold); }
.final .eyebrow::before { background: var(--gold); }
.final p {
  font-size: clamp(18px, 2vw, 22px);
  color: rgba(250, 247, 242, .85);
  margin-bottom: 50px;
  line-height: 1.5;
}

.final .form-row,
.final .form-row-stacked {
  background: rgba(250, 247, 242, .08);
  border-color: rgba(250, 247, 242, .15);
  backdrop-filter: blur(8px);
}
.final .form-row input[type="email"],
.final .form-row input[type="text"],
.final .form-row-stacked input[type="email"],
.final .form-row-stacked input[type="text"] {
  color: var(--cream);
}
.final .form-row input[type="email"]::placeholder,
.final .form-row input[type="text"]::placeholder,
.final .form-row-stacked input[type="email"]::placeholder,
.final .form-row-stacked input[type="text"]::placeholder {
  color: rgba(250, 247, 242, .5);
}
.final .form-row:focus-within,
.final .form-row-stacked:focus-within {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(200, 166, 100, .15);
}
.final .form-row-stacked .field-name {
  border-bottom-color: rgba(250, 247, 242, .15);
}
.final .form-row-stacked .field-name label {
  color: rgba(250, 247, 242, .55);
}
.final .form-row-stacked .field-name .optional {
  color: rgba(250, 247, 242, .4);
}
.final-note {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(250, 247, 242, .55);
}

/* ============ FOOTER ============ */
/* ============ STICKY MOBILE CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px -8px rgba(14, 23, 38, .15);
  z-index: 100;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  display: none;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  gap: 8px;
}

/* ============ ANIMATIONS ============ */
@keyframes twinkle {
  from { opacity: .3; }
  to   { opacity: 1; }
}
@keyframes glow {
  from { box-shadow: 0 0 60px rgba(255, 230, 150, .3), 0 0 100px rgba(255, 230, 150, .15); }
  to   { box-shadow: 0 0 100px rgba(255, 230, 150, .5), 0 0 160px rgba(255, 230, 150, .25); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ FORM STATES ============ */
.success-msg {
  display: none;
  padding: 20px 24px;
  background: var(--brand-soft);
  border-radius: var(--radius);
  color: var(--brand-deep);
  font-size: 15px;
  text-align: center;
  margin-top: 16px;
  border: 1px solid var(--brand);
}
.success-msg.show { display: block; animation: fadeUp .5s ease both; }
.error-msg {
  color: var(--accent);
  font-size: 13px;
  padding-left: 10px;
  margin-top: 6px;
  display: none;
}
.error-msg.show { display: block; }

/* Button loading state */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.mailpoet-form.is-loading .btn-label { opacity: .65; }
.mailpoet-form.is-loading .btn-arrow { display: none; }
.mailpoet-form.is-loading .btn-spinner { display: inline-block; }
.mailpoet-form.is-loading .cta-btn { cursor: wait; }

/* Submitted state — hide the form-row, success message takes over */
.mailpoet-form.is-submitted .form-row { opacity: .4; pointer-events: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero { padding: 110px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { width: 100%; height: 460px; max-width: 500px; margin: 0 auto; }
  .review-card { left: 50%; transform: translateX(-50%); bottom: -30px; }

  .problem { padding: 80px 0; }
  .problem-grid { grid-template-columns: 1fr; gap: 50px; }
  .problem-text { order: 2; }

  .solution { padding: 80px 0; }
  .solution-grid { grid-template-columns: 1fr; gap: 20px; }

  .offer { padding: 80px 0; }
  .gifts { grid-template-columns: 1fr; gap: 18px; }
  .total-box { padding: 28px 24px; flex-direction: column; text-align: center; gap: 16px; }
  .total-right { text-align: center; }

  .how { padding: 80px 0; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }

  .testimonials { padding: 80px 0; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 18px; }

  .faq { padding: 80px 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 50px; }

  .final { padding: 90px 0; }

  .form-row { flex-direction: column; padding: 8px; }
  .form-row input[type="email"], .form-row input[type="text"] { width: 100%; }
  .form-row-stacked .field-email-row { flex-direction: column; align-items: stretch; }
  .form-row-stacked .field-email-row input[type="email"] { width: 100%; }
  .cta-btn { width: 100%; justify-content: center; }

  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}

@media (max-width: 500px) {
  .nav-trust { display: none; }
  .hero-visual { height: 380px; }
  .moon { width: 100px; height: 100px; }
  .total-right .price { font-size: 42px; }
  .review-card { max-width: 240px; padding: 14px 18px; }
}