/* ============================================
   ZAFIRA ORGANICS QUIZ FUNNEL — STYLES
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors */
  --bg-primary: #0B1A17;
  --bg-secondary: #0F2420;
  --bg-card: #132E28;
  --bg-card-hover: #1A3B34;
  --bg-card-selected: rgba(0, 182, 122, 0.08);
  --accent: #00B67A;
  --accent-hover: #00D48F;
  --accent-glow: rgba(0, 182, 122, 0.25);
  --accent-soft: rgba(0, 182, 122, 0.12);
  --text-primary: #FFFFFF;
  --text-secondary: #A8BDB8;
  --text-muted: #6B8A84;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --border-selected: #00B67A;
  --error: #FF6B6B;
  --warning: #FFB020;
  --red: #E74C3C;
  --red-soft: rgba(231, 76, 60, 0.1);
  --yellow: #F5A623;
  --green: #2ECC71;

  /* Typography */
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.375rem;
  --fs-2xl: 1.75rem;
  --fs-3xl: 2.25rem;

  /* Spacing */
  --sp-xs: 4px;
  --sp-sm: 8px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-3xl: 64px;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-normal: 300ms ease;
  --t-slow: 500ms ease;
  --t-bounce: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- QUIZ NAV BAR --- */
.quiz-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.quiz-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--sp-md) var(--sp-lg);
  height: 52px;
}

.quiz-nav .nav-back {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  padding: var(--sp-xs) 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--t-fast);
  min-width: 60px;
}

.quiz-nav .nav-back:hover {
  color: var(--text-primary);
}

.quiz-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-logo-img {
  height: 18px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-medical-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.nav-medical-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
}

.quiz-nav .nav-counter {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
  min-width: 60px;
  text-align: right;
}

/* --- PROGRESS BAR (below nav) --- */
.progress-bar {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 1000;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- APP CONTAINER --- */
.app-container {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* --- SCREEN TRANSITIONS --- */
.app-container.slide-out-left {
  animation: slideOutLeft 280ms ease forwards;
}

.app-container.slide-in-right {
  animation: slideInRight 350ms ease forwards;
}

.app-container.slide-out-right {
  animation: slideOutRight 280ms ease forwards;
}

.app-container.slide-in-left {
  animation: slideInLeft 350ms ease forwards;
}

.app-container.fade-in {
  animation: fadeIn 400ms ease forwards;
}

@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-40px); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --- QUIZ CONTAINER (centered narrow column) --- */
.quiz-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-lg);
  padding-top: 80px;
  padding-bottom: var(--sp-2xl);
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

/* --- LANDING PAGE --- */
.landing-wrapper {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.landing-hero {
  position: relative;
  width: 100%;
  min-height: 55vh;
  background-image: url('images/dr-reed-with-bottle.png');
  background-size: cover;
  background-position: center top;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-xl) var(--sp-lg);
}

.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11, 26, 23, 0) 0%,
    rgba(11, 26, 23, 0.3) 40%,
    rgba(11, 26, 23, 0.85) 75%,
    rgba(11, 26, 23, 1) 100%
  );
  z-index: 1;
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.landing-hero h1 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.18;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.01em;
}

.landing-bottom {
  flex: 1;
  padding: var(--sp-lg);
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

/* Keep .landing class for internal centering of bottom elements */
.landing {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-xl) var(--sp-lg);
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.landing h1 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--sp-md);
  letter-spacing: -0.01em;
}

.landing .subhead {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  margin-bottom: var(--sp-xl);
  line-height: 1.5;
}

.proof-stack {
  text-align: left;
  width: 100%;
  margin-bottom: var(--sp-xl);
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-sm) 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}

.proof-icon {
  color: var(--accent);
  font-size: var(--fs-base);
  flex-shrink: 0;
  margin-top: 1px;
}

.landing-testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-xl);
  width: 100%;
  text-align: left;
}

.landing-testimonial .stars {
  color: var(--warning);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-sm);
}

.landing-testimonial blockquote {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--sp-sm);
}

.landing-testimonial cite {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-style: normal;
}

.dr-reed-row {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.dr-reed-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-soft);
}

/* --- CLINICIANS BADGE --- */
.clinicians-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-xl);
  width: 100%;
  text-align: left;
}

.clinicians-badge-title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
}

.clinicians-badge p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--sp-sm);
}

.clinicians-badge p strong {
  color: var(--text-primary);
}

.clinicians-badge-link {
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* --- BUTTONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--fs-lg);
  padding: var(--sp-md) var(--sp-xl);
  border-radius: var(--radius-md);
  border: none;
  width: 100%;
  cursor: pointer;
  transition: all var(--t-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

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

.btn-primary.pulse {
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 12px transparent; }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t-fast);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* --- BACK BUTTON (legacy, kept for non-quiz screens) --- */
.back-btn {
  position: absolute;
  top: var(--sp-lg);
  left: var(--sp-lg);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: var(--fs-xl);
  cursor: pointer;
  padding: var(--sp-sm);
  border-radius: var(--radius-sm);
  transition: color var(--t-fast);
  z-index: 10;
  line-height: 1;
}

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

/* --- OPTION ICON (circle with SVG icon) --- */
.option-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
  color: var(--accent);
}

.option-icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  flex-shrink: 0;
}

.option-card.selected .option-icon-circle {
  background: rgba(0, 182, 122, 0.2);
}

.option-card.selected .option-icon-circle svg {
  stroke: var(--accent-hover);
}

/* --- INLINE SVG ICONS (for badges, text, etc.) --- */
.inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.inline-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

/* Email gate lock icon */
.email-lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.email-lock-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--accent);
}

/* Loading screen checkmark icon */
.checkmark-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 2.5;
}

/* Warning box icon */
.warning-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--warning);
  flex-shrink: 0;
}

/* Proof icon (landing page checkmarks) */
.proof-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  stroke-width: 2.5;
}

/* Trust badge icons */
.trust-badge .inline-icon {
  width: 0.9em;
  height: 0.9em;
}

.trust-badge .inline-icon svg {
  stroke: var(--accent);
}

/* Clinicians badge icon */
.clinicians-badge-title .inline-icon {
  width: 1.1em;
  height: 1.1em;
}

.clinicians-badge-title .inline-icon svg {
  stroke: var(--accent);
}

/* --- QUESTION HEADER --- */
.question-header {
  margin-bottom: var(--sp-xl);
}

.question-label {
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-sm);
}

.question-subtext {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-lg);
  line-height: 1.5;
}

.question-text {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

/* --- OPTION CARDS --- */
.options-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.option-card {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-md) var(--sp-lg);
  cursor: pointer;
  transition: all var(--t-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.option-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: scale(1.015);
}

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

.option-card.selected {
  border-color: var(--border-selected);
  background: var(--bg-card-selected);
  box-shadow: 0 0 0 1px var(--accent), 0 0 24px var(--accent-glow);
}

.option-card.selected .option-indicator {
  background: var(--accent);
  border-color: var(--accent);
}

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

.option-icon {
  font-size: var(--fs-xl);
  flex-shrink: 0;
}

.option-label {
  font-size: var(--fs-base);
  font-weight: 500;
  flex: 1;
}

.option-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  flex-shrink: 0;
  transition: all var(--t-fast);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-indicator::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0);
  transition: all var(--t-bounce);
}

.option-indicator.checkbox {
  border-radius: 6px;
}

/* --- NUMBER INPUT --- */
.number-input-wrapper {
  margin-bottom: var(--sp-xl);
}

.number-input {
  width: 100%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--fs-2xl);
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: border-color var(--t-fast);
  -moz-appearance: textfield;
}

.number-input::-webkit-outer-spin-button,
.number-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.number-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.number-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.input-hint {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-sm);
}

/* --- SELECT / DROPDOWN --- */
.select-input {
  width: 100%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-md) var(--sp-lg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--fs-base);
  outline: none;
  transition: border-color var(--t-fast);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A8BDB8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-lg) center;
}

.select-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* --- EMAIL INPUT --- */
.email-input {
  width: 100%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-md) var(--sp-lg);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: var(--fs-base);
  outline: none;
  transition: border-color var(--t-fast);
}

.email-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-error {
  color: var(--error);
  font-size: var(--fs-xs);
  margin-top: var(--sp-xs);
  display: none;
}

.email-error.show {
  display: block;
}

.privacy-text {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
}

/* --- DUAL INPUT (Weight) --- */
.dual-input {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.dual-input-group label {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-xs);
  font-weight: 500;
}

.dual-input-group .number-input {
  font-size: var(--fs-xl);
  padding: var(--sp-md) var(--sp-lg);
}

/* --- GENDER SELECT --- */
.gender-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.gender-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-md);
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl) var(--sp-lg);
  cursor: pointer;
  transition: all var(--t-fast);
}

.gender-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: scale(1.03);
}

.gender-card:active {
  transform: scale(0.97);
}

.gender-card .gender-icon {
  font-size: 2.5rem;
}

.gender-card .gender-label {
  font-size: var(--fs-base);
  font-weight: 600;
}

/* --- MID-QUIZ BREAK (Bioma-style) --- */
.mid-break-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.mid-break-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mid-break-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to bottom, transparent 0%, rgba(11,26,23,0.4) 40%, rgba(11,26,23,0.85) 70%, var(--bg) 100%);
  pointer-events: none;
  z-index: 1;
}

.mid-break-bottle {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  max-height: 50vh;
}

.mid-break-content {
  flex: 1;
  padding: var(--sp-xl) var(--sp-lg);
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

.mid-break-content h2 {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--sp-xs);
}

.mid-break-sub {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--accent);
  margin-bottom: var(--sp-lg);
  line-height: 1.3;
}

.mid-break-content .mid-body {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-lg);
}

.mid-break-checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.mid-break-check-item {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.4;
}

.mid-break-check-item .proof-icon {
  flex-shrink: 0;
}

.mid-break-check-item .proof-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  stroke-width: 2.5;
}

.mid-break-cta-text {
  font-size: var(--fs-base);
  font-style: italic;
  color: var(--accent);
  margin-bottom: var(--sp-lg);
}

.mid-break-bottom {
  padding: var(--sp-lg);
  background: linear-gradient(transparent, var(--bg-primary) 30%);
  position: sticky;
  bottom: 0;
}

.mid-break-bottom .btn-primary {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
}

/* Legacy (kept for results sections) */
.product-showcase {
  margin-bottom: var(--sp-xl);
}

.product-showcase img {
  max-width: 280px;
  width: 100%;
  border-radius: var(--radius-lg);
}

.category-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.category-label {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--radius-full);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.trust-badge svg,
.trust-badge .badge-icon {
  color: var(--accent);
  font-size: var(--fs-sm);
}

/* --- LOADING SCREEN --- */
.loading-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-xl) var(--sp-lg);
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.loading-screen h2 {
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--sp-2xl);
}

.loading-steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.loading-step {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  opacity: 0;
  transform: translateY(12px);
  transition: all 500ms ease;
}

.loading-step.visible {
  opacity: 1;
  transform: translateY(0);
}

.loading-step .step-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.checkmark-icon {
  display: none;
  color: var(--accent);
  font-size: var(--fs-xl);
}

.loading-step.completed .spinner {
  display: none;
}

.loading-step.completed .checkmark-icon {
  display: block;
  animation: checkPop 350ms var(--t-bounce);
}

@keyframes checkPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.loading-step .step-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.loading-step.completed .step-text {
  color: var(--text-primary);
}

/* --- MODAL / POPUP --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-lg);
  z-index: 2000;
  opacity: 0;
  transition: opacity 300ms ease;
}

.modal-overlay.active {
  opacity: 1;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-xl);
  max-width: 500px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  transition: transform 300ms ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-content h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--sp-md);
  line-height: 1.35;
  color: var(--warning);
}

.modal-content p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--sp-md);
}

.modal-content .highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.modal-content .btn-primary {
  margin-top: var(--sp-md);
}

/* --- RESULTS PAGE --- */
/* --- RESULTS SLIDE SYSTEM --- */
.results-slide-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.results-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.results-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--sp-md) var(--sp-lg);
  height: 52px;
}

.results-nav .nav-back,
.results-nav .results-back {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  padding: var(--sp-xs) 0;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--t-fast);
  min-width: 60px;
}

.results-nav .results-back:hover {
  color: var(--text-primary);
}

.results-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-back-spacer {
  min-width: 60px;
}

/* Segmented progress */
.results-segments {
  display: flex;
  gap: 4px;
  padding: 0 var(--sp-lg);
  max-width: 640px;
  margin: var(--sp-sm) auto var(--sp-xs);
  width: 100%;
}

.results-segment {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  transition: background var(--t-normal);
}

.results-segment.active {
  background: var(--accent);
}

.results-segment.current {
  background: var(--accent);
}

/* Slide content area */
.results-slide-area {
  flex: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: var(--sp-lg);
  padding-bottom: 100px;
  width: 100%;
}

.results-slide-content {
  width: 100%;
}

/* Bottom bar */
.results-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, var(--bg-primary) 30%);
  padding: var(--sp-2xl) var(--sp-lg) var(--sp-lg);
  z-index: 100;
}

.results-bottom-bar .btn-primary {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
}

/* Legacy: results-page (no longer used as scroll container) */
.results-page {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--sp-lg);
  padding-bottom: 120px;
  width: 100%;
}

.results-section {
  margin-bottom: var(--sp-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 600ms ease;
}

.results-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.results-section h2 {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--sp-lg);
  letter-spacing: -0.01em;
}

.results-section h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--sp-md);
}

.results-section p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

.results-section .bold {
  color: var(--text-primary);
  font-weight: 600;
}

.results-section .red {
  color: var(--red);
  font-weight: 700;
}

/* --- STRESS GAUGE --- */
.gauge-container {
  text-align: center;
  margin: var(--sp-xl) 0;
}

.gauge-svg {
  max-width: 320px;
  width: 100%;
}

.gauge-needle {
  transition: transform 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: var(--sp-sm);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.gauge-score {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-top: var(--sp-md);
}

.gauge-score .score-label {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-secondary);
  display: block;
}

/* --- TAGS --- */
.tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin: var(--sp-lg) 0;
}

.tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: var(--sp-xs) var(--sp-md);
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- VISUALIZATION BARS --- */
.viz-bar {
  margin: var(--sp-lg) 0;
}

.viz-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: var(--sp-xs);
}

.viz-bar-track {
  height: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.viz-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.viz-bar-fill.red { background: linear-gradient(90deg, var(--red), #ff8e8e); }
.viz-bar-fill.green { background: linear-gradient(90deg, var(--accent), var(--accent-hover)); }
.viz-bar-fill.yellow { background: linear-gradient(90deg, var(--yellow), #ffcb5c); }

.viz-marker {
  position: absolute;
  top: -6px;
  width: 2px;
  height: 22px;
  background: var(--text-primary);
  border-radius: 1px;
}

.viz-marker-label {
  position: absolute;
  top: -24px;
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  white-space: nowrap;
  transform: translateX(-50%);
}

/* --- BODY COMP ARROWS --- */
.body-comp-visual {
  display: flex;
  gap: var(--sp-lg);
  margin: var(--sp-lg) 0;
  padding: var(--sp-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

.comp-arrow {
  flex: 1;
  text-align: center;
  padding: var(--sp-md);
}

.comp-arrow .arrow {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-xs);
}

.comp-arrow .comp-label {
  font-size: var(--fs-sm);
  font-weight: 600;
}

.comp-arrow.held .comp-label { color: var(--red); }
.comp-arrow.consumed .comp-label { color: var(--red); }

/* --- WEIGHT PROGRESS --- */
.weight-progress {
  margin: var(--sp-lg) 0;
}

.weight-bar-container {
  position: relative;
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.weight-bar-track {
  height: 14px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  overflow: visible;
  position: relative;
}

.weight-bar-lost {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  border-radius: var(--radius-full);
  transition: width 1.5s ease;
  position: relative;
}

.weight-bar-blocked {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--red-soft),
    var(--red-soft) 4px,
    transparent 4px,
    transparent 8px
  );
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.weight-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-sm);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --- WARNING BOX --- */
.warning-box {
  background: var(--red-soft);
  border: 1px solid rgba(231, 76, 60, 0.25);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  margin: var(--sp-xl) 0;
  display: flex;
  gap: var(--sp-md);
}

.warning-box .warning-icon {
  font-size: var(--fs-xl);
  flex-shrink: 0;
}

.warning-box p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- HAIR SHEDDING INDICATOR --- */
.hair-indicator {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  margin: var(--sp-lg) 0;
}

.hair-dot {
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

/* --- INGREDIENT CARDS --- */
.ingredient-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  margin-bottom: var(--sp-lg);
}

.ingredient-card h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}

.ingredient-card .ing-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
}

.ingredient-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.ingredient-card img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-md);
}

/* --- FULL INGREDIENT LIST --- */
.ingredient-list {
  list-style: none;
  margin: var(--sp-lg) 0;
}

.ingredient-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.ingredient-list li:last-child {
  border-bottom: none;
}

.ingredient-list .ing-item-name {
  color: var(--text-primary);
  font-weight: 500;
}

.ingredient-list .ing-item-dose {
  color: var(--text-muted);
}

/* --- BRIDGE BURNING CARDS --- */
.bridge-card {
  background: var(--bg-card);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.bridge-card h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-sm);
}

.bridge-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* --- FUTURE PACING TIMELINE --- */
.timeline {
  position: relative;
  padding-left: var(--sp-xl);
  margin: var(--sp-lg) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--sp-xl);
  padding-left: var(--sp-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--sp-xl) + 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
}

.timeline-item .timeline-period {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-xs);
}

.timeline-item p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* --- CALLOUT BOX --- */
.callout-box {
  background: var(--accent-soft);
  border: 1px solid rgba(0, 182, 122, 0.2);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  text-align: center;
  margin: var(--sp-xl) 0;
}

.callout-box p {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin: 0;
}

.callout-box .callout-sub {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: var(--sp-sm);
}

/* --- TESTIMONIAL CARDS --- */
.testimonial-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}

.testimonial-featured .stars {
  color: var(--warning);
  font-size: var(--fs-base);
  margin-bottom: var(--sp-md);
}

.testimonial-featured blockquote {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--sp-md);
}

.testimonial-featured cite {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: 600;
  font-style: normal;
}

.testimonial-featured .verified {
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 500;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.testimonial-meta .active-users {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.testimonial-meta .rating {
  font-size: var(--fs-sm);
  color: var(--text-primary);
  font-weight: 600;
}

.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.testimonial-short {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
}

.testimonial-short .stars {
  color: var(--warning);
  font-size: var(--fs-xs);
  margin-bottom: var(--sp-sm);
}

.testimonial-short blockquote {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: var(--sp-sm);
}

.testimonial-short cite {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-style: normal;
}

.testimonial-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-md);
}

/* --- STICKY CTA BAR --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, var(--bg-primary) 30%);
  padding: var(--sp-2xl) var(--sp-lg) var(--sp-lg);
  z-index: 500;
}

.sticky-cta .btn-primary {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
}

/* --- FINAL CTA SECTION --- */
.final-cta-section {
  text-align: center;
  padding: var(--sp-xl) 0;
  margin-bottom: var(--sp-2xl);
}

.final-cta-section h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-sm);
}

.final-cta-section .cta-sub {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-xl);
}

/* --- PRODUCT DISPLAY (in results) --- */
.product-result {
  text-align: center;
  margin: var(--sp-xl) 0;
}

.product-result img {
  max-width: 260px;
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-md);
}

.product-result .product-tagline {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  font-style: italic;
}

/* --- RESPONSIVE --- */
@media (min-width: 640px) {
  :root {
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.75rem;
  }

  .landing h1,
  .landing-hero h1 {
    font-size: var(--fs-3xl);
  }

  .testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
  }
}

@media (min-width: 1024px) {
  .quiz-screen {
    max-width: 580px;
  }

  .results-page {
    max-width: 700px;
  }

  .results-slide-area {
    max-width: 700px;
  }

  .results-nav-inner {
    max-width: 700px;
  }

  .results-segments {
    max-width: 700px;
  }

  .results-bottom-bar .btn-primary {
    max-width: 700px;
  }
}

/* --- UTILITY --- */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }

/* Scroll reveal for results sections */
@keyframes revealUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================
   NEW COMPONENTS
   ================================================ */

/* --- 1. INFO SCREENS --- */
.info-screen {
  max-width: 540px;
  margin: 0 auto;
  padding: 60px var(--sp-lg) var(--sp-xl);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-screen-content {
  margin-bottom: var(--sp-xl);
}

.info-screen-content h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: var(--sp-lg);
  color: #fff;
}

.info-screen-content h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin-bottom: var(--sp-lg);
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.info-screen-content p {
  margin-bottom: var(--sp-md);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* --- 2. CLINICAL REASON --- */
.clinical-reason {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  margin-top: var(--sp-lg);
  padding: 0 var(--sp-md);
  line-height: 1.5;
  font-style: italic;
}

/* --- 3. HIGHLIGHT RED --- */
.highlight-red {
  color: #E74C3C;
  font-weight: 600;
}

/* --- 4. READ MORE DROPDOWNS --- */
.read-more-container {
  margin-top: var(--sp-lg);
}

.read-more-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--sp-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 4px;
  transition: background 0.2s, border-color 0.2s;
}

.read-more-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
}

.read-more-toggle.open {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  background: rgba(255,255,255,0.08);
}

.read-more-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.read-more-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s ease;
  font-weight: 600;
}

.read-more-toggle.open .read-more-arrow {
  transform: rotate(90deg);
}

.read-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin-bottom: var(--sp-sm);
}

.read-more-content.open {
  max-height: 1000px;
  padding: var(--sp-md);
}

.read-more-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
}

/* --- 5. HORIZONTAL GAUGE --- */
.horizontal-gauge {
  margin: var(--sp-lg) 0;
}

.h-gauge-track {
  position: relative;
  height: 28px;
  border-radius: 14px;
  display: flex;
  overflow: visible;
  margin-bottom: var(--sp-sm);
}

.h-gauge-zone {
  height: 100%;
  flex: 1;
}

.h-gauge-zone.green {
  background: #2ECC71;
  border-radius: 14px 0 0 14px;
}

.h-gauge-zone.yellow {
  background: #F5A623;
}

.h-gauge-zone.red {
  background: #E74C3C;
  border-radius: 0 14px 14px 0;
}

.h-gauge-marker {
  position: absolute;
  top: -28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h-gauge-marker-label {
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  margin-bottom: 4px;
}

.h-gauge-marker.zafira .h-gauge-marker-label {
  color: #2ECC71;
}

.h-gauge-marker.current .h-gauge-marker-label {
  color: #E74C3C;
}

.h-gauge-marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #0B1A17;
}

.h-gauge-marker-dot.green-dot {
  background: #2ECC71;
}

.h-gauge-marker-dot.red-dot {
  background: #E74C3C;
}

.h-gauge-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* --- 5b. THERMOMETER --- */
.thermometer-container {
  display: flex;
  justify-content: center;
  margin: var(--sp-xl) 0;
}

.thermometer {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.thermo-tube {
  position: relative;
  width: 44px;
  height: 240px;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden;
}

.thermo-zone { display: none; }

.thermo-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to top, #2ECC71 0%, #8BC34A 25%, #F39C12 50%, #E67E22 70%, #E74C3C 90%);
  border-radius: 0 0 20px 20px;
  transition: height 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.thermo-marker {
  position: absolute;
  bottom: 0;
  right: -90px;
  z-index: 3;
  transition: bottom 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  gap: 6px;
}

.thermo-marker::before {
  content: '';
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,0.4);
}

.thermo-marker-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #E74C3C;
  white-space: nowrap;
}

.thermo-bulb {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E74C3C, #c0392b);
  margin-top: -14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.35);
  border: 2px solid rgba(255,255,255,0.1);
  z-index: 1;
}

.thermo-bulb-inner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.thermo-labels {
  position: absolute;
  left: -68px;
  top: 0;
  height: 240px;
  pointer-events: none;
}

.thermo-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  text-align: right;
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  font-weight: 500;
}

/* --- 5c. VERTICAL METABOLISM SCORE --- */
.metab-score-card {
  text-align: center;
  padding: var(--sp-lg) 0;
}

.metab-score-header {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.metab-score-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.metab-score-out-of {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.4);
}

.metab-score-zone {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--sp-lg);
}

.metab-vertical-bar {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  margin: var(--sp-lg) auto 0;
  max-width: 200px;
}

.metab-vbar-track {
  position: relative;
  width: 32px;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.metab-vbar-zone {
  flex: 1;
}

.metab-vbar-green {
  background: #2ECC71;
  order: 1;
}

.metab-vbar-yellow {
  background: #F39C12;
  order: 2;
}

.metab-vbar-red {
  background: #E74C3C;
  order: 3;
}

.metab-vbar-fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: rgba(0,0,0,0.45);
  mix-blend-mode: multiply;
  transition: height 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
  border-radius: 16px 16px 0 0;
}

.metab-vbar-marker {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.3), 0 2px 8px rgba(0,0,0,0.3);
  transition: bottom 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.metab-vbar-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 200px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}

/* --- 5d. RESULTS IMAGE --- */
.results-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: var(--sp-lg);
}

/* --- 6. WEIGHT TRAJECTORY GRAPH --- */
.weight-trajectory {
  margin: var(--sp-xl) 0;
}

.weight-trajectory h3 {
  margin-bottom: var(--sp-md);
}

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

.trajectory-svg text {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* --- 7. METABOLISM SLIDER --- */
.metabolism-slider {
  margin: var(--sp-lg) 0;
}

.metab-label {
  font-weight: 600;
  margin-bottom: var(--sp-sm);
  font-size: 0.95rem;
}

.metab-track {
  position: relative;
  height: 24px;
  background: linear-gradient(to right, #E74C3C 0%, #F5A623 40%, #2ECC71 70%, #27AE60 100%);
  border-radius: 12px;
  margin-bottom: var(--sp-sm);
}

.metab-marker {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 32px;
  background: white;
  border-radius: 4px;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.metab-zones {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
}

/* --- 8. BMI SLIDER --- */
.bmi-block {
  margin: var(--sp-lg) 0;
}

.bmi-slider {
  position: relative;
  margin-top: var(--sp-sm);
}

.bmi-track {
  display: flex;
  height: 28px;
  border-radius: 14px;
  overflow: hidden;
}

.bmi-zone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
}

.bmi-zone.normal {
  background: #2ECC71;
  color: #0B1A17;
}

.bmi-zone.overweight {
  background: #F5A623;
  color: #0B1A17;
}

.bmi-zone.obese {
  background: #E74C3C;
  color: white;
}

.bmi-dot {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 36px;
  background: white;
  border-radius: 4px;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* --- 9. STRESS AGE COMPARISON --- */
.stress-age-block {
  margin: var(--sp-lg) 0;
}

.stress-age-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-lg);
  margin: var(--sp-lg) 0;
}

.age-box {
  text-align: center;
  padding: var(--sp-lg) var(--sp-xl);
  border-radius: 16px;
  min-width: 120px;
}

.age-box.actual {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.age-box.stress {
  background: rgba(231,76,60,0.15);
  border: 1px solid rgba(231,76,60,0.3);
}

.age-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.age-box.stress .age-number {
  color: #E74C3C;
}

.age-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.age-arrow {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.3);
}

/* --- 10. NUMBERED STEPS (FUTURE PACING) --- */
.numbered-steps {
  margin: var(--sp-lg) 0;
}

.numbered-step {
  display: flex;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.numbered-step:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.step-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 182, 122, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.step-content p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

/* --- 11. TRUSTPILOT BADGE --- */
.trustpilot-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  margin: var(--sp-lg) 0;
  padding: var(--sp-lg) var(--sp-md);
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
}

.trustpilot-stars {
  color: #00B67A;
  font-size: 1.5rem;
}

/* --- 12. INGREDIENT CARD READ MORE --- */
.ingredient-card .read-more-toggle {
  margin-top: var(--sp-sm);
  padding: 10px var(--sp-md);
}

/* ================================================
   WHITE CARD SYSTEM
   ================================================ */

/* --- White Card Container --- */
.white-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: var(--sp-xl) var(--sp-lg);
  color: #1E1E1E;
  margin-bottom: var(--sp-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

/* --- Typography overrides inside white cards --- */
.white-card h2 {
  font-family: var(--font-display);
  color: #1E1E1E;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--sp-lg);
}

.white-card h3 {
  color: #1E1E1E;
  margin-bottom: var(--sp-md);
}

.white-card p {
  color: #444;
  line-height: 1.7;
  margin-bottom: var(--sp-md);
}

.white-card strong {
  color: #1E1E1E;
}

/* --- Tags inside white cards --- */
.white-card .tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: var(--sp-md) 0;
}

.white-card .tag {
  background: #F0F4F3;
  color: #2D4A44;
  border: 1px solid #D8E2DF;
  font-size: var(--fs-xs);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* --- Horizontal gauge inside white cards --- */
.white-card .h-gauge-labels span {
  color: #666;
}

.white-card .h-gauge-marker-label {
  color: #333;
  font-weight: 600;
}

/* --- Weight trajectory SVG inside white cards --- */
.white-card .weight-trajectory {
  background: #F7FAF9;
  border-radius: 12px;
  padding: var(--sp-md);
  margin: var(--sp-lg) 0;
}

.white-card .trajectory-svg text {
  fill: #666 !important;
}

.white-card .trajectory-svg line {
  stroke: #E0E5E3 !important;
}

/* --- Read More inside white cards --- */
.white-card .read-more-toggle {
  background: #F5F7F6;
  border: 1px solid #E0E5E3;
  color: #1E1E1E;
}

.white-card .read-more-toggle:hover {
  background: #EDF0EF;
  border-color: #D0D8D5;
}

.white-card .read-more-toggle.open {
  background: #EDF0EF;
  border-bottom-color: transparent;
}

.white-card .read-more-title {
  color: #1E1E1E;
}

.white-card .read-more-arrow {
  color: #00B67A;
}

.white-card .read-more-content {
  background: #FAFBFA;
  border: 1px solid #E0E5E3;
  border-top: none;
}

.white-card .read-more-content p {
  color: #555;
}

/* --- Metabolism slider inside white cards --- */
.white-card .metab-label {
  color: #1E1E1E;
}

.white-card .metab-zones span {
  color: #888;
}

/* --- BMI slider inside white cards --- */
.white-card .bmi-block h3 {
  color: #1E1E1E;
}

.white-card .bmi-slider {
  margin: var(--sp-md) 0;
}

/* The BMI zone labels */
.white-card .bmi-zone span {
  color: #555;
}

/* Make the active zone label bold */
.white-card .bmi-zone.active span {
  font-weight: 700;
  color: #1E1E1E;
}

/* --- Stress age inside white cards --- */
.white-card .stress-age-block h3 {
  color: #1E1E1E;
}

.white-card .age-box {
  background: #F5F7F6;
  border: 1px solid #E0E5E3;
}

.white-card .age-box.stress {
  background: #FFF5F5;
  border-color: #E8CCCC;
}

.white-card .age-box .age-number {
  color: #1E1E1E;
}

.white-card .age-box.stress .age-number {
  color: #E74C3C;
}

.white-card .age-box small {
  color: #666;
}

.white-card .stress-age-comparison .arrow {
  color: #999;
}

/* --- Warning box inside white cards --- */
.white-card .warning-box {
  background: #FFF5F5;
  border: 1px solid #F5DADA;
  border-radius: 12px;
  padding: var(--sp-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin: var(--sp-lg) 0;
}

.white-card .warning-box p {
  color: #C0392B;
  font-weight: 600;
  margin: 0;
}

/* --- Weight progress bar inside white cards --- */
.white-card .weight-progress {
  margin: var(--sp-md) 0;
}

.white-card .weight-progress-labels span {
  color: #666;
}

.white-card .weight-progress-labels .progress-lost {
  color: #2ECC71;
}

.white-card .weight-progress-labels .progress-remaining {
  color: #E74C3C;
}

/* --- Numbered steps inside white cards --- */
.white-card .numbered-step {
  border-bottom: 1px solid #F0F2F1;
}

.white-card .numbered-step:last-child {
  border-bottom: none;
}

.white-card .step-content h4 {
  color: #1E1E1E;
}

.white-card .step-content p {
  color: #555;
}

/* --- Ingredient cards inside white cards --- */
.white-card .ingredient-card {
  background: #F7FAF9;
  border: 1px solid #E0E5E3;
  border-radius: 12px;
  padding: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.white-card .ingredient-card h4,
.white-card .ingredient-card .ingredient-title {
  color: #00B67A;
}

.white-card .ingredient-card p {
  color: #555;
}

/* --- Testimonial cards inside white cards --- */
.white-card .testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}

.white-card .testimonial-short {
  background: #F7FAF9;
  border: 1px solid #E0E5E3;
  border-radius: 12px;
  padding: var(--sp-md);
}

.white-card .testimonial-short blockquote {
  color: #333;
  font-style: italic;
}

.white-card .testimonial-short cite {
  color: #666;
}

/* --- Social proof images inside white cards --- */
.white-card .testimonial-photo {
  border-radius: 12px;
}

/* --- Trust badges inside white cards --- */
.white-card .trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  justify-content: center;
}

.white-card .trust-badge {
  color: #666;
  font-size: var(--fs-xs);
}

.white-card .trust-badge .inline-icon svg {
  stroke: #888;
}

/* --- Trustpilot badge inside white cards --- */
.white-card .trustpilot-badge {
  background: #F7FAF9;
  border: 1px solid #E0E5E3;
}

.white-card .trustpilot-badge span {
  color: #333;
}

/* --- Product result image inside white cards --- */
.white-card .product-result img {
  border-radius: 12px;
  max-width: 200px;
  margin: var(--sp-md) auto;
  display: block;
}

/* --- Highlight red text inside white cards --- */
.white-card .highlight-red {
  color: #E74C3C;
}

/* --- Info screen images --- */
.info-screen-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: var(--sp-lg);
  display: block;
}

/* --- Info screen white card specifics --- */
.info-screen .white-card {
  margin-top: 0;
}

.info-screen .white-card h2 {
  font-size: 1.5rem;
}

.info-screen .white-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
}

/* --- Final CTA section inside white cards --- */
.white-card.final-cta-section {
  text-align: center;
}

.white-card.final-cta-section h2 {
  font-size: 1.5rem;
}

.white-card.final-cta-section .cta-sub {
  color: #666;
  margin-bottom: var(--sp-lg);
}

/* --- Bottom bar gradient adjustment for white card pages --- */
.results-bottom-bar {
  background: linear-gradient(transparent, var(--bg-primary) 30%);
}
