:root {
  --ivory:      #FDF9F3;
  --gold:       #B8963E;
  --gold-light: #D4AF6A;
  --gold-pale:  #F5EDD6;
  --charcoal:   #1A1A1A;
  --gray-800:   #1F2937;
  --gray-700:   #374151;
  --gray-500:   #6B7280;
  --gray-300:   #D1D5DB;
  --gray-100:   #F3F4F6;
  --white:      #FFFFFF;
  --red:        #DC2626;
  --radius:     12px;
  --shadow:     0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,249,243,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--charcoal); letter-spacing: -0.3px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--white);
  border: none; border-radius: 8px;
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif; cursor: pointer;
  transition: background 0.15s, transform 0.1s; white-space: nowrap;
}
.btn-primary:hover  { background: var(--gold-light); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-primary.btn-full { width: 100%; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 76px 0 64px; text-align: center; }

.badge {
  display: inline-block; background: var(--gold-pale); color: var(--gold);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px;
  margin-bottom: 24px; letter-spacing: 0.2px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 6vw, 58px); font-weight: 700;
  line-height: 1.15; letter-spacing: -1px; color: var(--charcoal);
  max-width: 700px; margin: 0 auto 20px;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 18px); color: var(--gray-700);
  max-width: 540px; margin: 0 auto 36px; line-height: 1.7;
}

.signup-row {
  display: flex; gap: 10px; justify-content: center;
  max-width: 480px; margin: 0 auto 16px;
}

.email-input {
  flex: 1; min-width: 0;
  border: 1.5px solid var(--gray-300); border-radius: 10px;
  padding: 14px 16px; font-size: 15px; font-family: 'Inter', sans-serif;
  background: var(--white); color: var(--charcoal); transition: border-color 0.15s;
}
.email-input:focus { outline: none; border-color: var(--gold); }
.email-input::placeholder { color: var(--gray-500); }

.email-input-dark {
  border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: var(--white);
}
.email-input-dark::placeholder { color: rgba(255,255,255,0.4); }
.email-input-dark:focus { border-color: var(--gold-light); }

.social-proof { font-size: 14px; color: var(--gray-500); }
.social-proof-light { color: rgba(255,255,255,0.45); margin-top: 4px; }
.counter { font-weight: 700; color: var(--gold); }
.social-proof-light .counter { color: var(--gold-light); }

/* ── Pain strip ──────────────────────────────────────────────────────────── */
.pain-strip {
  background-color: #1A1A1A;
  padding: 40px 0;
}
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 0;
}
.pain-item {
  text-align: center;
  padding: 16px 32px;
}
.pain-num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: #D4AF6A;
  margin-bottom: 8px;
}
.pain-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  max-width: 200px;
  margin: 0 auto;
}
.pain-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  margin: 0 auto;
}
@media (max-width: 600px) {
  .pain-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pain-divider { display: none; }
  .pain-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
  }
  .pain-item:last-child { border: none; }
}

/* ── Section header (shared) ─────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 10px;
}
.section-sub { color: var(--gray-500); font-size: 16px; }

/* ── Bottom CTA ──────────────────────────────────────────────────────────── */
.bottom-cta { background: var(--charcoal); padding: 80px 0; }
.cta-inner { max-width: 580px; margin: 0 auto; text-align: center; }
.bottom-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 5vw, 40px); font-weight: 700; color: var(--white);
  margin-bottom: 14px; letter-spacing: -0.5px;
}
.cta-sub { color: rgba(255,255,255,0.6); font-size: 15px; margin-bottom: 32px; line-height: 1.7; }

/* Personalisation questions */
.questions { margin-bottom: 24px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.q-row { display: flex; flex-direction: column; gap: 8px; }
.q-label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); }
.q-options { display: flex; gap: 8px; flex-wrap: wrap; }
.q-btn {
  background: transparent; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.65);
  border-radius: 6px; padding: 6px 14px; font-size: 13px; font-family: 'Inter', sans-serif;
  cursor: pointer; transition: all 0.15s;
}
.q-btn:hover { border-color: var(--gold-light); color: var(--white); }
.q-btn.selected { border-color: var(--gold-light); background: rgba(212,175,106,0.15); color: var(--white); font-weight: 600; }

/* ── Position modal ──────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center; z-index: 300;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
  padding: 24px;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white); border-radius: 20px; padding: 40px 36px;
  max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-lg);
  transform: translateY(20px); transition: transform 0.25s;
}
.modal-overlay.show .modal { transform: translateY(0); }

.modal-emoji { font-size: 48px; margin-bottom: 16px; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.modal-sub { font-size: 14px; color: var(--gray-500); margin: 16px 0 20px; line-height: 1.6; }

.share-row { display: flex; gap: 10px; margin-bottom: 12px; }
.btn-share {
  flex: 1; border: none; border-radius: 8px; padding: 12px 16px;
  font-size: 14px; font-weight: 600; font-family: 'Inter', sans-serif; cursor: pointer; transition: all 0.15s;
}
.btn-share-wa { background: #25D366; color: var(--white); }
.btn-share-wa:hover { background: #1ebe5d; }
.btn-share-copy { background: var(--gray-100); color: var(--charcoal); }
.btn-share-copy:hover { background: var(--gray-300); }

.modal-close {
  background: none; border: none; color: var(--gray-500); font-size: 13px;
  font-family: 'Inter', sans-serif; cursor: pointer; text-decoration: underline;
}

/* Survey steps */
.modal-progress { display: flex; gap: 6px; justify-content: center; margin-bottom: 20px; }
.modal-prog-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-300); transition: background 0.2s;
}
.modal-prog-dot.active { background: var(--gold); }

.modal-q { font-size: 15px; font-weight: 600; color: var(--charcoal); margin-top: 14px; }
.modal-step-sub { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; margin-top: 6px; }

.venue-inputs { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.venue-input {
  width: 100%;
  border: 1.5px solid var(--gray-300); border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-family: 'Inter', sans-serif;
  background: var(--white); color: var(--charcoal); transition: border-color 0.15s;
}
.venue-input:focus { outline: none; border-color: var(--gold); }
.venue-input::placeholder { color: var(--gray-500); }

.survey-options {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px;
}
.survey-opt {
  background: var(--gray-100); border: 1.5px solid var(--gray-100);
  border-radius: 8px; padding: 10px 14px; font-size: 14px;
  font-family: 'Inter', sans-serif; font-weight: 500; text-align: left;
  cursor: pointer; transition: all 0.15s; color: var(--charcoal);
}
.survey-opt:hover { border-color: var(--gold-light); background: var(--gold-pale); }
.survey-opt.selected { border-color: var(--gold); background: var(--gold-pale); font-weight: 600; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
footer { background: #111; padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--white); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ── Mobile sticky bar ───────────────────────────────────────────────────── */
.sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  padding: 12px 16px 20px; background: var(--white);
  border-top: 1px solid var(--gray-300); box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 90;
}
@media (max-width: 640px) {
  .sticky-bar { display: block; }
  body { padding-bottom: 80px; }
}

/* ── Toast ───────────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 100px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal); color: var(--white); padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 500; opacity: 0; transition: all 0.3s;
  pointer-events: none; white-space: nowrap; z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
