/* ============================================
   ZAFIRA ORGANICS — FLATNESS SURVEY FUNNEL
   Brand: Jitter (headings), Inter (body)
   Primary: #035C05 | Dark: #022D03 | Accent: #49934B
   ============================================ */

@font-face {
  font-family: 'Jitter';
  src: url('https://blog.zafiraorganics.com/protocol/fonts/Jitter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-primary: #035C05;
  --green-dark: #022D03;
  --green-accent: #49934B;
  --green-light: rgba(3, 92, 5, 0.05);
  --green-light-2: rgba(3, 92, 5, 0.08);
  --green-badge-bg: rgba(73, 147, 75, 0.15);
  --green-badge-border: rgba(73, 147, 75, 0.3);
  --gold: #FBCD0A;
  --white: #FFFFFF;
  --text-dark: #1a1a1a;
  --text-muted: #6b7280;
  --bg: #FFFFFF;
  --radius-pill: 50px;
  --radius-card: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(3, 92, 5, 0.06);
  --shadow-md: 0 4px 20px rgba(3, 92, 5, 0.1);
  --shadow-lg: 0 8px 32px rgba(3, 92, 5, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- HEADER ---- */
.header {
  background: var(--green-dark);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.logo-img {
  height: 36px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ---- PROGRESS BAR ---- */
.progress-bar {
  position: sticky;
  top: 64px;
  z-index: 99;
  height: 4px;
  background: var(--green-light-2);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-accent), var(--green-primary));
  border-radius: 0 4px 4px 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- APP CONTAINER ---- */
.app {
  max-width: 560px;
  margin: 0 auto;
  padding: 12px 20px 80px;
}

/* ---- WELCOME SCREEN ---- */
.welcome-screen {
  text-align: center;
  padding: 32px 0 40px;
}

.welcome-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--green-badge-bg);
  border: 1px solid var(--green-badge-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 20px;
}

.welcome-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--green-accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.welcome-title {
  font-family: 'Jitter', Georgia, serif;
  font-size: 32px;
  color: var(--green-primary);
  line-height: 1.2;
  margin-bottom: 14px;
  font-weight: 400;
}

.welcome-title em {
  color: var(--green-accent);
  font-style: italic;
}

.welcome-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  text-align: left;
}

.welcome-subtitle em {
  color: var(--green-accent);
  font-style: italic;
}

/* Proof checkmarks */
.welcome-proof {
  text-align: left;
  margin-bottom: 20px;
}

.welcome-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.4;
}

.welcome-proof-item svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.welcome-proof-item strong {
  color: var(--green-primary);
}

/* Testimonial card */
.welcome-testimonial {
  background: var(--green-light);
  border: 1px solid var(--green-badge-border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 24px;
  text-align: left;
}

.welcome-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.welcome-quote {
  font-size: 14px;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 8px;
}

.welcome-cite {
  font-size: 12px;
  color: var(--text-muted);
}

/* CTA button */
.btn-start {
  display: block;
  width: 100%;
  padding: 20px;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: center;
  animation: btnPulse 2.5s infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(3, 92, 5, 0.25); }
  50% { box-shadow: 0 0 0 12px transparent; }
}

.btn-start:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-start:active {
  transform: translateY(0);
}

/* Trust badge cards */
.welcome-badges-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.welcome-badge-card {
  background: var(--white);
  border: 1px solid rgba(3, 92, 5, 0.12);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.wb-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}

.wb-score {
  font-size: 12px;
  color: var(--text-dark);
}

.wb-score strong {
  color: var(--green-primary);
  font-size: 14px;
}

.wb-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
}

.wb-label {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Trust row */
.welcome-trust-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.welcome-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.welcome-trust-item svg {
  flex-shrink: 0;
}

/* ---- BACK BUTTON ---- */
.back-btn {
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 0;
  margin-bottom: 8px;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.back-btn:hover {
  color: var(--green-primary);
}

.question-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* ---- QUESTION SCREEN ---- */
.question-screen {
  padding: 36px 0 20px;
  animation: fadeSlideIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.question-screen.exiting {
  animation: fadeSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.question-step {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-accent);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.question-text {
  font-family: 'Jitter', Georgia, serif;
  font-size: 26px;
  color: var(--green-primary);
  line-height: 1.3;
  margin-bottom: 8px;
  font-weight: 400;
}

.question-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ---- STATEMENT QUESTIONS ---- */
.statement-block {
  font-family: 'Jitter', Georgia, serif;
  font-size: 24px;
  line-height: 1.35;
  color: var(--green-primary);
  margin-bottom: 8px;
  font-weight: 400;
}

.statement-prompt {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ---- OPTIONS ---- */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 2px solid rgba(3, 92, 5, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  opacity: 0;
  transform: translateY(12px);
  animation: optionAppear 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.option-card:nth-child(1) { animation-delay: 0.08s; }
.option-card:nth-child(2) { animation-delay: 0.14s; }
.option-card:nth-child(3) { animation-delay: 0.20s; }
.option-card:nth-child(4) { animation-delay: 0.26s; }
.option-card:nth-child(5) { animation-delay: 0.32s; }
.option-card:nth-child(6) { animation-delay: 0.38s; }

@keyframes optionAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.option-card:hover {
  border-color: var(--green-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.option-card:active {
  transform: scale(0.985);
}

.option-card.selected {
  border-color: var(--green-primary);
  background: rgba(3, 92, 5, 0.04);
  box-shadow: 0 0 0 1px var(--green-primary);
}

.option-card.selected .option-check {
  background: var(--green-primary);
  border-color: var(--green-primary);
}

.option-card.selected .option-check::after {
  opacity: 1;
  transform: scale(1);
}

.option-icon {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-light);
  border-radius: 10px;
  flex-shrink: 0;
  transition: var(--transition);
}

.option-card:hover .option-icon,
.option-card.selected .option-icon {
  background: var(--green-badge-bg);
  transform: scale(1.05);
}

.option-label {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

.option-check {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(3, 92, 5, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

.option-check::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: scale(0) rotate(-45deg);
  transform-origin: center;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 5px;
}

.option-card.selected .option-check::after {
  transform: scale(1) rotate(-45deg);
  opacity: 1;
}

/* ---- STATEMENT OPTIONS (radio dot, no icon) ---- */
.option-card.statement-option {
  padding: 16px 20px;
  gap: 14px;
}

.option-radio {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(3, 92, 5, 0.25);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-primary);
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card.statement-option.selected .option-radio {
  border-color: var(--green-primary);
}

.option-card.statement-option.selected .option-radio::after {
  transform: scale(1);
}

/* ---- MULTI-SELECT ---- */
.multi-select-hint {
  font-size: 13px;
  color: var(--green-accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.option-card.multi .option-check {
  border-radius: 6px;
}

.option-card.multi.selected .option-check {
  border-radius: 6px;
}

.btn-continue {
  display: block;
  width: 100%;
  padding: 16px;
  margin-top: 20px;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(8px);
}

.btn-continue.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-continue:hover {
  background: var(--green-dark);
}

.btn-continue:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* ---- HOPE INJECTION ---- */
.hope-screen {
  animation: fadeSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
  padding: 4px 0;
}

.hope-screen.exiting {
  animation: fadeSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hope-card {
  background: var(--white);
  padding: 0;
  margin-bottom: 8px;
}

.hope-card h2 {
  font-family: 'Jitter', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.3;
  color: var(--green-primary);
}

.hope-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.hope-card p:last-child {
  margin-bottom: 0;
}

.hope-card em {
  color: var(--green-accent);
  font-style: italic;
}

.hope-card strong {
  color: var(--green-primary);
  font-weight: 600;
}

.hope-stat {
  display: block;
  background: var(--green-light);
  border: 1px solid var(--green-badge-border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 16px 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
}

.hope-stat strong {
  color: var(--green-primary);
  font-size: 20px;
}

.hope-good-news {
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 16px;
}

.hope-good-news p {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.hope-good-news p:last-child {
  margin-bottom: 0;
}

/* ---- TESTIMONIAL GRID ---- */
.hope-faces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px -12px 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hope-faces img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

.hope-faces-caption {
  display: none;
}

.hope-transition {
  text-align: center;
  padding: 4px 0 8px;
}

.hope-transition p {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 16px;
}

.btn-hope-continue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 52px;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.btn-hope-continue:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---- RESULTS / CTA SCREEN ---- */
.results-screen {
  text-align: center;
  padding: 40px 0;
  animation: fadeSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.results-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--green-badge-bg);
  border: 1px solid var(--green-badge-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 24px;
}

.results-title {
  font-family: 'Jitter', Georgia, serif;
  font-size: 30px;
  color: var(--green-primary);
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 400;
}

.results-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.results-text em {
  color: var(--green-accent);
}

.btn-cta {
  display: block;
  width: 100%;
  padding: 20px;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  margin-bottom: 16px;
  text-decoration: none;
  text-align: center;
}

.btn-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.results-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.stars {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 1px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 480px) {
  .header {
    padding: 14px 16px;
  }

  .logo-img {
    height: 30px;
  }

  .app {
    padding: 24px 16px 80px;
  }

  .welcome-screen {
    padding: 24px 0 30px;
  }

  .welcome-title {
    font-size: 28px;
  }

  .welcome-trust-row {
    gap: 12px;
  }

  .question-text {
    font-size: 22px;
  }

  .option-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .option-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
    border-radius: 8px;
  }

  .option-label {
    font-size: 14px;
  }

  .hope-card {
    padding: 32px 22px;
    border-radius: 16px;
  }

  .hope-card h2 {
    font-size: 24px;
  }

  .btn-start {
    width: 100%;
    justify-content: center;
  }
}

/* ---- UTILITY ANIMATIONS ---- */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading-shimmer {
  background: linear-gradient(90deg, var(--green-light) 25%, var(--green-light-2) 50%, var(--green-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
  height: 200px;
  margin: 40px 0;
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
  text-align: center;
  padding: 48px 0 40px;
  animation: fadeSlideIn 0.4s ease both;
}

.loading-screen.exiting {
  animation: fadeSlideOut 0.3s ease both;
}

.loading-ring-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 20px;
}

.loading-ring-svg {
  width: 100%;
  height: 100%;
}

.loading-ring-progress {
  transition: stroke-dashoffset 0.08s linear;
}

.loading-ring-pct {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 36px;
  font-weight: 700;
  color: var(--green-primary);
}

.loading-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 24px;
  min-height: 22px;
}

.loading-divider {
  width: 60px;
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin: 0 auto 24px;
}

.loading-stat {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================
   POST-QUIZ FUNNEL SCREENS
   ============================================ */

.funnel-screen {
  padding: 8px 0 20px;
  animation: fadeSlideIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.funnel-screen.exiting {
  animation: fadeSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.funnel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--green-badge-bg);
  border: 1px solid var(--green-badge-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 16px;
}

.funnel-title {
  font-family: 'Jitter', Georgia, serif;
  font-size: 28px;
  color: var(--green-primary);
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 400;
}

.funnel-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.funnel-text em { color: var(--green-accent); }
.funnel-text strong { color: var(--green-primary); }
.funnel-text-sm { font-size: 14px; color: var(--text-muted); }

.funnel-btn {
  display: block;
  width: 100%;
  padding: 20px;
  margin-top: 24px;
  background: var(--green-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.sticky-btn-wrap {
  position: sticky;
  bottom: 0;
  padding: 12px 0 16px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 25%);
  z-index: 10;
  margin-top: 16px;
}

.funnel-btn-sticky {
  margin-top: 0;
}

.funnel-btn:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---- SCREEN 1: GAUGE ---- */
.gauge-wrap {
  text-align: center;
  margin: 8px 0 24px;
}

.gauge-svg {
  width: 220px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.gauge-label {
  font-size: 18px;
  margin-top: 8px;
  color: var(--text-dark);
}

.gauge-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.score-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.score-card {
  background: var(--white);
  border: 1px solid rgba(3, 92, 5, 0.1);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.score-card-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.score-card-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
}

.score-card-green {
  border: 1.5px solid var(--green-badge-border);
  background: var(--green-light);
}

/* ---- SCREEN 2: SPLIT BEFORE/AFTER ---- */
.ba-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px -8px 0;
}

.ba-col {
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  overflow: hidden;
}

.ba-col-bad {
  border: 1px solid rgba(220, 38, 38, 0.1);
  border-bottom: none;
}

.ba-col-good {
  border: 1px solid rgba(3, 92, 5, 0.12);
  border-bottom: none;
}

.ba-img-half {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  background-image: url('before-after.png');
  background-size: 202% auto;
  background-position: -1% 35%;
}

.ba-img-right {
  background-position: 101% 35%;
}

.ba-labels-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 -8px;
}

.ba-labels-row span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  padding: 10px 8px 8px;
}

.ba-label-bad { color: #b91c1c; }
.ba-label-good { color: var(--green-primary); }

.ba-rows {
  margin: 0 -8px 20px;
}

.ba-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ba-row:last-child {
  border-bottom: none;
}

.ba-row span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-dark);
  font-weight: 500;
  padding: 10px 10px;
}

.ba-row span:first-child {
  background: rgba(220, 38, 38, 0.02);
  border-left: 1px solid rgba(220, 38, 38, 0.1);
  border-right: 1px solid rgba(220, 38, 38, 0.05);
}

.ba-row span:last-child {
  background: rgba(3, 92, 5, 0.02);
  border-right: 1px solid rgba(3, 92, 5, 0.1);
  border-left: 1px solid rgba(3, 92, 5, 0.05);
}

.ba-row:last-child span:first-child {
  border-radius: 0 0 0 var(--radius-sm);
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.ba-row:last-child span:last-child {
  border-radius: 0 0 var(--radius-sm) 0;
  border-bottom: 1px solid rgba(3, 92, 5, 0.1);
}

.ba-explanation {
  margin-bottom: 4px;
}

.ba-explanation p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.ba-explanation em { color: var(--green-accent); }
.ba-explanation strong { color: var(--green-primary); }

/* ---- SCREEN 3: RECEPTOR ANIMATION ---- */
.rx-anim {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 24px;
}

.rx-scene {
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  position: relative;
}

.rx-scene-blocked {
  background: #fafafa;
  border: 1px solid #e5e5e5;
}

.rx-scene-open {
  background: rgba(3, 92, 5, 0.04);
  border: 1.5px solid rgba(3, 92, 5, 0.2);
}

.rx-scene-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
  margin-bottom: 16px;
}

.rx-label-bad { color: #9ca3af; }
.rx-label-good { color: var(--green-primary); }

.rx-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 14px;
}

.rx-sender {
  text-align: center;
  flex-shrink: 0;
}

.rx-sender-icon {
  font-size: 36px;
  line-height: 1;
}

.rx-sender-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

.rx-signal-path {
  flex: 1;
  text-align: center;
  position: relative;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rx-signals-sent {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.rx-sig {
  font-size: 18px;
  display: inline-block;
}

/* Fading signals (blocked) */
.rx-sig-fade {
  animation: sigFade 2.5s infinite;
}

.rx-sig-fade.rx-sig-1 { animation-delay: 0s; }
.rx-sig-fade.rx-sig-2 { animation-delay: 0.4s; }
.rx-sig-fade.rx-sig-3 { animation-delay: 0.8s; }

@keyframes sigFade {
  0% { opacity: 1; transform: translateX(0); }
  40% { opacity: 0.5; transform: translateX(8px); }
  70% { opacity: 0.1; transform: translateX(14px); }
  100% { opacity: 0; transform: translateX(18px); }
}

/* Flowing signals (open) */
.rx-sig-flow {
  animation: sigFlow 2s infinite;
}

.rx-sig-flow.rx-sig-1 { animation-delay: 0s; }
.rx-sig-flow.rx-sig-2 { animation-delay: 0.3s; }
.rx-sig-flow.rx-sig-3 { animation-delay: 0.6s; }

@keyframes sigFlow {
  0% { opacity: 0.3; transform: translateX(0) scale(0.9); }
  50% { opacity: 1; transform: translateX(10px) scale(1.1); }
  100% { opacity: 0.3; transform: translateX(20px) scale(0.9); }
}

.rx-arrow-line {
  width: 60%;
  height: 2px;
  margin: 2px auto;
  border-radius: 2px;
}

.rx-arrow-blocked {
  background: repeating-linear-gradient(90deg, #ccc 0, #ccc 4px, transparent 4px, transparent 8px);
}

.rx-arrow-open {
  background: var(--green-accent);
  box-shadow: 0 0 6px rgba(73, 147, 75, 0.3);
}

.rx-signal-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.rx-scene-open .rx-signal-label {
  color: var(--green-primary);
  font-weight: 600;
}

.rx-receptor-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.rx-receptor {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rx-rec-body {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rx-receptor-gray .rx-rec-body {
  background: #d1d5db;
  border: 2px solid #b0b5bc;
}

.rx-receptor-green .rx-rec-body {
  background: var(--green-primary);
  border: 2px solid var(--green-accent);
  box-shadow: 0 0 16px rgba(3, 92, 5, 0.3);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  animation: receptorPulse 2s infinite;
}

@keyframes receptorPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(3, 92, 5, 0.2); }
  50% { box-shadow: 0 0 24px rgba(3, 92, 5, 0.45); }
}

.rx-rec-x {
  position: absolute;
  font-size: 16px;
  color: #dc2626;
  font-weight: 700;
}

.rx-rec-check {
  position: absolute;
  font-size: 18px;
  color: white;
  font-weight: 700;
}

/* Ingredient bubbles orbiting the receptor */
.rx-ingredients {
  position: absolute;
  width: 80px;
  height: 80px;
  animation: orbitSpin 8s linear infinite;
}

.rx-ing {
  position: absolute;
  font-size: 14px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.rx-ing-1 { top: -8px; left: 50%; transform: translateX(-50%); }
.rx-ing-2 { right: -8px; top: 50%; transform: translateY(-50%); }
.rx-ing-3 { bottom: -8px; left: 50%; transform: translateX(-50%); }
.rx-ing-4 { left: -8px; top: 50%; transform: translateY(-50%); }

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Counter-rotate the emoji so they stay upright */
.rx-ing {
  animation: counterSpin 8s linear infinite;
}

@keyframes counterSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.rx-ing-1 { animation: counterSpin1 8s linear infinite; }
.rx-ing-2 { animation: counterSpin2 8s linear infinite; }
.rx-ing-3 { animation: counterSpin3 8s linear infinite; }
.rx-ing-4 { animation: counterSpin4 8s linear infinite; }

@keyframes counterSpin1 { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(-360deg); } }
@keyframes counterSpin2 { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(-360deg); } }
@keyframes counterSpin3 { from { transform: translateX(-50%) rotate(0deg); } to { transform: translateX(-50%) rotate(-360deg); } }
@keyframes counterSpin4 { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(-360deg); } }

.rx-result {
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 8px;
}

.rx-result-bad {
  background: rgba(220, 38, 38, 0.06);
  color: var(--text-muted);
}

.rx-result-bad span {
  color: #dc2626;
  font-weight: 600;
}

.rx-result-good {
  background: rgba(3, 92, 5, 0.08);
  color: var(--text-dark);
}

.rx-result-good span {
  color: var(--green-primary);
  font-weight: 700;
}

.compounds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}

.compound {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green-primary);
}

.compound-icon {
  font-size: 22px;
}

/* ---- SCREEN 4: TIMELINE ---- */
.timeline-graph {
  margin: 16px 0;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 16px 8px 8px;
}

.timeline-svg {
  width: 100%;
  height: auto;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.tl-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.tl-red { background: #dc2626; }
.tl-orange { background: #f97316; }
.tl-green { background: var(--green-primary); }

.tl-step strong {
  display: block;
  font-size: 15px;
  color: var(--green-primary);
  margin-bottom: 2px;
}

.tl-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.timeline-personal {
  background: var(--green-light);
  border: 1px solid var(--green-badge-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 8px;
}

.timeline-personal p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.timeline-personal p:last-child { margin-bottom: 0; }
.timeline-personal em { color: var(--green-accent); }
.timeline-personal strong { color: var(--green-primary); }

/* ---- TRUSTPILOT HEADER ---- */
.trustpilot-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tp-stars {
  display: flex;
  gap: 3px;
}

.tp-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-score {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

.tp-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.tp-logo {
  margin-top: 2px;
}

/* ---- SCREEN 5: REVIEWS ---- */
.reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 16px 0 8px;
}

.review-img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* ---- SCREEN 6: CTA ---- */
.product-img {
  display: block;
  width: 75%;
  max-width: 300px;
  margin: 16px auto 24px;
  border-radius: var(--radius-sm);
}

.cta-personal {
  background: var(--green-light);
  border: 1px solid var(--green-badge-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.cta-personal p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.cta-personal p:last-child { margin-bottom: 0; }
.cta-personal em { color: var(--green-accent); }
.cta-personal strong { color: var(--green-primary); }

.guarantee-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* ---- RESPONSIVE: FUNNEL ---- */
@media (max-width: 480px) {
  .funnel-title {
    font-size: 24px;
  }

  .ba-item {
    font-size: 13px;
  }

  .ba-col-label {
    font-size: 11.5px;
  }

  .compounds-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-img {
    width: 80%;
  }
}
