/* ════════════════════════════════════════════
   SPEAKCARE — Main Stylesheet
   Brand: #001ADA (blue), #EEE4DD (warm cream)
   ════════════════════════════════════════════ */

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

:root {
  --blue: #001ADA;
  --blue-dark: #0013a8;
  --blue-light: #4466ff;
  --cream: #EEE4DC;
  --cream-dark: #d9cec7;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-500: #868e96;
  --gray-700: #495057;
  --gray-900: #212529;
  --font: 'Geologica', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,26,218,0.08);
  --shadow-lg: 0 16px 48px rgba(0,26,218,0.14);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-900); background: var(--white); overflow-x: hidden; }

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

/* ══ TYPOGRAPHY ══ */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
p { line-height: 1.7; color: var(--gray-700); }

.section-badge {
  display: inline-block;
  background: rgba(0,26,218,0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-badge--light {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

/* ══ NAVBAR ══ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(10px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
#navbar.scrolled .nav-logo-img { filter: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--transition);
}
#navbar.scrolled .nav-links a { color: var(--gray-700); }
.nav-links a:hover { color: var(--white); }
#navbar.scrolled .nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--white);
  color: var(--blue) !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700 !important;
  transition: background var(--transition), color var(--transition), transform var(--transition) !important;
}
#navbar.scrolled .nav-cta {
  background: var(--blue);
  color: var(--white) !important;
}
.nav-cta:hover { transform: translateY(-1px); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--gray-900); }

/* ══ HERO ══ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #262E55 0%, #004B74 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--white));
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 4px 32px rgba(0,0,0,0.3);
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.6);
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-content .hero-revolution {
  font-size: clamp(32px, 5vw, 56px) !important;
  font-weight: 700;
  color: rgba(255,255,255,0.95) !important;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}
.hero-tagline-accent {
  font-size: clamp(16px, 2.2vw, 21px);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.01em;
}

/* Hero boxes */
.hero-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 48px;
}
.hero-box {
  background: #EEE4DC;
  border: 1px solid #EEE4DD;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: left;
  text-decoration: none;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.hero-box:hover {
  background: #ddd4cd;
  border-color: #EEE4DC;
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.hero-box-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}
.hero-box-icon svg { width: 100%; height: 100%; }
.hero-box-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}
.hero-box-text ul {
  list-style: none;
  margin-bottom: 16px;
}
.hero-box-text ul li {
  font-size: 13px;
  color: var(--blue);
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.hero-box-text ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
}
.hero-box-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  opacity: 0.85;
  transition: opacity var(--transition);
}
.hero-box:hover .hero-box-cta { opacity: 1; }

/* Scroll hint */
.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  cursor: pointer;
}
.hero-scroll-hint span { font-size: 12px; color: var(--white); letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  animation: scrollBounce 1.4s ease-in-out infinite;
  cursor: pointer;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ══ AMBIENT AI SECTION ══ */
.ambient-ai {
  padding: 100px 0;
  background: var(--white);
}
.ambient-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ambient-left h2 {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--gray-900);
  margin-bottom: 20px;
}
.ambient-lead {
  font-size: 17px;
  color: var(--gray-700);
  margin-bottom: 20px;
  line-height: 1.7;
}
.ambient-lead--em {
  font-size: 16px;
  color: var(--blue);
  font-weight: 500;
  border-left: 3px solid var(--blue);
  padding-left: 14px;
  margin-bottom: 40px;
}
.ambient-features { display: flex; flex-direction: column; gap: 24px; }
.feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feat-icon { flex-shrink: 0; width: 28px; height: 28px; margin-top: 2px; }
.feat-icon svg { width: 100%; height: 100%; }
.feat strong { display: block; font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.feat p { font-size: 14px; color: var(--gray-500); margin: 0; line-height: 1.6; }

/* Ambient visual — Nurse with Device */
.ambient-right { position: relative; }
.ambient-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nurse image wrapper */
.av-nurse-wrap {
  position: relative;
  height: 480px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-left: -10px;
}
.av-nurse-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 16px;
  /* Subtle drop shadow */
  filter: drop-shadow(0 20px 40px rgba(0,26,218,0.12));
}

/* ── Device recording animation ──
   Positioned over the black circle of the device in the image.
   The device sits roughly at 68% from top, 55% from left of the image.
   Fine-tune with --dev-top / --dev-left if needed.         */
.av-device-dot {
  position: absolute;
  top: 62%;
  left: 59%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Expanding ripple rings */
.av-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(0, 26, 218, 0.5);
  animation: deviceRipple 2s ease-out infinite;
}
.av-ring--1 { width: 52px;  height: 52px;  animation-delay: 0s; }
.av-ring--2 { width: 72px;  height: 72px;  animation-delay: 0.6s; }
.av-ring--3 { width: 94px;  height: 94px;  animation-delay: 1.2s; }
@keyframes deviceRipple {
  0%   { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Red recording dot */
.av-rec-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e63946;
  box-shadow: 0 0 8px rgba(230,57,70,0.8);
  top: 6px;
  right: 30px;
  animation: recBlink 1.2s ease-in-out infinite;
}
@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* Mini waveform bars inside the circle */
.av-device-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
.av-device-wave span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: var(--blue);
  animation: devWave 1s ease-in-out infinite;
}
.av-device-wave span:nth-child(1) { height: 6px;  animation-delay: 0s; }
.av-device-wave span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.av-device-wave span:nth-child(3) { height: 20px; animation-delay: 0.3s; }
.av-device-wave span:nth-child(4) { height: 12px; animation-delay: 0.45s; }
.av-device-wave span:nth-child(5) { height: 8px;  animation-delay: 0.6s; }
@keyframes devWave {
  0%, 100% { transform: scaleY(1);   opacity: 0.7; }
  50%       { transform: scaleY(1.6); opacity: 1; }
}

/* Floating stats */
.av-stat {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 3;
  border: 1px solid var(--gray-200);
}
.av-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--blue);
}
.av-stat span { font-size: 11px; color: var(--gray-500); font-weight: 500; }
.av-stat--1 { top: 40px; left: -20px; }
.av-stat--2 { top: 160px; right: -20px; }
.av-stat--3 { bottom: 80px; left: -20px; }

/* ══ FOUR PILLARS — QUAD STAGE ══
   Background matches #EEE4DC from four quarters.pptx.
   The stage itself has a 16:9 fixed aspect ratio.
   Two CSS-variable-driven divider lines sit exactly at 50%
   and animate (via JS) toward the opposite corner of the
   selected cell, expanding it to roughly 80%×80% of the stage.
   Content (label → detail) swaps via opacity inside each cell.
   ══════════════════════════════════════════════════════════ */

.qsection {
  padding: 100px 0 60px;
  background: var(--cream);   /* #EEE4DC from the PPTX */
}
.qsection-header {
  text-align: center;
  margin-bottom: 48px;
}
.qsection-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--gray-900);
  margin-bottom: 12px;
}
.qsection-sub {
  font-size: 16px;
  color: var(--gray-700);
}

/* ── Stage ── */
.qstage {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  /* 16:9 aspect ratio via padding-top trick */
  width: calc(100% - 48px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18);
  /* CSS custom props control where the divider lines sit */
  --qv: 50%;  /* vertical split (column boundary) */
  --qh: 50%;  /* horizontal split (row boundary) */
}

/* ── Four cells — positioned via the two CSS vars ── */
.qcell {
  position: absolute;
  background: #EEE4DC;
  cursor: pointer;
  overflow: hidden;
  transition:
    top    0.65s cubic-bezier(0.4,0,0.2,1),
    left   0.65s cubic-bezier(0.4,0,0.2,1),
    width  0.65s cubic-bezier(0.4,0,0.2,1),
    height 0.65s cubic-bezier(0.4,0,0.2,1),
    background 0.3s;
}
.qcell:focus { outline: 2px solid #EEE4DD; outline-offset: -4px; }
.qcell:hover { background: #e0d6cf; }
.qcell.qs-active { background: #EEE4DC; }

/* Position each cell via the CSS vars */
#qc-risk    { top: 0;       left: 0;       width: var(--qv); height: var(--qh); }
#qc-clinical{ top: 0;       left: var(--qv); width: calc(100% - var(--qv)); height: var(--qh); }
#qc-revenue { top: var(--qh); left: 0;     width: var(--qv); height: calc(100% - var(--qh)); }
#qc-intel   { top: var(--qh); left: var(--qv); width: calc(100% - var(--qv)); height: calc(100% - var(--qh)); }

/* ── Divider lines (purely cosmetic, drawn by the stage background) ── */
.qstage::before,
.qstage::after {
  content: '';
  position: absolute;
  background: var(--cream);
  z-index: 10;
  pointer-events: none;
  transition:
    top   0.65s cubic-bezier(0.4,0,0.2,1),
    left  0.65s cubic-bezier(0.4,0,0.2,1);
}
/* Horizontal line */
.qstage::before {
  left: 0; right: 0;
  top: var(--qh);
  height: 1px;
  transform: translateY(-50%);
  background: var(--blue);
}
/* Vertical line */
.qstage::after {
  top: 0; bottom: 0;
  left: var(--qv);
  width: 1px;
  transform: translateX(-50%);
  background: var(--blue);
}

/* Intersection circle — moves with the same CSS vars */
.qcross {
  position: absolute;
  z-index: 11;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  left: var(--qv);
  top: var(--qh);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition:
    left  0.65s cubic-bezier(0.4,0,0.2,1),
    top   0.65s cubic-bezier(0.4,0,0.2,1);
}

/* ── Label (always visible, fades out when cell is active) ── */
.qcell-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: clamp(13px, 1.5vw, 20px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
  transition: opacity 0.3s 0.1s;
}
.qcell.qs-active .qcell-label {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

/* ── Detail content (hidden until cell is active) ── */
.qcell-detail {
  position: absolute;
  inset: 0;
  padding: clamp(16px, 3%, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s 0.3s;
  overflow: hidden;
}
.qcell.qs-active .qcell-detail {
  opacity: 1;
  pointer-events: auto;
}
.qc-icon { width: clamp(32px, 4%, 52px); height: clamp(32px, 4%, 52px); margin-bottom: 12px; flex-shrink: 0; }
.qc-icon svg { width: 100%; height: 100%; }
.qcell-detail h3 {
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.2;
}
.qcell-detail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.qcell-detail ul li {
  font-size: clamp(11px, 1.1vw, 15px);
  color: var(--blue-dark);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.qcell-detail ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 10px;
  top: 2px;
}

/* ── Nav row ── */
.qnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.qnav-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(0,26,218,0.25);
  background: var(--cream);
  color: var(--blue);
  font-size: 18px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.qnav-btn:hover { border-color: var(--blue); background: var(--blue); color: white; }
.qnav-dots { display: flex; gap: 8px; }
.qdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,26,218,0.2);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.qdot.active { background: var(--blue); transform: scale(1.4); }

/* ══ RESULTS ══ */
.results {
  padding: 100px 0;
  background: linear-gradient(135deg, #262E55 0%, #004B74 100%);
  color: var(--white);
}
.results h2 { font-size: clamp(28px, 4vw, 44px); color: var(--white); margin-bottom: 12px; text-align: center; }
.results-sub { font-size: 16px; color: rgba(255,255,255,0.6); text-align: center; margin-bottom: 64px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-4px); }
.stat-card--highlight {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}
.stat-live-icon {
  width: 80px;
  height: 28px;
  overflow: hidden;
  margin: 0 auto 10px;
  opacity: 0.9;
}
.stat-live-icon img {
  width: 300%;
  height: 300%;
  object-fit: none;
  margin-left: -100%;
  margin-top: -100%;
}
.stat-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-unit { font-size: 28px; color: rgba(255,255,255,0.6); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.4; }

/* ══ TESTIMONIALS ══ */
.testimonials {
  padding: 100px 0;
  background: var(--cream);
}
.testimonials h2 { font-size: clamp(28px, 4vw, 44px); color: var(--gray-900); margin-bottom: 48px; text-align: center; }
.testimonials-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 16px;
}
.testimonials-track::-webkit-scrollbar { display: none; }
.tcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tcard-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}
.tcard-quote::before { content: '"'; font-size: 48px; color: var(--blue); line-height: 0; vertical-align: -20px; margin-right: 4px; }
.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tcard-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tcard-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--gray-900); }
.tcard-author span { font-size: 12px; color: var(--gray-500); }
.tcard-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.tcard-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--gray-700);
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.tcard-btn:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.tcard-dots { display: flex; gap: 6px; }
.tcard-dots .dot { width: 6px; height: 6px; }

/* ══ ROI ══ */
.roi {
  padding: 100px 0;
  background: var(--white);
}
.roi h2 { font-size: clamp(28px, 4vw, 44px); color: var(--gray-900); margin-bottom: 12px; text-align: center; }
.roi-lead { font-size: 18px; color: var(--gray-700); text-align: center; margin-bottom: 60px; }
.roi-lead strong { color: var(--blue); }
.roi-layers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.roi-layer {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--gray-50);
}
.roi-layer:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.roi-layer-header {
  padding: 28px 24px 20px;
}
.roi-layer--1 .roi-layer-header { background: #262E55; }
.roi-layer--2 .roi-layer-header { background: #004B74; }
.roi-layer--3 .roi-layer-header { background: #1a2244; }
.layer-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.roi-layer-header h3 { font-size: 20px; color: var(--white); margin-bottom: 8px; }
.layer-tag { font-size: 12px; color: rgba(255,255,255,0.6); }
.roi-layer ul {
  list-style: none;
  padding: 24px;
  background: var(--gray-50);
}
.roi-layer ul li {
  font-size: 14px;
  color: var(--gray-700);
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.roi-layer ul li:last-child { border-bottom: none; }
.roi-layer ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 12px;
}

/* ══ STAKEHOLDERS ══ */
.stakeholders {
  padding: 100px 0;
  background: linear-gradient(135deg, #262E55 0%, #004B74 100%);
}
.stakeholders h2 { font-size: clamp(28px, 4vw, 44px); color: var(--white); margin-bottom: 12px; text-align: center; }
.stakeholders-lead { font-size: 16px; color: rgba(255,255,255,0.6); text-align: center; margin-bottom: 60px; }
.stakeholders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sk-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.sk-icon { width: 40px; height: 40px; margin-bottom: 16px; }
.sk-icon svg { width: 100%; height: 100%; }
.sk-icon svg * { stroke: rgba(255,255,255,0.7); fill: transparent; }
.sk-card h4 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.sk-card p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6; margin: 0; }

/* ══ TEAM ══ */
.team {
  padding: 100px 0;
  background: var(--cream); /* #EEE4DC */
}
.team h2 { font-size: clamp(28px, 4vw, 44px); color: var(--gray-900); margin-bottom: 12px; text-align: center; }
.team-lead { font-size: 16px; color: var(--gray-700); text-align: center; margin-bottom: 60px; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 80px;
  /* Ensure all cards stretch to the same height */
  align-items: start;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* Fixed-size circular portrait — face centred */
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  margin: 28px auto 0;
  flex-shrink: 0;
  border: 3px solid var(--cream-dark);
  box-shadow: 0 4px 16px rgba(0,26,218,0.10);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* align to face */
}
/* Placeholder avatar when no photo */
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #262E55 0%, #004B74 100%);
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,0.4);
  font-family: var(--font);
}
.team-card h3 { font-size: 18px; color: var(--gray-900); padding: 16px 20px 2px; text-align: center; }
.team-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 20px 10px;
  text-align: center;
}
.team-card p { font-size: 13px; color: var(--gray-500); padding: 0 20px 20px; line-height: 1.6; text-align: center; }

/* Advisory board — card grid matching founders */
.advisory { margin-top: 20px; }
.advisory-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--gray-900);
  text-align: center;
  margin-bottom: 8px;
}
.advisory-subtitle {
  font-size: 15px;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 40px;
}
.advisory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ══ CONTACT ══ */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #262E55 0%, #004B74 100%);
}
.contact-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.contact h2 { font-size: clamp(28px, 4vw, 44px); color: var(--white); margin-bottom: 16px; }
.contact > .container > .contact-inner > p { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 48px; }
.contact-form-wrap { text-align: left; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form select option { background: var(--blue-dark); color: var(--white); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.15);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.btn-primary {
  padding: 16px 40px;
  background: var(--white);
  color: var(--blue);
  border: none;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  align-self: center;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  background: var(--cream);
}

.form-consent { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: -4px; }
.form-consent a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.form-consent a:hover { color: var(--white); }
.contact-success { text-align: center; padding: 48px 0; }
.success-icon { font-size: 48px; color: var(--white); margin-bottom: 16px; }
.contact-success h3 { font-size: 28px; color: var(--white); margin-bottom: 8px; }
.contact-success p { color: rgba(255,255,255,0.7); font-size: 16px; }

/* ══ FOOTER ══ */
.footer { background: #000d5a; padding: 60px 0 32px; }
.footer-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-logo-img { height: 56px; width: auto; filter: brightness(0) invert(1); display: block; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.footer-copy { margin-top: 20px !important; }
.footer-links { display: flex; gap: 60px; }
.footer-links div { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(0,13,90,0.98);
    padding: 24px;
    gap: 20px;
    backdrop-filter: blur(10px);
  }
  .hamburger { display: flex; }

  /* Hero */
  .hero-boxes { grid-template-columns: 1fr; gap: 16px; }

  /* Ambient AI */
  .ambient-grid { grid-template-columns: 1fr; gap: 48px; }
  .ambient-right { display: none; }

  /* Platform quad stage */
  .qstage { width: calc(100% - 24px); }
  .qcell-detail h3 { font-size: 13px; }
  .qcell-detail ul li { font-size: 11px; }

  /* Results */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials — one card visible at a time */
  .tcard { flex: 0 0 calc(100% - 48px); }

  /* ROI */
  .roi-layers { grid-template-columns: 1fr; }

  /* Stakeholders */
  .stakeholders-grid { grid-template-columns: repeat(2, 1fr); }

  /* Team — 2 columns on tablet, 1 on phone (see 600px) */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .advisory-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact form */
  .form-row { grid-template-columns: 1fr; }
  .btn-primary { width: 100%; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 600px) {
  /* Reduce section padding on small phones */
  .ambient-ai, .qsection, .results, .testimonials,
  .roi, .stakeholders, .team, .contact { padding: 64px 0; }

  /* Hero */
  .hero-box { flex-direction: column; }

  /* Results */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: clamp(36px, 10vw, 56px); }

  /* Stakeholders */
  .stakeholders-grid { grid-template-columns: 1fr; }

  /* Team — single column on phones */
  .team-grid { grid-template-columns: 1fr; }
  .advisory-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-links { gap: 24px; }
}

/* ══ LIVE COUNTER TICK ══ */
@keyframes statTick {
  0%   { transform: scale(1);    color: inherit; }
  30%  { transform: scale(1.12); color: #7af0b0; }
  100% { transform: scale(1);    color: inherit; }
}
.stat-tick { animation: statTick 0.6s ease; }

/* ══ SCROLL REVEAL ══ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
