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

:root {
  --green: #4ADE80;
  --teal: #22D3EE;
  --dark: #0A0E14;
  --dark-2: #111827;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Gradient Utilities ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--dark); }

.nav-links a.active {
  color: var(--dark);
  font-weight: 700;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--dark);
  padding: 8px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--gray-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--teal));
  color: var(--dark);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1px solid var(--gray-300);
}

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

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(170deg, var(--white) 0%, #ECFDF5 50%, #E0F7FA 100%);
}

.hero-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--dark);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 560px;
  margin-bottom: 12px;
}

.hero-bold {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-languages {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gray-400);
  display: inline-block;
}

.hero-products {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-product-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.hero-product-pill:hover {
  border-color: var(--green);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.hero-product-icon { font-size: 1.1rem; }

.hero-product-pill.primary {
  background: linear-gradient(135deg, rgba(74,222,128,0.15), rgba(34,211,238,0.15));
  border-color: rgba(74,222,128,0.4);
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-light { background: var(--gray-50); }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); }
.section-gradient { background: linear-gradient(135deg, #065F46, #0E4D5E); }

.section-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gray-500);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tag-light { color: var(--green); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.title-light { color: var(--white); }

.section-body {
  font-size: 1.0625rem;
  color: var(--gray-600);
  max-width: 640px;
  margin-bottom: 40px;
}

.body-light { color: var(--gray-300); }

/* ===== Stats Row (Problem) ===== */
.stats-row {
  display: flex;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #EF4444, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 1rem;
  color: var(--gray-600);
}

/* ===== Leak Funnel ===== */
.leak-funnel-row {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 48px;
}

.funnel-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  box-shadow: var(--shadow);
}

.funnel-block-critical {
  border-color: rgba(239,68,68,0.5);
  background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(249,115,22,0.06));
}

.funnel-block-num {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #EF4444, #F97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.funnel-block-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-top: 10px;
  line-height: 1.4;
}

.funnel-block-track {
  margin-top: 16px;
  height: 8px;
  border-radius: 999px;
  background: var(--gray-200);
  overflow: hidden;
}

.funnel-block-fill {
  width: var(--w);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #EF4444, #F97316);
}

.funnel-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 130px;
  text-align: center;
  color: #EF4444;
}

.funnel-connector-arrow {
  font-size: 1.5rem;
  line-height: 1;
}

.funnel-connector-text {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

.funnel-connector-text em {
  display: block;
  font-style: normal;
  font-weight: 500;
  color: var(--gray-500);
}

.leak-outcome {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: var(--gray-700);
  max-width: 600px;
}

.leak-outcome strong {
  color: #EF4444;
}

/* ===== Always-On Bar ===== */
.always-on-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #065F46, #0E4D5E);
  border-radius: var(--radius);
  padding: 20px 28px;
  color: var(--white);
}

.always-on-icon { font-size: 1.25rem; }

.always-on-items {
  display: flex;
  gap: 32px;
  font-size: 0.875rem;
  font-weight: 500;
  flex-wrap: wrap;
}

/* ===== Asha Voice AI Cards ===== */
.asha-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 48px;
}

.asha-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(74,222,128,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.asha-subtitle {
  font-size: 1.0625rem;
  color: var(--gray-500);
  margin-top: 2px;
}

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

.asha-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}

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

.asha-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.asha-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--dark);
  flex-shrink: 0;
}

.asha-avatar img {
  width: 30px;
  height: 30px;
}

.asha-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.asha-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
}

.asha-card-status {
  font-size: 0.8125rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.asha-waveform-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.asha-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.asha-play-btn:hover {
  background: var(--green);
  color: var(--dark);
}

.asha-play-btn.playing {
  background: var(--green);
  color: var(--dark);
}

.asha-waveform {
  flex: 1;
  position: relative;
  height: 36px;
  overflow: hidden;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 100%;
}

.wave-bars span {
  flex: 1;
  background: var(--green);
  border-radius: 2px;
  opacity: 0.3;
  transition: opacity 0.15s;
}

/* Randomized bar heights for waveform look */
.wave-bars span:nth-child(1) { height: 40%; }
.wave-bars span:nth-child(2) { height: 65%; }
.wave-bars span:nth-child(3) { height: 30%; }
.wave-bars span:nth-child(4) { height: 80%; }
.wave-bars span:nth-child(5) { height: 55%; }
.wave-bars span:nth-child(6) { height: 90%; }
.wave-bars span:nth-child(7) { height: 45%; }
.wave-bars span:nth-child(8) { height: 70%; }
.wave-bars span:nth-child(9) { height: 35%; }
.wave-bars span:nth-child(10) { height: 85%; }
.wave-bars span:nth-child(11) { height: 50%; }
.wave-bars span:nth-child(12) { height: 75%; }
.wave-bars span:nth-child(13) { height: 60%; }
.wave-bars span:nth-child(14) { height: 40%; }
.wave-bars span:nth-child(15) { height: 95%; }
.wave-bars span:nth-child(16) { height: 55%; }
.wave-bars span:nth-child(17) { height: 70%; }
.wave-bars span:nth-child(18) { height: 30%; }
.wave-bars span:nth-child(19) { height: 85%; }
.wave-bars span:nth-child(20) { height: 45%; }
.wave-bars span:nth-child(21) { height: 60%; }
.wave-bars span:nth-child(22) { height: 80%; }
.wave-bars span:nth-child(23) { height: 35%; }
.wave-bars span:nth-child(24) { height: 70%; }
.wave-bars span:nth-child(25) { height: 50%; }

.wave-bars span.played { opacity: 1; }

.asha-details {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.asha-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.asha-row:last-child { border-bottom: none; }

.asha-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.asha-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}

.asha-lang {
  color: var(--green);
}

/* ===== Animated Journey Section ===== */
.journey-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.journey-tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.25s;
}

.journey-tab:hover { border-color: var(--gray-400); color: var(--gray-700); }

.journey-tab.active {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.journey-stage {
  position: relative;
  min-height: 360px;
  margin-bottom: 32px;
}

.journey-phase-panel {
  display: none;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  animation: fadeSlideIn 0.4s ease;
}

.journey-phase-panel.active { display: grid; }

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

.journey-panel-left h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.journey-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.journey-checklist li {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-500);
  cursor: pointer;
  transition: all 0.25s;
  border-left: 3px solid transparent;
}

.journey-checklist li:hover { color: var(--gray-700); background: var(--gray-50); }

.journey-checklist li.active {
  color: var(--dark);
  font-weight: 700;
  background: rgba(74,222,128,0.08);
  border-left-color: var(--green);
}

.journey-panel-right {
  position: relative;
  min-height: 280px;
}

.journey-uc {
  display: none;
  animation: fadeSlideIn 0.35s ease;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
}

.journey-uc.active { display: block; }

.uc-channel {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
  background: rgba(74,222,128,0.12);
  color: #16A34A;
}

.uc-desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.uc-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.uc-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}

.uc-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.uc-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.uc-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  max-width: 150px;
}

.journey-progress {
  height: 3px;
  background: var(--gray-200);
  border-radius: 3px;
  margin-bottom: 32px;
  overflow: hidden;
}

.journey-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green), var(--teal));
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* ===== Agent / Demo Section ===== */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px 0 60px;
}

.demo-card {
  background: var(--gray-800);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--gray-700);
}

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

.demo-channel {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
}

.demo-channel.voice {
  background: rgba(74, 222, 128, 0.15);
  color: var(--green);
}

.demo-channel.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.demo-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

.demo-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 90%;
}

.chat-bubble.agent {
  background: var(--gray-100);
  color: var(--gray-800);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.patient {
  background: linear-gradient(135deg, rgba(74,222,128,0.12), rgba(34,211,238,0.12));
  color: var(--gray-200);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

/* For light sections */
.section-white .chat-bubble.patient,
.section-light .chat-bubble.patient {
  background: linear-gradient(135deg, #ECFDF5, #E0F7FA);
  color: var(--gray-800);
}

.chat-result {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(74,222,128,0.08);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(74,222,128,0.2);
  margin-top: 4px;
}

/* ===== Transcript ===== */
.transcript-section { margin-top: 20px; }

.transcript-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.transcript-sub {
  font-size: 0.9375rem;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.transcript-card {
  background: var(--gray-800);
  border-radius: var(--radius);
  border: 1px solid var(--gray-700);
  padding: 28px;
}

.transcript-meta {
  display: flex;
  gap: 32px;
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-700);
}

.transcript-meta strong { color: var(--white); }

.transcript-lang-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.transcript-lang-select {
  background: var(--gray-700);
  color: var(--white);
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.transcript-lang-select:hover { border-color: var(--green); }

.transcript-lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.t-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.t-role {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
}

.agent-role {
  background: rgba(74,222,128,0.15);
  color: var(--green);
}

.patient-role {
  background: rgba(148,163,184,0.15);
  color: var(--gray-400);
}

.t-line p {
  font-size: 0.9375rem;
  color: var(--gray-300);
  line-height: 1.5;
}

.t-line p.t-line-en {
  font-size: 0.8125rem;
  color: var(--gray-500);
  font-style: italic;
  margin-top: 4px;
}

.transcript-result {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-700);
}

.result-badge {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--green);
}

.result-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* ===== Always On Section ===== */
.always-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.always-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
}

.always-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.always-card p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.always-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.always-stats span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.always-stats strong {
  color: var(--green);
  font-size: 1.125rem;
}

/* ===== Insurance Helper Section ===== */
.insurance-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.insurance-problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.insurance-problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.icon-red { background: #FEE2E2; color: #DC2626; }
.icon-orange { background: #FFEDD5; color: #EA580C; }
.icon-yellow { background: #FEF3C7; color: #D97706; }

.insurance-problem-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.insurance-problem-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.insurance-quote {
  background: linear-gradient(135deg, #065F46, #0E4D5E);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.insurance-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.insurance-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex: 1;
  min-width: 110px;
}

.insurance-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(74,222,128,0.1);
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
}

.insurance-step-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
}

.insurance-step-arrow {
  color: var(--gray-400);
  font-size: 1.25rem;
  flex: 0 0 auto;
}

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

.insurance-benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
}

.insurance-benefit-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.insurance-benefit-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.insurance-benefit-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.insurance-benefit-card li {
  font-size: 0.9375rem;
  color: var(--gray-600);
  padding-left: 16px;
  position: relative;
}

.insurance-benefit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.trust-bar-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark);
}

.trust-item {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.pilot-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.pilot-box-text h3 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.pilot-box-text p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.pilot-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.pilot-checklist li {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding-left: 24px;
  position: relative;
}

.pilot-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #16A34A;
  font-weight: 800;
}

/* ===== Patient Card / Dashboard ===== */
.patient-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin: 40px 0;
  max-width: 700px;
}

.patient-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.patient-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
}

.patient-info h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
}

.patient-info span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.status-stable {
  color: var(--green);
  font-weight: 600;
}

.patient-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.patient-meta strong {
  color: var(--gray-400);
  font-weight: 500;
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.patient-stats-bar {
  display: flex;
  gap: 24px;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.patient-stats-bar strong {
  font-size: 1.125rem;
  color: var(--dark);
}

/* Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.875rem;
}

.timeline-item:last-child { border-bottom: none; }

.timeline-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  min-width: 72px;
  text-align: center;
}

.badge-green { background: #DCFCE7; color: #166534; }
.badge-blue { background: #DBEAFE; color: #1E40AF; }
.badge-gray { background: var(--gray-100); color: var(--gray-600); }
.badge-red { background: #FEE2E2; color: #991B1B; }

.timeline-text { flex: 1; color: var(--gray-700); }
.timeline-day { color: var(--gray-400); font-weight: 500; white-space: nowrap; }

/* Overview Stats */
.overview-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.overview-stat {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.o-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.o-label {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* Funnel */
.funnel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 600px;
}

.funnel-bar {
  width: var(--w);
  background: linear-gradient(135deg, rgba(74,222,128,0.12), rgba(34,211,238,0.12));
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: width 0.6s ease;
}

/* ===== Implementation / CTA ===== */
.impl-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 40px 0 60px;
}

.impl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--gray-300);
}

.impl-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(74,222,128,0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

.cta-box {
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.cta-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 1rem;
  color: var(--gray-400);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.calendar-embed {
  margin: 0 auto 32px;
  max-width: 700px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.calendar-embed iframe {
  display: block;
  width: 100%;
  min-height: 600px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--gray-800);
  padding: 64px 0 32px;
}

.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-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo-img { filter: brightness(0) invert(1); }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-500);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Keep content visible even if fade-in never fires */
  .fade-up { opacity: 1; transform: none; }

  /* Pulsing "on call" dot and journey auto-progress bar are decorative */
  .status-dot { animation: none; opacity: 1; }
  .journey-progress-bar { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open + .nav-cta {
    display: none;
  }

  .hero { padding: 120px 0 60px; }
  .section { padding: 60px 0; }

  .stats-row { flex-direction: column; }

  .funnel-bar { flex-direction: column; align-items: flex-start; gap: 4px; }

  .leak-funnel-row { flex-direction: column; }
  .funnel-connector { flex-direction: row; flex-basis: auto; padding: 4px 0; }
  .funnel-connector-arrow { transform: rotate(90deg); }
  .funnel-connector-text { text-align: left; }

  .asha-grid { grid-template-columns: 1fr; }
  .asha-header { flex-direction: column; gap: 12px; }
  .journey-phase-panel { grid-template-columns: 1fr; }
  .journey-panel-left { order: 1; }
  .journey-panel-right { order: 2; }

  .demo-grid { grid-template-columns: 1fr; }

  .always-grid { grid-template-columns: 1fr; }

  .insurance-problem-grid { grid-template-columns: 1fr; }
  .insurance-benefits-grid { grid-template-columns: 1fr; }
  .insurance-steps { flex-direction: column; align-items: stretch; }
  .insurance-step-arrow { transform: rotate(90deg); }
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pilot-box { grid-template-columns: 1fr; }
  .pilot-checklist { grid-template-columns: 1fr; }

  .patient-meta { grid-template-columns: 1fr; }

  .overview-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .cta-box { padding: 32px 20px; }

  .transcript-meta { flex-direction: column; gap: 8px; }
  .t-line { flex-direction: column; gap: 6px; }
}

@media (max-width: 480px) {
  .overview-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2rem; }
}
