/* ==========================================================================
   LANDING PAGE TEST THIẾU VI CHẤT - DƯỢC SĨ CHUYÊN MÔN & BEEKING CARE
   Modern Medical Aesthetic Design System (Vanilla CSS)
   ========================================================================== */

:root {
  /* Brand Medical Palette */
  --teal-950: #042f2e;
  --teal-900: #134e4a;
  --teal-800: #115e59;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;

  --emerald-900: #064e3b;
  --emerald-800: #065f46;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-100: #d1fae5;
  --emerald-50:  #ecfdf5;

  --navy-950: #030712;
  --navy-900: #0b1329;
  --navy-800: #0f172a;
  --navy-700: #1e293b;

  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;
  --gold-50:  #fffbeb;

  --rose-700: #be123c;
  --rose-600: #e11d48;
  --rose-500: #f43f5e;
  --rose-100: #ffe4e6;
  --rose-50:  #fff1f2;

  --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;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 12px -2px rgba(15, 23, 42, 0.08), 0 3px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 6px 12px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 30px -6px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
  --shadow-teal: 0 10px 25px -5px rgba(15, 118, 110, 0.25);
  --shadow-gold: 0 10px 25px -5px rgba(245, 158, 11, 0.3);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: var(--slate-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Top Alert Bar & Header
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, var(--teal-900), var(--emerald-800));
  color: var(--white);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.announcement-bar span.badge-pill {
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--slate-200);
}

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

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--teal-900);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 500;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald-700);
  background: var(--emerald-50);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--emerald-100);
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--teal-700), var(--emerald-600));
  color: var(--white);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-teal);
  filter: brightness(1.05);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%);
  padding: 50px 0 30px;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-100);
  color: var(--teal-900);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.hero-meta-badge svg {
  color: var(--teal-700);
}

.hero-title {
  font-size: 2.45rem;
  line-height: 1.28;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title .highlight-gold {
  color: var(--gold-600);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.72;
  color: var(--slate-700);
  margin-bottom: 24px;
}

.hero-desc strong {
  color: var(--teal-900);
  font-weight: 800;
}

.hero-key-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.key-point-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--slate-800);
}

.key-point-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-cta-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-primary-quiz {
  background: linear-gradient(135deg, #0f766e 0%, #047857 100%);
  color: var(--white);
  padding: 15px 32px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px -4px rgba(15, 118, 110, 0.4);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary-quiz:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(15, 118, 110, 0.5);
  filter: brightness(1.08);
}

.quiz-quick-note {
  font-size: 0.85rem;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--slate-300);
}

.avatar-stack {
  display: flex;
}

.avatar-stack img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -10px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.35;
}

.proof-text strong {
  color: var(--teal-900);
}

/* Hero Right Side - Doctor Card Preview */
.hero-card-preview {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

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

.doctor-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--teal-500);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-avatar-circle.medical-badge-circle {
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--emerald-700) 100%);
  color: var(--gold-400);
  border: 2px solid var(--teal-400);
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.3);
}

.doctor-avatar-circle.medical-badge-circle svg {
  color: var(--white);
}

.doctor-intro h4 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--teal-950);
}

.doctor-intro p {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.hero-card-badge {
  background: var(--gold-50);
  border: 1px solid var(--gold-400);
  color: var(--gold-700);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
}

.preview-symptoms-box {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--slate-200);
}

.preview-box-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate-500);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.symptom-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.symptom-tag {
  background: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.symptom-tag.danger {
  color: var(--rose-700);
  background: var(--rose-50);
  border-color: var(--rose-100);
}

.hero-mini-cta {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: block;
}

.hero-mini-cta:hover {
  filter: brightness(1.08);
}

/* ==========================================================================
   Interactive Quiz Assessment Section (THE CORE ENGINE)
   ========================================================================== */
.quiz-section {
  padding: 40px 0 70px;
  background: var(--slate-50);
  position: relative;
}

.quiz-wrapper-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  box-shadow: 0 15px 40px -10px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  position: relative;
}

/* Quiz Header Bar */
.quiz-card-topbar {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-800));
  color: var(--white);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.quiz-icon-shield {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-400);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-title h3 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.topbar-title p {
  font-size: 0.82rem;
  color: var(--teal-100);
  margin-top: 2px;
}

.topbar-step-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Animated Progress Bar */
.quiz-progress-track {
  width: 100%;
  height: 6px;
  background: var(--slate-200);
  position: relative;
}

.quiz-progress-fill {
  height: 100%;
  width: 14.28%; /* 1/7 */
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(20, 184, 166, 0.5);
}

/* Intake Onboarding Screen (Step 0) */
.quiz-intake-screen {
  padding: 36px 32px 30px;
}

.intake-banner {
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.intake-banner-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.intake-banner-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--teal-950);
}

.intake-banner-text p {
  font-size: 0.88rem;
  color: var(--slate-600);
  margin-top: 2px;
}

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

.intake-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.intake-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.intake-field label span.required {
  color: var(--rose-600);
}

.intake-field input[type="text"],
.intake-field input[type="number"] {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-300);
  background: var(--slate-50);
  font-size: 0.98rem;
  color: var(--slate-800);
  outline: none;
  transition: var(--transition-fast);
}

.intake-field input:focus {
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.field-hint-text {
  font-size: 0.82rem;
  color: var(--slate-500);
  margin-top: 3px;
  line-height: 1.4;
  display: block;
}

.quick-age-wrapper {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-age-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-900);
}

.quick-age-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.age-pill {
  background: var(--white);
  border: 1.5px solid var(--teal-300);
  color: var(--teal-900);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  touch-action: manipulation;
}

.age-pill:hover,
.age-pill:active {
  background: var(--teal-50);
  border-color: var(--teal-600);
}

.age-pill.active {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.supplement-options-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.supplement-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.supplement-chip:hover {
  background: var(--white);
  border-color: var(--teal-500);
}

.supplement-chip.selected {
  background: var(--teal-50);
  border-color: var(--teal-700);
  color: var(--teal-950);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 118, 110, 0.12);
}

.supplement-chip-indicator {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  background: var(--white);
}

.supplement-chip.selected .supplement-chip-indicator {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white);
}

.supplement-chip span.label {
  font-size: 0.88rem;
  line-height: 1.3;
}

.btn-start-intake {
  background: linear-gradient(135deg, var(--teal-700) 0%, var(--emerald-600) 100%);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-teal);
  transition: all var(--transition-normal);
  cursor: pointer;
  width: 100%;
}

.btn-start-intake:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.4);
}

.intake-note-secure {
  text-align: center;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* User Active Profile Pill in Header */
.user-profile-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-300);
  display: none;
}

/* Quiz Body */
.quiz-content-area {
  padding: 36px 32px 30px;
}

.question-header {
  margin-bottom: 24px;
}

.question-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  border: 1px solid var(--teal-100);
}

.question-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.38;
  margin-bottom: 8px;
}

.question-subtitle {
  font-size: 0.92rem;
  color: var(--slate-500);
}

.senior-tap-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fefce8;
  border: 1.5px solid #fde047;
  color: #854d0e;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(234, 179, 8, 0.12);
  line-height: 1.4;
}

.tap-hand-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  animation: tapBounce 1.6s infinite ease-in-out;
}

@keyframes tapBounce {
  0%, 100% { transform: scale(1) translateX(0); }
  50% { transform: scale(1.18) translateX(4px); }
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--slate-50);
  border: 2px solid var(--slate-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  user-select: none;
}

.option-card:hover {
  background: var(--white);
  border-color: var(--teal-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.option-card.selected {
  background: var(--teal-50);
  border-color: var(--teal-700);
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.15);
}

.option-checkbox-indicator {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--slate-300);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
  background: var(--white);
}

.option-card.selected .option-checkbox-indicator {
  background: var(--teal-700);
  border-color: var(--teal-700);
  color: var(--white);
}

.option-icon-box {
  font-size: 1.35rem;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--slate-200);
}

.option-info {
  flex: 1;
}

.option-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.3;
}

.option-card.selected .option-label {
  color: var(--teal-900);
}

.option-hint {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 3px;
}

/* Quiz Controls / Buttons */
.quiz-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
  gap: 16px;
}

.btn-quiz-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  color: var(--slate-600);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid var(--slate-300);
  background: var(--white);
  transition: var(--transition-fast);
}

.btn-quiz-back:hover:not(:disabled) {
  background: var(--slate-100);
  color: var(--slate-800);
}

.btn-quiz-back:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--teal-700), var(--emerald-600));
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-teal);
  transition: all var(--transition-normal);
}

.btn-quiz-next:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
}

.btn-quiz-next:disabled {
  background: var(--slate-300);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Analyzing / Scanner Animation State
   ========================================================================== */
.quiz-analyzing-screen {
  display: none;
  text-align: center;
  padding: 60px 24px;
}

.scanner-ring-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
  position: relative;
}

.scanner-spinner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--slate-200);
  border-top-color: var(--teal-600);
  border-right-color: var(--gold-500);
  animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.scanner-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2rem;
  color: var(--teal-700);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.analyzing-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.analyzing-step-text {
  font-size: 0.95rem;
  color: var(--teal-700);
  font-weight: 600;
  min-height: 24px;
}

.analyzing-bars {
  width: 240px;
  height: 8px;
  background: var(--slate-200);
  border-radius: var(--radius-full);
  margin: 20px auto 0;
  overflow: hidden;
  position: relative;
}

.analyzing-bars-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
  border-radius: var(--radius-full);
  animation: fillAnalysis 2.2s ease-in-out forwards;
}

@keyframes fillAnalysis {
  0% { width: 5%; }
  30% { width: 45%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

/* ==========================================================================
   Quiz Results Dashboard (RICH & CLINICAL)
   ========================================================================== */
.quiz-results-container {
  display: none;
  padding: 10px 0;
}

.result-card-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--teal-950) 100%);
  color: var(--white);
  border-radius: var(--radius-2xl);
  padding: 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.result-card-banner::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.result-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.result-title-group h3 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.result-title-group p {
  font-size: 0.92rem;
  color: var(--slate-300);
  margin-top: 4px;
}

.result-risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rose-500);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.4);
}

.result-risk-badge.warning {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.result-risk-badge.good {
  background: var(--emerald-500);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.result-overview-summary {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate-100);
}

.result-overview-summary strong {
  color: var(--gold-400);
}

/* Micronutrient Breakdown Cards Grid */
.breakdown-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.micronutrient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.nutrient-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 22px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.nutrient-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}

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

.nutrient-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--teal-900);
}

.nutrient-risk-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.risk-high {
  background: var(--rose-100);
  color: var(--rose-700);
}

.risk-med {
  background: var(--gold-100);
  color: var(--gold-700);
}

.risk-low {
  background: var(--emerald-100);
  color: var(--emerald-700);
}

.nutrient-meter-wrap {
  margin-bottom: 14px;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 4px;
}

.meter-track {
  width: 100%;
  height: 8px;
  background: var(--slate-100);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease-out;
}

.meter-fill.danger { background: linear-gradient(90deg, #f87171, #ef4444); }
.meter-fill.warning { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.meter-fill.normal { background: linear-gradient(90deg, #34d399, #10b981); }

.nutrient-symptoms {
  font-size: 0.85rem;
  color: var(--slate-600);
  margin-bottom: 12px;
  line-height: 1.5;
  flex: 1;
}

.nutrient-symptoms strong {
  color: var(--slate-800);
}

.nutrient-action {
  font-size: 0.8rem;
  padding: 8px 12px;
  background: var(--teal-50);
  color: var(--teal-900);
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 1px solid var(--teal-100);
}

/* Pharmacist Prescription & Solution Box */
.solution-advice-box {
  background: linear-gradient(135deg, #f0fdfa, #f8fafc);
  border: 2px solid var(--teal-600);
  border-radius: var(--radius-2xl);
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
}

.doctor-badge-ribbon {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--teal-700);
  color: var(--white);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.solution-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}

.solution-doctor-seal {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  flex-shrink: 0;
}

.solution-doctor-seal .seal-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.solution-doctor-seal .seal-text-sub {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--teal-100);
}

.solution-doctor-seal .seal-text-main {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.2;
}

.solution-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-950);
  margin-bottom: 8px;
}

.solution-content p {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 14px;
}

.solution-pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.solution-tag {
  background: var(--white);
  border: 1px solid var(--teal-200);
  color: var(--teal-800);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Lead Consultation Form */
.result-lead-card {
  background: var(--white);
  border: 2px solid var(--gold-400);
  border-radius: var(--radius-2xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.lead-ribbon-tag {
  background: var(--gold-500);
  color: var(--navy-950);
  position: absolute;
  top: 18px;
  right: -32px;
  transform: rotate(45deg);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 4px 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.lead-title-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 24px;
}

.lead-title-box h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.lead-title-box p {
  font-size: 0.92rem;
  color: var(--slate-600);
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate-700);
}

.form-group input,
.form-group select {
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--slate-300);
  outline: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  background: var(--slate-50);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--teal-600);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

.btn-submit-consultation {
  background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
  color: var(--white);
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.btn-submit-consultation:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 25px rgba(245, 158, 11, 0.45);
}

.form-privacy-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--slate-500);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.result-retake-action {
  text-align: center;
  margin-top: 20px;
}

.btn-retake-quiz {
  color: var(--slate-600);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  background: none;
  padding: 8px;
}

.btn-retake-quiz:hover {
  color: var(--teal-700);
}

/* ==========================================================================
   Section: Triệu chứng Lâm Sàng & Phân Tích Chuyên Sâu
   ========================================================================== */
.symptoms-gallery-section {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
}

.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--slate-600);
}

.symptoms-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.symptom-feature-card {
  background: var(--slate-50);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: var(--transition-normal);
}

.symptom-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}

.symptom-card-thumb {
  height: 180px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.symptom-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.symptom-feature-card:hover .symptom-card-thumb img {
  transform: scale(1.05);
}

.symptom-tag-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.symptom-card-body {
  padding: 20px;
}

.symptom-card-body h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.symptom-card-body p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 12px;
}

.symptom-nutrient-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-800);
  background: var(--teal-100);
  padding: 4px 10px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Section: Vì Sao Sau Tuổi 40-50 Cơ Thể Dễ Thiếu Vi Chất
   ========================================================================== */
.why-deficient-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--slate-50) 0%, #ecfdf5 100%);
}

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

.reason-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 118, 110, 0.1);
  text-align: center;
  transition: var(--transition-normal);
}

.reason-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.reason-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
  border: 1px solid var(--teal-200);
}

.reason-box h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--teal-950);
  margin-bottom: 10px;
}

.reason-box p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   Section: Bảng Đối Chiếu Lâm Sàng
   ========================================================================== */
.table-comparison-section {
  padding: 60px 0;
  background: var(--white);
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  margin-top: 30px;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--white);
  min-width: 680px;
}

.comparison-table th {
  background: var(--teal-900);
  color: var(--white);
  padding: 16px 20px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.comparison-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--slate-200);
  color: var(--slate-700);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background: var(--slate-50);
}

.nutrient-badge-cell {
  font-weight: 800;
  color: var(--teal-800);
}

/* ==========================================================================
   Section: Đội Ngũ Dược Sĩ Chuyên Môn & Uy Tín
   ========================================================================== */
.doctor-profile-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--teal-950) 0%, var(--navy-900) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}

.medical-council-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.7);
  border: 2px solid rgba(20, 184, 166, 0.35);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  padding: 32px 28px;
}

.council-card-header {
  text-align: center;
  margin-bottom: 24px;
}

.council-shield-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-700), var(--emerald-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.4);
  border: 2px solid var(--teal-300);
}

.council-badge-pill {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.council-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}

.council-desc {
  font-size: 0.85rem;
  color: var(--slate-300);
  margin-top: 4px;
}

.council-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.council-stat-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 14px 12px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-400);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--slate-300);
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.3;
}

.council-commitment-footer {
  text-align: center;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.commitment-badge {
  font-size: 0.78rem;
  color: var(--teal-100);
  font-weight: 600;
  line-height: 1.4;
}

.doctor-bio-content h2 {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--white);
}

.doctor-bio-content h2 span {
  color: var(--gold-400);
}

.doctor-philosophy {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--teal-100);
  margin-bottom: 20px;
  border-left: 3px solid var(--gold-400);
  padding-left: 16px;
}

.doctor-bio-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.bio-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--slate-200);
}

.bio-point svg {
  color: var(--gold-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.btn-consult-doctor {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
  color: var(--navy-950);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.98rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-gold);
  transition: var(--transition-normal);
}

.btn-consult-doctor:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ==========================================================================
   Section: Testimonials / Phản hồi thực tế
   ========================================================================== */
.testimonials-section {
  padding: 60px 0;
  background: var(--slate-50);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  display: flex;
  flex-direction: column;
}

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

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-500);
}

.testimonial-author h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--slate-500);
}

.testimonial-stars {
  color: var(--gold-500);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.testimonial-quote {
  font-size: 0.92rem;
  color: var(--slate-700);
  line-height: 1.6;
  flex: 1;
}

.testimonial-badge {
  margin-top: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-700);
  background: var(--emerald-50);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  border: 1px solid var(--emerald-200);
}

/* ==========================================================================
   Section: FAQ
   ========================================================================== */
.faq-section {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--slate-200);
}

.faq-accordion {
  max-width: 800px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--slate-50);
  transition: var(--transition-fast);
}

.faq-item.active {
  background: var(--white);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-icon-arrow {
  transition: transform var(--transition-normal);
  color: var(--teal-700);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 22px;
  color: var(--slate-600);
  font-size: 0.93rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-400);
  padding: 50px 0 30px;
  border-top: 1px solid var(--slate-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 480px;
}

.footer-contact h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-contact-list {
  list-style: none;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-disclaimer {
  padding-top: 24px;
  border-top: 1px solid var(--slate-800);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--slate-400);
  text-align: center;
}

/* ==========================================================================
   Mobile Sticky Quick Access Bar
   ========================================================================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--slate-200);
  z-index: 99;
}

.mobile-sticky-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--teal-700), var(--emerald-600));
  color: var(--white);
  padding: 13px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-teal);
}

/* Modal Popup Success */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-2xl);
  max-width: 480px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--emerald-100);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.modal-dialog h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.modal-dialog p {
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 24px;
}

.btn-modal-close {
  background: var(--teal-700);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-card-preview {
    max-width: 580px;
    margin: 0 auto;
  }
  .doctor-profile-grid {
    grid-template-columns: 1fr;
  }
  .doctor-portrait-box {
    max-width: 400px;
    margin: 0 auto;
  }
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   Comprehensive Mobile & Senior Experience Optimization (iOS & Android)
   ========================================================================== */
@media (max-width: 768px) {
  /* Prevent horizontal overflow and enable smooth rendering */
  html, body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom));
  }

  /* Global touch targets & prevent iOS Safari auto-zoom */
  button, input, select, textarea, .option-card, .supplement-chip, .age-pill {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  input, select, textarea {
    font-size: 17px !important; /* Strict protection against iOS Safari viewport auto-zoom */
  }

  /* Announcement Bar */
  .announcement-bar {
    font-size: 0.8rem;
    padding: 8px 12px;
    line-height: 1.4;
    text-align: center;
  }
  .announcement-bar .badge-pill {
    padding: 2px 7px;
    font-size: 0.72rem;
  }

  /* Header */
  .site-header {
    padding: 10px 0;
  }
  .header-inner {
    padding: 0 14px;
    gap: 8px;
  }
  .header-trust {
    display: none;
  }
  .brand-logo {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 0.92rem;
    line-height: 1.25;
  }
  .btn-header-cta {
    padding: 8px 12px;
    font-size: 0.82rem;
    gap: 4px;
  }
  .btn-header-cta svg {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 24px 0 32px;
  }
  .hero-meta-badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.35;
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .hero-trust-list {
    gap: 10px;
    margin-bottom: 22px;
  }
  .trust-item {
    font-size: 0.92rem;
    line-height: 1.4;
  }
  .hero-cta-box {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-primary-quiz {
    width: 100%;
    min-height: 56px;
    font-size: 1.05rem;
    font-weight: 800;
    justify-content: center;
    border-radius: var(--radius-full);
  }
  .hero-guarantee {
    justify-content: center;
    font-size: 0.85rem;
  }

  /* Quiz Section & Card */
  .quiz-section {
    padding: 16px 0 36px;
  }
  .quiz-wrapper-card {
    border-radius: 20px;
    margin: 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  }
  .quiz-card-topbar {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .quiz-doctor-avatar {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .quiz-doctor-text h3 {
    font-size: 0.92rem;
  }
  .quiz-doctor-text p {
    font-size: 0.75rem;
  }
  .topbar-step-badge {
    font-size: 0.85rem;
    padding: 4px 10px;
  }
  .user-profile-badge {
    font-size: 0.8rem;
    padding: 3px 10px;
  }

  /* Step 0: Intake Form on Mobile */
  .quiz-intake-screen {
    padding: 20px 16px;
  }
  .intake-banner {
    padding: 14px;
    margin-bottom: 20px;
    gap: 12px;
  }
  .intake-banner-icon {
    font-size: 1.4rem;
  }
  .intake-banner-text h4 {
    font-size: 1rem;
    line-height: 1.35;
  }
  .intake-banner-text p {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .intake-form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 22px;
  }
  .intake-field label {
    font-size: 0.98rem;
    line-height: 1.4;
    font-weight: 700;
  }
  .intake-field input[type="text"],
  .intake-field input[type="number"] {
    height: 54px;
    padding: 12px 16px;
    font-size: 1.05rem !important;
    border-radius: 12px;
  }
  .quick-age-wrapper {
    margin-top: 8px;
  }
  .quick-age-label {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  .quick-age-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .age-pill {
    padding: 10px 14px;
    font-size: 0.92rem;
    min-height: 42px;
    border-radius: 10px;
  }
  .supplement-options-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .supplement-chip {
    padding: 14px 14px;
    min-height: 56px;
    border-radius: 12px;
    gap: 12px;
  }
  .supplement-chip-indicator {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    font-size: 0.9rem;
    border-width: 2px;
  }
  .supplement-chip span.label {
    font-size: 0.98rem;
    line-height: 1.4;
  }
  .btn-start-intake {
    width: 100%;
    min-height: 56px;
    font-size: 1.08rem;
    border-radius: var(--radius-full);
    padding: 14px 20px;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
  }
  .intake-note-secure {
    font-size: 0.82rem;
    margin-top: 14px;
  }

  /* Step 1-6: Quiz Question Area on Mobile */
  .quiz-content-area {
    padding: 22px 16px;
  }
  .question-header {
    margin-bottom: 18px;
  }
  .question-category {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  .question-title {
    font-size: 1.28rem;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--navy-950);
  }
  .question-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .senior-tap-hint {
    font-size: 0.92rem;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
  }

  /* Option Cards for Seniors on Mobile */
  .options-grid {
    gap: 12px;
    margin-bottom: 24px;
  }
  .option-card {
    padding: 16px 14px;
    min-height: 64px;
    border-radius: 14px;
    gap: 12px;
    border-width: 2px;
  }
  .option-checkbox-indicator {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border-width: 2px;
  }
  .option-icon-box {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }
  .option-label {
    font-size: 1.04rem;
    line-height: 1.38;
    color: #0f172a;
  }
  .option-hint {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.4;
    margin-top: 4px;
  }
  .option-card.selected {
    background: #f0fdfa;
    border-color: var(--teal-700);
    border-width: 2.5px;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.2);
  }

  /* Quiz Action Buttons on Mobile */
  .quiz-action-bar {
    flex-direction: column-reverse;
    gap: 10px;
    padding-top: 16px;
  }
  .btn-quiz-back {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
  }
  .btn-quiz-next {
    width: 100%;
    min-height: 56px;
    justify-content: center;
    font-size: 1.08rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.35);
  }

  /* Result Screen on Mobile */
  .result-card-banner {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .result-header-flex {
    flex-direction: column;
    gap: 12px;
  }
  .result-title-group h3 {
    font-size: 1.25rem;
    line-height: 1.4;
  }
  .result-risk-badge {
    align-self: flex-start;
    font-size: 0.9rem;
    padding: 6px 14px;
  }
  .result-overview-summary {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 14px;
  }
  .micronutrient-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .nutrient-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .nutrient-title {
    font-size: 1.05rem;
  }
  .nutrient-symptoms {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .nutrient-action {
    font-size: 0.88rem;
    line-height: 1.5;
    padding: 10px 12px;
  }

  /* Pharmacist Advice Box */
  .solution-advice-box {
    padding: 22px 16px;
    border-radius: 16px;
  }
  .solution-grid {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 16px;
  }
  .solution-doctor-seal {
    margin: 0 auto;
  }
  .solution-content h4 {
    font-size: 1.1rem;
    line-height: 1.35;
  }
  .solution-content p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .solution-pill-tags {
    flex-direction: column;
    gap: 6px;
  }
  .solution-tag {
    font-size: 0.88rem;
    padding: 6px 12px;
  }

  /* Lead Consultation Form */
  .result-lead-card {
    padding: 24px 16px;
    border-radius: 18px;
  }
  .lead-title-box h3 {
    font-size: 1.3rem;
    line-height: 1.35;
  }
  .lead-title-box p {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .lead-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-group label {
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 700;
  }
  .form-group input,
  .form-group select {
    height: 54px;
    padding: 12px 14px;
    font-size: 1.05rem !important;
    border-radius: 12px;
  }
  .btn-submit-consultation {
    min-height: 58px;
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    padding: 14px 16px;
    line-height: 1.35;
    text-align: center;
  }
  .form-privacy-note {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 14px;
  }

  /* Mobile Sticky Bottom Bar */
  .mobile-sticky-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(15, 118, 110, 0.15);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .mobile-sticky-btn {
    width: 100%;
    min-height: 52px;
    font-size: 0.98rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    justify-content: center;
  }

  /* Footer & Modals */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .modal-dialog {
    margin: 16px;
    padding: 26px 18px;
    border-radius: 20px;
    width: calc(100% - 32px);
  }
  .modal-dialog h3 {
    font-size: 1.35rem;
  }
  .modal-dialog p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  .btn-modal-close {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
    font-weight: 800;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-meta-badge {
    font-size: 0.78rem;
  }
  .question-title {
    font-size: 1.2rem;
  }
  .option-label {
    font-size: 1rem;
  }
  .btn-submit-consultation {
    font-size: 0.98rem;
    padding: 12px 14px;
  }
}
