/* =========================================================
   Quiz — SPA styles
   Complements /css/site.css (design tokens)
   ========================================================= */

/* ---------- Legacy var aliases (map to new site.css brand tokens) ---------- */
:root {
  --brand:        #8244A2;
  --brand-light:  #A56DBF;
  --ink:          #3B2B5B;
  --ink-dim:      #6F5E8F;
  --muted:        #9A8FB5;
  --surface:      #F4EFF9;
  --surface-2:    #EAE5F1;
  --white:        #FFFFFF;
  --success:      #3A9A55;
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --shadow-sm:    0 1px 3px rgba(59,43,91,0.08);
  --f-sans:       Jost, Poppins, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --f-display:    Jost, Poppins, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Layout ---------- */
html, body { min-height: 100%; }
body {
  background: var(--white);
  color: var(--ink);
}

.quiz-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---------- Topbar ---------- */
.quiz-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px 6px;
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
}
.quiz-back {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .15s;
  flex-shrink: 0;
}
.quiz-back:hover { background: var(--surface); }
.quiz-back img { width: 20px; height: 20px; }
.quiz-back.hidden { visibility: hidden; }
.quiz-logo {
  flex: 1; display: flex; justify-content: center; align-items: center; gap: 8px;
}
.quiz-logo img { height: 26px; width: auto; }
.quiz-logo.brand .brand-icon { height: 28px; width: auto; border-radius: 6px; }
.quiz-logo.brand .brand-wordmark { font-size: 18px; }
.quiz-topbar-spacer { width: 32px; flex-shrink: 0; }

/* ---------- Progress (segmented checkpoints) ---------- */
.quiz-progress-wrap { padding: 6px 20px 14px; }
.quiz-progress-wrap.hidden { display: none; }
.quiz-progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  min-height: 18px;
}
.quiz-progress-caption {
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.quiz-progress-label {
  font-size: 13px; font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.quiz-progress-bar {
  position: relative;
  height: 14px;
  display: flex; align-items: center;
}
.quiz-progress-track {
  position: absolute; left: 7px; right: 7px; top: 50%; transform: translateY(-50%);
  height: 3px;
  background: var(--surface-2);
  border-radius: 2px;
}
.quiz-progress-fill {
  position: absolute; left: 7px; top: 50%; transform: translateY(-50%);
  height: 3px; width: 0%;
  background: var(--brand);
  border-radius: 2px;
  transition: width .4s ease;
  z-index: 1;
}
.quiz-progress-dots {
  position: relative; z-index: 2;
  list-style: none; padding: 0; margin: 0;
  display: flex; justify-content: space-between;
  width: 100%;
}
.quiz-progress-dots li {
  width: 14px; height: 14px;
  display: grid; place-items: center;
}
.quiz-progress-dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--white);
  box-sizing: content-box;
  transition: background .3s ease, transform .2s ease;
}
.quiz-progress-dots li.reached i,
.quiz-progress-dots li.current i {
  background: var(--brand);
}
.quiz-progress-dots li.current i {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(130, 68, 162, 0.15);
}

/* ---------- Main area ---------- */
.quiz-main {
  flex: 1;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 14px 120px;
}

/* ---------- Titles ---------- */
.q-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 4.4vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}
.q-subtitle {
  font-size: 15px;
  color: var(--ink-dim);
  margin-bottom: 24px;
  line-height: 1.5;
}
.q-prompt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 10px;
  padding: 20px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  text-align: center;
  border-left: 4px solid var(--brand);
}

/* ---------- Option buttons (single) ---------- */
.q-options { display: flex; flex-direction: column; gap: 12px; }
.q-option {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 18px 16px;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  text-align: left;
  transition: background .15s, color .15s, border-color .15s, transform .08s;
}
.q-option:hover { background: var(--surface-2); }
.q-option:active { transform: scale(.99); }
.q-option.selected {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
/* (legacy .q-option-icon inner-wrapper rules removed — new structure uses .q-option-iconwrap; .q-option-icon is now a button-level modifier, no extra rules needed) */
.q-option.selected .q-option-iconwrap img { filter: brightness(0) invert(1); }

/* Option with emoji (plain single-select enriched) */
.q-option-emoji {
  display: flex; align-items: center; gap: 14px;
}
.q-option-emoji-ic {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

/* ---------- Intro grid (2x2 cards with image) ---------- */
.q-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.q-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: 17px;
  overflow: hidden;
  text-align: left;
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.3;
  transition: background .15s, border-color .15s, transform .1s;
  cursor: pointer;
}
.q-card:hover { background: var(--surface-2); }
.q-card.selected { border-color: var(--brand); }
.q-card.selected .q-card-label { background: var(--brand); color: var(--white); }
.q-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
}
.q-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* lavender badge icon in bottom-right of image */
.q-card-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: rgba(244, 239, 249, 0.92);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(59, 43, 91, 0.12);
}
.q-card-badge img { width: 18px; height: 18px; }
.q-card-label {
  display: block;
  padding: 14px 14px 16px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.25;
  color: var(--ink);
}

/* ---------- Likert ---------- */
.likert-labels {
  display: flex; justify-content: space-between;
  padding: 0 6px;
  font-size: 13px; color: var(--muted);
  margin-top: 24px; margin-bottom: 16px;
}
.likert-dots {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 12px 0 24px;
}
.likert-dot {
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: 18px;
  transition: background .15s, border-color .15s, transform .1s;
  flex-shrink: 0;
  display: grid; place-items: center;
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.likert-dot:nth-child(1) { width: 62px; height: 62px; }
.likert-dot:nth-child(2) { width: 56px; height: 56px; }
.likert-dot:nth-child(3) { width: 50px; height: 50px; border-radius: 16px; }
.likert-dot:nth-child(4) { width: 56px; height: 56px; }
.likert-dot:nth-child(5) { width: 62px; height: 62px; }

.likert-dot-icon {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
  transition: filter .15s;
  pointer-events: none;
}

.likert-dot:hover { transform: scale(1.06); }
.likert-dot.selected {
  background: var(--brand);
  border-color: var(--brand);
}
.likert-dot.selected .likert-dot-icon {
  filter: brightness(0) invert(1);
}

/* ---------- Slider ---------- */
.slider-wrap { padding: 32px 4px; }
.slider-value {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 48px;
  color: var(--brand);
  margin-bottom: 16px;
}
.slider-wrap input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 4px;
  background: var(--surface-2); outline: none; cursor: pointer;
}
.slider-wrap input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand);
  border: 4px solid var(--white);
  box-shadow: 0 3px 12px rgba(130,68,162,.4);
  cursor: pointer;
}
.slider-wrap input[type=range]::-moz-range-thumb {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand);
  border: 4px solid var(--white);
  box-shadow: 0 3px 12px rgba(130,68,162,.4);
}
.slider-ticks {
  display: flex; justify-content: space-between;
  margin-top: 12px;
  font-size: 13px; color: var(--muted);
  padding: 0 4px;
}

/* ---------- Info / Pitch screens ---------- */
.q-info {
  text-align: center;
  padding: 24px 0;
}
.q-info h1 {
  font-family: var(--f-display);
  font-size: clamp(24px, 4.5vw, 32px);
  margin-bottom: 16px;
  color: var(--ink);
}
.q-info p {
  font-size: 16px;
  color: var(--ink-dim);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.q-bullets {
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
  max-width: 420px; margin: 0 auto 32px;
}
.q-bullets li {
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 15px;
  display: flex; align-items: flex-start; gap: 12px;
}
.q-bullets li::before {
  content: "✓";
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--brand); color: var(--white);
  border-radius: 50%;
  font-size: 14px; font-weight: 700;
}

/* ---------- Email ---------- */
.q-email-form { display: flex; flex-direction: column; gap: 16px; }
.q-email-form input {
  padding: 18px 16px;
  font-family: var(--f-sans); font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--surface-2);
  border-radius: var(--radius);
  outline: none;
  transition: border-color .15s;
}
.q-email-form input:focus { border-color: var(--brand); }
.q-email-disclaimer {
  font-size: 13px; color: var(--muted); line-height: 1.5;
}

/* ---------- Footer (CTA row) ---------- */
.quiz-footer {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--surface-2);
  padding: 16px;
  z-index: 10;
}
.quiz-footer-inner {
  max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.quiz-footer .btn { width: 100%; }

/* ---------- Buttons (.btn .btn-primary .btn-lg) ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .08s ease, filter .12s ease, opacity .15s ease;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:not(:disabled):hover { filter: brightness(1.05); }
.btn:not(:disabled):active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, #FF7C7C 0%, #F41C5D 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(244, 28, 93, 0.25);
}
.btn-lg {
  padding: 18px 24px;
  font-size: 17px;
  border-radius: var(--radius);
}
.quiz-terms {
  font-size: 12px; color: var(--muted); text-align: center;
  line-height: 1.5;
}
.quiz-terms a { color: var(--brand); text-decoration: underline; }
.quiz-footer.hidden { display: none; }

/* ---------- Loader ---------- */
.quiz-loader {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  z-index: 100;
  transition: opacity .3s;
}
.quiz-loader.fade-out { opacity: 0; pointer-events: none; }
.quiz-spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--surface-2);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   CHECKOUT
   ========================================================= */
.checkout-main {
  max-width: 560px; margin: 0 auto;
  padding: 0 16px 120px;
}
.checkout-timer-banner {
  background: var(--brand); color: var(--white);
  text-align: center;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
}
.checkout-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 17px;
  margin-left: 8px;
}
.checkout-section { margin-top: 32px; }
.checkout-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--ink);
}

/* Personalization card */
.personalize-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  position: relative;
}
.personalize-badge {
  position: absolute; top: -12px; left: 16px;
  background: var(--white);
  color: var(--brand);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.personalize-field .label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.personalize-field .value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* Success probability */
.success-bars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
}
.success-bar { text-align: center; display: flex; flex-direction: column; align-items: center; }
.success-bar .bar-viz {
  width: 64px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 10px;
}
.success-bar.now   .bar-viz { height: 50px;  background: var(--muted); }
.success-bar.after .bar-viz { height: 120px; background: var(--brand); }
.success-bar .bar-value {
  font-family: var(--f-display); font-weight: 700;
  font-size: 20px; color: var(--ink);
}
.success-bar .bar-label {
  font-size: 13px; color: var(--muted); margin-top: 4px;
}

/* Plans */
.plans-list { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.plan-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 16px;
  border: 2px solid var(--surface-2);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  position: relative;
  transition: border-color .15s, background .15s;
}
.plan-card:hover { border-color: var(--brand-light); }
.plan-card.selected {
  border-color: var(--brand);
  background: var(--surface);
}
.plan-card .badge {
  position: absolute; top: -11px; left: 16px;
  background: var(--brand); color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase;
}
.plan-card .badge.best { background: var(--success); }
.plan-left .label { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.plan-left .total { font-size: 12px; color: var(--muted); margin-top: 4px; }
.plan-left .total .old { text-decoration: line-through; margin-right: 6px; }
.plan-right { text-align: right; }
.plan-right .per-day-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.plan-right .per-day {
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
  color: var(--brand);
}
.plan-right .per-day .unit { font-size: 12px; color: var(--muted); font-weight: 500; }

.checkout-disclaimer {
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 12px; color: var(--ink-dim); line-height: 1.6;
}
.checkout-trust {
  text-align: center; font-size: 13px; color: var(--muted);
}

/* =========================================================
   Responsive tweaks
   ========================================================= */
@media (min-width: 640px) {
  .q-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .quiz-main { padding: 32px 24px 140px; }
}

@media (max-width: 420px) {
  .likert-dot:nth-child(1), .likert-dot:nth-child(5) { width: 48px; height: 48px; }
  .likert-dot:nth-child(2), .likert-dot:nth-child(4) { width: 42px; height: 42px; }
  .likert-dot:nth-child(3) { width: 36px; height: 36px; }
}

/* ============================================================
   New screen types (2nd pass) — coaching, recap, loading, pitch
   ============================================================ */

.coaching, .recap-profile, .loading-plan, .pitch, .email-gate {
  padding: 24px 20px 120px;
  max-width: 620px;
  margin: 0 auto;
}
.coaching-headline {
  font-size: clamp(20px, 4.6vw, 26px);
  font-weight: 700; line-height: 1.2; letter-spacing: -0.015em;
  color: var(--ink, #3B2B5B);
  margin: 0 0 14px; text-align: center;
  text-wrap: balance;
}
.coaching-body {
  font-size: 16px; line-height: 1.5;
  color: var(--ink, #3B2B5B); opacity: .85;
  margin: 0 0 20px; text-align: center;
}

/* Rating (welcome coaching) */
.coaching-rating {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px; background: #F4EFF9; border-radius: 16px;
  margin: 16px auto; max-width: 320px;
}
.coaching-rating .stars { color: #F4B63F; font-size: 18px; letter-spacing: 2px; }
.coaching-rating .rating-value { font-weight: 700; font-size: 20px; }
.coaching-rating .rating-reviews { font-size: 13px; opacity: .75; }
.coaching-phone { margin: 18px auto; max-width: 320px; }
.coaching-phone img { width: 100%; display: block; border-radius: 16px; }
.coaching-phone figcaption { text-align: center; font-size: 13px; opacity: .7; margin-top: 6px; }

/* Bullets (honest coaching) */
.coaching-bullets {
  list-style: none; padding: 0;
  margin: 20px auto; max-width: 440px;
  display: flex; flex-direction: column; gap: 10px;
}
.coaching-bullets li {
  background: #F4EFF9;
  padding: 14px 16px 14px 44px;
  border-radius: 14px; position: relative;
  font-size: 15px; line-height: 1.4;
}
.coaching-bullets li::before {
  content: "\2713"; position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: #8244A2; color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}

/* Bullets — timeline variant (dots connected by vertical line) */
.coaching-bullets-timeline {
  background: transparent;
  gap: 18px;
  padding-left: 10px;
  max-width: 480px;
  text-align: left;
  position: relative;
}
.coaching-bullets-timeline::before {
  content: "";
  position: absolute;
  left: 16px; top: 10px; bottom: 10px;
  width: 2px;
  background: rgba(130, 68, 162, 0.35);
}
.coaching-bullets-timeline li {
  background: transparent;
  padding: 0 0 0 40px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  position: relative;
}
.coaching-bullets-timeline li::before {
  content: "";
  position: absolute;
  left: 10px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #8244A2;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(130, 68, 162, 0.35);
}

/* Hero image (big warm photo below bullets) */
.coaching-hero-img {
  margin: 22px auto 8px;
  max-width: 520px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}
.coaching-hero-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 28, 93, 0.06) 0%, rgba(130, 68, 162, 0.08) 100%);
  pointer-events: none;
}
.coaching-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Before/After coaching */
.ba-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 20px;
}
@media (max-width: 520px) { .ba-grid { grid-template-columns: 1fr; gap: 16px; } }
.ba-panel { background: #F4EFF9; border-radius: 16px; padding: 16px; }
.ba-before { background: #FEECEC; }
.ba-after  { background: #E8F5EB; }
.ba-label {
  text-transform: uppercase; letter-spacing: .08em;
  font-size: 12px; font-weight: 700;
  margin-bottom: 10px; opacity: .7;
}
.ba-before .ba-label { color: #C14A4A; }
.ba-after  .ba-label { color: #3A9A55; }
.ba-bubbles { display: flex; flex-direction: column; gap: 8px; }
.ba-bubble {
  background: #fff; padding: 10px 14px; border-radius: 14px;
  font-size: 14px; line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* iPhone-style chat (coaching-ghosted-yes) */
.ba-grid-iphone .ba-panel { padding: 12px; }
.chat-phone {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #F7F7F8;
  border-bottom: 1px solid #EDEDEF;
}
.chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #FF7C7C 0%, #F41C5D 100%);
  color: #fff; font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-meta { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.chat-name { font-weight: 600; font-size: 13px; color: #1C1C1E; }
.chat-status { font-size: 11px; color: #8E8E93; }
.ba-after .chat-status { color: #30B24A; }
.chat-body {
  padding: 12px 10px 14px;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 140px;
  background: #fff;
}
.chat-timestamp {
  align-self: center;
  font-size: 10px; color: #8E8E93;
  margin: 4px 0 6px; font-weight: 600;
  letter-spacing: .02em;
}
.chat-bubble {
  max-width: 78%;
  padding: 8px 12px;
  font-size: 13px; line-height: 1.35;
  border-radius: 16px;
  word-wrap: break-word;
}
.chat-bubble--me {
  align-self: flex-end;
  background: #2B8CFF; color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble--her {
  align-self: flex-start;
  background: #E9E9EB; color: #1C1C1E;
  border-bottom-left-radius: 4px;
  animation: chat-in .4s ease-out;
}
@keyframes chat-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-unread {
  align-self: flex-end;
  font-size: 10px; color: #C14A4A;
  margin-top: 6px; font-style: italic;
}

/* Recap (first-goal coaching) */
/* ---- Gamified achievement badge ---- */
.recap-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #FF7C7C 0%, #F41C5D 100%);
  color: #fff;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(244, 28, 93, 0.28);
  margin: 0 auto 14px;
  max-width: max-content;
}
.recap-badge-ic {
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  color: #fff;
}

/* ---- Step dots (horizontal progress) ---- */
.recap-steps {
  display: flex; align-items: center; justify-content: center;
  margin: 6px auto 22px;
  gap: 0;
  max-width: 280px;
}
.recap-step {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  background: var(--surface);
  color: var(--muted);
  flex-shrink: 0;
  border: 2px solid var(--surface-2);
}
.recap-step.done {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.recap-step-gap {
  flex: 1;
  height: 3px;
  background: var(--surface-2);
  max-width: 36px;
  margin: 0 -1px;
}
.recap-step.done + .recap-step-gap { background: var(--brand); }

/* ---- Recap list (gamified row items) ---- */
.recap-list {
  display: flex; flex-direction: column; gap: 10px;
  margin: 16px auto 22px;
  max-width: 520px;
}
.recap-row {
  display: flex; gap: 14px; align-items: center;
  background: #F4EFF9;
  padding: 14px 16px;
  border-radius: 14px;
  transition: background .15s;
}
.recap-row.done {
  background: #F4EFF9;
  border-left: 4px solid var(--brand);
  padding-left: 12px;
}
.recap-icon {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: grid; place-items: center;
  background: #fff; border-radius: 50%;
  box-shadow: 0 1px 3px rgba(59,43,91,0.06);
}
.recap-icon img { width: 22px; height: 22px; }
.recap-content { flex: 1; min-width: 0; }
.recap-label { font-size: 12px; opacity: .65; margin-bottom: 2px; }
.recap-value { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.recap-tick {
  flex: 0 0 26px; width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(130, 68, 162, 0.28);
}

/* ---- Recap groups (grouped pills per section) ---- */
.recap-groups {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 560px; margin: 20px auto 18px;
  text-align: left;
}
.recap-group {
  display: flex; flex-direction: column; gap: 10px;
}
.recap-group-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.recap-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1.5px solid rgba(130, 68, 162, 0.22);
  border-radius: 999px;
  font-size: 16px; font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.recap-pill-icon {
  flex: 0 0 28px; width: 28px; height: 28px;
  display: grid; place-items: center;
}
.recap-pill-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.recap-pill-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recap-pill-empty {
  opacity: 0.55;
  font-style: italic;
  font-weight: 400;
}

/* ---- Next up teaser ---- */
.recap-nextup {
  display: flex; align-items: center; gap: 10px;
  margin: 0 auto 16px;
  max-width: 520px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px dashed var(--brand-light, #A56DBF);
  border-radius: 14px;
}
.recap-nextup-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand);
}
.recap-nextup-text {
  flex: 1;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.recap-nextup-arrow {
  color: var(--brand);
  display: grid; place-items: center;
}

.coaching-closer {
  font-size: 13px !important;
  opacity: 0.7;
  margin-top: 12px;
}

/* =====================================================
   Coaching Carousel (future-pacing, 3 slides, auto-rotate)
   ===================================================== */
.coaching-carousel {
  max-width: 640px;
  margin: 0 auto;
}
.carousel {
  position: relative;
  margin: 18px 0 14px;
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  background: transparent;
  cursor: pointer;
}
.carousel-track {
  position: relative;
}
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
  padding: 6px 2px 12px;
}
.carousel-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
  inset: auto;
}

.carousel-controls {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.carousel-labels {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.carousel-tab {
  padding: 6px 14px;
  font-family: inherit; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted);
  background: transparent;
  border: 1.5px solid var(--surface-2);
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.carousel-tab.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
.carousel-dots {
  display: flex; gap: 8px;
  padding: 0;
  margin: 2px 0 0;
}
.carousel-dot {
  position: relative;
  width: 44px; height: 5px;
  background: var(--surface-2);
  border: none;
  border-radius: 3px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.carousel-dot-fill {
  position: absolute; inset: 0 auto 0 0;
  background: var(--brand);
  width: 0%;
  height: 100%;
  border-radius: 3px;
}
.coaching-carousel.pinned .carousel-dot-fill { transition: none !important; }
.carousel-hint {
  font-size: 11px; color: var(--muted);
  opacity: .7;
  letter-spacing: .02em;
}
.coaching-carousel.pinned .carousel-hint { color: var(--brand); opacity: 1; }

/* ---- Phone notifications slide ---- */
.phone-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 560px; margin: 0 auto;
}
.phone-col {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.phone-label {
  font-size: 14px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0;
}
.phone-label-before { color: var(--ink); }
.phone-label-before::after { content: "\2716"; color: #E34747; font-weight: 900; }
.phone-label-after { color: var(--ink); }
.phone-label-after::after { content: "\2713"; color: #3A9A55; font-weight: 900; }

.phone-frame {
  position: relative;
  width: 100%; max-width: 180px;
  aspect-ratio: 9/16;
  background: linear-gradient(170deg, #E8C0D8 0%, #F4EFF9 100%);
  border-radius: 26px 26px 6px 6px;
  border: 3px solid #0B0B0B;
  padding: 10px 6px 0;
  box-shadow: 0 10px 24px rgba(11,11,11,0.18);
  overflow: hidden;
}
.phone-before .phone-frame { background: linear-gradient(170deg, #C7A9C5 0%, #E2D6E3 60%, #F0E9ED 100%); }
.phone-notch {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 12px;
  background: #0B0B0B;
  border-radius: 999px;
}
.phone-statusbar {
  display: flex; justify-content: space-between;
  padding: 6px 10px 4px;
  font-size: 9px; font-weight: 600; color: #0B0B0B;
  font-variant-numeric: tabular-nums;
}
.phone-statusbar-right { opacity: .8; }

.phone-notif-list {
  display: flex; flex-direction: column; gap: 5px;
  padding: 6px 4px;
}
.phone-notif {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  padding: 5px 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.phone-notif.muted { opacity: 0.55; }
.phone-notif-ic {
  flex: 0 0 22px; width: 22px; height: 22px;
  display: grid; place-items: center;
  color: #fff;
  border-radius: 6px;
  font-size: 10px; font-weight: 700;
}
.phone-notif-body { flex: 1; min-width: 0; }
.phone-notif-title { font-size: 9px; font-weight: 700; color: #0B0B0B; line-height: 1.1; }
.phone-notif-text { font-size: 8px; color: #0B0B0B; opacity: .75; line-height: 1.2; margin-top: 1px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-notif-time { font-size: 8px; opacity: .5; align-self: flex-start; white-space: nowrap; }

/* ---- Single image slide (e.g., pre-composed Before/After PNG) ---- */
.single-img-wrap {
  display: flex; justify-content: center;
  padding: 8px 4px;
  max-width: 520px;
  margin: 0 auto;
}
.single-img-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  border-radius: 0;
}

/* ---- Calendar slide (First date future-pacing) ---- */
.cal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px; margin: 8px auto;
}
.cal-col {
  background: var(--surface);
  border-radius: 18px;
  padding: 16px 14px 14px;
  display: flex; flex-direction: column;
}
.cal-before { background: #FEECEC; }
.cal-after  { background: #E8F5EB; }
.cal-label {
  text-transform: uppercase; letter-spacing: .08em;
  font-size: 11px; font-weight: 700;
  margin-bottom: 12px; opacity: .8;
  display: inline-flex; align-items: center; gap: 6px;
}
.cal-label-before { color: #C14A4A; }
.cal-label-before::after { content: "\2716"; font-weight: 900; }
.cal-label-after  { color: #3A9A55; }
.cal-label-after::after { content: "\2713"; font-weight: 900; }

.cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 12px;
}
.cal-day {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 2px 8px;
  background: rgba(255,255,255,0.55);
  border-radius: 7px;
  min-height: 44px;
  position: relative;
}
.cal-day-name {
  font-size: 9px; font-weight: 700;
  color: var(--ink-dim); opacity: .7;
  letter-spacing: .04em; text-transform: uppercase;
}
.cal-day-dot {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1;
}
.cal-day.has-event {
  background: #fff;
  box-shadow: 0 2px 6px rgba(58, 154, 85, 0.22);
  border: 1.5px solid #3A9A55;
}
.cal-before .cal-day.has-event { border-color: #C14A4A; box-shadow: 0 2px 6px rgba(193, 74, 74, 0.22); }

.cal-events {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 10px;
}
.cal-event {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.cal-event-emoji {
  font-size: 16px; flex-shrink: 0;
}
.cal-event-body { flex: 1; min-width: 0; }
.cal-event-label {
  font-size: 11px; font-weight: 600; color: var(--ink);
  line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-event-meta {
  font-size: 9px; color: var(--ink-dim); opacity: .65;
  margin-top: 2px;
}

.cal-empty {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  padding: 18px 0;
  opacity: 0.5;
}
.cal-empty-icon { font-size: 28px; filter: grayscale(1); }
.cal-empty-text { font-size: 11px; color: var(--ink-dim); font-style: italic; }

.cal-sub {
  font-size: 11px; font-weight: 600; text-align: center;
  margin-top: auto; padding-top: 6px;
  opacity: 0.8;
}
.cal-before .cal-sub { color: #C14A4A; }
.cal-after  .cal-sub { color: #3A9A55; }

/* ---- Metric slide ---- */
.metric-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 520px; margin: 8px auto;
}
.metric-col {
  background: var(--surface);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
}
.metric-before { background: #FEECEC; }
.metric-after  { background: #E8F5EB; }
.metric-label {
  text-transform: uppercase; letter-spacing: .08em;
  font-size: 11px; font-weight: 700;
  margin-bottom: 8px; opacity: .8;
}
.metric-label-before { color: #C14A4A; }
.metric-label-after  { color: #3A9A55; }
.metric-value {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.metric-before .metric-value { color: #C14A4A; }
.metric-after .metric-value { color: #3A9A55; }
.metric-bar {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}
.metric-bar-fill {
  height: 100%;
  background: #C14A4A;
  border-radius: 99px;
  transition: width .6s ease;
}
.metric-after .metric-bar-fill { background: #3A9A55; }
.metric-text { font-size: 12px; opacity: .75; }

/* ---- Before/After IMAGES (welcome coaching) ---- */
.ba-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px auto 12px;
  max-width: 520px;
}
.ba-img-col {
  margin: 0;
  background: #F4EFF9;
  border-radius: 18px;
  padding: 14px 10px;
  text-align: center;
  overflow: hidden;
}
.ba-img-before { background: #FEECEC; }
.ba-img-after  { background: #E8F5EB; }
.ba-img-label {
  text-transform: uppercase; letter-spacing: .08em;
  font-size: 11px; font-weight: 700;
  margin-bottom: 10px; opacity: .8;
}
.ba-img-before .ba-img-label { color: #C14A4A; }
.ba-img-after  .ba-img-label { color: #3A9A55; }
.ba-img-col img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.coaching-caption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Testimonial card list */
.coaching-stat {
  text-align: center; background: #F4EFF9;
  padding: 18px; border-radius: 16px;
  margin: 16px auto; max-width: 360px;
}
.stat-num { font-size: 28px; font-weight: 800; color: #8244A2; }
.stat-caption { font-size: 14px; opacity: .8; margin-top: 4px; }
.testimonial-list {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 20px;
}
.testimonial-card {
  background: #fff; border: 1px solid #EAE5F1;
  padding: 16px; border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.testimonial-card .stars {
  color: #F4B63F; letter-spacing: 2px;
  font-size: 16px; margin-bottom: 8px;
}
.testimonial-text {
  font-size: 14px; line-height: 1.5;
  margin: 0 0 8px; font-style: italic;
}
.testimonial-name { font-size: 13px; font-weight: 600; opacity: .75; }

/* Recap profile (with meter) */
.recap-profile { text-align: center; }
.meter-wrap { margin: 20px auto; max-width: 460px; }
.meter-label { font-size: 14px; opacity: .7; margin-bottom: 10px; }
.meter-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: #EAE5F1;
  border-radius: 999px; overflow: hidden; height: 44px;
}
.meter-seg {
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #6F5E8F;
  border-right: 1px solid rgba(255,255,255,.6);
  position: relative;
}
.meter-seg:last-child { border-right: none; }
.meter-seg.pointed {
  background: linear-gradient(135deg, #FF7C7C, #F41C5D);
  color: #fff;
}
.meter-seg.pointed::after {
  content: "\25BC"; position: absolute; top: -18px; left: 50%;
  transform: translateX(-50%);
  color: #F41C5D; font-size: 14px;
}
.recap-fields {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px 18px;
  background: #F4EFF9; padding: 20px; border-radius: 16px;
  margin: 22px auto 0; max-width: 520px; text-align: left;
}
@media (max-width: 480px) { .recap-fields { grid-template-columns: 1fr; } }
.recap-field .recap-label { font-size: 12px; opacity: .65; }
.recap-field .recap-value { font-size: 15px; font-weight: 600; }

/* Loading plan (25s progressive bars) */
.loading-plan { text-align: center; }
.lp-bars {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 460px; margin: 24px auto;
}
.lp-bar {
  display: grid; grid-template-columns: 1fr auto;
  gap: 6px 10px; align-items: center;
}
.lp-bar-label { grid-column: 1; font-size: 14px; text-align: left; }
.lp-bar-pct {
  grid-column: 2; font-size: 13px; font-weight: 700;
  color: #8244A2; min-width: 44px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.lp-bar-track {
  grid-column: 1 / -1;
  height: 8px; background: #EAE5F1;
  border-radius: 999px; overflow: hidden;
}
.lp-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #FF7C7C, #F41C5D);
  border-radius: 999px;
  transition: width .2s linear;
}

/* Pitch / Journey */
.pitch { text-align: center; }
.pitch-headline {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700; letter-spacing: -0.015em;
  line-height: 1.1; margin: 0 0 24px;
}
.pitch-curve {
  display: flex; justify-content: space-between; gap: 12px;
  max-width: 560px; margin: 0 auto 24px; position: relative;
}
.pitch-curve::before {
  content: ""; position: absolute;
  left: 10%; right: 10%; top: 22px; height: 2px;
  background: linear-gradient(90deg, #EAE5F1 0%, #F41C5D 100%);
  z-index: 0;
}
.milestone {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.milestone::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  background: #F41C5D;
  box-shadow: 0 0 0 6px #fff, 0 0 0 7px #F41C5D;
}
.milestone-when { font-size: 12px; font-weight: 600; color: #6F5E8F; }
.milestone-label {
  font-size: 14px; font-weight: 600; line-height: 1.3; max-width: 140px;
}

/* Email gate */
.email-gate { text-align: center; }
.email-form { margin: 20px auto; max-width: 420px; }
.email-form input[type=email] {
  width: 100%;
  padding: 16px 18px;
  font-size: 16px; font-family: inherit;
  border: 2px solid #EAE5F1;
  border-radius: 14px; background: #fff;
  color: var(--ink, #3B2B5B);
  outline: none; box-sizing: border-box;
}
.email-form input[type=email]:focus { border-color: #8244A2; }
.email-disclaimer {
  font-size: 12px; opacity: .65;
  max-width: 420px; margin: 16px auto 0;
  line-height: 1.5;
}

/* Option icon wrap (new structure) */
.q-option-iconwrap {
  width: 36px; height: 36px; flex-shrink: 0;
  display: grid; place-items: center;
  margin-right: 12px;
}
.q-option-iconwrap img { width: 28px; height: 28px; }
.q-option-multi { justify-content: space-between; }
.q-option-multi .q-option-label { flex: 1; text-align: left; }
.q-option-check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #CFC3E0; flex-shrink: 0;
  position: relative;
}
.q-option-multi.selected .q-option-check {
  background: #8244A2; border-color: #8244A2;
}
.q-option-multi.selected .q-option-check::after {
  content: "\2713"; color: #fff; font-size: 13px; font-weight: 700;
  position: absolute; inset: 0; display: grid; place-items: center;
}

/* Slider end labels (new) */
.slider-end-labels {
  display: flex; justify-content: space-between;
  font-size: 12px; opacity: .65; margin-top: 10px;
}
/* legacy .q-card-label duplicate removed — styled above */

/* ===== Coaching testimonial: hero + carousel ===== */
.coaching-hero {
  width: 100%; height: 200px; border-radius: 18px; overflow: hidden;
  margin: 4px 0 18px;
  background: linear-gradient(135deg, #FFB7C5 0%, #F41C5D 50%, #6B4EE6 100%);
  position: relative;
}
.coaching-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coaching-hero--fallback::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 60%);
}
.coaching-caption {
  font-size: 13px; color: #7A6E8C; text-align: center;
  margin-top: 14px; line-height: 1.45;
}
.tm-carousel { margin-top: 18px; overflow: hidden; }
.tm-track {
  display: flex; transition: transform .5s ease;
}
.tm-card {
  flex: 0 0 100%;
  padding: 18px 20px;
  background: #F7F2FA;
  border-radius: 16px;
  box-sizing: border-box;
}
.tm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tm-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #A855F7, #F41C5D);
  color: #fff; font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
}
.tm-who { display: flex; flex-direction: column; }
.tm-name { font-weight: 700; font-size: 14px; color: #2B1B45; }
.tm-stars { color: #FFB800; font-size: 13px; letter-spacing: 1px; }
.tm-text { font-size: 14px; line-height: 1.5; color: #3D2D5B; margin: 0; }
.tm-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 14px;
}
.tm-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #E0D4EC; cursor: pointer;
  transition: background .25s, transform .25s;
}
.tm-dot.active { background: linear-gradient(135deg, #A855F7, #F41C5D); transform: scale(1.2); }
.tm-track > .tm-card { min-width: 0; }

/* ===== Recap profile gamified ===== */
.rp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #FFB800 0%, #F41C5D 100%);
  color: #fff; font-weight: 800; font-size: 11px;
  letter-spacing: .08em;
  box-shadow: 0 4px 12px rgba(244,28,93,.25);
  margin-bottom: 10px;
}
.rp-gauge {
  position: relative; width: 100%; max-width: 280px; margin: 20px auto 8px;
  text-align: center;
}
.rp-gauge-svg { width: 100%; height: auto; display: block; }
.rp-gauge-pointer {
  font-weight: 800; font-size: 22px; color: #2B1B45;
  margin-top: -18px;
}
.rp-gauge-label {
  font-size: 12px; color: #7A6E8C;
  text-transform: uppercase; letter-spacing: .1em;
  margin-top: 4px;
}
.rp-fields {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 22px;
}
.rp-pill {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: #F4EFF9;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: border-color .2s;
}
.rp-pill:hover { border-color: #D4C2E8; }
.rp-pill-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rp-pill-ic img { width: 22px; height: 22px; object-fit: contain; }
.rp-pill-tx { display: flex; flex-direction: column; min-width: 0; }
.rp-pill-label {
  font-size: 11px; color: #8877A0;
  text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700;
}
.rp-pill-value {
  font-size: 15px; color: #2B1B45; font-weight: 600;
  margin-top: 2px;
}

/* Linear gradient meter (validated recap-profile) */
.meter-linear-wrap { margin: 28px auto 0; max-width: 520px; }
.meter-linear-label {
  font-size: 14px; font-weight: 600; color: #2B1B45;
  margin-bottom: 14px;
}
.meter-linear {
  position: relative; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, #FFB7C5 0%, #FF7C7C 50%, #F41C5D 100%);
  margin: 0 8px;
}
.meter-linear-pointer {
  position: absolute; top: -10px; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #F41C5D;
  transition: left .4s ease;
}
.meter-linear-labels {
  display: flex; justify-content: space-between;
  margin-top: 10px; padding: 0 4px;
  font-size: 13px; color: #7A6E8C;
}
.meter-linear-lbl.active { color: #F41C5D; font-weight: 700; }

/* Loading-plan pause popup */
.lp-popup-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(43, 27, 69, 0.55);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: lp-overlay-in .25s ease-out;
}
.lp-popup-overlay--leaving { animation: lp-overlay-out .2s ease-in forwards; }
@keyframes lp-overlay-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes lp-overlay-out { from { opacity: 1; } to { opacity: 0; } }
.lp-popup {
  width: 100%; max-width: 400px;
  background: #fff; border-radius: 22px;
  padding: 28px 24px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(43,27,69,0.35);
  animation: lp-popup-in .35s cubic-bezier(.2,1.2,.4,1);
}
@keyframes lp-popup-in {
  from { opacity: 0; transform: translateY(16px) scale(.94); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.lp-popup-badge {
  width: 48px; height: 48px; border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #FFB800 0%, #F41C5D 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(244,28,93,0.35);
}
.lp-popup-headline {
  font-size: 18px; font-weight: 700; color: #2B1B45;
  margin: 0 0 8px; line-height: 1.3;
}
.lp-popup-body {
  font-size: 14px; color: #5C4D7A;
  margin: 0 0 20px; line-height: 1.45;
}
.lp-popup-actions {
  display: flex; flex-direction: column; gap: 10px;
}
.lp-popup-btn {
  padding: 14px 18px; border-radius: 14px;
  font-size: 15px; font-weight: 700;
  border: none; cursor: pointer;
  transition: transform .12s, box-shadow .2s;
}
.lp-popup-btn:active { transform: scale(.98); }
.lp-popup-btn-primary {
  background: linear-gradient(135deg, #FF7C7C 0%, #F41C5D 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(244,28,93,0.3);
}
.lp-popup-btn-primary:hover { box-shadow: 0 8px 20px rgba(244,28,93,0.4); }
.lp-popup-btn-secondary {
  background: transparent; color: #7A6E8C;
  font-weight: 600; font-size: 13px;
  padding: 8px;
}
.lp-popup-btn-secondary:hover { color: #2B1B45; }

/* Pitch journey S-curve (gamified) */
.pitch-journey {
  position: relative;
  width: 100%; max-width: 440px;
  margin: 18px auto 8px;
  aspect-ratio: 400 / 300;
}
.journey-svg {
  width: 100%; height: 100%;
  display: block;
  overflow: visible;
}
.journey-bubble {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--bubble-color, #333);
  color: #fff;
  font-size: 12px; font-weight: 700;
  line-height: 1.25;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 120px;
  text-align: center;
  white-space: normal;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  animation: jb-in .4s ease-out backwards;
}
.journey-bubble::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -5px;
  transform: translateX(-50%) rotate(45deg);
  width: 10px; height: 10px;
  background: var(--bubble-color, #333);
  border-radius: 2px;
}
.journey-bubble:nth-of-type(1) { animation-delay: .1s; }
.journey-bubble:nth-of-type(2) { animation-delay: .3s; }
.journey-bubble:nth-of-type(3) { animation-delay: .5s; }
@keyframes jb-in {
  from { opacity: 0; transform: translate(-50%, -40%) scale(.8); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.journey-when {
  position: absolute;
  transform: translateX(-50%);
  font-size: 11px; font-weight: 600;
  color: #7A6E8C;
  white-space: nowrap;
}

