/* ============================================
   MR TEMPO QUIZ FUNNEL — TEMPO MODE STYLE
   ============================================ */

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

:root {
  --bg: #0a0a0a;
  --bg-card: #1a1a1a;
  --bg-card-hover: #242424;
  --bg-elevated: #2a2a2a;
  --border: #2a2a2a;
  --border-active: #3b82f6;
  --text: #f5e6d3;
  --text-dim: #a8a8a8;
  --text-muted: #6a6a6a;
  --blue: #3b82f6;
  --blue-bright: #60a5fa;
  --blue-dark: #2563eb;
  --green: #10b981;
  --red: #ef4444;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --radius: 14px;
  --radius-sm: 8px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   HEADER + PROGRESS
   ============================================ */

.header {
  padding: 12px 0 24px;
  text-align: center;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.back-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.back-btn:hover {
  background: var(--bg-card-hover);
  color: var(--blue);
  border-color: var(--blue);
}

.back-btn.hidden {
  visibility: hidden;
}

.header-spacer {
  width: 36px;
  flex-shrink: 0;
}

.logo {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--blue);
  flex: 1;
  text-align: center;
}

/* Unit toggle */
.unit-toggle {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.unit-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.unit-btn.active {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 6px;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  width: 9%;
  transition: width 0.4s ease;
  border-radius: 3px;
}

.step-counter {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ============================================
   SCREENS
   ============================================ */

.screen {
  display: none;
  flex-direction: column;
  flex: 1;
  padding: 20px 0;
  animation: fadeIn 0.4s ease;
}

.screen.active {
  display: flex;
}

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

.screen-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}

.screen h2 {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.25;
}

.screen-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* ============================================
   CHOICE CARDS
   ============================================ */

.choice-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.choice-grid.two-col {
  grid-template-columns: 1fr 1fr;
}

.choice-grid.one-col {
  grid-template-columns: 1fr;
}

.choice-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: inherit;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 100px;
}

.choice-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
}

.choice-card.selected {
  border-color: var(--blue);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 1px var(--blue), 0 4px 16px rgba(59, 130, 246, 0.2);
}

.choice-card.horizontal {
  flex-direction: row;
  text-align: left;
  justify-content: flex-start;
  gap: 16px;
  min-height: 70px;
  padding: 16px 20px;
}

.choice-card.horizontal .choice-text {
  flex: 1;
}

.choice-icon {
  font-size: 32px;
  line-height: 1;
}

.choice-card.horizontal .choice-icon {
  font-size: 28px;
}

.choice-label {
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
}

.choice-sub {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.4;
}

/* Body type cards (visual) */
.body-card {
  padding: 12px;
  min-height: 200px;
}

.body-image-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.body-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Skinny character is narrower in its source PNG — scale it up so it matches the others visually */
.body-card[data-value="skinny"] .body-image-placeholder img,
#nowImage[src*="Skinny"] {
  transform: scale(1.9);
  transform-origin: center 45%;
}

/* Female images — zoom in slightly to show chest + belly area on Q7 cards */
.body-type-grid .body-image-placeholder img[src*="/Female/"] {
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.2) !important;
  transform-origin: center 30% !important;
}

.body-image-placeholder.no-image .placeholder-label {
  display: flex;
}

.placeholder-label {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.body-image-placeholder img + .placeholder-label {
  display: none;
}

.body-image-placeholder.large {
  height: 260px;
}

/* ============================================
   SLIDERS
   ============================================ */

.dual-slider-group {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.slider-label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.slider-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 16px;
}

.slider-value.target {
  color: var(--blue);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 3px;
  outline: none;
  margin: 8px 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: var(--blue);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
  transition: transform 0.15s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: var(--blue);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

.weight-diff {
  text-align: center;
  font-size: 15px;
  color: var(--blue);
  font-weight: 600;
  margin: 16px 0 24px;
}

/* ============================================
   BUTTONS
   ============================================ */

.continue-btn,
.select-tier-btn,
.get-plan-btn {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #1a1a1a;
  border: none;
  padding: 18px 32px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  margin-top: 16px;
  transition: all 0.2s ease;
  letter-spacing: 0.3px;
}

.continue-btn:hover,
.select-tier-btn:hover,
.get-plan-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.continue-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.select-tier-btn {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
  font-size: 14px;
  padding: 12px 24px;
  margin-top: 12px;
}

.select-tier-btn:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.05);
}

.select-tier-btn.primary,
.pricing-card.selected .select-tier-btn {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #1a1a1a;
  border-color: var(--blue);
}

.get-plan-btn {
  font-size: 18px;
  padding: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 24px 0 16px;
}

/* ============================================
   SOCIAL PROOF
   ============================================ */

.proof-card {
  background: var(--bg-card);
  border: 2px solid var(--blue-dark);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  margin: 32px 0 24px;
  position: relative;
}

.proof-number {
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}

.proof-text {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 24px;
}

.proof-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.proof-signoff {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ============================================
   EMAIL FORM
   ============================================ */

.email-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.email-form input[type="email"] {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.email-form input[type="email"]:focus {
  border-color: var(--blue);
}

.email-privacy {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

/* ============================================
   LOADING SCREENS
   ============================================ */

.loading-screen {
  justify-content: center;
  align-items: center;
}

.loading-content {
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.loading-character {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.loading-character img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.loading-character.no-image .placeholder-label {
  display: flex;
}

.loading-screen h2 {
  font-size: 22px;
  margin-bottom: 24px;
}

.loading-bar-track {
  width: 100%;
  height: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
  width: 0%;
  transition: width 0.3s ease;
}

.loading-checklist {
  list-style: none;
  text-align: left;
  display: inline-block;
  margin: 0 auto;
}

.check-item {
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.3s ease;
  opacity: 0.3;
}

.check-item.done {
  color: var(--green);
  opacity: 1;
}

/* ============================================
   RESULTS / TRANSFORMATION SCREEN
   ============================================ */

.results-screen {
  padding-top: 12px;
}

.results-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}

.results-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
}

.transformation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
}

.transformation-toggle {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

.toggle-active {
  color: var(--text-dim);
}

.toggle-arrow {
  color: var(--blue);
  font-size: 18px;
}

.toggle-goal {
  color: var(--blue);
}

.transformation-bodies {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 20px;
}

.body-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transformation-arrow {
  font-size: 32px;
  color: var(--blue);
  align-self: center;
  font-weight: 800;
  padding-top: 80px;
}

.body-stats {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 12px;
}

.stat-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.stat-row:last-child {
  margin-bottom: 0;
}

.stat-label {
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stat-value {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.stat-value.goal {
  color: var(--green);
}

.stat-bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: var(--text-muted);
  border-radius: 2px;
}

.stat-fill.goal {
  background: linear-gradient(90deg, var(--blue-dark), var(--blue));
}

/* Goal toggle pills — lets users compare Lose / Maintain / Gain on results */
.goal-toggle {
  display: flex;
  gap: 6px;
  margin: 18px 0 14px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 99px;
}
.goal-toggle-btn {
  flex: 1;
  padding: 9px 12px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.goal-toggle-btn:hover {
  color: var(--text);
}
.goal-toggle-btn.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Warning banner shown when the user's chosen timeline is unrealistic */
.results-warning {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 14px;
}
.warning-icon {
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
}
.warning-text {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text);
}
.warning-text strong {
  display: block;
  color: #f59e0b;
  font-weight: 700;
  margin-bottom: 3px;
}

.key-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.key-stat {
  text-align: center;
  padding: 8px;
}

.key-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 2px;
}

.key-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.results-philosophy {
  text-align: center;
  font-style: italic;
  color: var(--text-dim);
  font-size: 15px;
  margin: 24px 0;
  padding: 0 16px;
}

/* ============================================
   PREDICTION CHART
   ============================================ */

.chart-screen h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 8px;
}

.chart-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

#predictionChart {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.chart-annotation {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text);
  padding: 8px;
}

.chart-annotation strong {
  color: var(--blue);
}

.philosophy-card {
  background: var(--bg-card);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.philosophy-card p:first-child {
  font-style: italic;
  font-size: 15px;
  margin-bottom: 6px;
}

.philosophy-signoff {
  font-size: 12px;
  color: var(--blue);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ============================================
   PRICING PAGE
   ============================================ */

.pricing-screen h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.promo-bar {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
  border: 1px dashed var(--blue);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.promo-code {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-label {
  font-size: 12px;
  color: var(--text-dim);
}

.promo-value {
  background: var(--bg);
  border: 1px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-weight: 700;
  color: var(--blue);
  font-size: 13px;
}

.countdown {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.countdown-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

.pricing-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

/* Mobile-first: stack the cards full-width. 3 columns kicks in at 768px. */
.pricing-grid.three-col {
  grid-template-columns: 1fr;
  gap: 16px;
}

/* On mobile, show the Most Popular card first */
.pricing-card.popular {
  order: -1;
}

.pricing-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.pricing-tier-role {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pricing-card.popular .pricing-tier-role {
  color: var(--blue-bright);
}

.pricing-tier-tagline {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.45;
  margin-bottom: 10px;
}

.pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.pricing-includes {
  font-size: 12px;
  color: var(--blue-bright);
  font-weight: 600;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

.scarcity-note {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
  margin-top: 10px;
  text-align: center;
}

.pricing-card:hover {
  border-color: var(--blue-dark);
}

.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 8px 24px rgba(59, 130, 246, 0.15);
}

.pricing-card.selected {
  border-color: var(--blue);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 1px var(--blue), 0 4px 16px rgba(59, 130, 246, 0.2);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #1a1a1a;
  font-size: 9px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-tier-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}

.pricing-original {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-current {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  margin: 2px 0;
  line-height: 1.1;
}

.pricing-discount {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.pricing-features {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  flex: 1; /* pushes the card button to the bottom so all three line up */
}

.pricing-features li {
  padding: 4px 0 4px 16px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.4;
  position: relative;
}

.pricing-features li strong {
  color: var(--text);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.checkout-row {
  margin-top: 8px;
}

/* ============================================
   REAL TRANSFORMATION PROOF (Harry's photos)
   ============================================ */

.proof-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.proof-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.proof-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.proof-photo-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.proof-photo-label.after {
  background: var(--blue);
  color: #fff;
}

.proof-caption {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  font-style: italic;
  margin-top: 12px;
}

/* ============================================
   PLAN RECOMMENDATION + HELPER + GUARANTEE + FAQ
   ============================================ */

.plan-recommendation {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 0 0 20px;
  line-height: 1.5;
}

.plan-recommendation strong {
  color: var(--blue-bright);
}

.plan-helper {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin: 4px auto 0;
  max-width: 720px;
}

.plan-helper strong {
  color: var(--text);
}

.guarantee-box {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  max-width: 560px;
  margin: 0 auto 16px;
}

.guarantee-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.guarantee-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}

.guarantee-text strong {
  color: var(--green);
}

.mini-faq {
  max-width: 620px;
  margin: 24px auto 0;
}

.mini-faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
}

.mini-faq summary {
  cursor: pointer;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 36px;
}

.mini-faq summary::-webkit-details-marker {
  display: none;
}

.mini-faq summary::after {
  content: '+';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.mini-faq details[open] summary::after {
  content: '–';
}

.mini-faq details p {
  padding: 0 16px 14px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ============================================
   TESTIMONIALS (hidden until real quotes added)
   ============================================ */

.testimonials {
  margin-top: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 0 auto 12px;
  max-width: 620px;
}

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

.testimonial-author {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.refund-note {
  text-align: center;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 8px;
  font-weight: 600;
}

.legal-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ============================================
   COMBINED RESULTS PAGE — SECTION DIVIDERS
   ============================================ */

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0 24px;
}

.section-heading {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text);
}

.section-subheading {
  text-align: center;
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 20px;
}

.inline-social-proof {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin: 16px 0 8px;
  padding: 10px;
  background: rgba(59, 130, 246, 0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.inline-social-proof .proof-dot {
  color: var(--green);
  margin-right: 4px;
}

.philosophy-signoff-inline {
  display: block;
  margin-top: 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  font-style: normal;
}

.results-screen {
  padding-bottom: 40px;
  position: relative;
}

/* ============================================
   STICKY DISCOUNT BANNER
   ============================================ */

.sticky-discount-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0 -20px 20px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-discount-pill {
  background: #ef4444;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.banner-code-block,
.banner-timer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.banner-code-label,
.banner-timer-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}

.banner-code-value {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 8px;
  border-radius: 4px;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.banner-timer-value {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

/* Expired state */
.sticky-discount-banner.expired {
  background: linear-gradient(135deg, #4a4a4a, #2a2a2a);
  justify-content: center;
}

.sticky-discount-banner.expired .banner-expired-msg {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.3px;
}

@media (max-width: 480px) {
  .sticky-discount-banner {
    margin: 0 -12px 16px;
    padding: 10px 12px;
    gap: 8px;
  }

  .banner-discount-pill {
    font-size: 11px;
    padding: 5px 8px;
  }

  .banner-code-value {
    font-size: 11px;
    max-width: 100px;
  }

  .banner-timer-value {
    font-size: 14px;
  }
}

.results-screen .get-plan-btn {
  margin-top: 16px;
}

/* ============================================
   DESKTOP / TABLET (wider screens get their own layout)
   ============================================ */

@media (min-width: 768px) {
  .container {
    max-width: 900px;
    padding: 32px 32px;
  }

  .header {
    padding: 16px 0 32px;
  }

  .screen h2 {
    font-size: 32px;
  }

  .screen-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .results-title {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .results-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  /* Constrain transformation + chart cards so they don't look stretched */
  .transformation-card,
  .chart-card {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Bigger character images on desktop */
  .body-image-placeholder.large {
    height: 360px;
  }

  /* Key stats in a row of 4 on desktop instead of 2x2 */
  .key-stats-row {
    grid-template-columns: repeat(4, 1fr);
  }

  .key-stat-value {
    font-size: 28px;
  }

  /* Pricing — 3 columns side by side on desktop */
  .pricing-grid.three-col {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
  }

  /* Restore natural order (popular card in the middle) */
  .pricing-card.popular {
    order: 0;
    transform: scale(1.03);
    z-index: 1;
  }

  .pricing-card {
    padding: 24px 18px;
  }

  .pricing-tier-name {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .pricing-current {
    font-size: 32px;
  }

  .pricing-original {
    font-size: 14px;
  }

  .pricing-discount {
    font-size: 12px;
    padding: 3px 8px;
  }

  .pricing-features li {
    font-size: 13px;
    padding: 5px 0 5px 16px;
  }

  .popular-badge {
    font-size: 11px;
    padding: 4px 12px;
  }

  .get-plan-btn {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  /* Section headings bigger */
  .section-heading {
    font-size: 28px;
  }

  .section-subheading {
    font-size: 15px;
  }

  /* Quiz choice cards — bigger touch targets on desktop */
  .choice-card {
    min-height: 120px;
    font-size: 17px;
  }

  .choice-card.horizontal {
    padding: 20px 24px;
  }

  /* Body type cards on desktop — show them in a 4-col row instead of 2x2 */
  .body-type-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .body-image-placeholder {
    height: 240px;
  }

  /* Sticky banner — more padded on desktop */
  .sticky-discount-banner {
    margin: 0 -32px 24px;
    padding: 16px 24px;
  }

  .banner-discount-pill {
    font-size: 15px;
    padding: 8px 14px;
  }

  .banner-code-value {
    font-size: 14px;
    max-width: 200px;
  }

  .banner-timer-value {
    font-size: 20px;
  }

  .banner-code-label,
  .banner-timer-label {
    font-size: 10px;
  }
}

/* ============================================
   MOBILE / SMALL SCREENS
   ============================================ */

@media (max-width: 480px) {
  .container {
    padding: 12px;
  }

  .screen h2 {
    font-size: 22px;
  }

  .key-stat-value {
    font-size: 18px;
  }

  .transformation-bodies {
    gap: 4px;
  }

  .body-image-placeholder.large {
    height: 220px;
  }

  .body-image-placeholder {
    height: 170px;
  }

  .transformation-arrow {
    padding-top: 60px;
    font-size: 24px;
  }

  .promo-bar {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px;
  }

  .countdown {
    align-items: flex-end;
    flex-direction: column;
  }

  /* Pricing cards are stacked full-width on mobile — keep text readable */
  .pricing-tier-name {
    font-size: 17px;
  }

  .pricing-current {
    font-size: 26px;
  }

  .section-heading {
    font-size: 20px;
  }

  .proof-photos {
    gap: 8px;
  }
}
