/* ==========================================================================
   Back to You Assessment · Premium Frosted Glass Theme
   In line with PilatesCOREuk 'Back to You' Squeeze Page Design System
   Palette: Warm Linen White, Obsidian Charcoal, Signature Vibrant Red
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  /* Colors */
  --bg: #FDFBF9;
  --bg-card: #FFFFFF;
  --bg-subtle: #F6F3EF;
  --text-main: #18181B;
  --text-body: #27272A;
  --text-muted: #52525B;
  --text-light: #71717A;

  /* Brand Signature Red */
  --red-primary: #E53935;
  --red-dark: #C62828;
  --red-deep: #B71C1C;
  --red-glow: rgba(229, 57, 53, 0.35);
  --red-soft: #FFF1F2;
  --red-soft-border: rgba(229, 57, 53, 0.22);
  --border: #E5E1DC;

  /* Frosted Glass */
  --glass-bg: rgba(255, 255, 255, 0.92);
  --glass-bg-hover: rgba(255, 255, 255, 0.98);
  --glass-border: 1px solid rgba(229, 57, 53, 0.16);
  --glass-border-subtle: 1px solid rgba(24, 24, 27, 0.08);
  --glass-shadow: 0 18px 45px -8px rgba(24, 24, 27, 0.07), 0 4px 16px -2px rgba(229, 57, 53, 0.04);
  --glass-shadow-hover: 0 24px 50px -6px rgba(24, 24, 27, 0.12), 0 8px 24px -2px rgba(229, 57, 53, 0.12);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  min-width: 320px;
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(229, 57, 53, 0.07), transparent 55%),
    radial-gradient(circle at 12% 65%, rgba(229, 57, 53, 0.03), transparent 40%),
    radial-gradient(circle at 88% 85%, rgba(24, 24, 27, 0.03), transparent 45%);
  background-attachment: fixed;
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

button, input {
  font: inherit;
}
button, a, input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: .65;
}
a {
  color: var(--red-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
a:hover {
  color: var(--red-dark);
}

/* ==========================================================================
   Header / Topbar (Frosted Glass)
   ========================================================================== */
.brand {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--glass-border-subtle);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 2px 14px rgba(24, 24, 27, 0.03);
}

.brand-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-frame {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(229, 57, 53, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(24, 24, 27, 0.05);
  flex-shrink: 0;
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--red-primary);
  color: white;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--red-glow);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.brand-title span {
  color: var(--red-primary);
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--red-soft);
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--red-soft-border);
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--red-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7);
  animation: pulse-dot-red 2s infinite;
}

@keyframes pulse-dot-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(229, 57, 53, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}



/* ==========================================================================
   Main Container & Progress Bar
   ========================================================================== */
main {
  width: min(100% - 32px, 720px);
  margin: 28px auto 60px;
  flex: 1;
}

.progress-wrap {
  margin-bottom: 24px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  background: #E8E4DF;
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.progress-bar-fill {
  position: relative;
  height: 100%;
  background: linear-gradient(90deg, #FF3B30 0%, #E53935 60%, #C62828 100%);
  border-radius: var(--radius-pill);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Pulsing light sheen wave moving left-to-right along progress bar */
.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.8) 50%,
    transparent 100%
  );
  animation: progress-sheen 2.2s infinite ease-in-out;
}

@keyframes progress-sheen {
  0% { transform: translateX(0); }
  100% { transform: translateX(250%); }
}


/* ==========================================================================
   Screen Card (Frosted Glass Container)
   ========================================================================== */
#screen {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

#screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red-primary), transparent);
  border-radius: 2px;
}

/* Eyebrow badge */
.icp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--red-dark);
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
  border: 1px solid var(--red-soft-border);
  box-shadow: 0 4px 14px rgba(229, 57, 53, 0.08);
}

.icp-eyebrow-icon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-primary);
}

.eyebrow {
  color: var(--red-primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Headings */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.8vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  font-weight: 850;
  color: var(--text-main);
}

.highlight-text {
  color: var(--red-primary);
  position: relative;
  display: inline-block;
}

.intro-copy {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   Page 1 / Intro Page Enhancements
   ========================================================================== */
/* ==========================================================================
   Page 1 / Intro Page Enhancements (Separated 2-Block Layout)
   ========================================================================== */

/* Outer screen container resets when showing the first page 2-block layout */
#screen.screen-first-page,
#screen:has(.first-page-layout) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

#screen.screen-first-page::before,
#screen:has(.first-page-layout)::before {
  display: none !important;
}

.first-page-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Standalone Header Section (Big Headline + 3 Value-Driven Benefits) */
.first-page-hero {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 100%;
  margin-bottom: 4px;
}

/* First Page Graphic Promotional Banner */
.first-page-banner-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.16);
  margin-bottom: 18px;
  background: #E53935;
  line-height: 0;
}

.first-page-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

/* Top Banner Ribbon */
.journey-top-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-soft);
  border: 1px solid var(--red-soft-border);
  border-radius: var(--radius-pill);
  padding: 4px 12px 4px 6px;
  box-shadow: 0 1px 4px rgba(229, 57, 53, 0.05);
}

.ribbon-step-badge {
  background: var(--red-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2.5px 8.5px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px var(--red-glow);
}

.ribbon-divider {
  color: var(--red-dark);
  opacity: 0.45;
  font-size: 0.82rem;
}

.ribbon-text {
  font-family: var(--font-heading);
  font-size: 0.81rem;
  font-weight: 750;
  color: var(--red-dark);
  letter-spacing: -0.01em;
}

/* Google Trust Capsule */
.google-trust-capsule {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 5px 12px 5px 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.google-g-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.google-stars {
  color: #FBBC04;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  line-height: 1;
}

.google-rating-score {
  font-family: var(--font-heading);
  font-weight: 750;
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1;
}

.google-rating-sep {
  color: var(--border-strong);
  font-size: 0.82rem;
  line-height: 1;
}

.google-rating-text {
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1;
}

.first-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.4vw, 2.7rem);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin: 0 0 12px;
  text-wrap: balance;
  outline: none;
}

.first-page-title:focus,
#title:focus {
  outline: none;
}

.hero-br {
  display: block;
}

.first-page-bridge {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 18px;
  font-weight: 500;
  max-width: 640px;
}

/* 3 Value-Driven Benefits List */
.hero-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 8px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-body);
}

.benefit-badge-icon {
  font-size: 1.25rem;
  line-height: 1.2;
  flex-shrink: 0;
  margin-top: 1px;
}

.benefit-arrow {
  color: var(--red-primary);
  font-weight: 800;
  margin: 0 2px;
}

.benefit-text {
  flex: 1;
}

.benefit-text strong {
  color: var(--text-main);
  font-weight: 750;
}

/* Individual Blocks / Boxes on Page 1 */
.first-page-block {
  background: #FFFFFF;
  border-radius: 26px;
  padding: 26px 28px;
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 20px rgba(24, 24, 27, 0.04);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-free {
  display: inline-block;
  background: linear-gradient(135deg, #FF3B30 0%, #E53935 100%);
  color: #FFFFFF;
  font-weight: 900;
  font-family: var(--font-heading);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.92em;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px var(--red-glow);
  transform: translateY(-1px);
}

.intro-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.48;
  background: rgba(229, 57, 53, 0.05);
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(229, 57, 53, 0.16);
}

.intro-perk strong {
  color: var(--text-main);
  font-weight: 750;
}

.intro-perk-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

/* Block 2: Question 1 Action Block */
.first-page-question-block {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-top: 4px solid var(--red-primary);
  box-shadow: 0 10px 32px rgba(24, 24, 27, 0.06);
}

.question-pill-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.q-badge {
  background: var(--red-primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px var(--red-glow);
}

.q-badge-sub {
  background: var(--red-soft);
  color: var(--red-dark);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--red-soft-border);
}

.first-q-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.22rem, 2.5vw, 1.42rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}

.first-q-hint {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 20px;
}

/* Side-by-side Yes / No Buttons */
.yes-no-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 16px;
}

.btn-choice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 750;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(24, 24, 27, 0.04);
  cursor: pointer;
}

.btn-choice .choice-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.btn-choice.btn-yes .choice-icon {
  background: var(--red-soft);
  color: var(--red-primary);
  border: 1.5px solid var(--red-soft-border);
}

.btn-choice.btn-no .choice-icon {
  background: #F4F4F5;
  color: var(--text-light);
  border: 1.5px solid #E4E4E7;
}

.btn-choice:hover {
  transform: translateY(-2px);
  border-color: var(--red-primary);
  box-shadow: 0 10px 24px -4px rgba(229, 57, 53, 0.16);
}

.btn-choice.btn-yes:hover {
  background: var(--red-soft);
}

.btn-choice.btn-no:hover {
  background: #FAFAFA;
  border-color: #A1A1AA;
}

.btn-choice.active, .btn-choice:has(input:checked) {
  border-color: var(--red-primary);
  background: var(--red-soft);
  color: var(--red-dark);
  box-shadow: 0 0 0 1px var(--red-primary), 0 8px 24px -4px var(--red-glow);
}

.btn-choice.active .choice-icon, .btn-choice:has(input:checked) .choice-icon {
  background: var(--red-primary);
  color: #FFFFFF;
  border-color: var(--red-primary);
}

/* Implied Consent Notice */
.implied-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: 18px;
  padding: 12px 14px;
  background: rgba(246, 243, 239, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(24, 24, 27, 0.06);
}

.implied-consent .lock-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ==========================================================================
   Standard Options List
   ========================================================================== */
.options {
  display: grid;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 22px 0;
}

.option {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  min-height: 60px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(24, 24, 27, 0.02);
  font-size: 0.98rem;
  color: var(--text-body);
  font-weight: 500;
}

.option:hover {
  border-color: rgba(229, 57, 53, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -2px rgba(24, 24, 27, 0.05);
}

.option:has(input:checked) {
  border-color: var(--red-primary);
  background: var(--red-soft);
  color: var(--red-dark);
  font-weight: 600;
  box-shadow: 0 0 0 1px var(--red-primary), 0 8px 20px -4px var(--red-glow);
}

input[type=checkbox], input[type=radio] {
  accent-color: var(--red-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 0;
}

/* ==========================================================================
   Question 3: Interactive Body Map on Option 2 Illustration
   ========================================================================== */
.pain-map-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;
  margin: 20px 0 24px;
}

.body-map-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.body-map-stage {
  position: relative;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 848 / 1264;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(24, 24, 27, 0.08), 0 2px 8px rgba(229, 57, 53, 0.06);
  border: 1.5px solid var(--border);
  background: #FAF8F5;
  transition: all 0.25s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
}

.body-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.body-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.body-map-caption {
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.body-map-caption-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-primary);
  animation: pulse-dot-red 2s infinite;
}

/* Pain Options List */
.pain-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pain-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(24, 24, 27, 0.02);
}

.pain-option-card:hover {
  border-color: rgba(229, 57, 53, 0.45);
  transform: translateX(3px);
  box-shadow: 0 6px 18px -2px rgba(229, 57, 53, 0.1);
}

.pain-option-card:has(input:checked) {
  border-color: var(--red-primary);
  background: var(--red-soft);
  box-shadow: 0 0 0 1px var(--red-primary), 0 6px 20px -2px var(--red-glow);
}

.pain-option-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pain-option-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 750;
  color: var(--text-main);
  line-height: 1.3;
}

.pain-option-card:has(input:checked) .pain-option-title {
  color: var(--red-dark);
}

.pain-option-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.pain-option-badge {
  flex-shrink: 0;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #F4F4F5;
  color: var(--text-light);
  transition: all 0.2s ease;
}

.pain-option-card:has(input:checked) .pain-option-badge {
  background: var(--red-primary);
  color: #FFFFFF;
}

@media (max-width: 650px) {
  .pain-map-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .body-map-stage {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   Question 4: Duration Stepper (Timeline with Red-Bordered Circles & Connecting Line)
   ========================================================================== */
.stepper-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: 36px;
  padding: 34px 28px 28px;
  margin: 24px 0 20px;
  box-shadow: 0 4px 24px rgba(24, 24, 27, 0.04);
  position: relative;
}

/* Desktop Horizontal Stepper */
.stepper-desktop {
  position: relative;
  width: 100%;
  display: block;
}

.stepper-rail-bg {
  position: absolute;
  top: 37px;
  left: 10%;
  right: 10%;
  height: 3.5px;
  background: #E5E1DC;
  border-radius: 2px;
  z-index: 1;
  overflow: hidden;
}

.stepper-rail-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF3B30 0%, #E53935 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--red-glow);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.stepper-nodes {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.stepper-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0 4px;
  transition: transform 0.2s ease;
  outline: none;
}

.stepper-node:hover {
  transform: translateY(-2px);
}

.stepper-node:focus-visible {
  outline: 2px solid var(--red-primary);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* Chevron above the active circle */
.stepper-chevron {
  height: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.stepper-node.is-active .stepper-chevron {
  animation: chevron-bounce 1.6s infinite ease-in-out;
}

@keyframes chevron-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* Stepper Circle: Clean white/transparent interior with signature red border */
.stepper-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

/* Inner red dot: transparent/hidden when unselected, solid red circle when selected */
.stepper-inner-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: transparent;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease, background 0.2s ease;
}

/* Active / Selected Step: Glowing ring & solid red dot */
.stepper-node.is-active .stepper-circle,
.vertical-node-row.is-active .stepper-circle,
.stepper-circle.is-selected {
  background: #FFFFFF;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 5px var(--red-soft), 0 4px 16px var(--red-glow);
  transform: scale(1.1);
}

.stepper-node.is-active .stepper-inner-dot,
.vertical-node-row.is-active .stepper-inner-dot,
.stepper-circle.is-selected .stepper-inner-dot {
  background: var(--red-primary);
  transform: scale(1);
  opacity: 1;
}

/* Desktop typography */
.stepper-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stepper-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #9CA3AF;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.stepper-node.is-past .stepper-title,
.stepper-node.is-active .stepper-title {
  color: var(--text-main);
  font-weight: 800;
}

.stepper-sub {
  font-size: 0.72rem;
  color: #9CA3AF;
  line-height: 1.2;
}

.stepper-node.is-active .stepper-sub {
  color: var(--red-primary);
  font-weight: 700;
}

/* ==========================================================================
   Mobile Vertical Stepper (One single card, continuous connecting line on left, concise text on right)
   ========================================================================== */
.stepper-vertical-mobile {
  display: none;
  position: relative;
  width: 100%;
}

.vertical-rail-bg {
  position: absolute;
  top: 30px;
  height: 272px;
  left: 29px;
  transform: translateX(-50%);
  width: 3.5px;
  background: #E5E1DC;
  border-radius: 2px;
  z-index: 1;
  overflow: hidden;
}

.vertical-rail-fill {
  width: 100%;
  background: linear-gradient(180deg, #FF3B30 0%, #E53935 100%);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--red-glow);
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.vertical-nodes {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vertical-node-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
  padding: 0 12px;
  border-radius: 16px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.vertical-node-row:hover {
  background: rgba(229, 57, 53, 0.04);
}

.vertical-node-row:focus-visible {
  outline: 2px solid var(--red-primary);
  outline-offset: 2px;
}

.vertical-node-row.is-active {
  background: rgba(229, 57, 53, 0.06);
}

.vertical-node-marker {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vertical-node-marker .stepper-circle {
  margin-bottom: 0;
}

.vertical-node-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.vertical-node-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #4B5563;
  line-height: 1.25;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.vertical-node-row.is-past .vertical-node-title,
.vertical-node-row.is-active .vertical-node-title {
  color: var(--text-main);
  font-weight: 800;
}

.vertical-node-sub {
  font-size: 0.82rem;
  color: #9CA3AF;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.vertical-node-row.is-active .vertical-node-sub {
  color: var(--red-primary);
  font-weight: 700;
}

@media (max-width: 720px) {
  .stepper-desktop {
    display: none;
  }
  .stepper-vertical-mobile {
    display: block;
  }
  .stepper-card {
    background: #FFFFFF;
    border: 1.5px solid var(--border);
    border-radius: 28px;
    padding: 22px 16px;
    margin: 18px 0 20px;
    box-shadow: 0 4px 20px rgba(24, 24, 27, 0.04);
  }
}

/* ==========================================================================
   Testimonial / Payoff Cards (Screens 6 & 9)
   ========================================================================== */
.payoff-card {
  background: #FFFFFF;
  border: 1px solid rgba(229, 57, 53, 0.18);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  margin: 18px 0 24px;
  box-shadow: 0 12px 36px -6px rgba(24, 24, 27, 0.06);
  position: relative;
}

.payoff-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 24px;
  font-size: 80px;
  font-family: var(--font-heading);
  line-height: 1;
  color: rgba(229, 57, 53, 0.08);
  pointer-events: none;
}

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

.payoff-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red-dark);
  background: var(--red-soft);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--red-soft-border);
}

.stars {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-main);
  margin: 16px 0 22px;
  letter-spacing: -0.01em;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 18px;
  border-top: 1px solid rgba(24, 24, 27, 0.08);
}

.avatar-frame {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--red-primary);
  box-shadow: 0 4px 12px var(--red-glow);
  flex-shrink: 0;
  background: #EFEBE7;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-meta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.person-meta small {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Video Testimonial Player Card (Quote Above Video) */
.video-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin: 18px 0 24px;
  position: relative;
  box-shadow: 0 4px 20px rgba(24, 24, 27, 0.04);
}

.video-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.video-card-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  font-weight: 650;
  line-height: 1.48;
  color: var(--text-main);
  margin: 0 0 20px;
  padding: 0 0 0 16px;
  border-left: 3.5px solid var(--red-primary);
  font-style: italic;
}

.video-player-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 32px rgba(24, 24, 27, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-play-overlay:hover {
  background: rgba(0, 0, 0, 0.12);
}

.play-button-ring {
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 24px var(--red-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-play-overlay:hover .play-button-ring {
  transform: scale(1.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.5), 0 0 32px var(--red-glow);
}

.play-arrow {
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 18px solid var(--red-primary);
  margin-left: 3px;
}

/* ==========================================================================
   Step 14: Reassuring Encouragement & Milestone Screen
   ========================================================================== */
.encouragement-screen {
  margin-top: 4px;
}

.milestone-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.12);
}

.milestone-badge-icon {
  font-size: 1rem;
}

.encouragement-title {
  font-size: clamp(2.15rem, 5.4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  text-wrap: balance;
}

.encouragement-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  margin-bottom: 20px;
  box-shadow: 0 6px 26px rgba(24, 24, 27, 0.04);
  position: relative;
  overflow: hidden;
}

.encouragement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--red-primary), var(--red-dark));
}

.encouragement-kim {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(24, 24, 27, 0.07);
  margin-bottom: 18px;
}

.encouragement-avatar-frame {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 2.5px solid var(--red-primary);
  box-shadow: 0 4px 14px var(--red-glow);
  flex-shrink: 0;
}

.encouragement-avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-verified-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--red-primary);
  color: #FFFFFF;
  font-size: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  font-weight: 900;
}

.encouragement-speaker strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.25;
}

.encouragement-speaker small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.encouragement-quote {
  margin-bottom: 20px;
}

.encouragement-headline {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 8px;
}

.encouragement-body {
  font-size: 0.96rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.encouragement-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FDFBF9;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--text-main);
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.encouragement-next-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(229, 57, 53, 0.04);
  border: 1px solid rgba(229, 57, 53, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 16px;
}

.next-step-badge {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 850;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.next-step-text {
  font-size: 0.85rem;
  color: #4B5563;
  line-height: 1.4;
}

/* ==========================================================================
   Combined Contact & Phone Screen (Step Contact)
   ========================================================================== */
.contact-kim-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--red-soft-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(24, 24, 27, 0.04);
}

.contact-kim-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--red-primary);
  box-shadow: 0 4px 14px var(--red-glow);
  flex-shrink: 0;
}

.contact-kim-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-kim-note strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.contact-kim-note p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.field.full {
  grid-column: 1 / -1;
}

.field input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #FFFFFF;
  padding: 13px 15px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.field small {
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-light);
}

/* ==========================================================================
   Buttons & CTA Actions
   ========================================================================== */
.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.actions .primary {
  margin-left: auto;
}

button.primary, .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #FF3B30 0%, #E53935 50%, #C62828 100%);
  color: #FFFFFF;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  min-height: 54px;
  font-family: var(--font-heading);
  font-weight: 850;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px var(--red-glow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: cta-glow-pulse 3.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

/* Shimmer Light Sweeping Across Button */
button.primary::after, .btn-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 70%
  );
  transform: rotate(30deg) translateX(-100%);
  animation: cta-shimmer 4.5s infinite;
}

@keyframes cta-glow-pulse {
  0%, 100% {
    box-shadow: 0 10px 28px rgba(229, 57, 53, 0.35);
  }
  50% {
    box-shadow: 0 14px 38px rgba(229, 57, 53, 0.6), 0 0 20px rgba(255, 59, 48, 0.45);
  }
}

@keyframes cta-shimmer {
  0%, 70% { transform: rotate(30deg) translateX(-100%); }
  100% { transform: rotate(30deg) translateX(100%); }
}

button.primary:hover, .btn-cta:hover {
  background: linear-gradient(135deg, #FF453A 0%, #EF4444 50%, #DC2626 100%);
  box-shadow: 0 14px 38px rgba(229, 57, 53, 0.55);
  transform: translateY(-2px);
}

button.primary:active, .btn-cta:active {
  transform: translateY(1px);
}

button.secondary {
  border: 1.5px solid var(--border);
  background: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

button.secondary:hover {
  background: var(--bg-subtle);
  border-color: #A1A1AA;
  color: var(--text-main);
}

/* ==========================================================================
   Final Screen: Confetti, Breakthrough Booking, Free 3D Gift
   ========================================================================== */
#confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.results-container {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.results-urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  background: linear-gradient(90deg, #FF3B30 0%, #E53935 60%, #C62828 100%);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  box-shadow: 0 4px 14px var(--red-glow);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: pulse-dot 1.6s infinite ease-in-out;
}

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

.results-header {
  margin-bottom: 18px;
  text-align: center;
}

.results-header h1.results-title {
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 850;
  line-height: 1.25;
  color: var(--text-main);
  max-width: 660px;
  margin: 8px auto 10px;
  text-wrap: balance;
}

.results-spiel {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.5;
  max-width: 620px;
  margin: 0 auto;
}

/* Reservation Countdown Timer Bar (Rock-Solid Spacing & Tabular Fixed Digits) */
.reservation-timer-bar {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  margin: 16px auto 20px;
  width: max-content;
  max-width: calc(100% - 20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.timer-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.timer-label {
  font-size: clamp(0.72rem, 3.2vw, 0.82rem);
  font-weight: 700;
  color: #4B5563;
  white-space: nowrap;
  flex-shrink: 0;
}

.timer-countdown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 3.8vw, 1.05rem);
  font-weight: 900;
  color: var(--red-primary);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  flex-shrink: 0;
  width: 68px;
}

.timer-digits {
  background: rgba(229, 57, 53, 0.08);
  padding: 2px 0;
  width: 28px;
  text-align: center;
  border-radius: 4px;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  box-sizing: border-box;
  flex-shrink: 0;
}

.timer-colon {
  font-weight: 900;
  color: var(--red-primary);
  width: 8px;
  text-align: center;
  flex-shrink: 0;
}

/* Main Booking Section (FIRST THING ON PAGE) */
.booking-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 10px 32px rgba(24, 24, 27, 0.06);
  text-align: left;
  position: relative;
}

/* Calendar Card Header & Topbar matching booking.html */
.calendar-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 16px 20px;
  background: #FAFAFA;
  border-bottom: 1px solid var(--border);
}

.calendar-topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.pulse-dot-green {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.calendar-topbar-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.calendar-topbar-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cal-badge-time {
  background: rgba(24, 24, 27, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(24, 24, 27, 0.08);
}

.cal-badge-free {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.18);
}

/* GoHighLevel Live Interactive Calendar Frame */
.ghl-calendar-frame {
  width: 100%;
  position: relative;
  background: #FFFFFF;
  overflow: hidden;
}

.ghl-calendar-frame iframe {
  width: 100% !important;
  min-height: 700px !important;
  border: none !important;
  display: block !important;
  position: relative !important;
  left: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.deposit-reassurance {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  padding: 14px 18px 4px;
  line-height: 1.45;
  margin: 0;
}

.booking-perks {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0 18px 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .ghl-calendar-frame iframe {
    min-height: 740px;
  }
  .calendar-topbar {
    padding: 12px 14px;
  }
  .booking-card {
    border-radius: var(--radius-md);
  }
}

/* 3D Free Gift Card */
.free-gift-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF7F7 100%);
  border: 2px solid var(--red-soft-border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 12px 34px -6px rgba(229, 57, 53, 0.12);
  position: relative;
  overflow: hidden;
}

.free-gift-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--red-primary), var(--red-dark));
}

.free-gift-img-frame {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 24px -4px rgba(229, 57, 53, 0.25);
  animation: gift-float 3s infinite ease-in-out;
}

@keyframes gift-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.free-gift-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.free-gift-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.25;
}

.free-gift-content p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 10px;
}

.free-gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--red-dark);
  background: var(--red-soft);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--red-soft-border);
}

/* Booking Confirmed & Gift Delivery Celebration View */
.booking-confirmation-view {
  animation: fade-in 0.4s ease-out;
  text-align: left;
}

.confirmation-hero {
  text-align: center;
  background: #FFFFFF;
  border: 1.5px solid #10B981;
  border-radius: var(--radius-lg);
  padding: 30px 24px 26px;
  margin-bottom: 24px;
  box-shadow: 0 10px 32px rgba(16, 185, 129, 0.12);
}

.confirmation-icon-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.confirmation-hero h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 8px;
}

.confirmation-time-pill {
  display: inline-block;
  background: #ECFDF5;
  border: 1.5px solid #A7F3D0;
  color: #065F46;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  margin: 8px 0 12px;
}

.confirmation-note {
  font-size: 0.9rem;
  color: var(--text-body);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.gift-check-action {
  margin-top: 10px;
}

.gift-sent-check {
  display: inline-flex;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: #065F46;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.prep-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(24, 24, 27, 0.03);
}

.prep-card h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 850;
  color: var(--text-main);
  margin-bottom: 12px;
}

.prep-card ul {
  padding-left: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   Status, Alerts, Footer & Review Modal
   ========================================================================== */
.save-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 14px 0;
  min-height: 18px;
  text-align: center;
}

#error {
  color: #991B1B;
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  margin: 14px 0;
}

#retry {
  margin-top: 10px;
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--red-primary);
  border-radius: var(--radius-pill);
  color: var(--red-primary);
  font-weight: 700;
}

/* ==========================================================================
   Streamlined Compliance Footer (Matching Main Funnel)
   ========================================================================== */
.footer {
  background: #FFFFFF;
  color: var(--text-muted);
  padding: 3rem 1.5rem 2.5rem;
  font-size: 0.86rem;
  border-top: 1px solid rgba(24, 24, 27, 0.08);
  margin-top: auto;
  width: 100%;
}

.footer-inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  text-align: center;
}

.footer-brand {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.footer-disclaimers-clean {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 740px;
  margin: 0.25rem auto;
}

.footer-concise-disclaimer {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-meta-disclaimer {
  font-size: 0.74rem;
  line-height: 1.5;
  color: #8E8E93;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-body);
}

.footer-legal-nav a {
  color: var(--text-body);
  text-decoration: underline;
  text-decoration-color: rgba(24, 24, 27, 0.25);
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.footer-legal-nav a:hover {
  color: var(--red-primary);
  text-decoration-color: var(--red-primary);
}

.footer-legal-nav .nav-sep {
  color: var(--text-muted);
  opacity: 0.45;
}

.footer-copyright {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 650px) {
  .brand {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
  }
  .topbar-status {
    font-size: 0.72rem;
    padding: 0.28rem 0.65rem;
  }
  main {
    width: min(100% - 24px, 720px);
    margin: 20px auto 40px;
  }
  #screen {
    padding: 26px 20px;
  }
  h1 {
    font-size: 1.7rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .first-page-layout {
    gap: 16px;
  }
  .first-page-hero {
    padding: 0 2px;
    margin-bottom: 2px;
  }
  .first-page-banner-frame {
    border-radius: 14px;
    margin-bottom: 12px;
  }
  .first-page-banner-img {
    border-radius: 14px;
  }
  .first-page-title {
    font-size: clamp(1.48rem, 6.4vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 10px;
    outline: none;
  }
  .first-page-bridge {
    font-size: 0.92rem;
    line-height: 1.48;
    margin-bottom: 14px;
  }
  .hero-benefits-list {
    gap: 10px;
    margin: 0 0 4px;
  }
  .benefit-item {
    font-size: 0.88rem;
    line-height: 1.45;
    gap: 10px;
  }
  .benefit-icon {
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--text-main);
  }
  .first-page-block {
    padding: 20px 18px;
    border-radius: 20px;
  }
  .first-q-heading {
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .first-q-hint {
    font-size: 0.88rem;
    margin-bottom: 16px;
  }
  .yes-no-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .btn-choice {
    min-height: 56px;
    padding: 12px 16px;
    font-size: 1.02rem;
    border-radius: 14px;
  }
  .actions {
    flex-direction: column-reverse;
  }
  .actions button {
    width: 100%;
  }
  .actions .primary {
    margin-left: 0;
  }
  /* Switch Subway to Vertical Route Map on Mobile */
  .subway-track-horizontal {
    display: none;
  }
  .subway-track-vertical {
    display: flex;
  }
  .free-gift-card {
    flex-direction: column;
    text-align: center;
  }
  .contact-kim-card {
    flex-direction: column;
    text-align: center;
  }
  .booking-days {
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
  }
}
