/* ===== INDEX PAGE STYLES ===== */
/* Separated from inline <style> for cacheability */

:root {
  --sam-red: #D42B2B;
  --sam-red-dark: #A61D1D;
  --sam-red-light: #F8E8E8;
  --sam-bg: #FDFBFA;
  --sam-surface: #FFFFFF;
  --sam-surface-alt: #F3F0EC;
  --sam-heading: #111827;
  --sam-body: #4B5563;
  --sam-muted: #9CA3AF;
  --sam-border: #E5E7EB;
}
body.dark {
  --sam-bg: #0F172A;
  --sam-surface: #1E293B;
  --sam-surface-alt: #334155;
  --sam-heading: #F8FAFC;
  --sam-body: #CBD5E1;
  --sam-muted: #64748B;
  --sam-border: #334155;
  --sam-red-light: rgba(166, 29, 29, 0.2);
}

/* Skip link */
.idx-skip {
  position: absolute; top: -40px; left: 0;
  background: var(--sam-red); color: #fff;
  padding: 8px 16px; text-decoration: none;
  z-index: 100; font-weight: 600; font-size: 14px;
}
.idx-skip:focus { top: 0; }

/* === HERO SCENE === */
.idx-scene {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, #E8F4FD 0%, #C4E3F3 30%, #EEF2F5 50%, #FAF5F0 80%, #FFF8F3 100%);
}
body.dark .idx-scene {
  background: linear-gradient(180deg, #0A1628 0%, #132848 30%, #1A2A40 50%, #121212 80%, #0E0E0E 100%);
}
/* Sun */
.idx-sun {
  position: absolute;
  top: 8%; right: 20%;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #FFFFFF, #FFF5E0 40%, #FFE8B8 80%);
  box-shadow: 0 0 80px 40px rgba(255,240,200,0.4), 0 0 200px 80px rgba(255,220,150,0.15);
  animation: idx-sun-pulse 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes idx-sun-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 80px 40px rgba(255,240,200,0.4), 0 0 200px 80px rgba(255,220,150,0.15); }
  50% { transform: scale(1.05); box-shadow: 0 0 100px 55px rgba(255,240,200,0.5), 0 0 240px 100px rgba(255,220,150,0.2); }
}
body.dark .idx-sun {
  background: radial-gradient(circle at 40% 40%, #E8E8E8, #C0C0C0 40%, #8A8AAA 80%);
  box-shadow: 0 0 60px 30px rgba(180,180,220,0.2), 0 0 150px 60px rgba(150,150,200,0.08);
}

/* Clouds */
.idx-clouds { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.idx-cloud {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.55);
  filter: blur(18px);
  animation: idx-cloud-drift linear infinite;
}
.idx-cloud-1 { width: 320px; height: 90px; top: 14%; left: -5%; animation-duration: 55s; }
.idx-cloud-2 { width: 180px; height: 60px; top: 24%; left: 60%; animation-duration: 70s; animation-delay: -20s; opacity: 0.35; }
.idx-cloud-3 { width: 240px; height: 70px; top: 8%; left: 30%; animation-duration: 80s; animation-delay: -35s; opacity: 0.3; }
@keyframes idx-cloud-drift { from { transform: translateX(0); } to { transform: translateX(110vw); } }
body.dark .idx-cloud { background: rgba(255,255,255,0.04); }

.idx-scene-mountains {
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 65%;
  pointer-events: none; z-index: 3;
}
body.dark .idx-scene-mountains polygon:nth-child(1) { fill: #1A2A40; }
body.dark .idx-scene-mountains polygon:nth-child(2) { fill: #1E3050; }
body.dark .idx-scene-mountains polygon:nth-child(3) { fill: #22364A; }
body.dark .idx-scene-mountains polygon:nth-child(4),
body.dark .idx-scene-mountains polygon:nth-child(5),
body.dark .idx-scene-mountains polygon:nth-child(6),
body.dark .idx-scene-mountains polygon:nth-child(7) { fill: rgba(255,255,255,0.25); }
body.dark .idx-scene-mountains polygon:nth-child(8) { fill: #151F2E; }
body.dark .idx-scene-mountains ellipse { fill: #0E0E0E; }
body.dark .idx-scene-mountains polygon:nth-child(10) { fill: #0E0E0E; }

.idx-hero {
  position: relative;
  z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 22vh 24px 120px;
}

/* Badge */
.idx-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 50px;
  background: var(--sam-red-light);
  color: var(--sam-red);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid rgba(212,43,43,0.2);
  margin-bottom: 24px;
}
.idx-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sam-red);
  animation: idx-pulse 2s ease-in-out infinite;
}
@keyframes idx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* Hero text */
.idx-h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--sam-heading);
  margin-bottom: 24px;
}
.idx-h1-accent {
  background: linear-gradient(135deg, var(--sam-red), #E86A3A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.idx-hero-desc {
  font-size: 1.05rem; line-height: 1.65;
  max-width: 580px; margin-bottom: 32px;
  font-weight: 400; text-align: center;
}
.idx-hero-desc strong { color: var(--sam-red); font-weight: 600; }

/* Search box */
.idx-search {
  width: 100%; max-width: 780px;
  background: var(--sam-surface);
  border: 1px solid var(--sam-border);
  border-radius: 20px; padding: 8px;
  box-shadow: none;
  display: flex; gap: 0;
  transition: border-color 0.3s;
  position: relative;
  z-index: 100;
}
.idx-search:focus-within {
  border-color: rgba(212,43,43,0.3);
  box-shadow: none;
}
.idx-search-field {
  flex: 1; display: flex; align-items: center;
  padding: 0 16px; gap: 10px; position: relative;
}
.idx-search-field-icon {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--sam-muted); transition: color 0.2s;
}
.idx-search-field:focus-within .idx-search-field-icon { color: var(--sam-red); }
.idx-search-input-wrap { position: relative; flex: 1; display: flex; align-items: center; }
.idx-search-input {
  width: 100%; background: transparent; border: none; outline: none;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500;
  color: var(--sam-heading); padding: 14px 0;
}
.idx-search-input::placeholder { color: transparent; }
.idx-search-hint {
  position: absolute; inset: 0 auto 0 0;
  display: inline-flex; align-items: center; gap: 6px;
  pointer-events: none; font-size: 15px; font-weight: 500;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap; overflow: hidden;
}
.idx-search-hint-prefix { color: var(--sam-muted); }
.idx-search-hint-word { color: var(--sam-body); min-width: 1ch; }
.idx-search-input-wrap.is-hidden .idx-search-hint { opacity: 0; transform: translateX(6px); }

/* === Suggestion Dropdowns === */
.idx-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: -16px; right: -16px;
  min-width: 300px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.10), 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.idx-dropdown.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.idx-dd-header {
  padding: 10px 16px 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}
.idx-dd-header::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #e63030;
  display: inline-block;
}
.idx-dd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.18s ease;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
}
.idx-dd-item:last-child { border-bottom: none; }
.idx-dd-item:hover, .idx-dd-item.active {
  background: rgba(230,48,48,0.06);
}
.idx-dd-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #e63030;
  border-radius: 0 3px 3px 0;
}
.idx-dd-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(212,43,43,0.08);
  flex-shrink: 0;
}
.idx-dd-info { flex: 1; min-width: 0; }
.idx-dd-name {
  font-weight: 600;
  font-size: 14px;
  color: #1e293b;
}
.idx-dd-name mark {
  background: rgba(230,48,48,0.15);
  color: #e63030;
  border-radius: 2px;
  padding: 0 1px;
  font-weight: 700;
}
.idx-dd-desc {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 1px;
}

.idx-search-divider { width: 1px; height: 34px; background: var(--sam-border); flex-shrink: 0; align-self: center; }
.idx-search-btn {
  height: 50px; padding: 0 28px;
  background: var(--sam-red); border: none; border-radius: 14px;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 700; white-space: nowrap; flex-shrink: 0;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(212,43,43,0.25);
}
.idx-search-btn:hover {
  background: var(--sam-red-dark); transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(212,43,43,0.35);
}
.idx-search-btn svg { width: 18px; height: 18px; }

/* Symptom chips */
.idx-chips-label { margin-top: 28px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--sam-muted); margin-bottom: 12px; }
.idx-chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.idx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--sam-surface); border: 1px solid var(--sam-border); border-radius: 50px; font-size: 13px; font-weight: 500; color: var(--sam-heading); text-decoration: none; transition: border-color 0.2s, color 0.2s; cursor: pointer; }
.idx-chip:hover { border-color: var(--sam-red); color: var(--sam-red); }
.idx-ai-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--sam-muted); text-decoration: none; transition: color 0.2s; }
.idx-ai-link:hover { color: var(--sam-heading); }
.idx-ai-link-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sam-red); animation: idx-pulse 2s ease-in-out infinite; }
.idx-ai-link strong { color: var(--sam-heading); font-weight: 600; }

/* Hero stats */
.idx-hero-stats { position: absolute; bottom: 70px; left: 0; right: 0; display: flex; gap: 12px; justify-content: center; z-index: 10; }
.idx-hero-stat-pill { display: flex; align-items: center; gap: 10px; background: var(--sam-surface); border: 1px solid var(--sam-border); border-radius: 50px; padding: 10px 20px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.idx-stat-num-hero { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--sam-red); line-height: 1; }
.idx-stat-label-hero { font-size: 0.72rem; color: var(--sam-body); letter-spacing: 0.03em; font-weight: 500; }

/* Swiss badge */
.idx-swiss-badge { position: absolute; bottom: 24px; right: 52px; display: flex; align-items: center; gap: 10px; background: var(--sam-surface); border: 1px solid var(--sam-border); border-radius: 50px; padding: 10px 18px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); z-index: 10; }
.idx-swiss-flag { width: 20px; height: 14px; background: #FF0000; border-radius: 2px; position: relative; flex-shrink: 0; }
.idx-swiss-flag::before, .idx-swiss-flag::after { content: ''; position: absolute; background: white; }
.idx-swiss-flag::before { width: 4px; height: 10px; top: 2px; left: 8px; }
.idx-swiss-flag::after { width: 10px; height: 4px; top: 5px; left: 5px; }
.idx-swiss-text { font-size: 0.72rem; color: var(--sam-heading); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }

/* === HOW IT WORKS === */
.how-banner { background: #D42B2B; padding: 32px clamp(20px, 5vw, 80px); position: relative; overflow: hidden; }
.how-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%, rgba(0,0,0,0.05) 100%); pointer-events: none; }
.how-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; }
.how-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; position: relative; }
.how-step:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 48px; background: rgba(255,255,255,0.2); }
.how-num { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 700; color: var(--sam-red); margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.how-title { font-family: 'DM Sans', sans-serif; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.how-desc { font-size: 13.5px; color: rgba(255,255,255,0.75); line-height: 1.5; max-width: 220px; }
body.dark .how-banner { background: #161616; }
body.dark .how-num { background: var(--sam-red); color: #fff; }
body.dark .how-title { color: #E0E0E0; }
body.dark .how-desc { color: #7A7A7A; }
body.dark .how-step:not(:last-child)::after { background: rgba(255,255,255,0.08); }

/* === NEARBY DOCTORS === */
.nearby-doctors { padding: clamp(40px, 8vw, 80px) clamp(20px, 5vw, 80px); background: var(--sam-bg); }
.nearby-inner { max-width: 1200px; margin: 0 auto; }
.nearby-header { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.nearby-title { font-family: 'DM Sans', sans-serif; font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--sam-heading); }
.nearby-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--sam-red); font-size: 18px; }
.nearby-message { text-align: center; padding: 48px 24px; background: rgba(212,43,43,0.03); border: 1.5px solid rgba(212,43,43,0.1); border-radius: 16px; color: var(--sam-muted); font-size: 15px; }
.nearby-retry-btn { display: inline-block; padding: 8px 18px; background: var(--sam-red); color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 16px; }
.nearby-retry-btn:hover { background: var(--sam-red-dark); }
.nearby-cards-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.nearby-card { background: var(--sam-surface); border: 1px solid var(--sam-border); border-radius: 16px; padding: 16px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; cursor: pointer; text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.nearby-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: rgba(212,43,43,0.2); }
.nearby-avatar { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 18px; }
.nearby-avatar.avatar-1 { background: linear-gradient(135deg, #E84545, #D42B2B); }
.nearby-avatar.avatar-2 { background: linear-gradient(135deg, #F4874B, #E86A3A); }
.nearby-avatar.avatar-3 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.nearby-avatar.avatar-4 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.nearby-avatar.avatar-5 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.nearby-avatar.avatar-6 { background: linear-gradient(135deg, #ec4899, #be185d); }
.nearby-doctor-name { font-weight: 600; font-size: 13px; color: var(--sam-heading); }
.nearby-specialty { font-size: 11px; color: var(--sam-muted); }
.nearby-distance { font-size: 11px; font-weight: 600; color: var(--sam-red); }
.nearby-rating { font-size: 12px; color: var(--sam-muted); }
.nearby-skeleton { background: linear-gradient(90deg, rgba(0,0,0,0.04) 25%, rgba(0,0,0,0.02) 50%, rgba(0,0,0,0.04) 75%); background-size: 200% 100%; animation: skeleton-pulse 1.5s infinite; }
body.dark .nearby-skeleton { background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.03) 50%, rgba(255,255,255,0.06) 75%); background-size: 200% 100%; }
@keyframes skeleton-pulse { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* === MARQUEE === */
.marquee-section { padding: 20px 0; border-top: 1px solid var(--sam-border); border-bottom: 1px solid var(--sam-border); overflow: hidden; background: var(--sam-bg); }
.marquee-track { display: flex; animation: marquee 30s linear infinite; width: max-content; }
.marquee-item { display: flex; align-items: center; gap: 16px; padding: 0 32px; white-space: nowrap; }
.marquee-item span { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--sam-muted); letter-spacing: -0.3px; text-transform: uppercase; }
.marquee-dot { width: 5px; height: 5px; background: var(--sam-red); border-radius: 50%; opacity: 0.4; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === SECTION COMMON === */
.section-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 72px; align-items: end; }
.section-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--sam-red); font-weight: 700; margin-bottom: 14px; }
.section-title { font-family: 'DM Sans', sans-serif; font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; letter-spacing: -2px; line-height: 1.05; color: var(--sam-heading); }
.section-desc { font-size: 16px; color: var(--sam-muted); line-height: 1.7; max-width: 400px; align-self: end; }

/* === FEATURES === */
.features { padding: clamp(60px, 10vw, 140px) clamp(20px, 5vw, 80px); background: var(--sam-bg); content-visibility: auto; contain-intrinsic-size: auto 900px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.features .section-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; margin: 0 auto 56px; max-width: 860px; }
.features .section-header > div { display: flex; flex-direction: column; align-items: center; }
.features .section-label { margin-bottom: 12px; }
.features .section-title { max-width: 780px; font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -1.6px; }
.features .section-desc { max-width: 680px; font-size: 18px; line-height: 1.75; text-align: center; margin: 0; color: rgba(75,85,99,0.72); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.f-card { background: var(--sam-surface); border: 1px solid var(--sam-border); border-radius: 20px; padding: 36px 30px; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease; cursor: default; position: relative; overflow: hidden; }
.f-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--sam-red), transparent); opacity: 0; transition: opacity 0.4s; }
.f-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); border-color: rgba(212,43,43,0.2); }
.f-card:hover::before { opacity: 1; }
.f-card-num { font-family: 'DM Sans', sans-serif; font-size: 48px; font-weight: 700; color: rgba(212,43,43,0.08); line-height: 1; margin-bottom: 20px; letter-spacing: -2px; }
.f-card h3 { font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 600; color: var(--sam-heading); margin-bottom: 10px; }
.f-card p { font-size: 14px; color: var(--sam-muted); line-height: 1.65; }

/* === SHOWCASE === */
.showcase { padding: clamp(40px, 8vw, 100px) clamp(20px, 5vw, 80px); background: var(--sam-bg); content-visibility: auto; contain-intrinsic-size: auto 600px; }
.showcase-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: center; }
.showcase-visual { position: relative; height: clamp(380px, 50vh, 520px); background: linear-gradient(145deg, #E84545 0%, #D42B2B 50%, #A61E1E 100%); border-radius: 24px; overflow: hidden; display: flex; align-items: flex-end; padding: 40px; box-shadow: 8px 16px 48px rgba(180,20,20,0.25); }
.showcase-visual::before { content: ''; position: absolute; top: 0; left: 0; width: 60%; height: 60%; background: radial-gradient(ellipse at 25% 25%, rgba(255,255,255,0.12), transparent 70%); pointer-events: none; }
.showcase-text h2 { font-family: 'DM Sans', sans-serif; font-size: clamp(40px, 5vw, 60px); font-weight: 700; color: #fff; letter-spacing: -1px; line-height: 1; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.showcase-content h3 { font-family: 'DM Sans', sans-serif; font-size: clamp(28px, 3vw, 38px); font-weight: 700; color: var(--sam-heading); letter-spacing: -1px; line-height: 1.15; margin-bottom: 20px; }
.showcase-content p { color: var(--sam-muted); font-size: 15px; line-height: 1.7; margin-bottom: 36px; max-width: 420px; }
.showcase-stats { display: flex; gap: 40px; }
.stat-val { font-family: 'DM Sans', sans-serif; font-size: 38px; font-weight: 700; color: var(--sam-red); letter-spacing: -1.5px; }
.stat-lbl { font-size: 13px; color: var(--sam-muted); margin-top: 4px; }

/* === TRUST / TESTIMONIALS === */
.trust { padding: clamp(60px, 10vw, 120px) clamp(20px, 5vw, 80px); background: var(--sam-heading); content-visibility: auto; contain-intrinsic-size: auto 500px; }
.trust-inner { max-width: 1200px; margin: 0 auto; }
.trust .section-label { color: var(--sam-red); }
.trust .section-title { color: #fff; margin-bottom: 60px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trust-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 32px 28px; transition: background 0.4s, border-color 0.4s, transform 0.4s; position: relative; overflow: hidden; }
.trust-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--sam-red), transparent); opacity: 0; transition: opacity 0.4s; }
.trust-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(212,43,43,0.3); transform: translateY(-4px); }
.trust-card:hover::before { opacity: 0.7; }
.trust-quote { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.7; margin-bottom: 24px; font-style: italic; position: relative; }
.trust-quote::before { content: '\201C'; position: absolute; top: -10px; left: -4px; font-family: 'DM Sans', sans-serif; font-size: 48px; font-weight: 700; color: var(--sam-red); opacity: 0.2; line-height: 1; }
.trust-author { display: flex; align-items: center; gap: 12px; }
.trust-avatar { width: 40px; height: 40px; border-radius: 12px; background: rgba(212,43,43,0.2); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--sam-red); }
.trust-name { font-size: 14px; font-weight: 600; color: #fff; }
.trust-role { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* === DISCLAIMER === */
.disclaimer { padding: 24px clamp(20px, 5vw, 80px); background: rgba(212,43,43,0.04); border-top: 1px solid rgba(212,43,43,0.08); border-bottom: 1px solid rgba(212,43,43,0.08); }
.disclaimer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.disclaimer-icon { width: 36px; height: 36px; flex-shrink: 0; background: rgba(212,43,43,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.disclaimer p { font-size: 13px; color: var(--sam-muted); line-height: 1.6; }
.disclaimer strong { color: var(--sam-heading); }

/* === ANIMATIONS === */
.reveal, .idx-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible, .idx-reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .section-header { grid-template-columns: 1fr; gap: 16px; }
  .showcase-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .idx-swiss-badge { display: none; }
}
@media (max-width: 768px) {
  .idx-search { flex-direction: column; }
  .idx-search-divider { width: 100%; height: 1px; }
  .idx-search-btn { width: 100%; justify-content: center; min-height: 44px; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .trust-grid { grid-template-columns: 1fr; gap: 14px; }
  .showcase-visual { height: 320px; }
  .showcase-stats { gap: 24px; }
  .how-inner { flex-direction: column; gap: 32px; }
  .how-step:not(:last-child)::after { display: none; }
  .how-step { padding: 0; }
  .idx-hero-stats { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .idx-dropdown { left: 0; right: 0; min-width: auto; max-width: 100%; border-radius: 12px; }
  .idx-dd-item { padding: 10px 14px; }
  .nearby-cards-row { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .marquee-item { padding: 0 16px; }
  .marquee-item span { font-size: 12px; }
}
@media (max-width: 480px) {
  .idx-hero { padding-top: 80px; padding-bottom: 60px; }
  .idx-h1 { font-size: 2rem; }
  .idx-hero-stats { display: none; }
  .idx-swiss-badge { display: none; }
  .nearby-cards-row { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
  .idx-hero-desc { font-size: 0.9rem; }
  .idx-chips-row { gap: 6px; }
  .idx-chip { font-size: 12px; padding: 6px 12px; min-height: 36px; }
  .how-banner { padding: 24px 16px; }
  .how-num { width: 36px; height: 36px; font-size: 15px; }
  .how-title { font-size: 15px; }
  .how-desc { font-size: 12px; }
  .f-card { padding: 24px 20px; }
  .f-card-num { font-size: 36px; }
  .f-card h3 { font-size: 16px; }
  .showcase-visual { height: 260px; padding: 24px; }
  .showcase-stats { gap: 16px; }
  .stat-val { font-size: 28px; }
  .trust-card { padding: 24px 20px; }
  .trust-quote { font-size: 14px; }
  .disclaimer-inner { flex-direction: column; text-align: center; gap: 10px; }
  .idx-dropdown { left: 0; right: 0; min-width: auto; border-radius: 10px; }
  .idx-dd-name { font-size: 13px; }
  .idx-dd-desc { font-size: 11px; }
  .idx-dd-icon { width: 36px; height: 36px; font-size: 16px; }
  .idx-search-field { padding: 0 10px; }
  .idx-search-input { font-size: 14px; }
  .nearby-doctors, .features, .showcase, .trust, .disclaimer { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 375px) {
  .idx-hero { padding: 60px 16px 40px; }
  .idx-h1 { font-size: 1.7rem; letter-spacing: -0.5px; }
  .idx-hero-desc { font-size: 0.85rem; margin-bottom: 24px; }
  .idx-search { border-radius: 14px; padding: 6px; }
  .idx-search-btn { height: 44px; font-size: 14px; border-radius: 10px; }
  .nearby-cards-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nearby-avatar { width: 44px; height: 44px; font-size: 15px; }
  .nearby-doctor-name { font-size: 12px; }
  .showcase-content h3 { font-size: 22px; }
}