/* ==========================================================================
   AYNASIA LABS — Design tokens
   ========================================================================== */
:root{
  --bg:#060911;
  --bg-alt:#0A0E1A;
  --surface:rgba(255,255,255,0.045);
  --surface-strong:rgba(255,255,255,0.07);
  --surface-solid:#10162A;
  --border:rgba(255,255,255,0.09);
  --border-strong:rgba(255,255,255,0.16);
  --text:#EAEDF7;
  --text-dim:#95A0B8;
  --text-faint:#616D85;

  --blue:#2563EB;
  --purple:#7C3AED;
  --cyan:#06B6D4;
  --green:#22C55E;
  --red:#F43F5E;

  --gradient-1:linear-gradient(135deg,#2563EB 0%,#7C3AED 55%,#06B6D4 100%);
  --gradient-2:linear-gradient(120deg,#7C3AED,#2563EB);
  --gradient-soft:linear-gradient(135deg,rgba(37,99,235,.18),rgba(124,58,237,.14) 50%,rgba(6,182,212,.16));

  --font-display:'Sora',sans-serif;
  --font-body:'Inter',sans-serif;
  --font-mono:'JetBrains Mono',monospace;

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

  --shadow-glow:0 0 0 1px rgba(255,255,255,.05),0 20px 60px -20px rgba(37,99,235,.35);
  --ease:cubic-bezier(.22,1,.36,1);
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit;}
input,select{font-family:inherit;}
h1,h2,h3,h4,h5{font-family:var(--font-display);font-weight:700;letter-spacing:-.02em;color:var(--text);}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:4px;}

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

/* Glass surfaces */
.glass{
  background:var(--surface);
  border:1px solid var(--border);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.8rem 1.4rem;border-radius:var(--radius-full);
  font-weight:600;font-size:.94rem;white-space:nowrap;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s var(--ease),border-color .25s;
}
.btn svg{flex-shrink:0;}
.btn-primary{ background:var(--gradient-1); color:#fff; box-shadow:0 8px 30px -8px rgba(37,99,235,.6); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 12px 34px -6px rgba(124,58,237,.55); }
.btn-outline{ background:transparent; border:1px solid var(--border-strong); color:var(--text); }
.btn-outline:hover{ border-color:var(--cyan); background:rgba(6,182,212,.08); }
.btn-ghost{ background:var(--surface); border:1px solid var(--border); color:var(--text); }
.btn-ghost:hover{ background:var(--surface-strong); }
.btn-lg{ padding:1rem 1.9rem; font-size:1rem; }
.btn-full{ width:100%; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:200;
  border-bottom:1px solid transparent;
  transition:background .3s,border-color .3s,backdrop-filter .3s;
}
.nav.scrolled{ background:rgba(6,9,17,.72); border-color:var(--border); backdrop-filter:blur(14px); }
.nav-inner{
  max-width:1280px; margin:0 auto; padding:1rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ display:flex; align-items:center; gap:.6rem; font-family:var(--font-display); font-weight:700; font-size:1.15rem; }
.brand-mark{
  width:30px;height:30px;border-radius:9px;background:var(--gradient-1);
  position:relative; flex-shrink:0;
  box-shadow:0 4px 16px -2px rgba(124,58,237,.6);
}
.brand-mark::after{
  content:"";position:absolute;inset:8px;border-radius:3px;background:rgba(255,255,255,.85);
}
.brand-accent{ color:var(--cyan); font-weight:700; }
.nav-links{ display:flex; gap:2rem; }
.nav-links a{ font-size:.92rem; color:var(--text-dim); font-weight:500; transition:color .2s; }
.nav-links a:hover{ color:var(--text); }
.nav-cta{ display:flex; align-items:center; gap:1rem; }
.nav-burger{ display:none; flex-direction:column; gap:5px; width:26px; }
.nav-burger span{ height:2px; width:100%; background:var(--text); border-radius:2px; transition:transform .3s,opacity .3s; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{ position:relative; padding:9.5rem 1.5rem 6rem; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; z-index:0; }
.orb{ position:absolute; border-radius:50%; filter:blur(90px); opacity:.55; }
.orb-blue{ width:520px;height:520px; background:var(--blue); top:-180px; left:-140px; animation:float1 14s ease-in-out infinite; }
.orb-purple{ width:460px;height:460px; background:var(--purple); top:60px; right:-160px; animation:float2 16s ease-in-out infinite; }
.orb-cyan{ width:380px;height:380px; background:var(--cyan); bottom:-160px; left:35%; animation:float1 18s ease-in-out infinite reverse; opacity:.35; }
@keyframes float1{ 0%,100%{transform:translate(0,0)} 50%{transform:translate(30px,40px)} }
@keyframes float2{ 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,30px)} }
.grid-overlay{
  position:absolute; inset:0;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 20%,#000 40%,transparent 100%);
}
.hero-inner{
  position:relative; z-index:1; max-width:1280px; margin:0 auto;
  display:grid; grid-template-columns:1.05fr .95fr; gap:3.5rem; align-items:center;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-mono); font-size:.78rem; color:var(--cyan);
  background:rgba(6,182,212,.08); border:1px solid rgba(6,182,212,.25);
  padding:.45rem .9rem; border-radius:var(--radius-full); margin-bottom:1.5rem;
}
.pulse-dot{ width:7px;height:7px;border-radius:50%; background:var(--green); box-shadow:0 0 0 rgba(34,197,94,.6); animation:pulseDot 2s infinite; }
@keyframes pulseDot{ 0%{box-shadow:0 0 0 0 rgba(34,197,94,.6)} 70%{box-shadow:0 0 0 8px rgba(34,197,94,0)} 100%{box-shadow:0 0 0 0 rgba(34,197,94,0)} }
.hero h1{ font-size:clamp(2.3rem,4.4vw,3.6rem); line-height:1.08; margin-bottom:1.4rem; }
.hero-sub{ font-size:1.1rem; color:var(--text-dim); max-width:540px; margin-bottom:2rem; }
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:2.5rem; }
.hero-trust{ display:flex; align-items:center; gap:1.4rem; flex-wrap:wrap; }
.trust-item{ display:flex; flex-direction:column; }
.trust-item strong{ font-family:var(--font-mono); font-size:1.3rem; color:var(--text); }
.trust-item span{ font-size:.78rem; color:var(--text-faint); }
.trust-divider{ width:1px; height:30px; background:var(--border); }

/* Hero visual — call card */
.hero-visual{ position:relative; display:flex; justify-content:center; }
.call-card{
  width:100%; max-width:380px; border-radius:var(--radius-lg); padding:1.6rem;
  box-shadow:var(--shadow-glow); animation:cardIn 1s var(--ease);
}
@keyframes cardIn{ from{opacity:0; transform:translateY(24px) scale(.97);} to{opacity:1; transform:none;} }
.call-card-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.2rem; }
.call-status{ display:flex; align-items:center; gap:.5rem; font-size:.82rem; color:var(--text-dim); font-weight:600; }
.status-dot{ width:8px;height:8px;border-radius:50%; background:var(--text-faint); }
.status-dot.live{ background:var(--green); box-shadow:0 0 0 4px rgba(34,197,94,.18); }
.call-timer{ font-family:var(--font-mono); font-size:.92rem; color:var(--cyan); }
.call-avatar-row{ display:flex; align-items:center; gap:.8rem; margin-bottom:1.3rem; }
.call-avatar{
  width:46px;height:46px;border-radius:50%; background:var(--gradient-2);
  display:flex;align-items:center;justify-content:center; font-weight:700; font-size:.85rem; position:relative;
}
.avatar-ring{ position:absolute; inset:-4px; border-radius:50%; border:2px solid rgba(124,58,237,.4); animation:ringPulse 2s infinite; }
@keyframes ringPulse{ 0%{transform:scale(1); opacity:1;} 100%{transform:scale(1.35); opacity:0;} }
.call-who strong{ display:block; font-size:.96rem; }
.call-who small{ color:var(--text-faint); font-size:.78rem; }

.waveform{ display:flex; align-items:center; gap:3px; height:44px; margin-bottom:1.2rem; }
.waveform span{ flex:1; min-width:2px; border-radius:2px; background:var(--gradient-1); }
.waveform.lg{ height:60px; gap:4px; }

.hero-transcript{ display:flex; flex-direction:column; gap:.55rem; font-size:.86rem; }
.hero-transcript .line{ padding:.55rem .8rem; border-radius:12px; max-width:92%; }
.line.ai{ background:rgba(37,99,235,.14); border:1px solid rgba(37,99,235,.22); align-self:flex-start; border-bottom-left-radius:4px; }
.line.user{ background:rgba(255,255,255,.06); align-self:flex-end; border-bottom-right-radius:4px; }
.line.typing::after{ content:'▍'; animation:blink 1s step-end infinite; color:var(--cyan); }
@keyframes blink{ 50%{opacity:0;} }

.float-chip{
  position:absolute; display:flex; align-items:center; gap:.4rem;
  background:var(--surface-solid); border:1px solid var(--border-strong);
  padding:.55rem 1rem; border-radius:var(--radius-full); font-size:.78rem; font-weight:600;
  box-shadow:0 10px 30px -10px rgba(0,0,0,.5); animation:chipFloat 5s ease-in-out infinite;
}
.chip-booked{ top:8%; right:-4%; color:var(--green); animation-delay:0s; }
.chip-crm{ bottom:10%; left:-6%; color:var(--cyan); animation-delay:1.4s; }
@keyframes chipFloat{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip{ padding:2.2rem 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.trust-strip-label{ text-align:center; font-size:.8rem; color:var(--text-faint); margin-bottom:1.2rem; text-transform:uppercase; letter-spacing:.08em; }
.logo-marquee{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.logo-track{ display:flex; gap:3.5rem; width:max-content; animation:marquee 26s linear infinite; }
.logo-track span{ font-family:var(--font-display); font-weight:600; font-size:1.05rem; color:var(--text-faint); white-space:nowrap; }
@keyframes marquee{ from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ==========================================================================
   SECTION SHELL
   ========================================================================== */
.section{ padding:6.5rem 1.5rem; max-width:1280px; margin:0 auto; }
.section-alt{ background:var(--bg-alt); max-width:none; padding-left:1.5rem; padding-right:1.5rem; }
.section-alt > *{ max-width:1280px; margin-left:auto; margin-right:auto; }
.section-head{ text-align:center; max-width:680px; margin:0 auto 3.2rem; }
.eyebrow-tag{
  display:inline-block; font-family:var(--font-mono); font-size:.75rem; color:var(--purple);
  background:rgba(124,58,237,.1); border:1px solid rgba(124,58,237,.28);
  padding:.35rem .8rem; border-radius:var(--radius-full); margin-bottom:1rem;
}
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); margin-bottom:.8rem; }
.section-sub{ color:var(--text-dim); font-size:1.02rem; }

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

/* ==========================================================================
   LIVE DEMO
   ========================================================================== */
.voice-engine-bar{
  display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  max-width:900px; margin:0 auto 2.2rem; padding:.9rem 1.3rem; border-radius:var(--radius-full);
}
.voice-engine-status{ display:flex; align-items:center; gap:.6rem; font-size:.85rem; color:var(--text-dim); }
.voice-engine-status .status-dot{ background:var(--text-faint); }
.voice-engine-status.connected .status-dot{ background:var(--green); box-shadow:0 0 0 4px rgba(34,197,94,.18); }
.voice-engine-status.connected span:last-child{ color:var(--green); }
.btn-sm{ padding:.55rem 1rem; font-size:.82rem; }
.speaking-indicator{
  display:inline-flex; align-items:center; gap:.3rem; font-size:.68rem; font-weight:600; color:var(--cyan);
  font-family:var(--font-mono); margin-left:.4rem; text-transform:uppercase; letter-spacing:.03em;
}
.speaking-indicator::before{ content:''; width:6px;height:6px;border-radius:50%; background:var(--cyan); animation:pulseDot 1s infinite; }
.voice-status{ font-size:.78rem; color:var(--text-faint); min-height:1.1em; }
.voice-status.ok{ color:var(--green); }
.voice-status.err{ color:var(--red); }

.demo-wrap{ display:grid; grid-template-columns:.85fr 1.15fr; gap:3.5rem; align-items:center; }
.phone-shell{
  justify-self:center; width:340px; border-radius:44px; padding:14px;
  background:linear-gradient(160deg,#1a2036,#0c0f1a); border:1px solid var(--border-strong);
  box-shadow:0 30px 80px -30px rgba(37,99,235,.4);
}
.phone-notch{ width:110px; height:20px; background:#05070c; border-radius:0 0 16px 16px; margin:0 auto 8px; }
.phone-screen{
  position:relative; height:560px; border-radius:32px; background:radial-gradient(120% 100% at 50% 0%,#141a2e,#080a12);
  overflow:hidden; padding:2rem 1.4rem;
}
.call-state{ position:absolute; inset:0; padding:2rem 1.4rem; display:none; flex-direction:column; align-items:center; text-align:center; }
.call-state.active{ display:flex; }
.state-connected.active{ align-items:stretch; text-align:left; justify-content:flex-start; }
.state-ended.active{ justify-content:center; }

.agent-avatar-lg{
  width:96px;height:96px;border-radius:50%; background:var(--gradient-1);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:1.6rem;
  margin:2.5rem 0 1.2rem; box-shadow:0 0 0 8px rgba(37,99,235,.08);
}
.agent-avatar-lg.ringing{ animation:shake 1.1s ease-in-out infinite; }
@keyframes shake{ 0%,100%{transform:rotate(0)} 20%{transform:rotate(-8deg)} 40%{transform:rotate(8deg)} 60%{transform:rotate(-6deg)} 80%{transform:rotate(6deg)} }
.state-idle h3, .state-ringing h3{ margin-bottom:.3rem; }
.state-idle p, .state-ringing p{ color:var(--text-dim); font-size:.88rem; margin-bottom:2rem; }
.call-btn{ margin-top:.5rem; }
.ringing-text{ display:flex; gap:.15rem; justify-content:center; }
.dots span{ animation:dotFade 1.4s infinite; opacity:0; }
.dots span:nth-child(2){animation-delay:.2s;} .dots span:nth-child(3){animation-delay:.4s;}
@keyframes dotFade{ 0%,100%{opacity:0} 50%{opacity:1} }
.ring-waves{ position:relative; width:10px; height:10px; margin-top:1rem; }
.ring-waves span{ position:absolute; inset:0; border:2px solid var(--cyan); border-radius:50%; animation:ringWave 1.8s ease-out infinite; opacity:0; }
.ring-waves span:nth-child(2){ animation-delay:.5s; } .ring-waves span:nth-child(3){ animation-delay:1s; }
@keyframes ringWave{ 0%{transform:scale(1); opacity:.8;} 100%{transform:scale(14); opacity:0;} }

.connected-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.3rem; }
.connected-who{ display:flex; align-items:center; gap:.6rem; }
.connected-who strong{ display:block; font-size:.94rem; }
.connected-who small{ color:var(--text-faint); font-size:.72rem; }

.transcript-box{
  flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:.6rem; font-size:.85rem;
  padding-right:4px; margin-bottom:1rem; scrollbar-width:thin;
}
.transcript-box::-webkit-scrollbar{ width:5px; }
.transcript-box::-webkit-scrollbar-thumb{ background:var(--border-strong); border-radius:4px; }
.tline{ padding:.6rem .85rem; border-radius:14px; max-width:88%; opacity:0; animation:lineIn .4s var(--ease) forwards; }
@keyframes lineIn{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }
.tline.ai{ background:rgba(37,99,235,.16); border:1px solid rgba(37,99,235,.24); align-self:flex-start; border-bottom-left-radius:4px; }
.tline.user{ background:rgba(255,255,255,.07); align-self:flex-end; border-bottom-right-radius:4px; }

.call-controls{ display:flex; justify-content:space-between; gap:.5rem; padding-top:.6rem; border-top:1px solid var(--border); }
.ctrl-btn{
  display:flex; flex-direction:column; align-items:center; gap:.35rem; font-size:.68rem; color:var(--text-dim);
  padding:.5rem .3rem; border-radius:12px; flex:1; transition:background .2s,color .2s;
}
.ctrl-btn:hover{ background:var(--surface-strong); color:var(--text); }
.ctrl-btn.active{ color:var(--cyan); background:rgba(6,182,212,.12); }
.ctrl-btn.ctrl-end{ color:var(--red); }
.ctrl-btn.ctrl-end:hover{ background:rgba(244,63,94,.14); }

.summary-icon{ margin-top:1.5rem; margin-bottom:.6rem; }
.summary-list{ width:100%; margin:1.2rem 0; text-align:left; }
.summary-list li{ display:flex; justify-content:space-between; padding:.55rem 0; border-bottom:1px solid var(--border); font-size:.85rem; }
.summary-list li:last-child{ border-bottom:none; }
.summary-list span{ color:var(--text-faint); }
.summary-list strong.ok{ color:var(--green); }
.summary-actions{ display:flex; flex-direction:column; gap:.7rem; width:100%; margin-top:.5rem; }

.demo-side h3{ font-size:1.3rem; margin-bottom:1.4rem; }
.demo-steps{ display:flex; flex-direction:column; gap:1.3rem; margin-bottom:1.8rem; }
.demo-steps li{ display:flex; gap:1rem; padding:1rem; border-radius:var(--radius-md); transition:background .3s; }
.demo-steps li.active-step{ background:var(--surface); border:1px solid var(--border); }
.step-num{
  width:32px;height:32px;flex-shrink:0; border-radius:50%; background:var(--surface-solid); border:1px solid var(--border-strong);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-mono); font-size:.85rem; color:var(--cyan);
}
.demo-steps strong{ display:block; margin-bottom:.2rem; font-size:.98rem; }
.demo-steps p{ color:var(--text-dim); font-size:.87rem; }
.demo-note{ padding:1.2rem 1.4rem; border-radius:var(--radius-md); }
.demo-note strong{ display:block; margin-bottom:.3rem; color:var(--cyan); }
.demo-note p{ color:var(--text-dim); font-size:.87rem; }

/* ==========================================================================
   DASHBOARD / KPI / CHARTS
   ========================================================================== */
.kpi-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.2rem; margin-bottom:2.5rem; }
.kpi-card{ padding:1.5rem; border-radius:var(--radius-md); position:relative; overflow:hidden; }
.kpi-icon{ width:40px;height:40px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:1rem; }
.icon-blue{ background:rgba(37,99,235,.14); color:var(--blue); }
.icon-purple{ background:rgba(124,58,237,.14); color:var(--purple); }
.icon-cyan{ background:rgba(6,182,212,.14); color:var(--cyan); }
.icon-green{ background:rgba(34,197,94,.14); color:var(--green); }
.icon-red{ background:rgba(244,63,94,.14); color:var(--red); }
.kpi-value{ display:block; font-family:var(--font-mono); font-size:2rem; font-weight:700; }
.kpi-label{ display:block; color:var(--text-dim); font-size:.86rem; margin:.2rem 0 .6rem; }
.kpi-delta{ font-size:.76rem; font-weight:600; }
.kpi-delta.up{ color:var(--green); }
.kpi-delta.down{ color:var(--green); }

.chart-grid{ display:grid; grid-template-columns:1.4fr 1fr; gap:1.4rem; }
.chart-card{ padding:1.6rem; border-radius:var(--radius-md); }
.chart-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; }
.chart-head h4{ font-size:1rem; }
.chart-tag{ font-size:.72rem; color:var(--text-faint); font-family:var(--font-mono); }
.donut-legend{ display:flex; flex-wrap:wrap; gap:.8rem 1.2rem; margin-top:1rem; justify-content:center; }
.legend-item{ display:flex; align-items:center; gap:.4rem; font-size:.78rem; color:var(--text-dim); }
.legend-dot{ width:9px;height:9px;border-radius:50%; }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.feature-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:1.1rem; }
.feature-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:1.6rem 1.4rem; transition:transform .3s var(--ease),border-color .3s,background .3s;
}
.feature-card:hover{ transform:translateY(-6px); border-color:rgba(124,58,237,.4); background:var(--surface-strong); }
.feature-icon{ font-size:1.6rem; margin-bottom:.9rem; }
.feature-card h3{ font-size:1rem; margin-bottom:.5rem; }
.feature-card p{ font-size:.85rem; color:var(--text-dim); }

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industry-tabs{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; margin-bottom:2.2rem; }
.ind-tab{
  padding:.6rem 1.1rem; border-radius:var(--radius-full); border:1px solid var(--border); font-size:.85rem;
  color:var(--text-dim); font-weight:500; transition:all .25s;
}
.ind-tab:hover{ border-color:var(--border-strong); color:var(--text); }
.ind-tab.active{ background:var(--gradient-1); color:#fff; border-color:transparent; }
.industry-panel{ border-radius:var(--radius-lg); padding:2.4rem; display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; align-items:center; min-height:220px; }
.industry-panel h3{ font-size:1.4rem; margin-bottom:.7rem; }
.industry-panel p{ color:var(--text-dim); margin-bottom:1.2rem; }
.industry-panel ul{ display:flex; flex-direction:column; gap:.5rem; }
.industry-panel ul li{ display:flex; gap:.6rem; font-size:.9rem; color:var(--text); }
.industry-panel ul li::before{ content:'✓'; color:var(--green); font-weight:700; }
.industry-stat-block{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.ind-stat{ background:var(--surface-solid); border:1px solid var(--border); border-radius:var(--radius-md); padding:1.2rem; text-align:center; }
.ind-stat strong{ display:block; font-family:var(--font-mono); font-size:1.6rem; background:var(--gradient-1); -webkit-background-clip:text; background-clip:text; color:transparent; }
.ind-stat span{ font-size:.78rem; color:var(--text-faint); }

/* ==========================================================================
   INTEGRATIONS
   ========================================================================== */
.integration-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:1.1rem; }
.integration-card{
  display:flex; align-items:center; gap:.8rem; padding:1.2rem; border-radius:var(--radius-md);
  background:var(--surface); border:1px solid var(--border); transition:transform .3s,border-color .3s;
}
.integration-card:hover{ transform:translateY(-4px); border-color:var(--border-strong); }
.integration-glyph{
  width:36px;height:36px;border-radius:10px; display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:700; color:#fff; font-size:.9rem; flex-shrink:0;
}
.integration-card strong{ font-size:.88rem; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-carousel{ display:flex; align-items:center; gap:1rem; max-width:760px; margin:0 auto; }
.testimonial-track{ overflow:hidden; flex:1; position:relative; height:220px; }
.testimonial-card{
  position:absolute; inset:0; padding:2.2rem; border-radius:var(--radius-lg);
  opacity:0; transform:translateX(30px); transition:opacity .5s var(--ease),transform .5s var(--ease); pointer-events:none;
  display:flex; flex-direction:column; justify-content:space-between;
}
.testimonial-card.active{ opacity:1; transform:none; pointer-events:auto; }
.testimonial-card p{ font-size:1.05rem; color:var(--text); font-style:italic; }
.testi-author{ display:flex; align-items:center; gap:.8rem; margin-top:1.2rem; }
.testi-avatar{ width:38px;height:38px;border-radius:50%; background:var(--gradient-2); display:flex; align-items:center; justify-content:center; font-size:.78rem; font-weight:700; flex-shrink:0; }
.testi-author strong{ display:block; font-size:.88rem; }
.testi-author small{ color:var(--text-faint); font-size:.76rem; }
.carousel-nav{
  width:40px;height:40px;border-radius:50%; border:1px solid var(--border-strong); font-size:1.4rem;
  display:flex; align-items:center; justify-content:center; color:var(--text-dim); flex-shrink:0; transition:all .2s;
}
.carousel-nav:hover{ background:var(--surface-strong); color:var(--text); }
.carousel-dots{ display:flex; justify-content:center; gap:.5rem; margin-top:1.5rem; }
.carousel-dots span{ width:8px;height:8px; border-radius:50%; background:var(--border-strong); cursor:pointer; transition:background .3s,transform .3s; }
.carousel-dots span.active{ background:var(--cyan); transform:scale(1.3); }

/* ==========================================================================
   ROI CALCULATOR
   ========================================================================== */
.roi-wrap{ border-radius:var(--radius-lg); padding:2.6rem; display:grid; grid-template-columns:1.2fr 1fr; gap:3rem; align-items:center; }
.roi-inputs{ display:flex; flex-direction:column; gap:1.5rem; }
.roi-inputs label{ display:flex; flex-direction:column; gap:.5rem; font-size:.88rem; color:var(--text-dim); position:relative; }
.roi-inputs output{ position:absolute; right:0; top:0; font-family:var(--font-mono); color:var(--cyan); font-size:.85rem; }
input[type="range"]{
  -webkit-appearance:none; width:100%; height:5px; border-radius:4px; background:var(--border-strong); outline:none;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none; width:18px;height:18px;border-radius:50%; background:var(--gradient-1); cursor:pointer; border:3px solid #0c1120;
}
input[type="range"]::-moz-range-thumb{ width:18px;height:18px;border-radius:50%; background:var(--gradient-1); cursor:pointer; border:3px solid #0c1120; }
.roi-result{ text-align:center; padding:1.8rem; border-radius:var(--radius-md); background:var(--surface-solid); border:1px solid var(--border); }
.roi-label{ display:block; font-size:.82rem; color:var(--text-dim); margin-bottom:.6rem; }
.roi-figure{ display:block; font-family:var(--font-mono); font-size:2.6rem; font-weight:700; background:var(--gradient-1); -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:.5rem; }
.roi-sub{ display:block; font-size:.8rem; color:var(--text-faint); margin-bottom:1.4rem; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-toggle{ display:flex; align-items:center; justify-content:center; gap:1rem; margin-bottom:3rem; }
.toggle-label{ font-size:.92rem; color:var(--text-faint); font-weight:600; transition:color .2s; }
.toggle-label.active{ color:var(--text); }
.toggle-label em{ color:var(--green); font-style:normal; font-size:.8rem; }
.switch{ width:52px;height:28px; border-radius:var(--radius-full); background:var(--surface-solid); border:1px solid var(--border-strong); position:relative; transition:background .3s; }
.switch-knob{ position:absolute; top:2px; left:2px; width:22px;height:22px; border-radius:50%; background:var(--gradient-1); transition:transform .3s var(--ease); }
.switch.on .switch-knob{ transform:translateX(24px); }

.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; align-items:stretch; }
.price-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:2.2rem; display:flex; flex-direction:column; position:relative; transition:transform .3s,border-color .3s;
}
.price-card:hover{ transform:translateY(-6px); }
.price-card.featured{ border-color:var(--purple); background:linear-gradient(180deg,rgba(124,58,237,.1),rgba(37,99,235,.04)); }
.price-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--gradient-1); padding:.35rem .9rem; border-radius:var(--radius-full); font-size:.72rem; font-weight:700;
}
.price-card h3{ font-size:1.2rem; margin-bottom:.4rem; }
.price-desc{ color:var(--text-dim); font-size:.85rem; margin-bottom:1.4rem; min-height:40px; }
.price-amount{ display:flex; align-items:baseline; gap:.2rem; margin-bottom:1.6rem; }
.currency{ font-size:1.2rem; color:var(--text-dim); }
.amount{ font-family:var(--font-mono); font-size:2.6rem; font-weight:700; }
.amount-custom{ font-family:var(--font-mono); font-size:2rem; font-weight:700; }
.period{ color:var(--text-faint); font-size:.9rem; }
.price-features{ display:flex; flex-direction:column; gap:.7rem; margin-bottom:1.8rem; flex:1; }
.price-features li{ font-size:.87rem; color:var(--text-dim); display:flex; gap:.5rem; }
.price-features li::before{ content:'✓'; color:var(--cyan); font-weight:700; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:.8rem; }
.faq-item{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; }
.faq-q{ width:100%; display:flex; justify-content:space-between; align-items:center; padding:1.2rem 1.4rem; font-size:.96rem; font-weight:600; text-align:left; }
.faq-toggle{ font-size:1.3rem; color:var(--cyan); transition:transform .3s; flex-shrink:0; margin-left:1rem; }
.faq-item.open .faq-toggle{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.faq-a p{ padding:0 1.4rem 1.3rem; color:var(--text-dim); font-size:.9rem; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta{ padding:2rem 1.5rem 7rem; max-width:1280px; margin:0 auto; }
.final-cta-inner{ text-align:center; padding:4rem 2rem; border-radius:var(--radius-lg); background:var(--gradient-soft); }
.final-cta-inner h2{ font-size:clamp(1.7rem,3vw,2.4rem); margin-bottom:.8rem; }
.final-cta-inner p{ color:var(--text-dim); margin-bottom:2rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{ border-top:1px solid var(--border); padding:4rem 1.5rem 1.5rem; background:var(--bg-alt); }
.footer-top{ max-width:1280px; margin:0 auto; display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:2.5rem; padding-bottom:3rem; }
.footer-brand p{ color:var(--text-dim); font-size:.87rem; margin:1rem 0 1.2rem; max-width:280px; }
.footer-badges{ display:flex; flex-wrap:wrap; gap:.5rem; }
.badge{ font-size:.72rem; color:var(--text-faint); background:var(--surface); border:1px solid var(--border); padding:.3rem .6rem; border-radius:var(--radius-full); }
.footer-col h5{ font-size:.82rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-faint); margin-bottom:1rem; }
.footer-col a{ display:block; color:var(--text-dim); font-size:.87rem; margin-bottom:.7rem; transition:color .2s; }
.footer-col a:hover{ color:var(--cyan); }
.footer-bottom{
  max-width:1280px; margin:0 auto; padding-top:1.5rem; border-top:1px solid var(--border);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem; font-size:.8rem; color:var(--text-faint);
}
.footer-legal{ display:flex; gap:1.2rem; }
.footer-legal a:hover{ color:var(--text); }

/* ==========================================================================
   STICKY CTA
   ========================================================================== */
.sticky-cta{
  position:fixed; bottom:1.2rem; left:50%; transform:translate(-50%,140%);
  z-index:150; display:flex; align-items:center; gap:1.4rem;
  background:var(--surface-solid); border:1px solid var(--border-strong); border-radius:var(--radius-full);
  padding:.7rem .9rem .7rem 1.4rem; box-shadow:0 20px 50px -12px rgba(0,0,0,.6);
  transition:transform .5s var(--ease);
}
.sticky-cta.show{ transform:translate(-50%,0); }
.sticky-cta-text{ display:flex; flex-direction:column; }
.sticky-cta-text strong{ font-size:.86rem; }
.sticky-cta-text span{ font-size:.74rem; color:var(--text-faint); }
.sticky-cta-actions{ display:flex; align-items:center; gap:.6rem; }
.sticky-close{ width:26px;height:26px; border-radius:50%; color:var(--text-faint); font-size:.8rem; transition:background .2s; }
.sticky-close:hover{ background:var(--surface-strong); }

/* ==========================================================================
   LIVE ACTIVITY TOAST
   ========================================================================== */
.activity-toast{
  position:fixed; bottom:1.2rem; left:1.2rem; z-index:140;
  display:flex; align-items:center; gap:.7rem;
  background:var(--surface-solid); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:.8rem 1.1rem; max-width:280px; box-shadow:0 18px 40px -14px rgba(0,0,0,.6);
  opacity:0; transform:translateY(20px); transition:opacity .5s var(--ease),transform .5s var(--ease); pointer-events:none;
}
.activity-toast.show{ opacity:1; transform:none; }
.activity-dot{ width:8px;height:8px;border-radius:50%; background:var(--green); flex-shrink:0; box-shadow:0 0 0 3px rgba(34,197,94,.2); }
.activity-toast strong{ display:block; font-size:.8rem; line-height:1.3; }
.activity-toast small{ color:var(--text-faint); font-size:.72rem; }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay{
  position:fixed; inset:0; z-index:300; background:rgba(4,6,12,.72); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; opacity:0; visibility:hidden; transition:opacity .3s,visibility .3s; padding:1.5rem;
}
.modal-overlay.show{ opacity:1; visibility:visible; }
.modal{
  width:100%; max-width:480px; border-radius:var(--radius-lg); padding:2.4rem; position:relative;
  background:#0d1220; box-shadow:0 30px 90px -20px rgba(0,0,0,.7);
  transform:translateY(20px) scale(.97); transition:transform .35s var(--ease);
  max-height:90vh; overflow-y:auto;
}
.modal-overlay.show .modal{ transform:none; }
.modal-close{ position:absolute; top:1.2rem; right:1.2rem; width:32px;height:32px; border-radius:50%; background:var(--surface); color:var(--text-dim); transition:background .2s; }
.modal-close:hover{ background:var(--surface-strong); color:var(--text); }
.modal h3{ font-size:1.4rem; margin:.6rem 0 .6rem; }
.modal-sub{ color:var(--text-dim); font-size:.9rem; margin-bottom:1.6rem; }
#demoForm, #exitForm{ display:flex; flex-direction:column; gap:1rem; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
label{ display:flex; flex-direction:column; gap:.4rem; font-size:.8rem; color:var(--text-dim); }
input[type="text"],input[type="email"],input[type="tel"],select{
  background:var(--surface); border:1px solid var(--border-strong); border-radius:var(--radius-sm);
  padding:.75rem .9rem; color:var(--text); font-size:.92rem; transition:border-color .2s;
}
input:focus,select:focus{ border-color:var(--cyan); }
.form-note{ text-align:center; font-size:.76rem; color:var(--text-faint); }
.modal-success{ display:none; text-align:center; }
.modal-success.show{ display:block; }
.success-icon{
  width:64px;height:64px; border-radius:50%; background:rgba(34,197,94,.14); color:var(--green);
  font-size:1.8rem; display:flex; align-items:center; justify-content:center; margin:0 auto 1.2rem;
}
.exit-modal .modal-sub{ margin-bottom:1.4rem; }
.link-btn{ display:block; margin:1rem auto 0; font-size:.82rem; color:var(--text-faint); text-decoration:underline; }
.link-btn:hover{ color:var(--text-dim); }

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-track{ background:var(--bg); }
::-webkit-scrollbar-thumb{ background:var(--border-strong); border-radius:6px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1080px){
  .kpi-grid{ grid-template-columns:repeat(2,1fr); }
  .feature-grid{ grid-template-columns:repeat(3,1fr); }
  .integration-grid{ grid-template-columns:repeat(3,1fr); }
  .chart-grid{ grid-template-columns:1fr; }
  .demo-wrap{ grid-template-columns:1fr; }
  .phone-shell{ margin:0 auto; }
  .industry-panel{ grid-template-columns:1fr; }
}
@media (max-width:900px){
  .nav-links{ display:none; }
  .nav-burger{ display:flex; }
  .hero-inner{ grid-template-columns:1fr; text-align:center; }
  .hero-sub{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-trust{ justify-content:center; }
  .hero-visual{ margin-top:1rem; }
  .footer-top{ grid-template-columns:1fr 1fr; }
  .roi-wrap{ grid-template-columns:1fr; }
  .pricing-grid{ grid-template-columns:1fr; max-width:420px; margin:0 auto; }
}
@media (max-width:640px){
  .kpi-grid{ grid-template-columns:1fr 1fr; }
  .feature-grid{ grid-template-columns:1fr 1fr; }
  .integration-grid{ grid-template-columns:1fr 1fr; }
  .footer-top{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .sticky-cta{ flex-direction:column; align-items:flex-start; gap:.7rem; left:1rem; right:1rem; transform:translateY(140%); width:auto; }
  .sticky-cta.show{ transform:translateY(0); }
  .sticky-cta-actions{ width:100%; justify-content:space-between; }
  .activity-toast{ left:1rem; right:1rem; max-width:none; }
  .call-card{ max-width:100%; }
  .phone-shell{ width:100%; max-width:340px; }
}
