/* ═══════════════════════════════════════════
   PULSE AI — Landing Page Styles
   Design System: Medical Blue / Teal / White
   Supports: dark / light theme + EN / FR
═══════════════════════════════════════════ */

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

/* ════════════════════════════
   THEME TOKENS
════════════════════════════ */
:root,
[data-theme="dark"] {
  --primary: #0B6EB5;
  --primary-light: #1A8FE3;
  --primary-dark: #084F87;
  --teal: #00B4A0;
  --teal-dark: #008F7E;
  --teal-light: #00C9B4;
  --accent: #00D4B4;
  --green-wa: #25D366;
  --green-wa-dark: #128C7E;
  --danger: #E53E3E;
  --warning: #F6AD55;

  /* Page surfaces */
  --bg-page: #0A1628;
  --bg-section-a: #FFFFFF;
  /* problem / hiw / whatsapp */
  --bg-section-b: #F8FAFF;
  /* dashboard */
  --bg-dark: linear-gradient(135deg, #0D1E38 0%, #0F2A56 50%, #0A3D35 100%);
  --bg-vision: linear-gradient(135deg, #0D1E38 0%, #0F2A56 40%, #083E30 100%);
  --bg-footer: #060E1C;

  /* Text */
  --text-heading: #0A1628;
  --text-body: #3D5068;
  --text-muted: #7A90AD;
  --text-nav: rgba(255, 255, 255, 0.75);

  /* Cards */
  --card-bg: #FFFFFF;
  --card-border: #E8EDF5;
  --card-bg-alt: rgba(255, 255, 255, 0.05);
  --card-border-alt: rgba(255, 255, 255, 0.1);

  /* Stat bar */
  --pstat-bg: #FFFFFF;
  --pstat-sep: #E8EDF5;

  /* Triage demo */
  --triage-bg: #0D1E38;

  /* Misc */
  --off-white: #F8FAFF;
  --gray-100: #E8EDF5;
  --gray-300: #C5D0DF;
  --gray-500: #7A90AD;
  --white: #FFFFFF;
  --dark: #0A1628;
  --dark-navy: #0D1E38;

  --shadow-sm: 0 2px 8px rgba(11, 110, 181, 0.08);
  --shadow-md: 0 8px 32px rgba(11, 110, 181, 0.14);
  --shadow-lg: 0 20px 60px rgba(11, 110, 181, 0.18);
  --shadow-glow: 0 0 40px rgba(0, 180, 160, 0.3);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', sans-serif;
}

/* ── LIGHT THEME overrides ── */
[data-theme="light"] {
  --bg-page: #F0F4FA;
  --bg-section-a: #FFFFFF;
  --bg-section-b: #F0F4FA;
  --bg-dark: linear-gradient(135deg, #1A4A8A 0%, #0B6EB5 50%, #008F7E 100%);
  --bg-vision: linear-gradient(135deg, #1A4A8A 0%, #0B6EB5 40%, #00756A 100%);
  --bg-footer: #0D1E38;

  --text-heading: #0A1628;
  --text-body: #3D5068;
  --text-muted: #7A90AD;
  --text-nav: rgba(255, 255, 255, 0.9);

  --card-bg: #FFFFFF;
  --card-border: #DDE5F0;
  --card-bg-alt: rgba(255, 255, 255, 0.18);
  --card-border-alt: rgba(255, 255, 255, 0.25);

  --pstat-bg: #FFFFFF;
  --pstat-sep: #E0E8F4;

  --triage-bg: #1A2D4A;

  --off-white: #F0F4FA;
  --gray-100: #DDE5F0;
  --gray-300: #B0C4D8;
  --gray-500: #7A90AD;
  --dark: #0A1628;
  --dark-navy: #0D1E38;

  --shadow-sm: 0 2px 12px rgba(11, 110, 181, 0.10);
  --shadow-md: 0 8px 32px rgba(11, 110, 181, 0.16);
  --shadow-lg: 0 20px 60px rgba(11, 110, 181, 0.22);
}

/* ── HTML/BODY ── */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-heading);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ════════════════════════════
   UTILITIES
════════════════════════════ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, var(--green-wa) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  background: rgba(11, 110, 181, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(11, 110, 181, 0.15);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}

.section-header.light h2 {
  color: var(--white);
}

.section-header.light p {
  color: rgba(255, 255, 255, 0.75);
}

.section-header.light .section-tag {
  background: rgba(255, 255, 255, 0.12);
  color: var(--teal-light);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ════════════════════════════
   BUTTONS
════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(11, 110, 181, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(11, 110, 181, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 6px 30px rgba(11, 110, 181, 0.45);
}

.btn-hero-primary svg {
  width: 18px;
  height: 18px;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(11, 110, 181, 0.55);
}

.btn-hero-whatsapp {
  background: linear-gradient(135deg, var(--green-wa-dark) 0%, var(--green-wa) 100%);
  color: var(--white);
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35);
}

.btn-hero-whatsapp svg {
  width: 20px;
  height: 20px;
}

.btn-hero-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-cta {
  background: linear-gradient(135deg, var(--green-wa-dark) 0%, var(--green-wa) 100%);
  color: var(--white);
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-cta svg {
  width: 22px;
  height: 22px;
}

.btn-whatsapp-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45);
}

/* ════════════════════════════
   NAVBAR
════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.logo-icon svg {
  width: 100%;
  height: 100%;
}

.logo-ai {
  color: var(--teal-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-nav);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 9px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ── Nav controls bar (lang + theme + cta) ── */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 4px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 3px 9px;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  padding: 2px 4px;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: 0.06em;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--white);
}

.lang-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

/* Theme toggle button */
.theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--white);
  flex-shrink: 0;
  position: relative;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(15deg);
}

.theme-icon {
  display: flex;
  align-items: center;
  position: absolute;
  transition: var(--transition);
}

.theme-icon svg {
  width: 14px;
  height: 14px;
}

/* Dark mode → show sun (to switch to light) */
[data-theme="dark"] .sun-icon {
  opacity: 1;
  transform: scale(1);
}

[data-theme="dark"] .moon-icon {
  opacity: 0;
  transform: scale(0.5);
}

/* Light mode → show moon (to switch to dark) */
[data-theme="light"] .sun-icon {
  opacity: 0;
  transform: scale(0.5);
}

[data-theme="light"] .moon-icon {
  opacity: 1;
  transform: scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Compact buttons inside the navbar */
.nav-actions .btn {
  padding: 7px 14px;
  font-size: 0.78rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ════════════════════════════
   HERO
════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 22, 40, 0.85) 0%, rgba(8, 79, 135, 0.65) 40%, rgba(0, 143, 126, 0.45) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-light);
  opacity: 0.5;
  animation: float var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.3;
  }

  100% {
    transform: translateY(-30px) scale(1.5);
    opacity: 0.7;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 24px 100px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-light);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-subtitle strong {
  color: var(--white);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 20px 40px;
  max-width: 560px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 0 32px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow svg {
  width: 20px;
  height: 20px;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 1;
  }
}

/* ════════════════════════════
   PROBLEM
════════════════════════════ */
.problem {
  padding: 100px 0;
  background: var(--bg-section-a);
  transition: background 0.4s ease;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.problem-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--card-border);
  background: var(--card-bg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  opacity: 0;
  transition: var(--transition);
}

.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 110, 181, 0.15);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem-icon svg {
  width: 26px;
  height: 26px;
}

.overcrowded {
  background: rgba(11, 110, 181, 0.1);
  color: var(--primary);
}

.delayed {
  background: rgba(246, 173, 85, 0.15);
  color: #C07A1A;
}

.deaths {
  background: rgba(229, 62, 62, 0.1);
  color: var(--danger);
}

.coordination {
  background: rgba(0, 180, 160, 0.1);
  color: var(--teal-dark);
}

.problem-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-heading);
}

.problem-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-body);
}

.problem-stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--pstat-sep);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pstat {
  background: var(--pstat-bg);
  padding: 36px 32px;
  text-align: center;
}

.pstat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.pstat-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ════════════════════════════
   SOLUTION
════════════════════════════ */
.solution {
  padding: 100px 0;
  background: var(--bg-dark);
}

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

.solution-card {
  background: var(--card-bg-alt);
  border: 1px solid var(--card-border-alt);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 180, 160, 0.3);
  transform: translateY(-4px);
}

.solution-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(11, 110, 181, 0.3) 0%, rgba(0, 180, 160, 0.3) 100%);
  border: 1px solid rgba(0, 180, 160, 0.3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--teal-light);
}

.solution-icon svg {
  width: 24px;
  height: 24px;
}

.solution-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 18px;
}

.solution-tag {
  display: inline-block;
  background: rgba(0, 180, 160, 0.15);
  color: var(--teal-light);
  border: 1px solid rgba(0, 180, 160, 0.25);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
}

/* ════════════════════════════
   HOW IT WORKS
════════════════════════════ */
.how-it-works {
  padding: 100px 0;
  background: var(--bg-section-b);
  transition: background 0.4s ease;
}

.steps-grid {
  display: none;
}

/* replaced by hiw-timeline */

/* ── 5-step vertical timeline ── */
.hiw-timeline {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.hiw-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  z-index: 1;
  margin-top: 2px;
  transition: var(--transition);
}

.hiw-badge.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(11, 110, 181, 0.35);
}

.hiw-step.active .hiw-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(11, 110, 181, 0.35);
}

.hiw-body {
  flex: 1;
  margin-left: 24px;
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
  margin-bottom: 0;
}

.hiw-step:hover .hiw-body,
.hiw-step.active .hiw-body {
  border-color: rgba(11, 110, 181, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.hiw-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 110, 181, 0.1) 0%, rgba(0, 180, 160, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.hiw-step.active .hiw-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  color: var(--white);
}

.hiw-icon svg {
  width: 22px;
  height: 22px;
}

.hiw-text h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.hiw-text p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
}

.hiw-connector {
  display: flex;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
  padding: 6px 0;
}

.hiw-line {
  width: 2px;
  background: var(--gray-100);
  height: 28px;
  border-radius: 2px;
}

/* keep step-num/step-icon for any remaining old markup */
.step-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(11, 110, 181, 0.08);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(11, 110, 181, 0.1) 0%, rgba(0, 180, 160, 0.1) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.step-card.active .step-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  color: var(--white);
}

.step-icon svg {
  width: 26px;
  height: 26px;
}


.step-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* Triage demo */
.triage-demo {
  max-width: 760px;
  margin: 0 auto;
}

.triage-demo-inner {
  background: var(--triage-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.triage-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.triage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-light);
}

.pulse-dot {
  animation: blink 1.2s ease-in-out infinite;
}

.triage-body {
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.triage-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.triage-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: italic;
}

.severity-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.severity-badge.critical {
  background: rgba(229, 62, 62, 0.15);
  color: #FC8181;
  border: 1px solid rgba(229, 62, 62, 0.3);
}

.routing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  transition: var(--transition);
}

.routing-item.alt {
  opacity: 0.65;
}

.routing-icon {
  font-size: 1.2rem;
}

.routing-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.routing-meta {
  font-size: 0.72rem;
  color: var(--gray-500);
}

.routing-eta {
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-light);
  white-space: nowrap;
}

/* ════════════════════════════
   WHATSAPP
════════════════════════════ */
.whatsapp-section {
  padding: 100px 0;
  background: var(--bg-section-a);
  transition: background 0.4s ease;
}

.whatsapp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wa-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: 20px;
}

.wa-content p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 32px;
}

.wa-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.wa-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
}

.wa-features li strong {
  color: var(--text-heading);
}

.wa-feat-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.wa-visual {
  display: flex;
  justify-content: center;
}

.wa-phone-frame {
  position: relative;
  width: 360px;
  max-width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 180, 160, 0.15);
}

.wa-phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.wa-phone-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(0, 180, 160, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ════════════════════════════
   DASHBOARD
════════════════════════════ */
.dashboard-section {
  padding: 100px 0;
  background: var(--bg-section-b);
  transition: background 0.4s ease;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.dash-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.dash-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.dash-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(circle at center, rgba(11, 110, 181, 0.12) 0%, transparent 70%);
  z-index: -1;
}

.dash-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: 20px;
}

.dash-content>p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
}

.dash-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.dash-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.dash-feat-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(11, 110, 181, 0.1) 0%, rgba(0, 180, 160, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.dash-feat-icon svg {
  width: 20px;
  height: 20px;
}

.dash-feat h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.dash-feat p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ════════════════════════════
   VISION
════════════════════════════ */
.vision {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.vision-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-vision);
  z-index: 0;
}

.vision-bg::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 180, 160, 0.12) 0%, transparent 65%);
}

.vision-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.vision-icon {
  margin: 0 auto 24px;
  width: 80px;
  height: 80px;
}

.vision-icon svg {
  width: 80px;
  height: 80px;
}

.light-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal-light);
  border-color: rgba(255, 255, 255, 0.15);
}

.vision h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto 8px;
}

.vision-highlight {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--white) 0%, var(--teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 32px !important;
}

.vision-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin: 0 auto 64px;
  line-height: 1.8;
}

.vision-milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 60px;
}

.milestone {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}

.milestone:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 180, 160, 0.3);
  transform: translateY(-4px);
}

.milestone-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.milestone h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.milestone p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.vision-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ════════════════════════════
   FOOTER
════════════════════════════ */
.footer {
  background: var(--bg-footer);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 340px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ════════════════════════════
   SCROLL-REVEAL ANIMATION
════════════════════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Active nav link */
.nav-links a.active-link {
  color: var(--teal-light) !important;
}

/* ════════════════════════════
   RESPONSIVE
════════════════════════════ */
@media (max-width: 1100px) {
  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 0.83rem;
  }
}

@media (max-width: 960px) {

  .whatsapp-grid,
  .dashboard-grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .step-card {
    max-width: 380px;
  }

  .whatsapp-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .wa-visual {
    order: -1;
  }

  .vision-milestones {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

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

@media (max-width: 768px) {

  .nav-links,
  .nav-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-controls {
    gap: 8px;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.open+.nav-controls .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 24px 24px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .stat-divider {
    display: none;
  }

  .problem-stat-bar {
    grid-template-columns: 1fr;
  }

  .triage-body {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

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

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .vision-ctas {
    flex-direction: column;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .lang-switcher {
    padding: 4px 9px;
  }
}

/* ════════════════════════════════════════
   LIGHT-ONLY MODE — force light values on :root
   (dark-mode toggle removed from UI)
════════════════════════════════════════ */
:root {
  --bg-page: #F0F4FA;
  --bg-section-a: #FFFFFF;
  --bg-section-b: #F0F4FA;
  --bg-dark: linear-gradient(135deg, #1A4A8A 0%, #0B6EB5 50%, #008F7E 100%);
  --bg-vision: linear-gradient(135deg, #1A4A8A 0%, #0B6EB5 40%, #00756A 100%);
  --bg-footer: #0D1E38;
  --text-heading: #0A1628;
  --text-body: #3D5068;
  --text-muted: #7A90AD;
  --text-nav: rgba(255, 255, 255, 0.92);
  --card-bg: #FFFFFF;
  --card-border: #DDE5F0;
  --card-bg-alt: rgba(255, 255, 255, 0.18);
  --card-border-alt: rgba(255, 255, 255, 0.25);
  --pstat-bg: #FFFFFF;
  --pstat-sep: #E0E8F4;
  --off-white: #F0F4FA;
  --gray-100: #DDE5F0;
  --gray-300: #B0C4D8;
  --shadow-sm: 0 2px 12px rgba(11, 110, 181, 0.10);
  --shadow-md: 0 8px 32px rgba(11, 110, 181, 0.16);
  --shadow-lg: 0 20px 60px rgba(11, 110, 181, 0.22);
}

/* hide theme toggle since we removed it from HTML */
.theme-toggle {
  display: none !important;
}

/* ════════════════════════════════════════
   NAV BUTTONS — new named classes
════════════════════════════════════════ */
.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(37, 211, 102, 0.6);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}

.btn-nav-wa:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: var(--green-wa);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  color: var(--white);
  border: 1.5px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(11, 110, 181, 0.35);
}

.btn-nav-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 110, 181, 0.45);
}

/* ════════════════════════════════════════
   MOBILE MENU PANEL
════════════════════════════════════════ */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px 28px;
  animation: slideDown 0.25s ease;
}

.mobile-menu.open {
  display: flex;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-menu ul li a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.mobile-menu ul li a:hover {
  color: var(--white);
  padding-left: 6px;
}

.mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-ctas .btn-nav-wa,
.mobile-ctas .btn-nav-primary {
  justify-content: center;
  font-size: 0.92rem;
  padding: 12px 20px;
}

/* hamburger open state */
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* show hamburger on mobile */
@media (max-width: 768px) {

  .nav-links,
  .nav-controls {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ════════════════════════════════════════
   FOOTER CONTACT ROW
════════════════════════════════════════ */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-contact-item:hover {
  color: var(--white);
}

/* ════════════════════════════════════════
   MILESTONE ICONS — now SVG-based
════════════════════════════════════════ */
.milestone-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--white);
}

.milestone-icon svg {
  width: 26px;
  height: 26px;
}

/* ════════════════════════════════════════
   WA FEATURE ICONS — SVG version
════════════════════════════════════════ */
.wa-feat-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}