/* ═══════════════════════════════════════════════════════════════════════════
   SmileWise — Premium Dental Consultation CSS Design System
   ═══════════════════════════════════════════════════════════════════════════ */

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

/* ── CSS Custom Properties ────────────────────────────────────────────────── */
:root {
  /* Colors */
  --blue-950: #081e42;
  --blue-900: #0c2d6b;
  --blue-800: #1340a0;
  --blue-700: #1e6db5;
  --blue-600: #0284c7;
  --blue-500: #38bdf8;
  --blue-100: #e0f2fe;
  --blue-50:  #f0f9ff;

  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-300: #5eead4;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --slate-950: #030712;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --danger:  #ef4444;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  --grad-hero:    linear-gradient(135deg, #081e42 0%, #0c2d6b 40%, #0d9488 100%);
  --grad-card:    linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --grad-accent:  linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
  --grad-subtle:  linear-gradient(135deg, var(--blue-50), var(--teal-50));
  --grad-glow:    radial-gradient(circle at 50% 0%, rgba(2, 132, 199, 0.15), transparent 70%);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py: 96px;

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

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl:  0 20px 50px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-blue: 0 10px 30px rgba(2, 132, 199, 0.25);
  --shadow-teal: 0 10px 30px rgba(13, 148, 136, 0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
}

.display-xl { font-size: clamp(2.5rem, 5vw, 4rem);   font-weight: 800; line-height: 1.1; }
.display-lg { font-size: clamp(2rem,   4vw, 3rem);    font-weight: 800; line-height: 1.15; }
.display-md { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.text-lead   { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--slate-600); line-height: 1.7; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }
.section-sm { padding: 64px 0; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  background: rgba(255,255,255,0.15);
}
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(30,109,181,0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue-700);
  border-color: var(--blue-700);
}
.btn-outline-blue:hover {
  background: var(--blue-700);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-xl { padding: 20px 48px; font-size: 18px; }

.btn-submit {
  width: 100%;
  justify-content: center;
  background: var(--grad-primary);
  color: var(--white);
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-blue);
}
.btn-submit:hover {
  box-shadow: 0 16px 48px rgba(30,109,181,0.4);
  transform: translateY(-2px);
}

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  transition: color 0.3s;
}

.nav.scrolled .nav-logo { color: var(--slate-900); }

.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}

.nav-logo span { color: var(--teal-400); }
.nav.scrolled .nav-logo span { color: var(--teal-500); }

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

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: all 0.2s;
}
.nav.scrolled .nav-link { color: var(--slate-600); }
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.15); }
.nav.scrolled .nav-link:hover { color: var(--blue-700); background: var(--blue-50); }

.nav-cta {
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--white) !important;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all 0.3s;
}
.nav.scrolled .nav-cta {
  background: var(--grad-primary);
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}
.nav-cta:hover { background: rgba(255,255,255,0.3) !important; transform: translateY(-1px); }
.nav.scrolled .nav-cta:hover { box-shadow: 0 8px 24px rgba(30,109,181,0.35) !important; background: var(--grad-primary) !important; }

/* Mobile menu toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav.scrolled .nav-hamburger span { background: var(--slate-700); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  padding: 16px 24px 24px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  border-top: 1px solid var(--slate-200);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { color: var(--slate-700); padding: 12px 16px; border-radius: var(--radius-md); font-size: 15px; }
.nav-mobile .nav-link:hover { color: var(--blue-700); background: var(--blue-50); }
.nav-mobile .nav-cta { text-align: center; background: var(--grad-primary); border-color: transparent; margin-top: 8px; color: var(--white) !important; }

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.hero-shape-1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.hero-shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; background: rgba(45,212,191,0.08); }
.hero-shape-3 { width: 200px; height: 200px; top: 40%; left: 30%; background: rgba(255,255,255,0.03); }

/* Floating dots */
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title span {
  background: linear-gradient(90deg, #7ee8f0, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat { text-align: left; }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,0.2); height: 40px; align-self: center; }

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-float {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 100%;
  max-width: 380px;
  animation: float 6s ease-in-out infinite;
}

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

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-avatar {
  width: 48px; height: 48px;
  background: var(--grad-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.hero-card-title { font-size: 15px; font-weight: 700; color: var(--white); }
.hero-card-sub   { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 2px; }

.hero-card-steps { display: flex; flex-direction: column; gap: 14px; }

.hero-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.3s;
}
.hero-step.active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
}

.hero-step-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.hero-step-icon.blue  { background: rgba(58,160,240,0.3); }
.hero-step-icon.teal  { background: rgba(45,212,191,0.3); }
.hero-step-icon.green { background: rgba(34,197,94,0.3); }
.hero-step-icon.amber { background: rgba(245,158,11,0.3); }

.hero-step-text { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 500; }

/* Floating badges around card */
.hero-badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}
.hero-badge-float .dot { width: 8px; height: 8px; border-radius: 50%; }

.hero-badge-float-1 { top: -16px; right: -16px; animation: float 5s ease-in-out infinite 1s; }
.hero-badge-float-2 { bottom: -16px; left: -16px; animation: float 5s ease-in-out infinite 2s; }

/* ── Section Header ───────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; color: var(--slate-900); }
.section-subtitle { font-size: 1.05rem; color: var(--slate-500); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ── Benefits Section ─────────────────────────────────────────────────────── */
.benefits { background: var(--slate-50); }

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

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--slate-200);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--blue-100); }
.benefit-card:hover::before { transform: scaleX(1); }

.benefit-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: var(--grad-subtle);
}

.benefit-title { font-size: 1.05rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.benefit-desc  { font-size: 14px; color: var(--slate-500); line-height: 1.6; }

/* ── How It Works ─────────────────────────────────────────────────────────── */
.how-it-works { background: var(--white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-700), var(--teal-500));
  z-index: 0;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-blue);
  transition: all 0.4s var(--ease);
  position: relative;
}

.step-card:nth-child(1) .step-number { border-color: var(--blue-700); }
.step-card:nth-child(2) .step-number { border-color: var(--teal-500); box-shadow: var(--shadow-teal); }
.step-card:nth-child(3) .step-number { border-color: var(--blue-600); }
.step-card:nth-child(4) .step-number { border-color: var(--teal-600); }

.step-card:hover .step-number { transform: scale(1.1) rotate(5deg); box-shadow: var(--shadow-xl); }

.step-num-label {
  position: absolute;
  top: -8px; right: -8px;
  background: var(--grad-primary);
  color: var(--white);
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title { font-size: 1rem; font-weight: 700; color: var(--slate-900); margin-bottom: 8px; }
.step-desc  { font-size: 13px; color: var(--slate-500); line-height: 1.6; }

/* ── Why SmileWise ────────────────────────────────────────────────────────── */
.why-smilewise {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.why-smilewise::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-content .section-tag { background: rgba(255,255,255,0.15); color: var(--white); border-color: rgba(255,255,255,0.3); }
.why-content .section-title { color: var(--white); }
.why-content .section-subtitle { color: rgba(255,255,255,0.75); max-width: none; text-align: left; }

.why-features { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}
.why-feature:hover { background: rgba(255,255,255,0.14); transform: translateX(6px); }

.why-feature-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.why-feature-title { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.why-feature-desc  { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }

.why-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
}
.why-stat-card:hover { background: rgba(255,255,255,0.16); transform: translateX(-6px); }

.why-stat-icon { font-size: 32px; }
.why-stat-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.why-stat-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq { background: var(--slate-50); }

.faq-grid { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.open { border-color: var(--blue-200, #bfdbfe); box-shadow: var(--shadow-md); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
  transition: color 0.2s;
}
.faq-item.open .faq-question { color: var(--blue-700); }

.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.faq-item.open .faq-icon { background: var(--blue-700); color: var(--white); transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--slate-600);
  line-height: 1.7;
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
}

/* ── CTA Section ──────────────────────────────────────────────────────────── */
.cta-section { background: var(--white); }

.cta-card {
  background: var(--grad-primary);
  border-radius: var(--radius-xl);
  padding: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
}

.cta-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-card p  { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

.cta-card .btn-white {
  background: var(--white);
  color: var(--blue-700);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border: 2px solid transparent;
}
.cta-card .btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,0.25); }

/* ── Disclaimer ───────────────────────────────────────────────────────────── */
.disclaimer-banner {
  background: linear-gradient(135deg, #fef9ec, #fff7ed);
  border-top: 4px solid var(--warning);
  padding: 24px 0;
}

.disclaimer-inner {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.disclaimer-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.disclaimer-title { font-size: 13px; font-weight: 700; color: #92400e; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.disclaimer-text  { font-size: 13px; color: #78350f; line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-logo span { color: var(--teal-400); }

.footer-about { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-400);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--teal-400); }

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--slate-400);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--teal-400); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-text { font-size: 13px; color: var(--slate-500); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 13px; color: var(--slate-500); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--teal-400); }

/* ══════════════════════════════════════════════════════════════════════════
   CONSULTATION PAGE
   ══════════════════════════════════════════════════════════════════════════ */

.consultation-hero {
  background: var(--grad-hero);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.consultation-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.consultation-hero h1 { color: var(--white); margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3rem); position: relative; z-index: 1; }
.consultation-hero p  { color: rgba(255,255,255,0.8); font-size: 1.05rem; position: relative; z-index: 1; }

/* Progress steps */
.form-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 36px;
  position: relative;
  z-index: 1;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}

.progress-step.active { color: var(--white); }
.progress-step.done   { color: rgba(255,255,255,0.7); }

.progress-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.3s;
}
.progress-step.active .progress-dot { background: var(--white); color: var(--blue-700); border-color: var(--white); }
.progress-step.done .progress-dot { background: var(--teal-500); border-color: var(--teal-500); color: var(--white); }

.progress-line {
  width: 60px; height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 0 4px;
}

/* Form Layout */
.consultation-body { background: var(--slate-50); padding: 64px 0; }

.form-wrapper {
  max-width: 840px;
  margin: 0 auto;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.form-card-header {
  padding: 24px 32px;
  background: var(--grad-subtle);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  gap: 14px;
}

.form-card-icon {
  width: 44px; height: 44px;
  background: var(--grad-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-blue);
}

.form-card-title { font-size: 1.05rem; font-weight: 700; color: var(--slate-900); }
.form-card-sub   { font-size: 13px; color: var(--slate-500); margin-top: 2px; }

.form-card-body { padding: 32px; }

/* Form fields */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row.single { grid-template-columns: 1fr; }
.form-row.triple { grid-template-columns: 1fr 1fr 1fr; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-700);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .required { color: var(--danger); }
.form-label .optional { color: var(--slate-400); font-weight: 400; font-size: 12px; }

.form-input, .form-select, .form-textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--slate-900);
  background: var(--white);
  transition: all 0.25s var(--ease);
  outline: none;
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(58,160,240,0.1);
}

.form-input.error, .form-select.error, .form-textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}

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

.form-textarea { resize: vertical; min-height: 120px; }
.form-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-error { font-size: 12px; color: var(--danger); display: none; align-items: center; gap: 4px; }
.form-error.visible { display: flex; }

/* Pain slider */
.pain-slider-wrap { margin-top: 4px; }

.pain-track {
  position: relative;
  height: 8px;
  background: linear-gradient(90deg, #22c55e, #f59e0b 50%, #ef4444);
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.pain-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.pain-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-700);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.2s;
  margin-top: -8px;
}
.pain-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.pain-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-700);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.pain-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--slate-400);
  margin-top: 4px;
}

.pain-value-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pain-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-700);
  line-height: 1;
}

.pain-label-text {
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--blue-50);
  color: var(--blue-700);
}

/* File upload */
.file-upload-zone {
  border: 2px dashed var(--slate-300);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  background: var(--slate-50);
}

.file-upload-zone:hover, .file-upload-zone.drag-over {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-icon { font-size: 48px; margin-bottom: 12px; }
.upload-title { font-size: 15px; font-weight: 600; color: var(--slate-700); margin-bottom: 6px; }
.upload-sub   { font-size: 13px; color: var(--slate-400); }
.upload-types { font-size: 12px; color: var(--slate-400); margin-top: 8px; }

.file-list-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.file-item-icon { font-size: 20px; flex-shrink: 0; }
.file-item-name { flex: 1; font-weight: 500; color: var(--slate-700); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item-size { color: var(--slate-400); flex-shrink: 0; }
.file-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-400);
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.file-item-remove:hover { background: #fee2e2; color: var(--danger); }

/* Consent checkboxes */
.consent-group { display: flex; flex-direction: column; gap: 16px; }

.consent-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.2s;
}
.consent-item:hover { border-color: var(--blue-300, #93c5fd); background: var(--blue-50); }
.consent-item.checked { border-color: var(--blue-500); background: var(--blue-50); }

.consent-checkbox {
  width: 20px; height: 20px;
  border: 2px solid var(--slate-300);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.2s;
  background: var(--white);
}
.consent-item.checked .consent-checkbox {
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.consent-check-icon { color: var(--white); font-size: 12px; font-weight: 700; display: none; }
.consent-item.checked .consent-check-icon { display: block; }

.consent-text { font-size: 14px; color: var(--slate-600); line-height: 1.5; }
.consent-text strong { color: var(--slate-800); }

.form-disclaimer {
  background: linear-gradient(135deg, #fef9ec, #fff7ed);
  border: 1px solid #fde68a;
  border-left: 4px solid var(--warning);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Loading state */
.btn-loading {
  pointer-events: none;
  opacity: 0.8;
}
.btn-loading .btn-text { display: none; }
.btn-loading .btn-spinner { display: flex; }
.btn-spinner { display: none; align-items: center; gap: 10px; }

@keyframes spin {
  to { transform: rotate(360deg); }
}
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ══════════════════════════════════════════════════════════════════════════
   SUCCESS PAGE
   ══════════════════════════════════════════════════════════════════════════ */
.success-page {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.success-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.success-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-xl);
  animation: successIn 0.6s var(--ease-bounce) both;
}

@keyframes successIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.success-icon-wrap {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 48px;
  animation: scaleIn 0.5s var(--ease-bounce) 0.3s both;
}

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

.success-title { font-size: 1.8rem; color: var(--slate-900); margin-bottom: 12px; }
.success-sub   { font-size: 1rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 32px; }

.success-case-box {
  background: var(--grad-subtle);
  border: 2px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
}

.success-case-label { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--slate-400); margin-bottom: 10px; }
.success-case-id {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--blue-700);
  letter-spacing: 3px;
}

.success-steps {
  text-align: left;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.success-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.success-step-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  margin-top: 6px;
  flex-shrink: 0;
}

.success-step-text { font-size: 14px; color: var(--slate-600); line-height: 1.5; }
.success-step-text strong { color: var(--slate-800); }

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

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS & SCROLL EFFECTS
   ══════════════════════════════════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-sub, .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-actions   { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero-visual    { display: none; }
  .why-inner      { grid-template-columns: 1fr; gap: 48px; }
  .why-content .section-subtitle { text-align: center; }
  .why-content .section-tag { margin: 0 auto; }
  .why-visual     { flex-direction: row; flex-wrap: wrap; }
  .why-stat-card  { flex: 1; min-width: 200px; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 32px; }
  .benefits-grid  { grid-template-columns: 1fr 1fr; }
  .steps-grid     { grid-template-columns: 1fr 1fr; gap: 48px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid    { grid-template-columns: 1fr; }
  .form-row      { grid-template-columns: 1fr; }
  .form-row.triple { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }
  .cta-card      { padding: 48px 24px; }
  .success-card  { padding: 36px 24px; }
  .why-stat-card { flex-direction: column; text-align: center; }
  .consultation-hero { padding: 100px 0 40px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats   { flex-direction: column; align-items: center; gap: 16px; }
  .hero-stat-divider { display: none; }
  .form-card-body { padding: 20px; }
  .form-card-header { padding: 16px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MODAL WINDOWS & INTERACTIVE FEATURES
   ══════════════════════════════════════════════════════════════════════════ */

/* Toast Container */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--slate-900);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--teal-400);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s var(--ease-bounce);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success { border-left-color: var(--success); }
.toast-info    { border-left-color: var(--teal-400); }
.toast-warning { border-left-color: var(--warning); }

/* Modal Overlay & Card */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

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

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.3s var(--ease-bounce);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 24px 32px;
  background: linear-gradient(135deg, var(--slate-900), var(--blue-900));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-800);
}

.modal-header-title {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  line-height: 1.7;
  color: var(--slate-700);
  font-size: 15px;
}

/* Sample Consultation Report Card inside Modal */
.sample-report-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 16px;
}

.sample-report-header {
  border-bottom: 2px solid var(--blue-100);
  padding-bottom: 16px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sample-report-tag {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.sample-badge-urgency {
  background: #fef3c7;
  color: #92400e;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

/* Symptom Assessment Quiz Widget */
.quiz-container {
  background: linear-gradient(145deg, #ffffff, #f0fdfa);
  border: 2px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin-top: 32px;
}

.quiz-header {
  text-align: center;
  margin-bottom: 28px;
}

.quiz-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.quiz-sub {
  font-size: 15px;
  color: var(--slate-600);
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.quiz-chip {
  background: var(--white);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--slate-800);
}

.quiz-chip:hover {
  border-color: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quiz-chip.selected {
  border-color: var(--teal-500);
  background: var(--teal-50);
  color: var(--teal-600);
}

.quiz-chip-icon {
  font-size: 24px;
}

.quiz-result-box {
  background: var(--slate-900);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: none;
  animation: fadeIn 0.4s ease;
}

.quiz-result-box.active {
  display: block;
}

/* Case Status Lookup Box */
.case-lookup-wrap {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.case-lookup-input-wrap {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 280px;
}

.case-lookup-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 2px solid var(--slate-200);
  font-size: 15px;
  font-family: monospace;
  font-weight: 600;
  text-transform: uppercase;
}

.case-lookup-input:focus {
  outline: none;
  border-color: var(--blue-700);
}

/* Image Thumbnail Grid Preview */
.thumb-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.thumb-preview-card {
  position: relative;
  width: 100%;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--slate-200);
  background: var(--slate-100);
}

.thumb-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-preview-card .thumb-file-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.thumb-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

/* Doctor Verified Card */
.doctor-card {
  background: linear-gradient(135deg, var(--blue-900), #1e3a8a);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 40px 0;
}

.doctor-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.doctor-avatar-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-400), var(--blue-500));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.doctor-verified-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  background: var(--success);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid var(--white);
}

/* Testimonial Star Ratings */
.rating-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 8px;
}

/* ── Enhanced UI & Micro-Animations ────────────────────────────────────────── */
h1, h2, h3, .hero-title, .section-title {
  font-family: var(--font-display);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-title span {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Radiant CTA Button Shine Effect */
.btn-primary, .btn-submit, .nav-cta {
  position: relative;
  overflow: hidden;
}

.btn-primary::after, .btn-submit::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.8s ease;
}

.btn-primary:hover::after, .btn-submit:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* Card Glow Hover Effects */
.benefit-card, .form-card, .quiz-container, .case-lookup-wrap {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal-300);
}

/* Polished Form Inputs */
.form-input, .form-select, .form-textarea {
  border: 2px solid var(--slate-200);
  background: var(--slate-50);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--slate-900);
  transition: all 0.25s var(--ease);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

/* Success Certificate Card Polish */
.success-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
}

.success-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grad-primary);
}

.success-case-box {
  background: linear-gradient(135deg, var(--blue-50), var(--teal-50));
  border: 2px dashed var(--teal-300);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.success-case-id {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: 2px;
}


