/* ===========================================================
   VoiceSoul — Design System
   =========================================================== */

:root{
  --bg: #FBFBFF;
  --bg-alt: #F3F2FE;
  --surface: #FFFFFF;
  --surface-2: #F5F4FE;
  --border: rgba(30,27,75,0.08);
  --border-strong: rgba(30,27,75,0.15);

  --text: #171332;
  --text-muted: #5B5878;
  --text-faint: #8A87A3;

  --navy: #1E3A8A;
  --primary: #2563EB;
  --primary-2: #38BDF8;
  --accent: #06B6D4;
  --success: #10B981;

  /* readable-on-light ink versions of the vivid colors, for text on tinted chips */
  --primary-ink: #1D4ED8;
  --navy-ink: #1E3A8A;
  --cyan-ink: #0E7490;
  --success-ink: #047857;
  --pink-ink: #DB2777;
  --amber-ink: #B45309;

  --grad-primary: linear-gradient(135deg, #1E3A8A 0%, #2563EB 55%, #38BDF8 130%);
  --grad-text: linear-gradient(135deg, #1E3A8A 0%, #2563EB 55%, #0EA5E9 100%);

  --shadow-sm: 0 2px 10px rgba(30,58,138,0.08);
  --shadow-md: 0 12px 34px rgba(30,58,138,0.12);
  --shadow-glow: 0 0 70px rgba(37,99,235,0.18);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1240px;

  --font-head: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html,body{ margin:0; padding:0; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5{
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 14px; color: var(--text-muted); }
ul{ margin:0; padding:0; list-style:none; }
a{ color: inherit; text-decoration: none; }
img,svg{ display:block; max-width:100%; }
button{ font-family: inherit; cursor:pointer; }

.skip-link{
  position:absolute; left:-9999px; top:0; background:var(--surface); color:var(--text);
  padding:10px 16px; z-index:999; border-radius: 0 0 8px 0;
}
.skip-link:focus{ left:0; }

.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow{ max-width: 760px; }

.section{ padding: 110px 0; position: relative; }
.section--alt{ background: linear-gradient(180deg, transparent, rgba(109,90,230,0.035) 15%, rgba(109,90,230,0.035) 85%, transparent); }

.section__head{ max-width: 640px; margin: 0 auto 56px; text-align:center; }
.section__head h2{ font-size: clamp(28px, 3.6vw, 42px); }
.section__sub{ font-size: 17px; }

.eyebrow{
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary-ink);
  margin: 0 0 12px;
  text-align: inherit;
}
.section__head .eyebrow{ text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--primary{
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: 0 6px 24px rgba(37,99,235,0.35);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,99,235,0.5); }
.btn--ghost{
  background: rgba(30,27,75,0.035);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover{ background: rgba(30,27,75,0.07); transform: translateY(-2px); }
.btn--lg{ padding: 15px 30px; font-size: 15.5px; }
.btn--sm{ padding: 10px 18px; font-size: 13.5px; }

.link-cta{
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--font-head); font-weight:600; color: var(--primary-ink);
  font-size:15px; margin-top: 8px;
  transition: gap .15s ease;
}
.link-cta:hover{ gap: 10px; }

/* ---------- Nav ---------- */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: rgba(251,251,255,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav__inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 72px;
}
.nav__logo{
  display:flex; align-items:center; gap:10px;
  font-family: "Poppins", var(--font-head); font-weight: 700; font-size: 20px; color: var(--text);
}
.nav__logo-mark{ display:flex; }
.nav__logo-text{ display:inline-flex; letter-spacing: -0.01em; }
.logo-soul{
  background: linear-gradient(90deg, #2563EB 0%, #7C6CF6 60%, #8B5CF6 100%);
  -webkit-background-clip: text; background-clip:text; color:transparent;
}
.nav__links{ display:flex; align-items:center; gap: 34px; }
.nav__links a{
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  transition: color .15s ease;
}
.nav__links a:hover{ color: var(--text); }
.nav__actions{ display:flex; align-items:center; gap: 16px; }

.nav__burger{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 38px; height:38px; background:none; border:none;
}
.nav__burger span{ display:block; height:2px; width:22px; background: var(--text); border-radius:2px; transition: transform .2s ease, opacity .2s ease; }
.nav__burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2){ opacity:0; }
.nav__burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none; flex-direction:column; gap: 4px;
  padding: 12px 24px 20px;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--border);
  max-height: 0; overflow:hidden; transition: max-height .28s ease;
}
.mobile-nav a{
  padding: 12px 4px; font-size: 15px; color: var(--text-muted); border-bottom: 1px solid var(--border);
}
.mobile-nav.is-open{ max-height: 480px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 168px 0 100px;
  overflow: hidden;
}
.hero__glow{
  position:absolute; inset:-20% -10% auto -10%; height: 780px;
  background: radial-gradient(55% 55% at 22% 15%, rgba(37,99,235,0.30), transparent 70%),
              radial-gradient(45% 45% at 85% 8%, rgba(6,182,212,0.26), transparent 70%),
              radial-gradient(40% 40% at 55% 55%, rgba(56,189,248,0.20), transparent 70%);
  filter: blur(50px);
  pointer-events:none;
  z-index:0;
}
.hero__grid{
  position: relative; z-index: 1;
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items:center;
}
.hero h1{
  font-size: clamp(36px, 4.6vw, 60px);
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip:text; color: transparent;
  max-width: 640px;
}
.hero__sub{ font-size: 18.5px; max-width: 520px; color: var(--text-muted); }
.hero__cta{ display:flex; gap: 16px; margin: 30px 0 26px; flex-wrap: wrap; }
.hero__meta{ display:flex; flex-direction:column; gap:10px; }
.hero__meta-item{ display:flex; align-items:center; gap:9px; font-size: 13.5px; color: var(--text-faint); }
.dot{ width:8px; height:8px; border-radius:50%; background: var(--text-faint); flex-shrink:0; }
.dot--live{ background: var(--success); box-shadow: 0 0 0 4px rgba(16,185,129,0.18); animation: pulse 2s infinite; }

@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }
  50%{ box-shadow: 0 0 0 8px rgba(16,185,129,0.06); }
}

/* Phone / product mock */
.hero__visual{ position:relative; }
.phone-mock{
  background: linear-gradient(180deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  overflow:hidden;
}
.phone-mock__head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.phone-mock__title{ font-family: var(--font-head); font-size:13.5px; font-weight:600; color: var(--text-muted); }
.badge{ font-size: 11.5px; font-weight:700; padding: 4px 10px; border-radius: 100px; font-family: var(--font-head); }
.badge--live{ background: rgba(16,185,129,0.14); color: var(--success-ink); }

.chat{ padding: 20px; display:flex; flex-direction:column; gap:12px; min-height: 200px; }
.chat__msg{
  max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height:1.5;
  animation: msgIn .5s ease both;
}
.chat__channel{ display:block; font-size:11px; color: var(--text-faint); margin-bottom:4px; font-weight:600; }
.chat__msg--in{ align-self:flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: var(--text); }
.chat__msg--out{ align-self:flex-end; background: var(--grad-primary); color:#FFFFFF; border-bottom-right-radius: 4px; font-weight:500; }
.chat__system{
  align-self:center; font-size: 12.5px; color: var(--success-ink);
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25);
  padding: 6px 14px; border-radius: 100px; margin-top:4px;
}

@keyframes msgIn{ from{ opacity:0; transform: translateY(8px); } to{ opacity:1; transform:none; } }

.phone-mock__footer{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 20px; border-top: 1px solid var(--border);
}
.status-pill{ font-size:12.5px; font-weight:600; padding: 6px 13px; border-radius:100px; font-family: var(--font-head); }
.status-pill--ok{ background: rgba(37,99,235,0.12); color: var(--primary-ink); }

.waveform{ display:flex; align-items:center; gap:3px; height: 22px; }
.waveform span{
  width: 3px; border-radius: 3px; background: var(--accent);
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1){ height:40%; animation-delay: 0s; }
.waveform span:nth-child(2){ height:80%; animation-delay: .1s; }
.waveform span:nth-child(3){ height:55%; animation-delay: .2s; }
.waveform span:nth-child(4){ height:100%; animation-delay: .3s; }
.waveform span:nth-child(5){ height:60%; animation-delay: .4s; }
.waveform span:nth-child(6){ height:85%; animation-delay: .5s; }
.waveform span:nth-child(7){ height:35%; animation-delay: .6s; }
.waveform span:nth-child(8){ height:70%; animation-delay: .7s; }
.waveform span:nth-child(9){ height:50%; animation-delay: .8s; }
@keyframes wave{ 0%,100%{ transform: scaleY(0.4); } 50%{ transform: scaleY(1); } }
.waveform--sm span{ height: 60% !important; }
.waveform--lg{ height: 46px; justify-content:center; gap:5px; }
.waveform--lg span{ width:4px; }
.waveform.is-idle span{ animation-play-state: paused; opacity: .35; }

.floaty{
  position:absolute; font-size:12.5px; font-weight:600; font-family: var(--font-head);
  background: var(--surface); border:1px solid var(--border-strong); color: var(--text);
  padding: 9px 14px; border-radius: 100px; box-shadow: var(--shadow-sm);
  animation: floatY 4s ease-in-out infinite;
}
.floaty--1{ top: -18px; right: 30px; animation-delay: .5s; }
.floaty--2{ bottom: -16px; left: 10px; animation-delay: 1.4s; }
@keyframes floatY{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

/* ---------- Trust ---------- */
.trust{ padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust__line{ text-align:center; font-family: var(--font-head); font-size: 15px; color: var(--text-muted); margin-bottom: 20px; }
.trust__row{ display:flex; justify-content:center; align-items:center; gap: 16px; flex-wrap:wrap; font-weight:600; color: var(--text); font-size: 14.5px; }
.trust__dot{ color: var(--text-faint); }

/* ---------- Problem ---------- */
.problem-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.problem-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px 22px; transition: transform .2s ease, border-color .2s ease;
}
.problem-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
.problem-card__icon{
  color: var(--primary-ink); width: 26px; height:26px; margin-bottom: 16px;
  padding: 8px; box-sizing: content-box; border-radius: 10px; background: rgba(37,99,235,0.1);
}
.problem-card:nth-child(2) .problem-card__icon{ color: var(--cyan-ink); background: rgba(6,182,212,0.1); }
.problem-card:nth-child(3) .problem-card__icon{ color: var(--amber-ink); background: rgba(245,158,11,0.1); }
.problem-card:nth-child(4) .problem-card__icon{ color: var(--pink-ink); background: rgba(236,72,153,0.1); }
.problem-card h3{ font-size: 17px; margin-bottom: 6px; }
.problem-card p{ font-size: 14px; margin:0; }
.problem-transition{
  text-align:center; font-family: var(--font-head); font-size: 20px; font-weight:600;
  color: var(--text); margin: 48px auto 0; max-width: 560px;
  background: var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- Product feature grid ---------- */
.feature-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px; transition: transform .2s ease, border-color .2s ease;
}
.feature-card:hover{ transform: translateY(-4px); border-color: var(--border-strong); }
.feature-card--wide{
  grid-column: span 2;
  display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items:center;
}
.feature-card h3{ font-size: 19px; }
.feature-card p{ font-size: 14.5px; margin: 0; }

.feature-card__tag{
  display:inline-block; font-size: 11.5px; font-weight:700; font-family: var(--font-head);
  color: var(--primary-ink); background: rgba(37,99,235,0.12);
  padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; letter-spacing:.02em;
}
.feature-card__tag--wa{ color: var(--success-ink); background: rgba(16,185,129,0.14); }
.feature-card__tag--cyan{ color: var(--cyan-ink); background: rgba(6,182,212,0.14); }
.feature-card__tag--amber{ color: var(--amber-ink); background: rgba(245,158,11,0.14); }
.feature-card__tag--pink{ color: var(--pink-ink); background: rgba(236,72,153,0.14); }
.feature-card__tag--navy{ color: var(--navy-ink); background: rgba(30,58,138,0.10); }

.feature-card__visual{ display:flex; justify-content:center; }
.mini-call{
  display:flex; flex-direction:column; align-items:center; gap: 12px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px; width:100%;
}
.mini-call__ring{
  width: 52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: var(--grad-primary); color:#FFFFFF;
}
.mini-call__ring svg{ width:22px; height:22px; }
.mini-call__label{ font-size:12.5px; color: var(--text-faint); font-weight:600; }

.feature-mini-chat{ display:flex; flex-direction:column; gap:8px; margin-top: 14px; }
.feature-mini-chat__bubble{
  font-size:13px; padding: 9px 12px; border-radius:12px; background: var(--surface-2);
  border:1px solid var(--border); align-self:flex-start; max-width: 90%;
}
.feature-mini-chat__bubble--out{ align-self:flex-end; background: rgba(16,185,129,0.12); color: var(--success-ink); border-color: rgba(16,185,129,0.25); }

.qual-mini, .cal-mini{ margin-top: 14px; display:flex; flex-direction:column; gap:8px; }
.qual-mini__row, .cal-mini__row{
  display:flex; justify-content:space-between; align-items:center; font-size: 13px;
  background: var(--surface-2); border:1px solid var(--border); border-radius: 10px; padding: 8px 12px;
}
.check{ color: var(--success-ink); font-weight:700; }
.cal-mini__badge{ font-size:11px; font-weight:700; color:#0A0B10; background: var(--accent); padding:2px 9px; border-radius:100px; }

.followup-mini, .handoff-mini{
  margin-top:14px; font-size:13px; font-weight:600; color: var(--text-muted);
  background: var(--surface-2); border:1px solid var(--border); border-radius:10px; padding: 10px 12px;
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.followup-mini__auto{ font-size:10.5px; font-weight:700; color:#0A0B10; background: var(--accent); padding:2px 8px; border-radius:100px; margin-left:auto; }
.handoff-mini__arrow{ color: var(--accent); }

/* ---------- How it works flow ---------- */
.flow{
  display:flex; align-items:center; justify-content:space-between; flex-wrap: wrap;
  gap: 6px 0; background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 20px;
}
.flow__step{ display:flex; flex-direction:column; align-items:center; gap:10px; min-width: 96px; }
.flow__icon{
  width: 52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center;
  background: var(--surface-2); border:1px solid var(--border-strong); color: var(--accent);
}
.flow__icon svg{ width:22px; height:22px; }
.flow__label{ font-size: 12.5px; font-weight:600; text-align:center; color: var(--text-muted); font-family: var(--font-head); }
.flow__connector{
  flex:1; height:2px; min-width: 20px; margin: 0 4px 24px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  background-size: 200% 100%;
  animation: flowMove 3s linear infinite;
  opacity: .5;
}
@keyframes flowMove{ from{ background-position: 200% 0; } to{ background-position: 0 0; } }

/* ---------- Industries ---------- */
.industry-card{
  display:grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items:center;
  padding: 44px 0; border-bottom: 1px solid var(--border);
}
.industry-card:last-child{ border-bottom:none; }
.industry-card--rev{ direction: rtl; }
.industry-card--rev > *{ direction: ltr; }
.industry-card h3{ font-size: 26px; }
.check-list{ display:flex; flex-direction:column; gap: 10px; margin: 18px 0 6px; }
.check-list li{
  padding-left: 26px; position:relative; font-size: 14.5px; color: var(--text-muted);
}
.check-list li::before{
  content:"✓"; position:absolute; left:0; top:0; color: var(--success-ink); font-weight:700;
}
.chat-panel{
  background: var(--surface); border:1px solid var(--border-strong); border-radius: var(--radius-lg);
  overflow:hidden; box-shadow: var(--shadow-md);
}
.chat-panel__head{ padding: 14px 18px; border-bottom:1px solid var(--border); font-size:13.5px; font-weight:600; color: var(--text-muted); }
.chat-panel__body{ padding: 18px; display:flex; flex-direction:column; gap:10px; }

/* ---------- Demo shell ---------- */
.demo-shell{ display:grid; grid-template-columns: 1.4fr 0.9fr; gap: 24px; }
.demo-shell__panel{
  background: var(--surface); border:1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-md);
}
.demo-shell__top{ display:flex; align-items:flex-start; justify-content:space-between; gap: 16px; margin-bottom: 18px; }
.demo-shell__title{ font-family: var(--font-head); font-weight:700; font-size:15px; margin:0; }
.demo-shell__note{ font-size:12.5px; color: var(--text-faint); margin:0; max-width: 260px; }

.call-btn{
  display:flex; align-items:center; gap:9px;
  background: var(--grad-primary); color:#FFFFFF; border:none; border-radius:100px;
  padding: 11px 20px; font-family: var(--font-head); font-weight:700; font-size:14px;
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
  transition: transform .18s ease;
}
.call-btn:hover{ transform: translateY(-2px); }
.call-btn.is-active{ background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); box-shadow:none; }

.demo-shell__stage{
  display:flex; flex-direction:column; align-items:center; gap:10px;
  padding: 24px 0; border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.demo-shell__status{ font-size:13px; color: var(--text-faint); margin:0; }

.chat--demo{ min-height: 220px; max-height: 320px; overflow-y:auto; padding: 4px; }

.demo-shell__side{ display:flex; flex-direction:column; gap: 16px; }
.side-card{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding: 18px;
}
.side-card__label{ font-family: var(--font-head); font-size:12px; font-weight:700; letter-spacing:.06em; color: var(--text-faint); margin-bottom:12px; text-transform:uppercase; }
.side-card__row{ display:flex; justify-content:space-between; font-size:13.5px; padding: 7px 0; border-top:1px solid var(--border); }
.side-card__row:first-of-type{ border-top:none; }
.side-card__row span:first-child{ color: var(--text-muted); }
.side-card__row span:last-child{ font-weight:600; color: var(--text); }
.pending{ color: var(--text-faint) !important; font-weight:500 !important; }
.done{ color: var(--success-ink) !important; }

/* ---------- Compare ---------- */
.compare{ display:grid; grid-template-columns: 1fr auto 1fr; gap: 28px; align-items:center; max-width: 760px; margin:0 auto; }
.compare__col{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding: 30px; }
.compare__col h4{ font-size:16px; margin-bottom:16px; }
.compare__col ul{ display:flex; flex-direction:column; gap:10px; }
.compare__col--old li{ color: var(--text-faint); font-size:14px; padding-left:22px; position:relative; }
.compare__col--old li::before{ content:"✕"; position:absolute; left:0; color:#F87171; }
.compare__col--new{ border-color: rgba(37,99,235,0.35); background: linear-gradient(180deg, rgba(37,99,235,0.08), transparent); }
.compare__col--new li{ color: var(--text); font-size:14px; padding-left:22px; position:relative; }
.compare__col--new li::before{ content:"✓"; position:absolute; left:0; color: var(--success-ink); font-weight:700; }
.compare__vs{ font-family: var(--font-head); font-weight:800; color: var(--text-faint); font-size:13px; }

/* ---------- Workforce pipeline ---------- */
.workforce{ text-align:center; }
.pipeline{ display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap: 12px 14px; }
.pipeline__step{
  font-family: var(--font-head); font-weight:700; font-size: 15px;
  padding: 12px 22px; border-radius:100px;
  background: var(--surface-2); border: 1px solid var(--border-strong);
}
.pipeline__arrow{ color: var(--accent); font-weight:700; }

/* ---------- Integrations ---------- */
.integrations{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; }
.integration-chip{
  display:flex; align-items:center; gap:9px; font-weight:600; font-size:14.5px;
  background: var(--surface); border:1px solid var(--border); border-radius:100px; padding: 12px 20px;
  transition: transform .18s ease, border-color .18s ease;
}
.integration-chip:hover{ transform: translateY(-3px); border-color: var(--border-strong); }
.integration-chip__icon{ font-size:17px; }

/* ---------- Dashboard ---------- */
.dashboard{ display:grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.dashboard__stat{
  background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md);
  padding: 26px 18px; text-align:center;
}
.dashboard__num{
  display:block; font-family: var(--font-head); font-weight:800; font-size: 32px;
  background: var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.dashboard__label{ font-size: 12.5px; color: var(--text-muted); margin-top:6px; display:block; }
.dashboard__caption{ text-align:center; font-size:12.5px; color: var(--text-faint); margin: 18px 0 0; }

/* ---------- Use cases ---------- */
.usecase-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.usecase-card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding:26px; }
.usecase-card__quote{ font-family: var(--font-head); font-size:16px; font-weight:600; color: var(--text); margin: 10px 0 10px; }
.usecase-card__result{ font-size:14px; color: var(--cyan-ink); margin:0; }

/* ---------- Security ---------- */
.security-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.security-item{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.security-item h4{ font-size:15.5px; margin-bottom:6px; }
.security-item p{ font-size:13.5px; margin:0; }

/* ---------- Pricing ---------- */
.pricing-card{
  max-width: 560px; margin: 0 auto; text-align:center;
  background: linear-gradient(180deg, rgba(37,99,235,0.08), var(--surface));
  border: 1px solid rgba(37,99,235,0.3); border-radius: var(--radius-lg); padding: 44px 36px;
}
.pricing-card h3{ font-size: 22px; }

/* ---------- Resources ---------- */
.resource-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.resource-card{
  background: var(--surface); border:1px dashed var(--border-strong); border-radius: var(--radius-md);
  padding: 28px; text-align:center;
}
.resource-card h4{ font-size:15px; margin-bottom:12px; }
.soon-pill{ font-size:11.5px; font-weight:700; color: var(--text-faint); background: var(--surface-2); padding:5px 12px; border-radius:100px; }

/* ---------- FAQ ---------- */
.faq-list{ display:flex; flex-direction:column; gap: 10px; }
.faq-item{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-md); overflow:hidden; }
.faq-item__q{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  background:none; border:none; color: var(--text); font-family: var(--font-head);
  font-size: 15.5px; font-weight:600; padding: 18px 22px; text-align:left;
}
.faq-item__icon{ color: var(--primary-ink); font-size:20px; font-weight:400; transition: transform .2s ease; flex-shrink:0; margin-left:16px; }
.faq-item__a{ max-height:0; overflow:hidden; transition: max-height .28s ease; padding: 0 22px; }
.faq-item__a p{ margin: 0 0 18px; font-size:14.5px; }
.faq-item.is-open .faq-item__a{ max-height: 220px; }
.faq-item.is-open .faq-item__icon{ transform: rotate(45deg); }

/* ---------- Final CTA ---------- */
.final-cta{ text-align:center; position:relative; overflow:hidden; }
.final-cta__glow{
  position:absolute; inset: -30% -10%;
  background: radial-gradient(50% 50% at 30% 50%, rgba(37,99,235,0.24), transparent 70%),
              radial-gradient(40% 40% at 75% 50%, rgba(6,182,212,0.18), transparent 70%);
  filter: blur(50px); pointer-events:none;
}
.final-cta h2{ font-size: clamp(28px, 4vw, 44px); position:relative; z-index:1; max-width: 720px; margin: 0 auto 14px; }
.final-cta p{ position:relative; z-index:1; max-width: 520px; margin: 0 auto 8px; font-size:16.5px; }
.final-cta .hero__cta{ position:relative; z-index:1; }

/* ---------- Footer ---------- */
.footer{ border-top: 1px solid var(--border); padding: 64px 0 28px; background: var(--bg-alt); }
.footer__grid{ display:grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer__brand p{ font-size: 13.5px; margin-top: 12px; max-width: 260px; }
.footer__col h5{ font-family: var(--font-head); font-size:13px; color: var(--text-faint); text-transform:uppercase; letter-spacing:.06em; margin-bottom:16px; }
.footer__col{ display:flex; flex-direction:column; gap:10px; }
.footer__col a{ font-size:14px; color: var(--text-muted); transition: color .15s ease; }
.footer__col a:hover{ color: var(--text); }
.footer__bottom{
  display:flex; justify-content:space-between; align-items:center; padding-top: 24px; border-top:1px solid var(--border);
  font-size: 13px; color: var(--text-faint);
}
.footer__social{ display:flex; gap:14px; }
.footer__social a{
  width:32px; height:32px; border-radius:50%; border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; font-size:12.5px; font-weight:700;
}

/* ---------- Demo request modal ---------- */
.modal-overlay{
  position: fixed; inset:0; z-index: 200;
  background: rgba(23,19,50,0.55); backdrop-filter: blur(4px);
  display:flex; align-items:center; justify-content:center; padding: 20px;
  opacity:0; pointer-events:none; transition: opacity .22s ease;
}
.modal-overlay.is-open{ opacity:1; pointer-events:auto; }
.modal{
  position:relative; width:100%; max-width: 460px;
  background: var(--surface); border:1px solid var(--border-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 36px 32px 28px;
  transform: translateY(14px) scale(.98); transition: transform .22s ease;
  max-height: 90vh; overflow-y:auto;
}
.modal-overlay.is-open .modal{ transform:none; }
.modal h3{ font-size: 22px; margin-bottom:6px; }
.modal__sub{ font-size:14px; margin-bottom: 22px; }
.modal__close{
  position:absolute; top:16px; right:16px; width:32px; height:32px; border-radius:50%;
  background: var(--surface-2); border:1px solid var(--border); color: var(--text-muted);
  display:flex; align-items:center; justify-content:center; font-size:14px;
  transition: background .15s ease, color .15s ease;
}
.modal__close:hover{ background: var(--border-strong); color: var(--text); }
.form-field{ margin-bottom: 16px; }
.form-field label{
  display:block; font-family: var(--font-head); font-size:13px; font-weight:600;
  color: var(--text-muted); margin-bottom:6px;
}
.form-field .req{ color: #DB2777; }
.form-field input{
  width:100%; font-family: var(--font-body); font-size:14.5px; color: var(--text);
  background: var(--surface-2); border:1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 11px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus{ outline:none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.modal__note{ text-align:center; font-size:13px; margin: 14px 0 0; min-height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1080px){
  .hero__grid{ grid-template-columns: 1fr; }
  .hero__visual{ max-width: 480px; }
  .problem-grid{ grid-template-columns: repeat(2,1fr); }
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
  .feature-card--wide{ grid-column: span 2; grid-template-columns:1fr; }
  .dashboard{ grid-template-columns: repeat(3,1fr); }
  .security-grid{ grid-template-columns: repeat(2,1fr); }
  .usecase-grid{ grid-template-columns: repeat(1,1fr); }
  .demo-shell{ grid-template-columns:1fr; }
  .footer__grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px){
  .nav__links{ display:none; }
  .nav__burger{ display:flex; }
  .mobile-nav{ display:flex; }
  .industry-card{ grid-template-columns: 1fr; }
  .industry-card--rev{ direction: ltr; }
  .industry-card__visual{ order:-1; }
  .compare{ grid-template-columns: 1fr; }
  .compare__vs{ justify-self:center; }
  .dashboard{ grid-template-columns: repeat(2,1fr); }
  .resource-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .section{ padding: 74px 0; }
  .hero{ padding: 140px 0 70px; }
  .problem-grid{ grid-template-columns: 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
  .feature-card--wide{ grid-column: span 1; }
  .dashboard{ grid-template-columns: repeat(2,1fr); }
  .security-grid{ grid-template-columns: 1fr; }
  .flow{ flex-direction:column; }
  .flow__connector{ width:2px; height:24px; min-width:0; margin: 0 0 0; }
  .footer__grid{ grid-template-columns: 1fr; gap:28px; }
  .footer__bottom{ flex-direction:column; gap:12px; text-align:center; }
  .hero__cta{ flex-direction:column; align-items:stretch; }
  .hero__cta .btn{ width:100%; }
}
