/* ============================================================
   Kuru Göz Yol Haritası — Premium Eye Clinic Assessment
   Mobile-first • Accessible • Production-ready
   ============================================================ */

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

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Brand Colors (GetWellis Aesthetic) */
  --color-white:        #ffffff;
  --color-gray-50:      #fafafa;
  --color-gray-100:     #f4f4f4;
  --color-gray-200:     #e5e5e5;
  --color-gray-300:     #d4d4d4;
  --color-gray-400:     #a3a3a3;
  --color-gray-500:     #737373;
  --color-slate-500:    #64748b;
  --color-slate-600:    #475569;

  --color-navy-900:     #171717;
  --color-navy-800:     #262626;
  --color-navy-700:     #404040;

  --color-petrol:       #004751;
  --color-petrol-light: #006b7a;
  --color-petrol-dark:  #002f36;
  
  --color-sand:         #f9f8f6;
  --color-sand-dark:    #eae6df;

  --color-blue-50:      #f0f7f8; /* Soft petrol tint */
  --color-blue-100:     #dcedf0;
  --color-blue-200:     #bce0e4;
  --color-blue-300:     #94ccd4;
  --color-blue-400:     #6cb3be;
  --color-blue-500:     #4e99a5;
  --color-blue-600:     var(--color-petrol-light);
  --color-blue-700:     var(--color-petrol);
  --color-blue-800:     var(--color-petrol-dark);

  --color-sky-500:      #008b9e;
  --color-sky-600:      #007485;

  --color-red-50:       #fef2f2;
  --color-red-100:      #fee2e2;
  --color-red-500:      #ef4444;
  --color-red-600:      #dc2626;
  --color-red-700:      #b91c1c;

  --color-green-50:     #ecfdf5;
  --color-green-500:    #10b981;
  --color-green-600:    #059669;

  --color-amber-50:     #fffbeb;
  --color-amber-100:    #fef3c7;
  --color-amber-500:    #f59e0b;
  --color-amber-600:    #d97706;

  /* Semantic Colors */
  --color-primary:      var(--color-petrol);
  --color-primary-hover:var(--color-petrol-dark);
  --color-primary-light:var(--color-blue-50);
  --color-accent:       var(--color-petrol-light);
  --color-danger:       var(--color-red-600);
  --color-success:      var(--color-green-600);
  --color-body:         var(--color-navy-800);
  --color-heading:      var(--color-navy-900);
  --color-muted:        var(--color-slate-500);
  --color-border:       var(--color-gray-200);
  --color-surface:      var(--color-white);
  --color-background:   var(--color-sand);

  /* Typography */
  --font-family:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs:       0.875rem;   /* 14px */
  --font-size-sm:       0.9375rem;  /* 15px */
  --font-size-base:     1rem;       /* 16px */
  --font-size-md:       1.125rem;   /* 18px */
  --font-size-lg:       1.25rem;    /* 20px */
  --font-size-xl:       1.5rem;     /* 24px */
  --font-size-2xl:      2rem;       /* 32px */
  --font-size-3xl:      2.5rem;     /* 40px */
  --font-size-4xl:      3.5rem;     /* 56px */
  --font-leading-tight: 1.15;
  --font-leading-snug:  1.3;
  --font-leading-normal:1.5;
  --font-leading-relaxed:1.65;

  /* Spacing */
  --space-1:   4px;
  --space-2:   8px;
  --space-3:   12px;
  --space-4:   16px;
  --space-5:   20px;
  --space-6:   24px;
  --space-8:   32px;
  --space-10:  40px;
  --space-12:  48px;
  --space-16:  64px;
  --space-20:  80px;

  /* Radius */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-3xl:  40px;
  --radius-full: 9999px;

  /* Shadows (Softer, wider) */
  --shadow-xs:   0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-sm:   0 4px 8px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-md:   0 8px 16px -4px rgba(0, 0, 0, 0.06), 0 4px 8px -4px rgba(0, 0, 0, 0.03);
  --shadow-lg:   0 16px 32px -8px rgba(0, 0, 0, 0.08), 0 8px 16px -8px rgba(0, 0, 0, 0.04);
  --shadow-xl:   0 24px 48px -12px rgba(0, 0, 0, 0.1), 0 12px 24px -12px rgba(0, 0, 0, 0.05);
  --shadow-blue: 0 0 0 3px rgba(0, 71, 81, 0.15), 0 4px 12px rgba(0, 71, 81, 0.1);
  --shadow-red:  0 0 0 3px rgba(220, 38, 38, 0.12), 0 4px 12px rgba(220, 38, 38, 0.08);

  /* Transitions */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index Scale */
  --z-base:    1;
  --z-sticky:  100;
  --z-fixed:   500;
  --z-progress:1000;
  --z-modal:   9000;
  --z-overlay: 8000;
}


/* ── Global Reset & Base ──────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--font-leading-normal);
  color: var(--color-body);
  background-color: var(--color-background);
  min-height: 100vh;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-hover);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Selection ────────────────────────────────────────────── */

::selection {
  background-color: rgba(37, 99, 235, 0.15);
  color: var(--color-navy-900);
}

::-moz-selection {
  background-color: rgba(37, 99, 235, 0.15);
  color: var(--color-navy-900);
}

/* ── Scrollbar ────────────────────────────────────────────── */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--color-blue-300);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue-400);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-blue-300) var(--color-gray-100);
}

/* ── Focus Accessibility ──────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

:focus:not(:focus-visible) {
  outline: none;
}


/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */

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

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

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.7; }
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.3); }
  70%  { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}


/* ============================================================
   1. LANDING PAGE
   ============================================================ */

#landing-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* min-height removed to let widget-start-screen take over */
  padding: var(--space-6) var(--space-5);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    175deg,
    var(--color-white) 0%,
    var(--color-blue-50) 40%,
    #f0f7ff 100%
  );
}

/* Animated gradient orb */
#landing-page::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.08) 0%,
    rgba(14, 165, 233, 0.04) 50%,
    transparent 70%
  );
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

#landing-page::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(2, 132, 199, 0.06) 0%,
    rgba(37, 99, 235, 0.03) 50%,
    transparent 70%
  );
  animation: float 10s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}

#landing-page > * {
  position: relative;
  z-index: var(--z-base);
}

/* Landing Icon */
.landing-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-blue-100) 0%, var(--color-blue-50) 100%);
  margin: 0 auto var(--space-6);
  font-size: 36px;
  box-shadow: var(--shadow-sm);
  animation: float 6s ease-in-out infinite;
}

/* Landing Title */
.landing-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-heading);
  line-height: var(--font-leading-tight);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

/* Landing Subtitle */
.landing-subtitle {
  font-size: var(--font-size-md);
  font-weight: 500;
  color: var(--color-slate-600);
  margin-bottom: var(--space-4);
  line-height: var(--font-leading-snug);
}

/* Landing Description */
.landing-description {
  font-size: var(--font-size-base);
  color: var(--color-slate-500);
  line-height: var(--font-leading-relaxed);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* Info Box (Landing) */
.info-box {
  background-color: var(--color-blue-50);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  text-align: left;
  max-width: 520px;
  width: 100%;
  margin: 0 auto var(--space-8);
  font-size: var(--font-size-sm);
  color: var(--color-navy-700);
  line-height: var(--font-leading-relaxed);
}

.info-box strong {
  color: var(--color-navy-900);
}

/* Primary CTA Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 32px;
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 4px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm), 0 1px 4px rgba(37, 99, 235, 0.2);
}


/* ============================================================
   2. PROGRESS BAR
   ============================================================ */

#progress-bar-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-progress);
  background-color: var(--color-gray-200);
  height: 4px;
  display: none; /* hidden on landing & results */
}

#progress-bar-container.visible {
  display: block;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-blue-500) 0%, var(--color-sky-500) 100%);
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  transition: width var(--transition-slow);
  position: relative;
}

#progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: -1px;
  width: 24px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  filter: blur(2px);
}

#progress-text {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-slate-500);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  z-index: var(--z-progress);
  display: none;
  letter-spacing: 0.02em;
}

#progress-bar-container.visible ~ #progress-text,
#progress-bar-container.visible + #progress-text,
#progress-bar-container.visible #progress-text {
  display: inline-block;
}


/* ============================================================
   3. ASSESSMENT CONTAINER & STAGES
   ============================================================ */

#assessment-container {
  width: 100%;
}

.stage {
  display: none;
  min-height: 500px;
  padding: var(--space-16) var(--space-5) var(--space-10);
  max-width: 640px;
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
}

.stage.active {
  display: flex;
  animation: fadeInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.stage.exit {
  animation: fadeOutUp 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}


/* ============================================================
   4. QUESTION HEADER
   ============================================================ */

.question-header {
  margin-bottom: var(--space-8);
}

.stage-label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.question-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-heading);
  line-height: var(--font-leading-snug);
  margin-bottom: var(--space-2);
}

.question-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  line-height: var(--font-leading-normal);
  margin-top: var(--space-2);
}


/* ============================================================
   5. OPTION CARDS
   ============================================================ */

.options-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.option-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  cursor: pointer;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

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

.option-card:active {
  transform: translateY(0);
}

/* Selected State */
.option-card.selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  box-shadow: var(--shadow-blue);
}

.option-card.selected:hover {
  border-color: var(--color-primary-hover);
}

/* Option Icon */
.option-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

/* Option Text */
.option-text {
  flex: 1;
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-navy-800);
  line-height: var(--font-leading-snug);
}

.option-card.selected .option-text {
  color: var(--color-navy-900);
}

/* Option Check (Radio style for single-select) */
.option-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  background-color: var(--color-white);
}

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

.option-check::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-base);
}

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

/* Multi-select variant (checkbox style) */
.options-group[data-multi] .option-check,
.options-group.multi-select .option-check {
  border-radius: var(--radius-sm);
}

.options-group[data-multi] .option-check::after,
.options-group.multi-select .option-check::after {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  /* Checkmark via CSS */
  background: transparent;
  border-left: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(-45deg) scale(0);
  width: 10px;
  height: 6px;
  margin-top: -2px;
}

.options-group[data-multi] .option-card.selected .option-check::after,
.options-group.multi-select .option-card.selected .option-check::after {
  transform: rotate(-45deg) scale(1);
  opacity: 1;
}


/* ============================================================
   6. NAVIGATION BUTTONS
   ============================================================ */

.stage-nav {
  display: flex;
  gap: var(--space-3);
  padding-top: var(--space-4);
  margin-top: auto;
}

.btn-back,
.btn-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base),
    opacity var(--transition-base);
  cursor: pointer;
  line-height: 1;
}

/* Back — Ghost */
.btn-back {
  background-color: transparent;
  border: 2px solid var(--color-gray-300);
  color: var(--color-slate-600);
}

.btn-back:hover {
  border-color: var(--color-gray-400);
  background-color: var(--color-gray-50);
  color: var(--color-navy-800);
}

/* Next — Solid Blue */
.btn-next {
  flex: 1;
  background: linear-gradient(135deg, var(--color-blue-600) 0%, var(--color-blue-700) 100%);
  border: 2px solid transparent;
  color: var(--color-white);
  box-shadow: var(--shadow-sm), 0 2px 6px rgba(37, 99, 235, 0.2);
}

.btn-next:hover {
  box-shadow: var(--shadow-md), 0 4px 12px rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

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

/* Disabled State */
.btn-next:disabled,
.btn-next.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
  box-shadow: none;
}


/* ============================================================
   7. STAGE INFO BOX
   ============================================================ */

.stage-info-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-blue-400);
  background-color: var(--color-blue-50);
  font-size: var(--font-size-sm);
  color: var(--color-navy-700);
  line-height: var(--font-leading-relaxed);
}

.stage-info-box.amber {
  border-left-color: var(--color-amber-500);
  background-color: var(--color-amber-50);
}

.stage-info-box .info-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.5;
}


/* ============================================================
   8. EMERGENCY RESULT
   ============================================================ */

#emergency-result {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: var(--space-8) var(--space-5);
  text-align: center;
  background: linear-gradient(
    175deg,
    var(--color-white) 0%,
    var(--color-red-50) 100%
  );
  position: relative;
}

#emergency-result.active {
  display: flex;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.emergency-icon {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--color-red-100);
  margin-bottom: var(--space-6);
  font-size: 44px;
  animation: pulse 2s ease-in-out infinite;
}

.emergency-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-red-600);
  margin-bottom: var(--space-4);
  line-height: var(--font-leading-tight);
}

.emergency-description {
  font-size: var(--font-size-base);
  color: var(--color-navy-700);
  line-height: var(--font-leading-relaxed);
  max-width: 520px;
  margin: 0 auto var(--space-8);
}

.btn-emergency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 16px 36px;
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-red-600) 0%, var(--color-red-700) 100%);
  border: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md), 0 2px 8px rgba(220, 38, 38, 0.25);
  cursor: pointer;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 4px 16px rgba(220, 38, 38, 0.3);
}

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

.btn-restart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  margin-top: var(--space-4);
  font-size: var(--font-size-base);
  font-weight: 500;
  font-family: var(--font-family);
  color: var(--color-slate-600);
  background: transparent;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    border-color var(--transition-base),
    color var(--transition-base),
    background-color var(--transition-base);
}

.btn-restart:hover {
  border-color: var(--color-gray-400);
  color: var(--color-navy-800);
  background-color: var(--color-gray-50);
}


/* ============================================================
   9. RESULTS PAGE
   ============================================================ */

#results-page {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-5) var(--space-16);
}

#results-page.active {
  display: block;
  animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Results Header */
.results-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.results-header .results-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-blue-100) 0%, var(--color-blue-50) 100%);
  margin: 0 auto var(--space-5);
  font-size: 32px;
  box-shadow: var(--shadow-sm);
}

.results-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-heading);
  line-height: var(--font-leading-tight);
  margin-bottom: var(--space-2);
}

.results-subtitle {
  font-size: var(--font-size-base);
  color: var(--color-muted);
}


/* ============================================================
   10. PROFILE CARD
   ============================================================ */

.profile-card {
  position: relative;
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
  background: linear-gradient(
    135deg,
    var(--color-blue-600) 0%,
    var(--color-sky-600) 50%,
    var(--color-blue-500) 100%
  );
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
  color: var(--color-white);
  box-shadow: var(--shadow-xl), 0 8px 24px rgba(37, 99, 235, 0.2);
  margin-bottom: var(--space-10);
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.profile-card .profile-icon {
  font-size: 40px;
  margin-bottom: var(--space-4);
}

.profile-card .profile-level {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: var(--space-2);
}

.profile-card .profile-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  line-height: var(--font-leading-tight);
  margin-bottom: var(--space-3);
}

.profile-card .profile-description {
  font-size: var(--font-size-sm);
  opacity: 0.9;
  line-height: var(--font-leading-relaxed);
}


/* ============================================================
   11. SECTION HEADERS (Results)
   ============================================================ */

.section-header {
  margin-top: var(--space-12);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-gray-200);
}

.section-header .section-icon {
  font-size: 24px;
  margin-bottom: var(--space-2);
}

.section-header .section-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-1);
}

.section-header .section-description {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  line-height: var(--font-leading-normal);
}


/* ============================================================
   12. TREATMENT CARDS
   ============================================================ */

.treatment-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.treatment-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base),
    border-color var(--transition-base);
}

.treatment-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-gray-300);
}

.treatment-card[data-tracked] {
  cursor: pointer;
}

.treatment-name {
  font-size: var(--font-size-md);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.treatment-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  background-color: var(--color-amber-100);
  color: var(--color-amber-600);
  white-space: nowrap;
  line-height: 1.5;
}

.treatment-tag.info {
  background-color: var(--color-blue-50);
  color: var(--color-blue-600);
}

.treatment-tag.success {
  background-color: var(--color-green-50);
  color: var(--color-green-600);
}

.treatment-detail {
  margin-top: var(--space-4);
}

.treatment-detail .detail-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: var(--space-1);
}

.treatment-detail .detail-text {
  font-size: var(--font-size-sm);
  color: var(--color-navy-700);
  line-height: var(--font-leading-relaxed);
}


/* ============================================================
   13. EXAM CARDS
   ============================================================ */

.exam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.exam-card {
  background-color: var(--color-gray-100);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition:
    background-color var(--transition-base),
    box-shadow var(--transition-base);
}

.exam-card:hover {
  background-color: var(--color-gray-50);
  box-shadow: var(--shadow-sm);
}

.exam-card .exam-icon {
  font-size: 22px;
  margin-bottom: var(--space-2);
}

.exam-card .exam-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-1);
  line-height: var(--font-leading-snug);
}

.exam-card .exam-description {
  font-size: var(--font-size-xs);
  color: var(--color-muted);
  line-height: var(--font-leading-normal);
}


/* ============================================================
   14. DOCTOR QUESTION CARDS
   ============================================================ */

.doctor-questions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.doctor-question {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  transition: background-color var(--transition-fast);
  font-size: var(--font-size-sm);
  color: var(--color-navy-700);
  line-height: var(--font-leading-relaxed);
}

.doctor-question:hover {
  background-color: var(--color-gray-100);
}

.doctor-question .bullet-icon {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
}


/* ============================================================
   15. CTA SECTION
   ============================================================ */

.cta-section {
  background: linear-gradient(135deg, var(--color-navy-900) 0%, var(--color-blue-800) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-10) var(--space-6);
  text-align: center;
  margin-top: var(--space-12);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  pointer-events: none;
}

.cta-section .cta-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  position: relative;
}

.cta-section .cta-description {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--font-leading-relaxed);
  margin-bottom: var(--space-8);
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  position: relative;
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-blue-700);
  background-color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: var(--radius-full);
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  transition:
    background-color var(--transition-base),
    transform var(--transition-base),
    box-shadow var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background-color: var(--color-blue-50);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-full);
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  transition:
    border-color var(--transition-base),
    background-color var(--transition-base),
    transform var(--transition-base);
}

.btn-cta-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    color var(--transition-base),
    border-color var(--transition-base);
}

.btn-cta-outline:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}


/* ============================================================
   16. LEGAL DISCLAIMER
   ============================================================ */

.legal-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-10);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-gray-200);
  font-size: var(--font-size-xs);
  color: var(--color-gray-400);
  line-height: var(--font-leading-relaxed);
}

.legal-disclaimer .disclaimer-icon {
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1.6;
}


/* ============================================================
   17. MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.2s ease forwards;
}

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

.modal-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--color-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-6);
  box-shadow: var(--shadow-xl);
  z-index: var(--z-modal);
  animation: scaleIn 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background-color: var(--color-gray-100);
  color: var(--color-slate-500);
  font-size: 18px;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
  border: none;
  line-height: 1;
}

.modal-close:hover {
  background-color: var(--color-gray-200);
  color: var(--color-navy-800);
}

.modal-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-2);
}

.modal-description {
  font-size: var(--font-size-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-6);
  line-height: var(--font-leading-relaxed);
}


/* ============================================================
   18. FORM ELEMENTS
   ============================================================ */

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-navy-800);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--color-navy-800);
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray-400);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: 14px 28px;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-blue-600) 0%, var(--color-blue-700) 100%);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: var(--shadow-sm), 0 2px 6px rgba(37, 99, 235, 0.2);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md), 0 4px 12px rgba(37, 99, 235, 0.25);
}

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

.btn-submit:disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.transition-all {
  transition: all var(--transition-base);
}

.transition-colors {
  transition:
    color var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base);
}

.transition-transform {
  transition: transform var(--transition-base);
}

.animate-fade-in-up {
  animation: fadeInUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-slide-in {
  animation: slideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}


/* ============================================================
   RESPONSIVE — TABLET (640px+)
   ============================================================ */

@media (min-width: 640px) {
  :root {
    --font-size-base:  1rem;
    --font-size-lg:    1.1875rem;
    --font-size-xl:    1.375rem;
    --font-size-2xl:   1.75rem;
    --font-size-3xl:   2.125rem;
  }

  .landing-title {
    font-size: var(--font-size-3xl);
  }

  .landing-subtitle {
    font-size: var(--font-size-lg);
  }

  .question-title {
    font-size: var(--font-size-2xl);
  }

  .stage {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }

  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    width: auto;
    min-width: 200px;
  }

  .exam-grid {
    gap: var(--space-4);
  }

  .emergency-title {
    font-size: var(--font-size-3xl);
  }

  .results-title {
    font-size: var(--font-size-3xl);
  }

  .profile-card {
    padding: var(--space-8);
  }

  .profile-card .profile-title {
    font-size: var(--font-size-2xl);
  }

  #results-page {
    padding: var(--space-12) var(--space-8) var(--space-16);
  }
}


/* ============================================================
   RESPONSIVE — LARGER TABLET (768px+)
   ============================================================ */

@media (min-width: 768px) {
  .landing-icon {
    width: 96px;
    height: 96px;
    font-size: 44px;
  }

  .option-card {
    padding: 20px 24px;
  }

  .treatment-card {
    padding: var(--space-8);
  }

  .treatment-cards {
    gap: var(--space-5);
  }

  .modal-content {
    padding: var(--space-10) var(--space-8);
  }

  .cta-section {
    padding: var(--space-16) var(--space-10);
  }

  .cta-section .cta-title {
    font-size: var(--font-size-2xl);
  }
}


/* ============================================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================================ */

@media (min-width: 1024px) {
  :root {
    --font-size-base:  1.0625rem;
    --font-size-lg:    1.25rem;
    --font-size-xl:    1.5rem;
    --font-size-2xl:   2rem;
    --font-size-3xl:   2.5rem;
    --font-size-4xl:   3rem;
  }

  .landing-title {
    font-size: var(--font-size-4xl);
  }

  .question-title {
    font-size: var(--font-size-2xl);
  }

  .stage {
    padding-left: var(--space-10);
    padding-right: var(--space-10);
  }

  .exam-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }

  .exam-card {
    padding: var(--space-5);
  }

  #results-page {
    padding: var(--space-16) var(--space-6) var(--space-20);
  }

  .section-header {
    margin-top: var(--space-16);
    margin-bottom: var(--space-8);
  }

  .profile-card {
    padding: var(--space-10);
  }

  .cta-section {
    border-radius: var(--radius-3xl);
    padding: var(--space-16) var(--space-16);
  }

  .treatment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
  }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  #progress-bar {
    transition: none;
  }
}


/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  #progress-bar-container,
  #progress-text,
  .stage-nav,
  .btn-primary,
  .btn-emergency,
  .btn-cta-primary,
  .btn-cta-secondary,
  .btn-cta-outline,
  .btn-submit,
  .modal-overlay,
  .cta-section,
  .cta-buttons {
    display: none !important;
  }

  #results-page {
    display: block !important;
    max-width: 100%;
    padding: 0;
  }

  .profile-card {
    border: 2px solid #000;
    padding: 16px;
    page-break-inside: avoid;
  }

  .treatment-card,
  .exam-card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }

  .section-header {
    page-break-after: avoid;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 10pt;
  }
}

/* ============================================================
   NEW LANDING PAGE STYLES (HEADER, HERO, EDUCATION, FOOTER)
   ============================================================ */

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: var(--z-fixed);
  border-bottom: 1px solid var(--color-gray-200);
}

.transparent-header {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 8px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left, .header-right {
  flex: 1;
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

.menu-btn {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-md);
  color: var(--color-white);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.menu-btn:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--color-primary-hover);
}

.logo-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo-text-large {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.05em;
  font-family: var(--font-family);
}

.btn-white-pill {
  background: var(--color-white);
  color: var(--color-petrol-dark);
  font-weight: 600;
  font-size: var(--font-size-sm);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero-fullscreen {
  height: 100vh;
  min-height: 600px;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 2;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  display: flex;
}

.hero-content-left {
  max-width: 600px;
}

.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 40px;
}

/* Trustpilot Rating */
.trustpilot-rating {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tp-stars {
  color: #00b67a;
  font-size: 28px;
  display: flex;
  gap: 2px;
  line-height: 1;
}

.tp-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.tp-text strong {
  text-decoration: underline;
}

/* Education Section */
.education-section {
  padding: 100px 24px;
  background: var(--color-white);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header-centered {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-centered h2 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-petrol-dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header-centered p {
  font-size: var(--font-size-lg);
  color: var(--color-slate-500);
  max-width: 600px;
  margin: 0 auto;
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.education-card {
  background: var(--color-background); /* Sand */
  padding: 40px 32px;
  border-radius: var(--radius-2xl);
  transition: transform 0.3s, box-shadow 0.3s;
}

.education-card.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.education-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.ed-step-number {
  width: 64px;
  height: 64px;
  background: var(--color-white);
  color: var(--color-petrol);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.education-card h3 {
  font-size: var(--font-size-xl);
  color: var(--color-petrol-dark);
  margin-bottom: 16px;
  font-weight: 600;
}

.education-card p {
  color: var(--color-slate-600);
  line-height: 1.6;
}

/* Assessment Section & Widget */
.assessment-section {
  padding: 80px 24px;
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
}

.assessment-widget-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  min-height: 600px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
}

.widget-start-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 32px;
  text-align: center;
  min-height: 600px;
}

.widget-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.widget-start-screen h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: 16px;
  color: var(--color-navy-900);
}

.widget-start-screen p {
  font-size: var(--font-size-md);
  color: var(--color-slate-600);
  margin-bottom: 32px;
  max-width: 480px;
}

.info-box-small {
  margin-bottom: 32px !important;
  font-size: var(--font-size-xs) !important;
  padding: 12px 16px !important;
}

/* Footer */
.site-footer {
  background: var(--color-navy-900);
  color: var(--color-gray-300);
  padding: 80px 24px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand .logo-text {
  color: var(--color-white);
  font-size: var(--font-size-xl);
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}

.footer-desc {
  line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
  color: var(--color-white);
  font-size: var(--font-size-lg);
  margin-bottom: 24px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-gray-400);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-contact p {
  margin-bottom: 12px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-navy-700);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 36px;
  }
  .assessment-widget-container {
    border-radius: var(--radius-xl);
    min-height: 500px;
  }
  .widget-start-screen {
    padding: 40px 20px;
    min-height: 500px;
  }
  .main-nav {
    display: none; /* simple mobile nav hide for now */
  }
}

/* Treatments Slider Section */
.treatments-slider-section {
  background: var(--color-background);
  padding: 80px 0 0 0;
  overflow: hidden;
  position: relative;
}

.treatments-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.treatments-header h2 {
  color: var(--color-petrol-dark);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
}

.slider-nav {
  display: flex;
  gap: 16px;
}

.nav-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 23, 42, 0.05);
  color: var(--color-petrol-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: rgba(15, 23, 42, 0.1);
  transform: scale(1.05);
}

.treatments-slider-wrapper {
  position: relative;
  width: 100%;
}

.treatments-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  padding-bottom: 32px;
}

.treatments-slider::-webkit-scrollbar {
  display: none;
}

.treatment-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  background: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: grab;
}

.treatment-card:active {
  cursor: grabbing;
}

.treatment-card:hover {
  transform: translateY(-8px);
}

.card-content {
  padding: 32px 32px 24px;
  flex-grow: 1;
}

.card-category {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-petrol-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

.card-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-petrol-dark);
  line-height: 1.3;
}

.card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 40px;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.slider-dots .dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-white);
}

.treatments-marquee {
  background: var(--color-petrol-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 30s linear infinite;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
}

.marquee-content span {
  margin: 0 16px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 992px) {
  .treatment-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .treatment-card {
    flex: 0 0 calc(85% - 12px);
  }
  .treatments-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Stats Overview Section */
.stats-overview-section {
  background: var(--color-background);
  padding: 120px 24px;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 80px;
  align-items: center;
}

.stats-left {
  flex: 1;
  max-width: 480px;
}

.stats-eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-petrol-dark);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
  letter-spacing: 0.05em;
}

.stats-headline {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 500;
  color: var(--color-petrol-dark);
  line-height: 1.2;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.stats-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  width: 100%;
}

.stat-bar {
  background: #e9eff2;
  border-radius: 12px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: transform 0.3s ease;
  width: 100%;
}

.stat-bar:hover {
  transform: translateX(-8px);
}

.stat-bar-1 { max-width: 70%; }
.stat-bar-2 { max-width: 80%; }
.stat-bar-3 { max-width: 90%; }
.stat-bar-highlight { max-width: 100%; background: #ffc4b8; }

.stat-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-number {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: var(--color-petrol-dark);
  white-space: nowrap;
}

.stat-text {
  font-size: 14px;
  color: var(--color-petrol-dark);
  line-height: 1.4;
  opacity: 0.9;
}

.stat-icon {
  color: var(--color-petrol-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .stats-container {
    flex-direction: column;
    gap: 60px;
  }
  .stats-right {
    width: 100%;
    align-items: stretch;
  }
  .stat-bar { max-width: 100% !important; }
}

/* How It Works Section */
.how-it-works-section {
  background: var(--color-petrol-dark);
  padding: 100px 24px;
}

.how-it-works-container {
  max-width: 1200px;
  margin: 0 auto;
}

.how-it-works-title {
  text-align: center;
  color: var(--color-white);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 500;
  margin-bottom: 64px;
}

.hiw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.hiw-card {
  background: var(--color-white);
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  margin-top: 20px;
}

.hiw-badge {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: #ffc4b8;
  color: var(--color-petrol-dark);
  font-size: 20px;
  font-weight: 700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-content {
  padding: 48px 32px 32px;
  flex-grow: 1;
}

.hiw-content h3 {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-petrol-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hiw-content p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-gray-500);
}

.hiw-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
}

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

@media (max-width: 992px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  z-index: 1000;
}

.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: 12px 16px;
  color: var(--color-petrol-dark);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
  text-align: left;
}

.lang-dropdown a:hover {
  background: var(--color-gray-100);
}

.lang-dropdown a.active {
  font-weight: 600;
  background: #f0f7f9;
}


/* Tailored Treatments Section */
.tailored-treatments-section {
  background: var(--color-petrol-dark);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.tailored-treatments-section .section-title {
  color: var(--color-white);
}

.tailored-treatments-section .nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.tailored-treatments-section .nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}


/* --- NEW OSDI TEST STYLES --- */
.step-question-title {
  font-size: 24px;
  color: var(--color-petrol-dark);
  text-align: center;
  margin-bottom: 24px;
  font-weight: 500;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 32px auto;
}

.option-pill {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #f1f5f9;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
  color: var(--color-petrol-dark);
}

.option-pill:hover {
  background: #e2e8f0;
}

.option-pill.selected {
  background: var(--color-petrol-dark);
  color: #ffffff;
  border-color: var(--color-petrol-dark);
}

.option-pill.selected .option-letter {
  background: #ffffff;
  color: var(--color-petrol-dark);
}

.option-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  margin-right: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-petrol-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.risk-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 680px;
  margin: 0 auto 32px auto;
}

.risk-checkbox-item {
  display: flex;
  align-items: flex-start;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.risk-checkbox-item:hover {
  border-color: var(--color-petrol-dark);
}

.risk-checkbox-item.selected {
  background: #f0fdf4;
  border-color: #22c55e;
}

.risk-checkbox-input {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  flex-shrink: 0;
  accent-color: var(--color-petrol-dark);
  margin-top: 2px;
}

.risk-checkbox-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.5;
}

.lead-form-container {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-petrol-dark);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-petrol-dark);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.btn-continue {
  background: var(--color-petrol-dark);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-continue:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

.btn-continue:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.btn-back {
  background: transparent;
  color: var(--color-petrol-dark);
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover {
  background: #f1f5f9;
}


/* --- NEW SPLIT LAYOUT LANDING PAGE --- */
.widget-start-screen.split-layout {
  display: flex;
  flex-direction: row;
  padding: 0;
  text-align: left;
  background: var(--color-white);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  align-items: stretch;
  min-height: 500px;
}

.landing-image-wrapper {
  flex: 1;
  max-width: 50%;
  position: relative;
  background: var(--color-petrol-dark);
}

.landing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.widget-start-content {
  flex: 1;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-petrol-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.landing-desc {
  font-size: 16px;
  color: var(--color-slate-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

.landing-start-btn {
  background: var(--color-petrol-dark);
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.landing-start-btn:hover {
  background: var(--color-green);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .widget-start-screen.split-layout {
    flex-direction: column;
  }
  .landing-image-wrapper {
    max-width: 100%;
    height: 250px;
  }
  .widget-start-content {
    padding: 32px 24px;
    text-align: center;
  }
}

/* --- NEW UI TWEAKS --- */

/* Landing Page to match Testimonial Card */
.widget-start-screen.split-layout {
  background: #e6f0f9; /* Soft light blue from screenshot */
  border: none;
  border-radius: 24px;
}

.landing-image-wrapper {
  background: transparent;
}

.landing-image {
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

@media (max-width: 768px) {
  .landing-image {
    border-bottom-left-radius: 0;
    border-top-right-radius: 24px;
  }
}

.widget-start-content {
  padding: 64px;
}

.landing-title {
  font-size: 32px;
  color: #0f3f4c; /* Deep teal */
  margin-bottom: 24px;
}

.landing-desc {
  font-size: 18px;
  color: #2c5263;
}

.info-box-small {
  background: rgba(255, 255, 255, 0.5) !important;
  border: none !important;
  color: #2c5263 !important;
  border-radius: 12px !important;
}

.landing-start-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  padding: 20px 32px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.landing-start-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

/* Question Header Block */
.question-header-block {
  background: linear-gradient(135deg, var(--color-petrol-dark) 0%, var(--color-petrol) 100%);
  padding: 32px 24px;
  border-radius: 20px;
  margin-bottom: 32px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Subtle overlay pattern/shine for the header */
.question-header-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.step-question-title-new {
  font-size: 28px;
  color: #ffffff;
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .widget-start-content {
    padding: 32px 24px;
  }
  .landing-start-btn {
    font-size: 18px;
    padding: 16px 24px;
  }
  .step-question-title-new {
    font-size: 22px;
  }
  .question-header-block {
    padding: 24px 16px;
  }
}


/* --- NEW COMPLEX LANDING REDESIGN --- */
.landing-redesign {
  background: var(--color-white);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.landing-redesign-top {
  background: var(--color-petrol-dark);
  padding: 48px 32px 100px 32px;
  text-align: center;
}

.landing-redesign-title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  margin: 0;
}

.landing-cards-row {
  display: flex;
  gap: 20px;
  margin: -60px 32px 0 32px;
  position: relative;
  z-index: 2;
}

.landing-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  flex: 1;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-num {
  background: #fbd6d2;
  color: var(--color-petrol-dark);
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.landing-info-card h4 {
  color: var(--color-petrol-dark);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.landing-info-card p {
  color: var(--color-slate-600);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.landing-redesign-bottom {
  display: flex;
  background: #e6f0f9;
  border-radius: 24px;
  margin: 48px 32px 32px 32px;
  overflow: hidden;
}

.landing-redesign-img-col {
  flex: 1;
  max-width: 50%;
}

.landing-redesign-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-redesign-text-col {
  flex: 1;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.landing-redesign-text-col h3 {
  color: var(--color-petrol-dark);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.landing-redesign-text-col p {
  color: var(--color-slate-600);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Ensure landing-start-btn is visible and correct size */
.landing-start-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  padding: 16px 32px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}
.landing-start-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

@media (max-width: 768px) {
  .landing-cards-row {
    flex-direction: column;
    margin: -30px 16px 0 16px;
  }
  .landing-redesign-bottom {
    flex-direction: column;
    margin: 32px 16px 16px 16px;
  }
  .landing-redesign-img-col {
    max-width: 100%;
    height: 250px;
  }
}


/* --- NEW FULL WIDTH LANDING REDESIGN --- */
.landing-redesign-full {
  width: 100%;
  font-family: inherit;
  background: var(--color-gray-50);
}

.landing-full-top {
  background: var(--color-petrol-dark);
  padding: 80px 20px 160px 20px;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.landing-full-title {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
}

.landing-full-cards-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1200px;
  margin: -120px auto 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.landing-full-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  flex: 1;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.landing-full-card .card-num {
  background: #fbd6d2;
  color: var(--color-petrol-dark);
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.landing-full-card h4 {
  color: var(--color-petrol-dark);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.landing-full-card p {
  color: var(--color-slate-600);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.landing-full-bottom {
  display: flex;
  background: #e6f0f9;
  border-radius: 24px;
  max-width: 1200px;
  margin: 64px auto 64px auto;
  overflow: hidden;
}

.landing-full-img-col {
  flex: 1;
}

.landing-full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.landing-full-text-col {
  flex: 1;
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.landing-full-text-col h3 {
  color: var(--color-petrol-dark);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.landing-full-text-col p {
  color: var(--color-slate-600);
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.landing-full-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  color: white;
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
  width: auto;
}
.landing-full-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

@media (max-width: 992px) {
  .landing-full-cards-row {
    flex-direction: column;
    margin-top: -60px;
  }
  .landing-full-bottom {
    flex-direction: column;
    margin: 32px 20px;
  }
  .landing-full-img-col {
    height: 300px;
  }
  .landing-full-text-col {
    padding: 32px 24px;
  }
}

/* Logic to toggle test wrapper without JS */
#test-wrapper {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.assessment-section:has(#landing-page.hidden) #test-wrapper {
  display: block;
  opacity: 1;
}

/* Hide the duplicate title when test is running */
.assessment-section:has(#landing-page.hidden) .section-header-centered {
  display: block; /* Show it back, wait! Actually let's just leave it normal */
}


/* --- TRUSTINDEX REVIEWS SECTION --- */
.trustindex-reviews-section {
  background: var(--color-white);
  padding: 80px 24px;
}

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 48px;
}

.reviews-header {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
}

.reviews-subtitle {
  color: var(--color-petrol);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.reviews-title {
  color: var(--color-petrol-dark);
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 32px;
}

.trustindex-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.ti-excellent {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-petrol-dark);
}

.ti-stars-large {
  color: #00b67a;
  font-size: 32px;
  letter-spacing: 2px;
  display: flex;
}

.ti-star-box {
  background: #00b67a;
  color: white;
  padding: 1px 4px;
  margin-right: 3px;
  border-radius: 2px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.ti-based-on {
  font-size: 14px;
  color: var(--color-gray-600);
}

.ti-logo {
  margin-top: 8px;
}

.reviews-slider-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.reviews-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 16px;
  width: 100%;
}
.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 300px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

.review-stars {
  color: #00b67a;
  font-size: 20px;
  margin-bottom: 12px;
}

.review-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-petrol-dark);
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  color: var(--color-gray-600);
  margin-bottom: 16px;
  flex-grow: 1;
  line-height: 1.5;
}

.review-author {
  font-size: 12px;
  color: var(--color-gray-500);
}

@media (max-width: 900px) {
  .reviews-container {
    flex-direction: column;
  }
  .reviews-header {
    text-align: center;
    align-items: center;
  }
  .trustindex-summary {
    align-items: center;
  }
}


/* --- NEW FOOTER STYLES --- */
.site-footer-new {
  background: var(--color-white);
  color: var(--color-petrol-dark);
  padding: 80px 24px 40px;
  font-family: var(--font-family);
}

.footer-container-new {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 80px;
}

@media (max-width: 992px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-brand {
  display: flex;
  align-items: flex-start;
}

.footer-col-links h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-petrol-dark);
}

.footer-col-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col-links ul li {
  margin-bottom: 16px;
}

.footer-col-links ul li a {
  color: var(--color-slate-600);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-col-links ul li a:hover {
  color: var(--color-petrol-light);
}

.footer-middle-logo {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-petrol-dark);
  margin-bottom: 32px;
}

.footer-bottom-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--color-gray-200);
  padding-top: 32px;
}

@media (max-width: 768px) {
  .footer-bottom-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

.footer-address p {
  color: var(--color-slate-600);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 4px;
}

.footer-address a {
  color: var(--color-petrol-dark);
  text-decoration: none;
  font-weight: 600;
}





/* --- LOCATION SECTION --- */
.location-section {
  background: var(--color-petrol-dark);
  padding: 80px 24px;
}

.location-container {
  max-width: 1200px;
  margin: 0 auto;
}

.location-section .section-title {
  color: var(--color-white);
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 8px;
  font-weight: 500;
  text-align: center;
}

.location-section .section-subtitle {
  color: var(--color-gray-300);
  font-size: 18px;
  margin-bottom: 48px;
  text-align: center;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.location-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
}

.location-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  background: var(--color-white);
  padding: 8px;
  display: flex;
  flex-direction: column;
}

.map-wrapper iframe {
  flex: 1;
  min-height: 400px;
}
