/* ============================================================
   Live Everyday With Cheryl Greenfield — Funnel Styles
   Palette: pink #CE6BBD · blue #66C2E6 · sage #A9BA9E ·
            cream #F0E4CF · beige #C7B297
   Fonts: Playfair Display · Montserrat · Lato · Great Vibes
   ============================================================ */

:root {
  --bg: #F0E4CF;
  --bg-2: #F7EFE2;
  --ink: #45342F;
  --ink-soft: #6B554E;
  --muted: #8A7267;
  --faint: #B09B85;

  --pink: #CE6BBD;
  --pink-deep: #B455A6;
  --pink-soft: #F3DBEC;

  --blue: #66C2E6;
  --blue-soft: #DCF0F9;

  --sage: #A9BA9E;
  --sage-soft: #E2E9DC;

  --beige: #C7B297;

  --glass-bg: rgba(255, 250, 242, 0.62);
  --glass-border: rgba(199, 178, 151, 0.5);

  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 50px rgba(160, 134, 105, 0.18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; margin: 0; color: var(--ink); font-family: 'Playfair Display', Georgia, serif; }
button { font: inherit; }

/* ---------------- Aurora background (pastel) ---------------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
  animation: drift 20s ease-in-out infinite alternate;
  will-change: transform;
}
.a1 { width: 520px; height: 520px; top: -160px; left: -120px; background: radial-gradient(circle, rgba(206, 107, 189, 0.45), transparent 65%); }
.a2 { width: 560px; height: 560px; bottom: -180px; right: -140px; background: radial-gradient(circle, rgba(102, 194, 230, 0.40), transparent 65%); animation-delay: -7s; }
.a3 { width: 440px; height: 440px; top: 42%; left: 55%; background: radial-gradient(circle, rgba(169, 186, 158, 0.40), transparent 65%); animation-delay: -13s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(70px, -50px) scale(1.18); }
}

/* ---------------- Layout ---------------- */
.funnel {
  max-width: 920px; margin: 0 auto; padding: 48px 24px 72px;
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
}

/* ---------------- Glass ---------------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------------- Views ---------------- */
.view { display: none; }
.view.active { display: block; animation: viewIn 0.55s var(--ease); }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(20px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------------- Typography ---------------- */
.display { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; letter-spacing: -0.3px; }
.display em { font-family: 'Great Vibes', cursive; font-weight: 400; font-style: normal; color: var(--pink); font-size: 1.18em; line-height: 0.9; }
.display.sm { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.script { font-family: 'Great Vibes', cursive; font-weight: 400; }
.lead { color: var(--muted); }
.kicker { font-family: 'Montserrat', sans-serif; color: var(--pink); text-transform: uppercase; letter-spacing: 3px; font-size: 0.72rem; font-weight: 700; margin: 0 0 12px; }

/* ---------------- Brand / logo ---------------- */
.brand-lockup { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 30px; text-align: center; }
.brand-lockup .brand-name { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--ink); }
.quiz-brand { display: flex; align-items: center; gap: 10px; }
.quiz-brand .brand-name { font-size: 1.05rem; color: var(--ink-soft); }
.logo { display: block; }
.logo-intro { max-width: 220px; height: auto; filter: drop-shadow(0 12px 26px rgba(206, 107, 189, 0.22)); }
.logo-sm { height: 36px; width: auto; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: none; cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 600;
  letter-spacing: 0.3px; padding: 14px 28px; border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-pink { background: linear-gradient(135deg, var(--pink), var(--pink-deep)); color: #fff; box-shadow: 0 10px 30px rgba(206, 107, 189, 0.35); }
.btn-pink:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(206, 107, 189, 0.5); }
.btn-pink:active { transform: translateY(0); }
.btn-glass { background: rgba(255, 255, 255, 0.5); color: var(--ink); border: 1px solid var(--glass-border); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.75); transform: translateY(-2px); }
.btn-lg { font-size: 1.02rem; padding: 16px 34px; }
.btn-block { width: 100%; font-size: 1rem; margin-top: 22px; }
.text-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.9rem; padding: 6px 0; transition: color 0.16s ease; font-family: 'Montserrat', sans-serif; }
.text-btn:hover { color: var(--pink); }
/* ---------------- Intro ---------------- */
#view-intro { text-align: center; }
#view-intro .display { font-size: clamp(2rem, 5.5vw, 3.2rem); max-width: 18ch; margin: 0 auto 16px; }
#view-intro .lead { font-size: 1.05rem; max-width: 54ch; margin: 0 auto 32px; }
.funnel-points { list-style: none; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 40px 0 0; padding: 0; }
.funnel-points li { color: var(--muted); font-size: 0.85rem; font-family: 'Montserrat', sans-serif; }
.funnel-points li span { color: var(--pink); font-weight: 700; }

/* ---------------- Quiz ---------------- */
.quiz-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.progress-ring-wrap { position: relative; width: 118px; margin: 0 auto 30px; }
.progress-ring { width: 118px; height: 118px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(199, 178, 151, 0.4); stroke-width: 6; }
.ring-fill {
  fill: none; stroke: url(#ringGrad); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 339.29; stroke-dashoffset: 339.29;
  transition: stroke-dashoffset 0.5s var(--ease);
  filter: drop-shadow(0 0 6px rgba(206, 107, 189, 0.5));
}
.progress-num {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  flex-direction: column; color: var(--ink);
}
.progress-num span { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; line-height: 1; }
.progress-num small { color: var(--muted); font-size: 0.7rem; }

.question-card { padding: 30px 32px; max-width: 760px; margin: 0 auto; }
.q-title { font-family: 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: 2.5px; font-size: 0.72rem; font-weight: 700; color: var(--pink); margin: 0 0 12px; }
.q-prompt { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.25rem, 3vw, 1.5rem); font-weight: 600; color: var(--ink); line-height: 1.3; margin: 0 0 24px; }
.options { display: flex; flex-direction: column; gap: 12px; }
.option {
  display: flex; gap: 16px; align-items: center; text-align: left; width: 100%;
  background: rgba(255, 255, 255, 0.45); border: 1px solid var(--glass-border); border-radius: 14px;
  padding: 15px 18px; color: var(--ink); cursor: pointer;
  transition: transform 0.18s var(--ease), border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.option:hover {
  transform: translateY(-2px); border-color: rgba(206, 107, 189, 0.55);
  background: rgba(255, 255, 255, 0.7); box-shadow: 0 10px 30px rgba(206, 107, 189, 0.14);
}
.option.selected {
  transform: translateY(-2px);
  border-color: rgba(206, 107, 189, 0.85);
  background: linear-gradient(135deg, var(--pink-soft), rgba(255, 255, 255, 0.7));
  box-shadow: 0 0 0 1px rgba(206, 107, 189, 0.35), 0 14px 44px rgba(206, 107, 189, 0.22);
}
.opt-letter {
  flex: 0 0 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--glass-border);
  color: var(--pink); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.18s ease;
}
.option.selected .opt-letter { background: var(--pink); color: #fff; border-color: var(--pink); }
.option.selected .opt-label { color: var(--ink); }
.opt-label { line-height: 1.5; }
.quiz-nav { display: flex; align-items: center; justify-content: space-between; max-width: 760px; margin: 18px auto 0; }
.hint { font-size: 0.75rem; color: var(--faint); }

/* ---------------- Calculating ---------------- */
.calc-wrap { text-align: center; max-width: 520px; margin: 0 auto; }
.radar-anim { width: 200px; height: 200px; margin: 0 auto 30px; filter: drop-shadow(0 0 24px rgba(206, 107, 189, 0.3)); }
.radar-beam { animation: spin 1.6s linear infinite; transform-origin: 100px 100px; }
@keyframes spin { to { transform: rotate(360deg); } }
.calc-msg { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--ink); font-weight: 600; min-height: 2.2em; margin: 0 0 22px; }
.calc-dots span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); margin: 0 4px; animation: bounce 1s infinite ease-in-out; }
.calc-dots span:nth-child(2) { animation-delay: 0.15s; background: var(--blue); }
.calc-dots span:nth-child(3) { animation-delay: 0.3s; background: var(--sage); }
@keyframes bounce { 0%, 100% { transform: translateY(0); opacity: 0.35; } 50% { transform: translateY(-7px); opacity: 1; } }
/* ---------------- Email gate ---------------- */
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.gate-preview { position: relative; overflow: hidden; min-height: 460px; }
.blur-layer { padding: 28px; filter: blur(14px); opacity: 0.55; transform: scale(1.02); pointer-events: none; user-select: none; }
.gate-lock {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px;
  align-items: center; justify-content: center; text-align: center; padding: 20px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 250, 242, 0.5), rgba(240, 228, 207, 0.85));
}
.lock-icon { font-size: 2.6rem; animation: pulse 2s ease-in-out infinite; }
.lock-text { color: var(--ink); font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.92rem; max-width: 26ch; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.gate-form { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; }
.gate-form .display.sm { margin-bottom: 10px; }
.gate-form .lead.sm { margin: 0 0 6px; font-size: 0.95rem; }
.lead-form label { display: block; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.8rem; color: var(--ink); margin: 16px 0 8px; }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"] {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.6);
  color: var(--ink); font: inherit; font-size: 0.95rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.lead-form input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(206, 107, 189, 0.2); }
.lead-form input::placeholder { color: var(--faint); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.chip {
  padding: 9px 14px; border-radius: 999px; cursor: pointer; font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  border: 1px solid var(--glass-border); background: rgba(255, 255, 255, 0.5); color: var(--muted);
  transition: all 0.16s ease; user-select: none;
}
.chip:hover { border-color: rgba(206, 107, 189, 0.6); color: var(--ink); }
input[type="radio"]:checked + .chip {
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(206, 107, 189, 0.35);
}
.fineprint { text-align: center; color: var(--faint); font-size: 0.78rem; margin: 16px 0 0; }

/* ---------------- Result ---------------- */
.result-shell { max-width: 980px; margin: 0 auto; }
.result-header { text-align: center; margin-bottom: 30px; }
.persona-badge {
  display: inline-block; background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff; border-radius: 999px; padding: 8px 18px;
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.4px; margin-bottom: 16px; box-shadow: 0 8px 24px rgba(206, 107, 189, 0.35);
}
.result-header .display.sm { margin-bottom: 10px; }
.result-header p { color: var(--muted); margin: 0 auto; max-width: 60ch; }
.result-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px; }
.panel { padding: 28px; }
.panel-title { font-family: 'Montserrat', sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2.5px; color: var(--pink); font-weight: 700; margin: 0 0 18px; }
.dest-hero { border-top: 3px solid var(--pink); }
.dest-flag-lg { font-size: 2.4rem; line-height: 1; }
.dest-name-lg { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--ink); font-weight: 700; margin: 12px 0 4px; line-height: 1.2; }
.dest-region-lg { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); font-family: 'Montserrat', sans-serif; font-weight: 600; }
.archetype-lg { font-family: 'Great Vibes', cursive; font-size: 1.6rem; color: var(--pink); margin: 12px 0; line-height: 1.1; }
.dest-hook-lg { color: var(--muted); margin: 0 0 18px; }
.vector-row { display: flex; gap: 8px; flex-wrap: wrap; }
.vector-tag { background: var(--blue-soft); color: #3A8FB5; border: 1px solid rgba(102, 194, 230, 0.5); border-radius: 6px; padding: 3px 9px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.76rem; font-weight: 700; }
.radar-wrap { display: flex; justify-content: center; margin-bottom: 16px; }
.radar-wrap svg { width: 100%; max-width: 250px; height: auto; }
#vector-tags { justify-content: center; }
.wildcard-panel { margin-top: 26px; }
.specialist { margin-top: 26px; padding: 26px 28px; text-align: center; }
.specialist p { color: var(--muted); margin: 0 0 16px; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.result-actions .btn-glass { min-width: 180px; }

/* radar sweep line */
#radar-sweep { animation: spin 3.2s linear infinite; transform-origin: 130px 130px; }

/* ---------------- Confetti ---------------- */
#confetti-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100; }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .gate-grid { grid-template-columns: 1fr; }
  .gate-preview { min-height: 300px; }
  .result-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .funnel { padding: 32px 18px 56px; }
  .question-card { padding: 24px 20px; }
  .gate-form { padding: 26px 22px; }
  .funnel-points { gap: 16px; }
  .logo-intro { max-width: 180px; }
  .quiz-brand .brand-name { display: none; }
}




/* ---------------- Destination photos ---------------- */
.dest-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(31, 24, 40, 0.14);
}
.dest-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dest-flag-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
}
/* ---------------- Voucher offer ---------------- */
.gate-form .voucher-kicker,
.gate-form .display.sm,
.gate-form .lead.sm,
.gate-form .voucher-points,
.gate-form .unlock-line {
  text-align: center;
}
.voucher-points {
  list-style: none; margin: 14px auto 4px; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px;
  max-width: 420px;
}
.voucher-points li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--ink); text-align: left;
}
.voucher-points li span { font-size: 1rem; line-height: 1; }
.unlock-line {
  font-size: 0.8rem; color: var(--faint); font-style: italic;
  margin: 12px 0 0;
}
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt-tag { color: var(--faint); font-weight: 400; font-size: 0.72rem; }
.voucher-confirm {
  background: linear-gradient(135deg, rgba(206, 107, 189, 0.12), rgba(102, 194, 230, 0.14));
  border: 1px dashed var(--pink); border-radius: 12px;
  padding: 14px 18px; text-align: center; margin-bottom: 26px;
  color: var(--ink); font-size: 0.92rem; line-height: 1.5;
}
.voucher-confirm strong { color: var(--pink-deep); }
@media (max-width: 560px) {
  .name-row { grid-template-columns: 1fr; gap: 0; }
  .voucher-points { grid-template-columns: 1fr; max-width: none; }
}