:root {
  --green: #22a045;
  --green-dark: #1a8036;
  --green-light: #e8f7ed;
  --red: #e53e3e;
  --red-light: #fef2f2;
  --bg: #ffffff;
  --bg-warm: #fafaf5;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 480px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-warm);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

#app {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
}

.screen {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.25s ease;
}

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

.screen-body {
  flex: 1;
  padding: 20px 20px 40px;
  overflow-y: auto;
}

.screen-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  padding: 12px 20px 24px;
  background: linear-gradient(transparent, var(--bg) 30%);
  z-index: 10;
}

/* Header */
.quiz-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 20;
}

.btn-back {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text);
}

.quiz-header-center {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a574, #8b5a2b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
}

img.avatar {
  display: block;
  object-fit: cover;
  background: #e5e7eb;
  padding: 0;
  border: none;
}

.avatar-lg {
  width: 80px;
  height: 80px;
  font-size: 28px;
  margin: 0 auto 12px;
}

img.avatar-lg {
  width: 80px;
  height: 80px;
}

.text-center img.avatar {
  margin: 0 auto 8px;
}

.header-name {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-status {
  font-size: 11px;
  color: var(--text-muted);
}

.verified {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.verified svg {
  display: block;
}

.step-badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}

.progress-bar-wrap {
  height: 4px;
  background: var(--border);
}

.progress-bar-fill {
  height: 100%;
  background: var(--green);
  transition: width 0.4s ease;
  border-radius: 0 2px 2px 0;
}

/* Typography */
.badge-pill {
  display: inline-block;
  border: 1.5px solid var(--green);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  text-align: center;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

h1 .highlight { color: var(--green); }

h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.subtitle {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

.text-center { text-align: center; }

.stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}

.social-proof {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
}

/* Buttons */
.btn-primary {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover { background: var(--green-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
}

.btn-checkout {
  font-size: 16px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(34, 160, 69, 0.35);
}

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Landing */
.landing {
  padding: 28px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.landing .doctor-name {
  font-size: 16px;
  font-weight: 700;
}

.landing .doctor-title {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
}

/* Quiz options */
.question-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.question-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  font-family: var(--font);
  font-size: 15px;
  text-align: left;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.option-btn:hover { border-color: #a7d4b5; }

.option-btn.selected {
  border-color: var(--green);
  background: var(--green-light);
}

.option-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-btn.selected .option-radio {
  border-color: var(--green);
  background: var(--green);
}

.option-btn.selected .option-radio::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Steppers */
.stepper-group {
  margin-top: 20px;
}

.stepper-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.stepper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: var(--bg);
  color: var(--green);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.stepper-btn.plus {
  background: var(--green);
  color: #fff;
}

.stepper-value {
  font-size: 20px;
  font-weight: 700;
  min-width: 100px;
  text-align: center;
}

/* Success screens */
.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto 16px;
}

.success-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.success-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  margin: 8px 0 24px;
}

/* Recipe card */
.recipe-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.recipe-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}

.recipe-pct {
  color: var(--green);
  font-weight: 700;
}

.recipe-progress {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 14px;
  overflow: hidden;
}

.recipe-progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.recipe-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid #f3f4f6;
}

.recipe-item:last-child { border-bottom: none; }

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

.recipe-status.done { color: var(--green); }

.recipe-screen .screen-body {
  padding-top: 12px;
}

.success-icon--pulse {
  animation: iconPop 0.5s ease, iconPulse 2s ease-in-out 0.5s infinite;
}

@keyframes iconPop {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes iconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 160, 69, 0.35); }
  50% { box-shadow: 0 0 0 12px rgba(34, 160, 69, 0); }
}

.success-sub--loading {
  color: var(--green);
  font-weight: 500;
}

.loading-dots::after {
  content: '';
  animation: dots 1.4s steps(4, end) infinite;
}

@keyframes dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}

.recipe-card--enter {
  animation: cardSlideUp 0.45s ease forwards;
}

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

.recipe-progress-fill--animate {
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.recipe-item--enter {
  opacity: 0;
  animation: itemFadeIn 0.4s ease forwards;
}

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

/* Story cards (TSL) */
.story-screen {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.story-progress {
  height: 3px;
  background: var(--border);
}

.story-progress-fill {
  height: 100%;
  background: var(--green);
  transition: width 0.3s ease;
}

.story-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 28px 100px;
  text-align: center;
}

.story-emoji {
  font-size: 56px;
  margin-bottom: 20px;
}

.story-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.story-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 340px;
}

.story-list {
  list-style: none;
  text-align: left;
  margin-top: 16px;
  width: 100%;
  max-width: 300px;
}

.story-list li {
  padding: 10px 0;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.story-list li::before {
  content: '•';
  color: var(--green);
  font-weight: 700;
  font-size: 20px;
}

.story-quote {
  font-style: italic;
  font-size: 15px;
  color: var(--text);
  border-left: 3px solid var(--green);
  padding: 12px 16px;
  margin-top: 12px;
  text-align: left;
  background: var(--green-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.story-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
}

.story-content--testimonial {
  text-align: left;
}

.story-testimonial {
  width: 100%;
  margin-top: 8px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.story-testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.story-testimonial-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f5e9;
  color: var(--green-dark, #2e7d32);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.story-testimonial-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.story-testimonial-stars {
  font-size: 13px;
  margin-bottom: 10px;
  text-align: left;
}

.story-testimonial-quote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  font-style: normal;
}

.story-testimonial-ago {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Diagnosis */
.diagnosis-score {
  font-size: 72px;
  font-weight: 800;
  color: var(--red);
  text-align: center;
  line-height: 1;
  margin: 16px 0;
}

.diagnosis-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  margin: 0 auto 16px;
}

.diagnosis-box {
  background: var(--red-light);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.insight-box {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 14px;
  font-size: 14px;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.benefits-list {
  list-style: none;
  margin: 16px 0;
}

.benefits-list li {
  padding: 6px 0;
  font-size: 14px;
}

.testimonial-inline {
  background: #f9fafb;
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0;
  font-size: 14px;
  font-style: italic;
}

/* How to use */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.step-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 16px 0;
}

.chip {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 50px;
}

.unlock-banner {
  background: var(--green-light);
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  padding: 14px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

/* Loading */
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  padding: 40px;
}

.loading-circle {
  width: 120px;
  height: 120px;
  position: relative;
  margin-bottom: 24px;
}

.loading-circle svg {
  transform: rotate(-90deg);
  width: 120px;
  height: 120px;
}

.loading-circle .pct {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
}

.loading-msg {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
  min-height: 24px;
  transition: color 0.3s;
}

.loading-msg.active {
  color: var(--green);
  font-weight: 600;
}

/* Soft CTA */
.soft-box {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  text-align: center;
  margin: 16px 0;
  line-height: 1.5;
}

/* Testimonials page */
.testimonial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

.testimonial-card .stars { font-size: 14px; margin-bottom: 8px; }

.testimonial-card .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.testimonial-card .quote {
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
}

.story-content--scroll {
  justify-content: flex-start;
  padding-top: 24px;
  padding-bottom: 100px;
  overflow-y: auto;
}

.story-screen--scroll .story-content {
  align-items: stretch;
}

.value-stack-block {
  width: 100%;
  text-align: left;
}

.value-stack-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-align: center;
}

.value-table--stack {
  margin-bottom: 16px;
}

.value-relief {
  background: var(--green-light);
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  font-size: 15px;
  margin-bottom: 0;
  line-height: 1.4;
}

.value-stack-divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0 20px;
}

.value-stack-section-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
}

.value-stack-block .offer-promise {
  margin-bottom: 14px;
}

.value-stack-block .price-box {
  margin-bottom: 14px;
}

.value-stack-block .guarantee-badge {
  margin-bottom: 14px;
}

.value-scarcity {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
}

.highlight-red {
  color: var(--red);
  font-weight: 800;
}

.cost-compare {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
}

.cost-compare--lead {
  margin-top: 4px;
  margin-bottom: 16px;
}

.cost-compare-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.cost-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

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

.cost-high {
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

.cost-compare-total {
  font-weight: 700;
  border-bottom: none;
  padding-top: 4px;
}

.cost-compare-divider {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cost-compare-today {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 12px !important;
  margin-top: 4px;
  border: 1.5px solid var(--green);
}

.cost-low {
  color: var(--green);
  font-weight: 800;
  font-size: 18px;
  white-space: nowrap;
}

.cost-low small {
  font-size: 11px;
  font-weight: 600;
}

.value-stack-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 20px;
  line-height: 1.45;
  font-style: italic;
}

/* Offer stack */
.value-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.value-table tr {
  border-bottom: 1px solid var(--border);
}

.value-table td {
  padding: 10px 4px;
}

.value-table td:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.value-table tr.total td {
  font-weight: 800;
  font-size: 16px;
  border-top: 2px solid var(--text);
  padding-top: 12px;
}

.price-box {
  text-align: center;
  margin: 20px 0;
}

.price-old {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price-new {
  font-size: 42px;
  font-weight: 800;
  color: var(--green);
}

.price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.offer-promise {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 16px;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  margin: 16px 0;
  color: var(--text);
}

.offer-promise strong {
  color: var(--green-dark);
}

.guarantee-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 12px;
  font-size: 13px;
  margin: 16px 0;
}

.trust-checkout {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* FAQ */
.faq {
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 14px 0;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.faq-answer {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-bottom: 14px;
  display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question span:last-child { transform: rotate(45deg); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.modal h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.modal em {
  color: var(--red);
  font-style: italic;
}

.modal .btn-primary { margin-top: 16px; }

.modal-overlay--exit {
  align-items: flex-end;
  padding: 0;
}

.modal--exit {
  max-width: none;
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  text-align: left;
  padding: 24px 24px 32px;
  animation: slideUp 0.25s ease;
}

.modal--exit .modal-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.modal--exit h3 {
  font-size: 17px;
  line-height: 1.3;
}

.modal--exit .btn-primary {
  width: 100%;
  margin-top: 20px;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Calibrating mini modal */
.calibrating-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.calibrating-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 280px;
}

.calibrating-box .icon { font-size: 36px; margin-bottom: 12px; }

.calibrating-box p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.mini-progress {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.mini-progress-fill {
  height: 100%;
  background: var(--green);
  width: 0%;
  transition: width 1.2s ease;
}

/* Footer legal */
.legal-footer {
  padding: 24px 20px 40px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.8;
}

.legal-footer a {
  color: var(--text-muted);
  text-decoration: underline;
}

.legal-disclaimer {
  margin-top: 8px;
  font-style: italic;
}

/* ── Sales page (/offer/package-value) ── */
.sales-page {
  background: var(--bg);
}

.sales-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  padding: 14px 20px 0;
  border-bottom: 1px solid var(--border);
}

.sales-header-doctor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.sales-header-text {
  min-width: 0;
}

.sales-header-name {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.sales-header-sub {
  font-size: 12px;
  color: var(--green);
  font-weight: 500;
  margin-top: 2px;
}

.sales-progress {
  height: 4px;
  background: var(--border);
}

.sales-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--green);
}

.sales-body {
  flex: 1;
  padding: 24px 20px 140px;
}

.sales-section {
  margin-bottom: 28px;
}

.sales-h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text);
}

.sales-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.sales-card--pain {
  background: var(--red-light);
  border-color: #fecaca;
}

.sales-pain-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid #fecaca;
}

.sales-pain-row:last-of-type {
  border-bottom: none;
}

.sales-pain-price {
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}

.sales-pain-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 2px solid #fca5a5;
  font-size: 14px;
  font-weight: 700;
}

.sales-micro {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  margin-top: 10px;
}

.sales-card--hero {
  background: linear-gradient(160deg, #e8f7ed 0%, #f0fdf4 100%);
  border: 2px solid var(--green);
  text-align: center;
  padding: 24px 20px;
}

.sales-hero-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.sales-hero-price {
  font-size: 52px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.sales-hero-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.sales-hero-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 14px;
  margin-bottom: 8px;
}

.sales-hero-compare-old {
  color: var(--red);
  text-decoration: line-through;
  font-weight: 600;
}

.sales-hero-compare-arrow {
  color: var(--text-muted);
  font-weight: 700;
}

.sales-hero-compare-new {
  color: var(--green);
  font-weight: 800;
}

.sales-hero-note {
  font-size: 12px;
  color: var(--text-muted);
}

.sales-card--includes {
  padding: 8px 16px 14px;
}

.sales-include-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.sales-include-row:last-of-type {
  border-bottom: none;
}

.sales-include-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  border: 2px solid var(--green);
  position: relative;
  margin-top: 1px;
}

.sales-include-check::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sales-include-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sales-include-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.sales-include-valor {
  font-size: 12px;
  color: var(--text-muted);
}

.sales-stack-total {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.sales-relief {
  background: var(--green-light);
  border: 1.5px solid var(--green);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
  font-size: 15px;
  margin-top: 14px;
  line-height: 1.4;
}

.sales-promise {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.sales-promise strong {
  color: var(--green-dark);
}

.sales-testimonial {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: #fafafa;
  box-shadow: var(--shadow);
}

.sales-testimonial-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sales-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sales-testimonial-name {
  font-size: 15px;
  font-weight: 700;
}

.sales-testimonial-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.sales-stars {
  font-size: 13px;
  color: #f59e0b;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sales-testimonial-quote {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.sales-testimonial-ago {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.sales-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.sales-guarantee-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fef3c7;
  border: 2px solid #f59e0b;
  position: relative;
}

.sales-guarantee-icon::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 5px;
  width: 6px;
  height: 10px;
  border: solid #d97706;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.sales-scarcity {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
  padding: 0 8px;
}

.sales-footer {
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sales-faq .faq {
  margin-top: 8px;
}

.sales-faq .legal-footer {
  padding: 24px 0 0;
}
