/* =============================================
   VOZ BOREAL — Landing Page Styles (Redesign)
   ============================================= */

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

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Primario */
  --teal:         #1DD1A1;
  --teal-hover:   #17B892;
  --teal-subtle:  rgba(29, 209, 161, 0.08);
  --teal-border:  rgba(29, 209, 161, 0.15);

  /* Fondos oscuros */
  --bg:           #080C14;
  --bg-elevated:  #0D1220;
  --bg-card:      #111827;

  /* Fondos claros (hero) */
  --bg-light:     #FAFBFC;
  --bg-light-alt: #F1F5F9;

  /* Texto (contrast-boosted for 60+ readability) */
  --text-primary:   #F0F4F8;
  --text-secondary: #B0BEC5;
  --text-muted:     #8896A6;
  --text-dark:      #0F172A;
  --text-dark-sub:  #3E4C5E;

  /* Bordes */
  --border-dark:  rgba(255, 255, 255, 0.06);
  --border-light: #E2E8F0;

  /* Rojo para "Sin Voz Boreal" */
  --red-subtle:   rgba(239, 68, 68, 0.08);
  --red-border:   rgba(239, 68, 68, 0.2);
  --red-text:     #F87171;

  /* Gradientes */
  --grad-teal:    linear-gradient(135deg, #1DD1A1, #34D399 40%, #0D9B8A);
  --grad-text:    linear-gradient(110deg, #059669, #10B981 50%, #0D9488);

  /* Tipografía */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Radios */
  --r-sm: 4px;  --r-md: 8px;  --r-lg: 16px;
}

/* ---------- LUCIDE ICONS ---------- */
svg.lucide {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
  stroke-width: 1.75;
}
.spin-icon { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.call-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #EF4444;
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.btn-icon { vertical-align: middle; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: #E2E8F0;
  overflow-x: hidden;
  line-height: 1.75;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ---------- UTILITIES ---------- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hidden { display: none !important; }

/* ---------- NOISE TEXTURE ---------- */
.noise { position: relative; }
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.015;
  pointer-events: none;
  z-index: 0;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero-eyebrow  { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0ms both; }
.hero-title    { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 100ms both; }
.hero-subtitle { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 200ms both; }
.hero-ctas     { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 300ms both; }
.hero-visual   { animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 200ms both; }

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 400ms; }

/* Directional reveal variants */
.reveal-on-scroll.reveal-from-left  { transform: translateX(-40px); }
.reveal-on-scroll.reveal-from-right { transform: translateX(40px); }
.reveal-on-scroll.reveal-from-left.revealed,
.reveal-on-scroll.reveal-from-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-on-scroll.reveal-scale { transform: scale(0.92); }
.reveal-on-scroll.reveal-scale.revealed { opacity: 1; transform: scale(1); }

.reveal-on-scroll.reveal-fade { transform: none; }
.reveal-on-scroll.reveal-fade.revealed { opacity: 1; transform: none; }

/* Stagger grid — cards cascade with scale + slide */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-grid.revealed > * { opacity: 1; transform: translateY(0) scale(1); }
.stagger-grid.revealed > *:nth-child(1) { transition-delay: 0ms; }
.stagger-grid.revealed > *:nth-child(2) { transition-delay: 120ms; }
.stagger-grid.revealed > *:nth-child(3) { transition-delay: 240ms; }
.stagger-grid.revealed > *:nth-child(4) { transition-delay: 360ms; }
.stagger-grid.revealed > *:nth-child(5) { transition-delay: 480ms; }
.stagger-grid.revealed > *:nth-child(6) { transition-delay: 600ms; }

/* Progressive text reveal — clip-path wipe on <em> */
.reveal-on-scroll h2 em,
.reveal-on-scroll .challenge-title em {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.reveal-on-scroll.revealed h2 em,
.reveal-on-scroll.revealed .challenge-title em {
  clip-path: inset(0 0% 0 0);
}

/* Hero gradient text wipe on load */
.hero-title .gradient-text {
  display: inline-block;
  clip-path: inset(0 100% 0 0);
  animation: text-wipe 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}
@keyframes text-wipe { to { clip-path: inset(0 0% 0 0); } }

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  min-height: 52px;
  background: var(--text-dark);
  color: #fff;
  border: 1px solid var(--text-dark);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: #1E293B;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}
.btn-primary:active { opacity: 0.85; }

.btn-primary.btn-teal {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--bg);
}
.btn-primary.btn-teal:hover {
  background: var(--teal-hover);
  border-color: var(--teal-hover);
  box-shadow: 0 8px 24px rgba(29, 209, 161, 0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

/* Ghost en fondo claro (hero) */
.hero .btn-ghost {
  border-color: #CBD5E1;
  color: #0F172A;
}
.hero .btn-ghost:hover {
  border-color: #0F172A;
  color: #0F172A;
  background: rgba(15,23,42,0.04);
}

/* ── CTA demo button (hero, fondo claro) ── */
.btn-demo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 1.8rem;
  min-height: 52px;
  background: linear-gradient(135deg, #1DD1A1, #0CB894);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--r-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(29,209,161,0.35);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-demo-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,209,161,0.45);
  background: linear-gradient(135deg, #22E8B5, #1DD1A1);
}
.btn-demo-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(29,209,161,0.3);
}
.btn-demo-cta svg { width: 17px; height: 17px; flex-shrink: 0; }
.cta-arrow {
  transition: transform 0.2s;
}
.btn-demo-cta:hover .cta-arrow {
  transform: translateX(3px);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.85rem 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
}
.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a:not(.btn-primary) {
  color: var(--text-dark-sub);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.4rem 0.2rem;
  transition: color 0.2s;
}
.nav-links a:not(.btn-primary):hover { color: var(--text-dark); }

.nav-links .btn-primary { padding: 0.6rem 1.4rem; font-size: 0.88rem; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8,12,20,0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--teal); }

/* ---------- HERO (light bg) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: var(--bg-light);
}

/* Aurora gradient behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 600px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(29, 209, 161, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(52, 211, 153, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 60%, rgba(212, 160, 185, 0.05) 0%, transparent 50%);
  filter: blur(60px);
  pointer-events: none;
  animation: aurora-drift 12s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-30px, 20px) scale(1.05); }
  100% { transform: translate(15px, -10px) scale(0.98); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: #059669;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-subtitle {
  color: var(--text-dark-sub);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-subtitle strong {
  color: var(--text-dark);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Hero CTA swap: primary gets gradient, secondary goes neutral */
.hero-cta-main.btn-primary {
  background: linear-gradient(135deg, #1DD1A1, #0CB894);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(29,209,161,0.35);
}
.hero-cta-main.btn-primary:hover {
  background: linear-gradient(135deg, #22E8B5, #1DD1A1);
  box-shadow: 0 8px 24px rgba(29,209,161,0.45);
  border-color: transparent;
}
.hero-cta-secondary.btn-demo-cta {
  background: var(--text-dark);
  color: #fff;
  box-shadow: none;
  border: 1px solid var(--text-dark);
}
.hero-cta-secondary.btn-demo-cta:hover {
  background: #1E293B;
  box-shadow: 0 8px 24px rgba(15,23,42,0.2);
}

/* Trust signal under CTAs */
.hero-trust {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: #374151;
  letter-spacing: 0.01em;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 400ms both;
}

/* ══════════════════════════════════════════════
   HERO VISUAL — dos tarjetas limpias apiladas
══════════════════════════════════════════════ */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 520px;
  padding-right: 24px;     /* espacio para hcc-card desbordando */
  padding-bottom: 40px;
}

/* Glow ambiental */
.hero-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,209,161,0.13) 0%, rgba(16,185,129,0.05) 45%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 5s ease-in-out infinite alternate;
}
@keyframes glow-pulse {
  from { transform: scale(0.92); opacity: 0.6; }
  to   { transform: scale(1.06); opacity: 1; }
}

/* ─── CARD 1: Agenda ─── */
.hm-card {
  position: relative;
  z-index: 2;
  width: 360px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 4px 12px rgba(0,0,0,0.06),
    0 20px 56px rgba(0,0,0,0.12),
    0 48px 96px rgba(0,0,0,0.08);
  animation: slideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
}

/* Stagger slots */
.hm-slot {
  opacity: 0;
  animation: slotIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hm-slot:nth-child(1) { animation-delay: 0.5s; }
.hm-slot:nth-child(2) { animation-delay: 0.62s; }
.hm-slot:nth-child(3) { animation-delay: 0.74s; }
.hm-slot:nth-child(4) { animation-delay: 0.86s; }
.hm-slot:nth-child(5) { animation-delay: 0.98s; }
@keyframes slotIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Chrome row */
.hm-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  background: #F8FAFC;
  border-bottom: 1px solid #EEF2F7;
}
.hm-dots { display: flex; gap: 5px; }
.hm-dot-r, .hm-dot-y, .hm-dot-g {
  width: 10px; height: 10px; border-radius: 50%;
}
.hm-dot-r { background: #FF5F56; }
.hm-dot-y { background: #FFBD2E; }
.hm-dot-g { background: #28CA42; }
.hm-chrome-title {
  flex: 1;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.01em;
}
.hm-live-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 100px;
  padding: 0.18rem 0.55rem;
  animation: pill-pulse 2.5s ease-in-out infinite;
}
@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.3); }
  50%      { box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}
.hm-live-dot {
  width: 6px; height: 6px;
  background: #10B981;
  border-radius: 50%;
  animation: blink 1.4s ease-in-out infinite;
}

/* Cabecera del calendario */
.hm-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem 0.65rem;
  border-bottom: 1px solid #F1F5F9;
}
.hm-cal-month {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1;
}
.hm-cal-sub {
  display: block;
  font-size: 0.62rem;
  color: #94A3B8;
  margin-top: 3px;
}
.hm-fill-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.hm-fill-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #059669;
  line-height: 1;
  font-family: var(--font-display);
}
.hm-fill-label {
  font-size: 0.58rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Slots de cita */
.hm-slots {
  padding: 0.6rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hm-slot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background 0.18s, transform 0.18s;
  cursor: default;
}
.hm-slot:hover { background: #F8FAFC; transform: translateX(2px); }
.hm-s-ok   { border-left-color: #10B981; }
.hm-s-warn { border-left-color: #F59E0B; }
.hm-s-live { border-left-color: #6366F1; background: #F5F3FF; }

.hm-stime {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  min-width: 34px;
  font-variant-numeric: tabular-nums;
}
.hm-sinfo {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hm-spatient {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1;
}
.hm-sbadge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  width: fit-content;
  letter-spacing: 0.02em;
}
.hm-badge-ok   { background: #ECFDF5; color: #059669; }
.hm-badge-warn { background: #FFFBEB; color: #D97706; }
.hm-badge-live { background: #EEF2FF; color: #6366F1; }
.hm-pulse-dot {
  width: 5px; height: 5px;
  background: #6366F1;
  border-radius: 50%;
  animation: blink 1s ease-in-out infinite;
  flex-shrink: 0;
}
.hm-sicon {
  width: 14px; height: 14px;
  flex-shrink: 0;
}
.hm-s-ok .hm-sicon   { color: #10B981; }
.hm-s-warn .hm-sicon { color: #F59E0B; }
.hm-s-live .hm-sicon { color: #6366F1; animation: pulse-icon 1.8s ease-in-out infinite; }
.hm-spin { animation: spin 1.4s linear infinite !important; }

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

/* Footer de la card 1 */
.hm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.9rem;
  background: #F8FAFC;
  border-top: 1px solid #EEF2F7;
  gap: 0.5rem;
}
.hm-foot-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.66rem;
  color: #64748B;
  flex: 1;
}
.hm-foot-dot {
  width: 6px; height: 6px;
  background: #10B981;
  border-radius: 50%;
  animation: blink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}
.hm-foot-status strong { color: #334155; }
.hm-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.66rem;
  font-weight: 600;
  color: #fff;
  background: #0F172A;
  border: none;
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hm-audio-btn:hover { background: #1E293B; }
.hm-audio-btn svg { width: 11px; height: 11px; color: #10B981; }

/* ─── CARD 2: Llamada activa (stacked sobre card 1) ─── */
.hcc-card {
  position: absolute;
  bottom: 0;
  right: -12px;
  width: 268px;
  background: rgba(15,23,42,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  z-index: 4;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.3),
    0 32px 72px rgba(0,0,0,0.35);
  animation: float-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hcc-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hcc-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1DD1A1, #0D9B8A);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hcc-avatar svg { width: 15px; height: 15px; color: #fff; }
.hcc-head-info { flex: 1; }
.hcc-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #F0F4F8;
  line-height: 1;
  margin-bottom: 3px;
}
.hcc-call-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.45);
}
.hcc-call-dot {
  width: 6px; height: 6px;
  background: #EF4444;
  border-radius: 50%;
  animation: blink 0.9s ease-in-out infinite;
  flex-shrink: 0;
}
.hcc-end {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hcc-end svg { width: 12px; height: 12px; color: #F87171; }

.hcc-messages {
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hcc-msg {
  max-width: 90%;
  padding: 0.5rem 0.7rem;
  border-radius: 10px;
  font-size: 0.72rem;
  line-height: 1.45;
}
.hcc-msg p { margin: 0; }
.hcc-ai {
  background: rgba(255,255,255,0.07);
  border-radius: 4px 10px 10px 10px;
  color: rgba(255,255,255,0.82);
  align-self: flex-start;
}
.hcc-patient {
  background: rgba(29,209,161,0.15);
  border-radius: 10px 4px 10px 10px;
  color: #6EE7B7;
  align-self: flex-end;
}
.hcc-last { padding-bottom: 0.3rem; }
.hcc-tag-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.35rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: #10B981;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 4px;
  padding: 0.15rem 0.45rem;
}
.hcc-tag-ok svg { width: 10px; height: 10px; }

/* Waveform en card 2 */
.hcc-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0.55rem 0.9rem 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hcc-wave span {
  display: block;
  width: 3px;
  background: rgba(29,209,161,0.6);
  border-radius: 3px;
  animation: wave-bar 0.7s ease-in-out infinite alternate;
}
.hcc-wave span:nth-child(1)  { height: 6px;  animation-delay: 0ms; }
.hcc-wave span:nth-child(2)  { height: 14px; animation-delay: 80ms; }
.hcc-wave span:nth-child(3)  { height: 20px; animation-delay: 160ms; }
.hcc-wave span:nth-child(4)  { height: 16px; animation-delay: 60ms; }
.hcc-wave span:nth-child(5)  { height: 24px; animation-delay: 200ms; }
.hcc-wave span:nth-child(6)  { height: 18px; animation-delay: 100ms; }
.hcc-wave span:nth-child(7)  { height: 22px; animation-delay: 140ms; }
.hcc-wave span:nth-child(8)  { height: 12px; animation-delay: 40ms; }
.hcc-wave span:nth-child(9)  { height: 18px; animation-delay: 180ms; }
.hcc-wave span:nth-child(10) { height: 8px;  animation-delay: 120ms; }

@keyframes float-in {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.bubble-avatar {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #059669);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.bubble-avatar svg { width: 14px; height: 14px; color: #fff; }

.bubble-content {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px 12px 12px 4px;
  padding: 0.6rem 0.8rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.bubble-patient .bubble-content {
  background: #F0FDF4;
  border-color: #BBF7D0;
  border-radius: 12px 12px 4px 12px;
  margin-left: auto;
}
.bubble-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: #059669;
  display: block;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.bubble-patient .bubble-name { color: var(--text-muted); }
.bubble-content p {
  font-size: 0.78rem;
  color: #334155;
  line-height: 1.45;
  margin: 0;
}

/* Mini audio player CTA */
.hero-mini-player {
  position: absolute;
  bottom: -16px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: var(--text-dark);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
  animation: float-in 0.6s ease-out 3s both;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-mini-player:hover {
  background: #1E293B;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.hero-mini-player svg { width: 14px; height: 14px; color: #10B981; }
.hero-mini-player span { font-size: 0.75rem; color: #fff; font-weight: 500; }
.mini-play-icon { color: #fff !important; }
.mini-player-pulse {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

/* ---------- HERO: TOAST + LIVE BADGE ---------- */

/* Shared live dot */
.live-dot-sm {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  flex-shrink: 0;
  animation: blink 1.4s ease-in-out infinite;
}

/* Toast notification */
.hero-toast {
  position: absolute;
  top: 28px;
  left: -24px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid #D1FAE5;
  border-radius: 12px;
  padding: 0.55rem 0.9rem 0.55rem 0.65rem;
  box-shadow: 0 8px 24px rgba(16,185,129,0.12), 0 2px 6px rgba(0,0,0,0.06);
  animation: float-in 0.6s ease-out 3.8s both;
  z-index: 4;
  white-space: nowrap;
}
.hero-toast-icon { color: #10B981; display: flex; }
.hero-toast-icon svg { width: 16px; height: 16px; }
.hero-toast-body { display: flex; flex-direction: column; gap: 1px; }
.hero-toast-title { font-size: 0.72rem; font-weight: 700; color: #0F172A; line-height: 1.2; }
.hero-toast-sub   { font-size: 0.64rem; color: #64748B; }

/* Live call badge */
.hero-live-badge {
  position: absolute;
  bottom: 80px;
  left: -32px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #0F172A;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 0.45rem 0.85rem 0.45rem 0.55rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
  animation: float-in 0.6s ease-out 4.2s both;
  z-index: 4;
  white-space: nowrap;
  cursor: default;
}
.hero-live-badge span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

/* Pulsing ring around live dot */
.live-ring {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(16,185,129,0.4);
  animation: ring-pulse 1.8s ease-out infinite;
}
@keyframes ring-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Voice waveform bars in live badge */
.hero-live-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}
.hero-live-bars span {
  display: block;
  width: 2px;
  background: #10B981;
  border-radius: 2px;
  animation: wave-bar 0.9s ease-in-out infinite alternate;
}
.hero-live-bars span:nth-child(1) { height: 6px;  animation-delay: 0ms; }
.hero-live-bars span:nth-child(2) { height: 10px; animation-delay: 100ms; }
.hero-live-bars span:nth-child(3) { height: 14px; animation-delay: 200ms; }
.hero-live-bars span:nth-child(4) { height: 8px;  animation-delay: 150ms; }
.hero-live-bars span:nth-child(5) { height: 12px; animation-delay: 50ms; }

@keyframes wave-bar {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}

/* ---------- HERO → DARK TRANSITION ---------- */

/* ---------- INTEGRATION BAR ---------- */
.integrations {
  padding: 2.5rem 0 0;
  background: var(--bg-light);
  overflow: hidden;
}

.integrations-label {
  text-align: center;
  color: #7C8FA3;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

/* Marquee container */
.integ-marquee-wrap {
  position: relative;
  overflow: hidden;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.integ-marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.integ-marquee-track:hover { animation-play-state: paused; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Chip individual */
.integ-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem 0.55rem 0.65rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  white-space: nowrap;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  cursor: default;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.integ-chip:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.integ-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.integ-icon svg { width: 28px; height: 28px; display: block; }

.integ-logo {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: contain;
}

.integ-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E293B;
  letter-spacing: 0.01em;
}

/* Línea divisora al pie de integrations */
.integrations::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 2.5rem;
  background: #E2E8F0;
}

/* ---------- CHALLENGE (EL DESAFÍO) ---------- */
.challenge {
  padding: 6rem 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(107,91,226,0.04) 0%, transparent 60%), var(--bg);
}

.section-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.challenge-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.challenge-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  text-align: left;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.challenge-title em {
  font-style: normal;
  color: var(--teal);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 60ch;
}

.challenge-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.challenge-big-stat {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.challenge-big-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}
.stat-attribution {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.challenge-contrast {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--teal);
}
.challenge-contrast strong {
  font-size: 1.3rem;
  color: #fff;
}

/* ---------- ANTES VS DESPUÉS ---------- */
.comparison {
  padding: 6rem 0;
  background: var(--bg-elevated);
  position: relative;
}

.comparison-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.comparison-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 0.5rem;
}
.comparison-title em {
  font-style: normal;
  color: var(--teal);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
  max-width: 960px;
  margin: 0 auto;
}

.comparison-card {
  border-radius: 16px;
  padding: 2.2rem;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.comparison-card:hover {
  transform: translateY(-4px);
}

/* BAD card — red tint, feels "old/broken" */
.comparison-card--bad {
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.15);
  border-top: 3px solid #EF4444;
}
.comparison-card--bad:hover {
  box-shadow: 0 8px 32px rgba(239,68,68,0.08);
}

/* GOOD card — teal glow, feels "alive/modern" */
.comparison-card--good {
  background: rgba(0,201,167,0.04);
  border: 1px solid rgba(0,201,167,0.15);
  border-top: 3px solid var(--teal);
  box-shadow: 0 0 0 0 rgba(0,201,167,0);
}
.comparison-card--good:hover {
  box-shadow: 0 8px 32px rgba(0,201,167,0.12);
}

.comparison-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.comparison-card--bad .comparison-card-title { color: #EF4444; }
.comparison-card--good .comparison-card-title { color: var(--teal); }

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.comparison-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px;
  height: 18px;
}
.comparison-card--bad .comparison-list li svg {
  color: #EF4444;
  opacity: 0.7;
}
.comparison-card--good .comparison-list li svg {
  color: var(--teal);
  filter: drop-shadow(0 0 3px rgba(0,201,167,0.4));
}

.comparison-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}
.comparison-vs-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,201,167,0.1), rgba(99,102,241,0.1));
  border: 2px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(0,201,167,0.15);
}

/* ─────────────────────────────────────────────
   DASHBOARD MOCKUP SECTION
───────────────────────────────────────────── */
.dashboard-section {
  padding: 6rem 0;
  background: var(--bg);
}
.dash-intro { text-align: center; margin-bottom: 3rem; }
.dash-intro-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  margin-bottom: 1rem;
}
.dash-intro-title em { font-style: normal; color: var(--teal); }

/* Card wrapper */
.dash-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
}

/* macOS window chrome */
.dash-chrome {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-chrome-dots { display: flex; gap: 6px; }
.dash-chrome-dots span { width: 11px; height: 11px; border-radius: 50%; }
.dc-red    { background: #FF5F56; }
.dc-yellow { background: #FFBD2E; }
.dc-green  { background: #28CA42; }
.dash-chrome-url {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  background: rgba(255,255,255,0.04);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  letter-spacing: 0.01em;
}
.dash-live-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #10B981;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
}

/* Metrics row */
.dash-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-metric {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.dash-metric:last-child { border-right: none; }
.dash-metric:hover { background: rgba(255,255,255,0.02); }
.dm-top { display: flex; align-items: baseline; gap: 2px; }
.dm-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  transition: color 0.3s;
}
.dm-num.counted { color: var(--teal); }
.dm-suf {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}
.dm-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.dm-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  margin-top: 0.2rem;
}
.dm-trend svg { width: 11px; height: 11px; }
.dm-up     { color: #10B981; }
.dm-money  { color: #FCD34D; }
.dm-neutral { color: var(--text-muted); }

/* Bottom row */
.dash-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

/* Activity feed */
.dash-activity {
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.05);
}
.dash-act-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.dash-act-count {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 400;
}
.dash-act-feed { display: flex; flex-direction: column; gap: 0.5rem; }
.dash-act-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}
.dash-act-item:hover { background: rgba(255,255,255,0.03); }
.dash-act-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.act-info { flex: 1; color: var(--text-secondary); line-height: 1.35; }
.act-info strong { color: var(--text-primary); }
.act-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.act-now { color: #10B981; font-weight: 600; }
.act-confirmed  { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.1); }
.act-confirmed svg { color: #10B981; }
.act-rescheduled { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.1); }
.act-rescheduled svg { color: #F59E0B; }
.act-live { background: rgba(99,102,241,0.07); border-color: rgba(99,102,241,0.15); }
.act-live svg { color: #818CF8; }
.act-live-ring {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(99,102,241,0.5);
  position: absolute;
  animation: ring-pulse 1.6s ease-out infinite;
}

/* Bar chart */
.dash-bar-chart {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dbc-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.dbc-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
  height: 100px;
  flex: 1;
}
.dbc-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}
.dbc-bar-wrap {
  display: flex;
  align-items: flex-end;
  height: 80px;
  width: 100%;
}
.dbc-bar {
  width: 100%;
  height: 0;
  border-radius: 4px 4px 0 0;
  background: rgba(0,201,167,0.18);
  transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dbc-bar.animated { height: var(--h); }
.dbc-bar-active { background: var(--teal) !important; box-shadow: 0 0 16px rgba(29,209,161,0.3); }
.dbc-bar-ghost  { background: rgba(0,201,167,0.10) !important; border: 1px dashed rgba(0,201,167,0.2); }
.dbc-day {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}
.dbc-day-active { color: var(--teal); font-weight: 700; }

/* ─────────────────────────────────────────────
   FEATURES: VOICE WAVEFORM VIZ
───────────────────────────────────────────── */
.voice-wave-viz {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 1.5rem 1.5rem;
  background: rgba(29,209,161,0.05);
  border: 1px solid rgba(29,209,161,0.12);
  border-radius: 10px;
  flex: 1;
  justify-content: center;
}
.vwv-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vwv-caller {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}
.vwv-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(29,209,161,0.12);
  border: 1px solid rgba(29,209,161,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.vwv-caller-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.vwv-caller-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.vwv-caller-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}
.vwv-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
}
.vwv-bars span {
  display: block;
  flex: 1;
  background: var(--teal);
  border-radius: 4px;
  opacity: 0.75;
  animation: wave-bar 0.8s ease-in-out infinite alternate;
}
.vwv-bars span:nth-child(1)  { height: 18px; animation-delay: 0ms; }
.vwv-bars span:nth-child(2)  { height: 34px; animation-delay: 70ms; }
.vwv-bars span:nth-child(3)  { height: 48px; animation-delay: 140ms; }
.vwv-bars span:nth-child(4)  { height: 56px; animation-delay: 60ms; }
.vwv-bars span:nth-child(5)  { height: 40px; animation-delay: 200ms; }
.vwv-bars span:nth-child(6)  { height: 60px; animation-delay: 120ms; }
.vwv-bars span:nth-child(7)  { height: 44px; animation-delay: 180ms; }
.vwv-bars span:nth-child(8)  { height: 56px; animation-delay: 80ms; }
.vwv-bars span:nth-child(9)  { height: 30px; animation-delay: 150ms; }
.vwv-bars span:nth-child(10) { height: 48px; animation-delay: 40ms; }
.vwv-bars span:nth-child(11) { height: 22px; animation-delay: 110ms; }
.vwv-bars span:nth-child(12) { height: 52px; animation-delay: 90ms; }
.vwv-bars span:nth-child(13) { height: 38px; animation-delay: 160ms; }
.vwv-bars span:nth-child(14) { height: 64px; animation-delay: 30ms; }
.vwv-bars span:nth-child(15) { height: 42px; animation-delay: 190ms; }
.vwv-bars span:nth-child(16) { height: 26px; animation-delay: 55ms; }
.vwv-transcript {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  border-top: 1px solid rgba(29,209,161,0.1);
  padding-top: 0.6rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}
.vwv-tag {
  font-style: normal;
  font-weight: 600;
  color: var(--teal);
  margin-right: 0.2rem;
}

/* ---------- FOTO BANNER ---------- */
/* ---------- SOCIAL PROOF ---------- */
.social-proof {
  padding: 5rem 0;
  background: var(--bg);
  position: relative;
}
.sp-header { text-align: center; margin-bottom: 3rem; }
.sp-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.sp-title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.sp-stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 1rem;
}
.sp-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.sp-stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  line-height: 1.5;
}

.sp-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.sp-case-card {
  padding: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 1rem;
}
.sp-case-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(0,201,167,0.15), rgba(0,153,200,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--teal);
}
.sp-case-icon i { width: 1.2rem; height: 1.2rem; }
.sp-case-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.sp-case-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Demo "Hecho en Chile" badge */
.demo-badge-chile {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,201,167,0.1);
  border: 1px solid rgba(0,201,167,0.25);
  border-radius: 2rem;
}

/* ---------- CTA BANNERS ---------- */
.cta-banner {
  padding: 3rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
}
.cta-banner-text em {
  font-style: normal;
  color: var(--teal);
}

/* =============================================
   SECTION HEADING — consistent pattern
   ============================================= */
.section-heading {
  margin-bottom: 3.5rem;
}
.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.section-heading h2 em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

/* =============================================
   FEATURES — numbered cards grid
   ============================================= */
/* ---------- FEATURES ---------- */
.features {
  padding: 6rem 0;
  background: radial-gradient(ellipse at 0% 50%, rgba(29,209,161,0.04) 0%, transparent 60%), var(--bg);
}

.feat-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1.5rem;
}
/* Card 01: columna izquierda, abarca 2 filas */
.feat-card:nth-child(1) {
  grid-row: span 2;
}
/* Card 04: fila inferior, ancho completo */
.feat-card:nth-child(4) {
  grid-column: span 2;
}
.feat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s;
  overflow: hidden;
}
.feat-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
}
.feat-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.12);
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  letter-spacing: -0.04em;
  user-select: none;
}
.feat-icon {
  width: 44px;
  height: 44px;
  background: rgba(29,209,161,0.08);
  border: 1px solid var(--teal-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.feat-icon svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
}
.feat-card h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feat-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  flex: 1;
}
.feat-kpi {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border-top: 1px solid var(--border-dark);
  padding-top: 0.85rem;
  margin-top: 1.25rem;
}

/* --- Feature Card 02: Chat Viz --- */
.feat-chat-viz {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.2rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.025);
  border-radius: var(--r-md);
  border: 1px solid var(--border-dark);
}
.fcv-bubble {
  font-size: 0.72rem;
  line-height: 1.45;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  max-width: 85%;
  animation: fcvFadeIn 0.5s ease both;
}
.fcv-bubble:nth-child(1) { animation-delay: 0.1s; }
.fcv-bubble:nth-child(2) { animation-delay: 0.35s; }
.fcv-bubble:nth-child(3) { animation-delay: 0.6s; }
.fcv-ai {
  background: rgba(29,209,161,0.12);
  border: 1px solid rgba(29,209,161,0.2);
  color: var(--teal);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.fcv-user {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-secondary);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}
@keyframes fcvFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Feature Card 03: Reschedule Viz --- */
.feat-resched-viz {
  margin-top: 1.2rem;
  padding: 0.75rem;
  background: rgba(255,255,255,0.025);
  border-radius: var(--r-md);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.frv-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
}
.frv-old {
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.12);
}
.frv-new {
  background: rgba(29,209,161,0.08);
  border: 1px solid rgba(29,209,161,0.15);
}
.frv-label {
  font-weight: 600;
  color: var(--text-muted);
  min-width: 40px;
}
.frv-time {
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.frv-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: auto;
}
.frv-badge-cancel {
  background: rgba(239,68,68,0.15);
  color: #F87171;
}
.frv-badge-ok {
  background: rgba(29,209,161,0.15);
  color: var(--teal);
}
.frv-arrow {
  display: flex;
  justify-content: center;
  padding: 0.1rem 0;
  color: var(--text-muted);
}
.frv-arrow svg {
  width: 16px;
  height: 16px;
}

/* --- Feature Card 04: Integration Logo Grid --- */
.feat-integ-viz {
  margin-top: 1.2rem;
  padding: 0.7rem;
  background: rgba(255,255,255,0.025);
  border-radius: var(--r-md);
  border: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  justify-items: center;
}
.fiv-logo {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}
.fiv-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* =============================================
   HOW IT WORKS — horizontal step cards
   ============================================= */

.features-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: #fff;
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: -0.02em;
}
.features-title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}

.features-asym {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.feature-main {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 2rem;
  transition: border-color 0.2s;
}
.feature-main:hover { border-color: var(--teal-border); }
.feature-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(29, 209, 161, 0.2);
  border-radius: 3px;
}
.feature-main h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}
.feature-main p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 60ch;
}
.feature-detail {
  margin-top: 1rem;
  color: var(--teal) !important;
  font-weight: 500;
  font-size: 0.85rem !important;
}
.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-sm {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.feature-sm:hover { border-color: var(--teal-border); }
.feature-sm h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.feature-sm p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- HOW IT WORKS — step cards ---------- */
.how-it-works {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent, rgba(29,209,161,0.03) 50%, transparent), var(--bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.step-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s, transform 0.25s;
}
.step-card:hover {
  border-color: var(--teal-border);
  transform: translateY(-3px);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
  letter-spacing: -0.04em;
}
.step-icon-svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  display: block;
  margin-bottom: 0.75rem;
}
.step-time {
  display: inline-block;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-subtle);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}
.step-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.step-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- UNIFIED DEMO SECTION ---------- */
.demo-section {
  padding: 6rem 0;
  background: var(--bg-light);
  position: relative;
}

.demo-section-header {
  margin-bottom: 3.5rem;
}
.demo-section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.demo-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #0F172A;
  line-height: 1.1;
}
.demo-section-title em {
  font-style: normal;
  color: var(--teal);
}

/* Demo blocks — horizontal grid on desktop */
.demo-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.demo-block {
  margin-bottom: 0;
}
.demo-block-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.demo-block-title svg {
  width: 18px;
  height: 18px;
  color: #059669;
}

.demo-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 3.5rem 0;
}

.audio-demos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Inline player card */
.inline-player-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.inline-visualizer {
  height: 100px;
  background: rgba(5,150,105,0.05);
  border: 1px solid rgba(5,150,105,0.12);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
}
#inline-audio-canvas { width: 100%; height: 100%; display: block; }

.inline-player-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.inline-play-btn {
  width: 48px;
  height: 48px;
  background: #059669;
  border: 1px solid #059669;
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.inline-play-btn:hover { background: #047857; }
.inline-play-btn.playing { background: #047857; }

.inline-progress-wrap {
  flex: 1;
  height: 6px;
  background: #E2E8F0;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.inline-progress-fill {
  height: 100%;
  background: #059669;
  border-radius: 3px;
  transition: width 0.1s linear;
  width: 0%;
}
.inline-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #059669;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.inline-progress-wrap:hover .inline-progress-thumb { opacity: 1; }

.inline-time-display {
  font-size: 0.78rem;
  color: #64748B;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.inline-now-playing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #059669;
  font-weight: 500;
}
.inline-now-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.inline-now-bars span {
  display: block;
  width: 2px;
  background: #059669;
  border-radius: 1px;
  animation: eq-bar 1.2s ease-in-out infinite;
}
.inline-now-bars span:nth-child(1) { height: 5px; animation-delay: 0s; }
.inline-now-bars span:nth-child(2) { height: 9px; animation-delay: 0.2s; }
.inline-now-bars span:nth-child(3) { height: 4px; animation-delay: 0.4s; }
.inline-now-paused .inline-now-bars span { animation: none; height: 4px; opacity: 0.4; }

/* Demo selector tabs */
.inline-demo-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.inline-demo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-md);
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.inline-demo-item:hover {
  background: #F0FDF4;
  border-color: #6EE7B7;
  color: #0F172A;
}
.inline-demo-item.active {
  background: #F0FDF4;
  border-color: #059669;
  color: #0F172A;
}
.inline-demo-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #059669;
}
.inline-demo-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.inline-demo-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
}
.inline-demo-industry {
  font-size: 0.72rem;
  opacity: 0.65;
}
.inline-demo-status {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.inline-demo-item.active .inline-demo-status {
  background: #059669;
  box-shadow: 0 0 6px rgba(5,150,105,0.3);
}
.inline-demo-item.played .inline-demo-status {
  background: var(--text-secondary);
  opacity: 0.5;
}

.inline-audio-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(13, 18, 32, 0.85);
  border-radius: var(--r-md);
  font-size: 0.82rem;
  color: var(--text-secondary);
  z-index: 2;
}

/* ---------- BOT DEMO (inside unified section) ---------- */

.demo-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: stretch;
}

.demo-phone {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: #059669;
  border-bottom: none;
}
.demo-header-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.demo-header-avatar svg { width: 18px; height: 18px; }
.demo-header-info { flex: 1; }
.demo-title {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 600;
}
.demo-subtitle {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
}
.demo-header .btn-demo-reset {
  color: rgba(255,255,255,0.7);
  border: none;
  background: none;
  cursor: pointer;
  padding: 0.25rem;
}
.demo-header .btn-demo-reset:hover { color: #fff; }

.demo-chat {
  padding: 1.5rem;
  height: 380px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.demo-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  min-height: 280px;
  color: #94A3B8;
}
.demo-empty-state i, .demo-empty-state svg {
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(29,209,161,0.3);
  animation: pulse-icon 2s ease-in-out infinite;
}
.demo-empty-state p { font-size: 0.9rem; }

.demo-msg {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  animation: msg-in 0.4s ease;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.demo-msg-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.demo-msg.ai .demo-msg-label { color: #059669; }
.demo-msg.client .demo-msg-label { color: var(--text-secondary); text-align: right; }
.demo-msg.status .demo-msg-label { display: none; }

.demo-msg-bubble {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 85%;
}
.demo-msg.ai .demo-msg-bubble {
  background: #F0FDF4;
  border: 1px solid #A7F3D0;
  color: #065F46;
  border-bottom-left-radius: 3px;
  align-self: flex-start;
}
.demo-msg.client .demo-msg-bubble {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #1E293B;
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}
.demo-msg.status .demo-msg-bubble {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 0.72rem;
  align-self: center;
  text-align: center;
  border-radius: 0;
  max-width: 90%;
  padding: 0.1rem 0;
}
.demo-msg.demo-limit-msg .demo-msg-bubble {
  color: #F87171;
}
.demo-warning-bubble {
  background: none !important;
  border: none !important;
  color: #94A3B8 !important;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(29,209,161,0.08);
  border: 1px solid rgba(29,209,161,0.15);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  width: fit-content;
}
.typing-dot {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* Demo scenario selector */
.demo-scenario-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.demo-scenario-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}
.demo-scenario-options {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.demo-scenario-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.demo-scenario-btn svg { width: 14px; height: 14px; }
.demo-scenario-btn:hover {
  border-color: #059669;
  color: #0f172a;
  background: #f0fdf4;
}
.demo-scenario-btn.active {
  background: #059669;
  border-color: #059669;
  color: #fff;
  font-weight: 600;
}
.demo-scenario-bar.hidden { display: none; }

.demo-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
}

.btn-demo-play {
  flex: 1;
  padding: 0.7rem 1.25rem;
  background: #059669;
  color: #fff;
  border: 1px solid #059669;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.btn-demo-play:hover {
  background: #047857;
}
.btn-demo-play:disabled {
  background: #E2E8F0;
  border-color: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
}

.demo-microcopy {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}

.btn-demo-reset {
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.btn-demo-reset:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-demo-reset.hidden { display: none; }

/* Demo interactive input row */
.demo-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
}
.demo-input-row.hidden { display: none; }

.demo-input {
  flex: 1;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.87rem;
  outline: none;
  transition: border-color 0.2s;
}
.demo-input::placeholder { color: #94a3b8; }
.demo-input:-webkit-autofill,
.demo-input:-webkit-autofill:hover,
.demo-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #0f172a !important;
  caret-color: #0f172a;
}
.demo-input:focus { border-color: var(--teal); }
.demo-input:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-demo-send {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--teal);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.btn-demo-send:hover { background: #00b396; }
.btn-demo-send:disabled { opacity: 0.35; cursor: not-allowed; }

/* Demo info panel (below phone) */
.demo-info {
  padding: 1.5rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 3px solid #059669;
  border-radius: var(--r-md);
  position: static;
  box-shadow: none;
}
.demo-info h3 {
  font-size: 1.05rem;
  color: #0F172A;
  margin-bottom: 1.25rem;
}

.demo-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.demo-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.7;
}
.demo-checklist li strong { color: #0F172A; }
.demo-checklist li i {
  color: var(--teal);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 6rem 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(29,209,161,0.03) 0%, transparent 60%), var(--bg);
}

.faq-title {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #fff;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  border-radius: 0;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:first-child { border-top: 1px solid var(--border-dark); }
.faq-item.open { border-color: rgba(29,209,161,0.2); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  min-height: 56px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--teal); }
.faq-question span { flex: 1; }

.faq-icon {
  color: var(--teal);
  width: 1.1rem !important;
  height: 1.1rem !important;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 0 1.25rem 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.85;
  border-top: none;
  max-width: 60ch;
}
.faq-answer p strong { color: #fff; }

/* ---------- CONTACT ---------- */
.contact {
  padding: 6rem 0;
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 50%, rgba(29,209,161,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.contact-wrapper {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  margin-bottom: 0.5rem;
  text-align: center;
}
.contact-title em {
  font-style: normal;
  color: var(--teal);
}
.contact-sub {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 0.5rem;
}
.form-urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 0;
}

.contact-form {
  margin-top: 2.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  min-height: 52px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.14);
  border-bottom-color: rgba(255,255,255,0.22);
  border-radius: var(--r-md);
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-input::placeholder { color: rgba(255,255,255,0.35); }
.form-input--valid { border-color: var(--teal) !important; }
.form-input--error { border-color: var(--red-text) !important; }
.form-input:focus {
  border-color: rgba(29,209,161,0.7);
  background: rgba(29,209,161,0.05);
  box-shadow: 0 0 0 3px rgba(29,209,161,0.15);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.form-actions .btn-primary { flex: 1; justify-content: center; }

.form-microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  opacity: 0.7;
}

/* Success state */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  text-align: center;
}
.form-success i, .form-success svg {
  width: 3rem;
  height: 3rem;
  color: var(--teal);
}
.form-success h3 { color: #fff; font-size: 1.3rem; }
.form-success p { color: var(--text-secondary); }

/* ---------- FOOTER ---------- */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-links .separator { opacity: 0.3; }

.footer-copy {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
}

/* ---------- AUDIO MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fade-in 0.2s ease;
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-sm);
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  position: relative;
  animation: slide-up 0.3s ease;
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: 2px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

.modal-header { margin-bottom: 1rem; }
.modal-header h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}
.modal-header p { color: var(--text-secondary); font-size: 0.82rem; }

/* Now playing indicator */
.now-playing {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: var(--teal-subtle);
  border: 1px solid var(--teal-border);
  border-radius: var(--r-sm);
  margin-bottom: 1rem;
}
.now-playing-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.now-playing-bars span {
  display: block;
  width: 3px;
  background: var(--teal);
  border-radius: 1px;
  animation: eq-bar 1.2s ease-in-out infinite;
}
.now-playing-bars span:nth-child(1) { height: 6px; animation-delay: 0s; }
.now-playing-bars span:nth-child(2) { height: 10px; animation-delay: 0.2s; }
.now-playing-bars span:nth-child(3) { height: 4px; animation-delay: 0.4s; }
.now-playing.paused .now-playing-bars span { animation: none; height: 4px; opacity: 0.4; }
@keyframes eq-bar {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}
.now-playing-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal);
}

/* Player card */
.audio-player-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
}
.audio-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(13, 18, 32, 0.85);
  border-radius: var(--r-md);
  font-size: 0.82rem;
  color: var(--text-secondary);
  z-index: 2;
}

/* Demo selector list */
.audio-demo-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  max-height: 220px;
  overflow-y: auto;
}
.audio-demo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}
.audio-demo-item:hover {
  background: var(--teal-subtle);
  border-color: var(--teal-border);
  color: #fff;
}
.audio-demo-item.active {
  background: rgba(29,209,161,0.1);
  border-color: var(--teal);
  color: #fff;
}
.audio-demo-item i, .audio-demo-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--teal);
}
.audio-demo-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.audio-demo-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: inherit;
}
.audio-demo-industry {
  font-size: 0.72rem;
  opacity: 0.65;
}

.audio-visualizer {
  height: 80px;
  background: rgba(29,209,161,0.05);
  border: 1px solid rgba(29,209,161,0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
#audio-canvas { width: 100%; height: 100%; }

.audio-player-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-play-btn {
  width: 42px;
  height: 42px;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: var(--r-sm);
  color: var(--bg);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.audio-play-btn:hover {
  background: var(--teal-hover);
  transform: translateY(-2px);
}
.audio-play-btn.playing {
  box-shadow: 0 0 12px rgba(29, 209, 161, 0.3);
}

.audio-progress-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}
.audio-progress-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 3px;
  transition: width 0.1s linear;
  width: 0%;
}
.audio-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid var(--teal);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.audio-progress-wrap:hover .audio-progress-thumb { opacity: 1; }

.audio-time-display {
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Status indicator on demo item */
.demo-item-status {
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.audio-demo-item.active .demo-item-status {
  background: var(--teal);
  box-shadow: 0 0 6px rgba(29, 209, 161, 0.5);
}
.audio-demo-item.played .demo-item-status {
  background: var(--text-secondary);
  opacity: 0.5;
}

/* Modal hint */
.modal-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: var(--text-secondary);
  opacity: 0.5;
  margin-top: 1rem;
}

/* scrollbar for demo list */
.audio-demo-list::-webkit-scrollbar { width: 4px; }
.audio-demo-list::-webkit-scrollbar-track { background: transparent; }
.audio-demo-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

/* ---------- STICKY MOBILE CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(8, 12, 20, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.65rem 1rem;
  padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-dark);
  z-index: 90;
  justify-content: center;
}
.sticky-cta .btn-primary { width: 100%; max-width: 400px; justify-content: center; }

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 100;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 4.5rem;
    right: 0.75rem;
    width: 48px;
    height: 48px;
  }
  .whatsapp-float svg { width: 22px; height: 22px; }
  /* Move WhatsApp up when sticky CTA is visible */
  .sticky-cta.visible ~ .whatsapp-float,
  body:has(.sticky-cta.visible) .whatsapp-float {
    bottom: 5.5rem;
  }
}

/* =============================================
   ACCESSIBILITY — 60+ UX
   ============================================= */

/* Visible focus ring for keyboard navigation */
:focus-visible {
  outline: 3px solid rgba(29,209,161,0.6);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(29,209,161,0.6);
  outline-offset: 2px;
}

/* Smooth scrolling but respect user preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Bigger burger menu for mobile (easier to tap) */
.nav-burger {
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

/* CTA banner text */
.cta-banner p,
.cta-banner .cta-banner-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Social proof stats legibility */
.sp-stat-num { letter-spacing: -0.01em; }
.sp-case-card { font-size: 0.95rem; line-height: 1.7; }

/* Step card text */
.step-card p {
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Footer text legibility */
.footer-tagline { font-size: 0.9rem; }
.footer-links { font-size: 0.88rem; }
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.3); }

/* Sticky CTA bigger for older fingers */
.sticky-cta .btn-primary {
  min-height: 52px;
  font-size: 1.05rem;
}

/* =============================================
   MOBILE DEMO APP — fullscreen overlay
   ============================================= */

/* Hidden on desktop */
.demo-mobile-triggers { display: none; }
/* ── Mobile demo tabs ── */
.demo-mobile-tabs {
  display: none; /* shown via media query */
  gap: 0;
  background: #F1F5F9;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 1.25rem;
}
.demo-mtab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
  min-height: 46px;
  background: none;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s;
}
.demo-mtab svg { width: 17px; height: 17px; }
.demo-mtab.active {
  background: #fff;
  color: #0F172A;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}


/* =============================================
   RESPONSIVE — clean rewrite
   ============================================= */

/* ── Tablet ≤ 900px ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: 1; min-height: 420px; padding-bottom: 100px; padding-right: 0; }
  .hm-card { width: 300px; }
  .hcc-card { right: -8px; bottom: -10px; width: 230px; }

  .challenge-inner { grid-template-columns: 1fr; }
  .challenge-highlight { align-items: flex-start; text-align: left; }

  .comparison-grid { grid-template-columns: 1fr; gap: 0; }
  .comparison-vs { padding: 1rem 0; }

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

  .sp-stats { grid-template-columns: 1fr; }
  .sp-cases { grid-template-columns: 1fr; }

  .demo-cols { grid-template-columns: 1fr; gap: 2rem; }
  .audio-demos-grid { grid-template-columns: 1fr; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
}

/* ── Mobile ≤ 640px ── */
@media (max-width: 640px) {
  /* Nav */
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  /* Hero */
  .hero-visual { min-height: 380px; padding-right: 0; padding-bottom: 100px; }
  .hm-card { width: 85vw; max-width: 300px; }
  .hm-sbadge { display: none; }
  .hcc-card { right: 0; bottom: -10px; width: 70vw; max-width: 220px; font-size: 0.85em; }
  .hero-toast { display: none; }
  .hero-live-badge { display: none; }

  /* Dashboard */
  .dash-metrics-row { grid-template-columns: repeat(2, 1fr); }
  .dash-metric { padding: 1.25rem; }
  .dash-bottom-row { grid-template-columns: 1fr; }
  .dash-activity { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .dm-num { font-size: 1.8rem; }

  /* Features / Steps */
  .feat-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .btn-primary { flex: none; width: 100%; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; }

  /* ── Demo section: single column with tab switcher ── */
  .demo-section { padding: 3rem 0; }
  .demo-section .section-heading { margin-bottom: 1.5rem; }
  .demo-badge-chile { font-size: 0.65rem; padding: 0.25rem 0.65rem; }

  .demo-mobile-tabs { display: flex; }
  .demo-cols {
    display: block;
  }
  .demo-cols > .demo-block { display: none; }
  .demo-cols > .demo-block.mobile-active { display: block; }
  .demo-cols > .demo-block .demo-block-title { display: none; }
  .demo-mobile-triggers { display: none; }

  /* Modal */
  .modal-box {
    max-width: 100%; height: 100%; border-radius: 0;
    padding: 1.5rem; display: flex; flex-direction: column;
  }
  .audio-demo-list { max-height: none; flex: 1; overflow-y: auto; }
  .modal-hint { display: none; }
}

/* ── Sticky CTA ≤ 768px ── */
@media (max-width: 768px) {
  .sticky-cta.visible { display: flex; }
  .whatsapp-float { bottom: 4.5rem; right: 0.75rem; width: 48px; height: 48px; }
  .whatsapp-float svg { width: 22px; height: 22px; }
}

/* ── Small phone ≤ 420px ── */
@media (max-width: 420px) {
  html { font-size: 16px; }
  .container { padding: 0 1rem; }
  .section-heading h2 { font-size: 1.3rem; }

  .hero-visual { min-height: 340px; padding-bottom: 90px; }
  .hm-card { width: 82vw; max-width: 280px; }
  .hcc-card { width: 65vw; max-width: 200px; }

  .challenge { padding: 3.5rem 0; }
  .challenge-inner { gap: 2rem; }
  .challenge-big-stat { font-size: clamp(3rem, 14vw, 4.5rem); }

  .comparison-card { padding: 1.5rem; }
  .feat-card { padding: 1.5rem; }
  .faq { padding: 3.5rem 0; }
  .contact { padding: 3.5rem 0; }
  .contact-form { padding: 1.5rem; }
  .steps-grid { grid-template-columns: 1fr !important; }
}

/* =============================================
   SCROLL ANIMATION ENHANCEMENTS
   ============================================= */

.features,
.how-it-works { position: relative; }
.features::before,
.how-it-works::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,201,167,0.03), transparent);
  pointer-events: none;
}

.contact-section { position: relative; }
.contact-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,201,167,0.05) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

.feat-card .feat-icon {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s, background 0.3s;
}
.feat-card:hover .feat-icon {
  transform: translateY(-3px) scale(1.08);
  border-color: var(--teal);
  background: rgba(0,201,167,0.1);
}
.step-card .step-num { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.step-card:hover .step-num { transform: scale(1.1); }

@keyframes vs-pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.comparison.revealed .comparison-vs-badge {
  animation: vs-pop 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

@keyframes stat-reveal {
  0%   { opacity: 0; transform: scale(0.7) translateY(20px); }
  60%  { transform: scale(1.04) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.challenge.revealed .challenge-big-stat {
  animation: stat-reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

[data-parallax] { will-change: transform; }

/* =============================================
   REDUCED MOTION — accessibility
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll,
  .stagger-grid > * {
    opacity: 1 !important;
    transform: none !important;
  }
  [data-parallax] { transform: none !important; }
  .hero-title .gradient-text { clip-path: none !important; }
  .reveal-on-scroll h2 em,
  .reveal-on-scroll .challenge-title em { clip-path: none !important; }
}
