/* ============================================================================
 *  Octavoice — Premium Design Layer (rev 3, 2026-07-28)
 *
 *  Additive on top of style.css. Turns the marketing site into a proper
 *  product-first experience with three live demos in the hero.
 *
 *  Sections:
 *    0. Design tokens
 *    1. Ambient backdrop
 *    2. Nav (glass)
 *    3. Hero + demo shell + tabs
 *    4. Demo pane: AI Receptionist chat
 *    5. Demo pane: Live translation
 *    6. Demo pane: Contact Center simulation
 *    7. Trust stats
 *    8. Section headers
 *    9. Feature cards
 *   10. Spotlight
 *   11. Product screenshots dark section
 *   12. Buttons + pricing
 *   13. Reveal + responsive
 * ========================================================================= */

/* ============================================================================
   0. Design tokens
============================================================================ */
:root{
  --ink-1:#0f1226;
  --ink-2:#3d4364;
  --ink-3:#7a8099;
  --ink-4:#a0a6bd;
  --line:#e8eaf3;
  --line-soft:#f0f2f8;
  --surface:#ffffff;
  --surface-2:#f7f8fd;
  --surface-3:#eef1f9;
  --grad:linear-gradient(135deg,#d4501e 0%,#a83a15 100%);          /* editorial coral (v2) */
  --grad-warm:linear-gradient(135deg,#f59e0b,#d4501e);
  --grad-dark:linear-gradient(135deg,#1a1614 0%,#3b332e 100%);
  --shadow-1: 0 1px 2px rgba(15,18,38,.05);
  --shadow-2: 0 8px 24px -8px rgba(15,18,38,.12), 0 2px 6px rgba(15,18,38,.04);
  --shadow-3: 0 20px 48px -12px rgba(15,18,38,.18), 0 8px 20px -6px rgba(15,18,38,.08);
  --shadow-glow: 0 0 60px -12px rgba(124,58,237,.25);
}

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

/* NOTE (2026-07-28 session 48): global body/nav/hero rules that used to live
   here have been removed in favor of style-editorial.css. This file now only
   provides styles for the interactive demo widgets (voice/chat/translate/acd)
   which have their own scoped class names and keep their own tokens. */

/* ── DEMO SHELL — the star of the page ──────────────────────────────── */
.demo-wrap{
  margin: 56px auto 0;
  max-width: 940px;
  padding: 0 8px;
  text-align:left;
}
.demo-shell{
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border-radius: 22px;
  padding: 0;
  box-shadow: var(--shadow-3), var(--shadow-glow);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
}
.demo-shell::before{
  content:''; position:absolute; inset:0; border-radius:22px; padding:1px;
  background: linear-gradient(135deg, rgba(91,141,239,.55), rgba(124,58,237,.35), rgba(6,182,212,.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.demo-shell::after{
  content:''; position:absolute; left:8%; right:8%; bottom:-25px; height:50px;
  background: radial-gradient(ellipse at center, rgba(91,141,239,.30) 0%, transparent 70%);
  filter: blur(20px); z-index:-1;
}
.demo-tabs{
  display:flex; align-items:center; gap:6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fafbff 0%, #ffffff 100%);
  overflow-x: auto;
}
.demo-tab{
  display:inline-flex; align-items:center; gap:7px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-3);
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.demo-tab:hover{ background: #f5f6fb; color: var(--ink-2); }
.demo-tab.active{
  background: linear-gradient(135deg, rgba(91,141,239,.10), rgba(124,58,237,.08));
  color: #5b21b6;
  border-color: rgba(124,58,237,.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
}
.demo-tab svg{ opacity:.85; }
.live-badge{
  margin-left:auto;
  display:inline-flex; align-items:center; gap:6px;
  padding: 4px 10px;
  font-size: 11px; letter-spacing: .5px; text-transform:uppercase;
  color: var(--ink-3); font-weight: 700;
  background: #f5f6fb; border-radius: 99px;
  border: 1px solid var(--line);
}
.live-dot{
  width:7px; height:7px; border-radius:50%;
  background:#ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.18);
  animation: liveDot 1.5s ease-in-out infinite;
}
.live-dot.small{ width:6px; height:6px; box-shadow: 0 0 0 2px rgba(16,185,129,.20); background:#10b981; }
@keyframes liveDot{ 50%{ box-shadow: 0 0 0 8px rgba(239,68,68,0); } }
.demo-pane{ display: none; padding: 16px 20px 20px; }
.demo-pane.active{ display: block; }

/* ============================================================================
   4. AI Receptionist chat pane
============================================================================ */
.chat-header{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.chat-persona{ display:flex; align-items:center; gap:10px; }
.chat-avatar{
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg,#7c3aed,#06b6d4);
  color: #fff; font-weight: 700; font-size: 15px;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 16px -6px rgba(124,58,237,.45);
}
.chat-name{ font-size: 14px; font-weight: 600; color: var(--ink-1); }
.chat-status{ font-size: 12px; color: var(--ink-3); display:inline-flex; align-items:center; gap:6px; margin-top:2px; }
.chat-personapick{
  background: #f5f6fb; border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 10px;
  font-size: 12px; font-weight: 500; color: var(--ink-1);
  cursor: pointer;
}
.chat-personapick:focus{ outline:none; border-color:#5b8def; }
.chat-scroll{
  min-height: 220px; max-height: 340px; overflow-y: auto;
  padding: 6px 2px; display:flex; flex-direction:column; gap:8px;
}
.chat-scroll::-webkit-scrollbar{ width:4px; }
.chat-scroll::-webkit-scrollbar-thumb{ background:#c5cae0; border-radius:2px; }
.msg{
  display:flex; gap:8px; align-items:flex-end; max-width: 82%;
  animation: msgIn .4s cubic-bezier(.34,1.56,.64,1);
}
.msg.bot{ align-self:flex-start; }
.msg.user{ align-self:flex-end; flex-direction: row-reverse; }
.msg-avatar{
  width: 26px; height: 26px; border-radius: 8px; flex-shrink:0;
  font-size: 11px; font-weight: 700; color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.msg.bot .msg-avatar{ background: linear-gradient(135deg,#7c3aed,#06b6d4); }
.msg.user .msg-avatar{ background: linear-gradient(135deg,#334155,#0f172a); }
.msg-bubble{
  padding: 9px 13px; border-radius: 14px;
  font-size: 14px; line-height: 1.45;
  color: var(--ink-1);
  background: #f4f6fb;
}
.msg.user .msg-bubble{
  background: linear-gradient(135deg,#5b8def,#7c3aed);
  color: #fff;
}
.msg-typing{ display:flex; gap:3px; padding: 8px 10px; }
.msg-typing span{
  width:6px; height:6px; border-radius:50%; background:#7c3aed;
  opacity:.5; animation: typingDot 1.2s ease-in-out infinite;
}
.msg-typing span:nth-child(2){ animation-delay:.15s; }
.msg-typing span:nth-child(3){ animation-delay:.3s; }
@keyframes typingDot{ 0%,60%,100%{transform:translateY(0);opacity:.4} 30%{transform:translateY(-4px);opacity:1} }
@keyframes msgIn{ from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.chat-input{
  display:flex; gap:8px; margin-top: 10px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--line);
  border-radius: 12px; background: #fafbff;
  transition: border-color .15s;
}
.chat-input:focus-within{ border-color: #5b8def; background: #fff; }
.chat-input input{
  flex: 1; border: 0; background: transparent;
  font-size: 14px; color: var(--ink-1); outline: none;
  padding: 8px 0;
}
.chat-send{
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--grad); color: #fff; border: 0;
  display:flex; align-items:center; justify-content:center;
  cursor: pointer; transition: transform .15s;
  box-shadow: 0 6px 16px -6px rgba(91,141,239,.5);
}
.chat-send:hover{ transform: scale(1.05); }
.chat-send:disabled{ opacity: .5; cursor: not-allowed; }
.chat-hints{ display:flex; gap:6px; flex-wrap: wrap; margin-top: 10px; }
.chip-btn{
  padding: 5px 11px; font-size: 12px; color: var(--ink-2);
  background: #f5f6fb; border: 1px solid var(--line);
  border-radius: 99px; cursor: pointer;
  transition: background .15s, border-color .15s, transform .15s;
}
.chip-btn:hover{ background:#ede9fe; border-color: rgba(124,58,237,.3); color:#5b21b6; transform: translateY(-1px); }

/* ============================================================================
   5. Live translation pane
============================================================================ */
.translate-head{
  display:flex; align-items:center; gap:10px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.tp-side{ display:flex; flex-direction:column; gap:4px; flex:1; }
.tp-label{
  font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.tp-side select{
  background:#f5f6fb; border:1px solid var(--line);
  border-radius: 8px; padding: 6px 10px;
  font-size: 13px; font-weight: 500; color: var(--ink-1);
  cursor: pointer; transition: border-color .15s;
}
.tp-side select:hover{ border-color:#c5cae0; }
.tp-side select:focus{ outline:none; border-color: #5b8def; background:#fff; }
.swap-btn{
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2);
  display:inline-flex; align-items:center; justify-content:center;
  cursor: pointer; transition: transform .3s cubic-bezier(.34,1.56,.64,1), background .15s;
  align-self:flex-end; margin-bottom: 1px;
}
.swap-btn:hover{ transform: rotate(180deg); background:#f5f6fb; color:#5b8def; }
.translate-body{
  display:grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items:stretch;
}
.translate-arrow{ display:flex; align-items:center; justify-content:center; color: var(--ink-3); }
#demoSrc{
  width:100%; resize: none;
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fafbff;
  font-size: 15px; line-height: 1.5; font-family: inherit;
  color: var(--ink-1);
  transition: border-color .15s, background .15s;
}
#demoSrc:focus{ outline: none; border-color:#5b8def; background:#fff; }
#demoSrc::placeholder{ color: var(--ink-3); }
.demo-out{
  padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(180deg, rgba(91,141,239,.05), rgba(124,58,237,.03));
  min-height: 78px;
  font-size: 15px; line-height: 1.5; color: var(--ink-1);
  position:relative; overflow:hidden;
}
.demo-out.loading::before{
  content:''; position:absolute; top:0; left:-40%;
  width:40%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(91,141,239,.18), transparent);
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer{ to{ left:100%; } }
.demo-hint{ color: var(--ink-3); font-style: italic; }
.demo-elapsed{
  margin-left:auto; font-size: 11px; color: var(--ink-3);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  align-self:center;
}

/* ============================================================================
   6. Contact Center simulation pane
============================================================================ */
.acd-head{
  display:flex; justify-content:space-between; align-items:center;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid var(--line-soft);
}
.acd-title{ font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing:.2px; }
.btn-mini{
  padding: 5px 10px; font-size: 12px;
  background: #f5f6fb; border: 1px solid var(--line);
  border-radius: 8px; cursor: pointer; color: var(--ink-2);
  transition: background .15s;
}
.btn-mini:hover{ background: #ede9fe; color:#5b21b6; }
.acd-grid{
  display:grid; grid-template-columns: 1fr 160px 1fr; gap: 12px;
  min-height: 260px;
}
.acd-col{
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafbff;
  padding: 12px;
  display:flex; flex-direction: column;
}
.acd-col-head{
  display:flex; justify-content:space-between; align-items:center;
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700;
  padding-bottom: 10px; margin-bottom: 10px;
  border-bottom: 1px dashed var(--line);
}
.acd-badge{
  background: #ef4444; color: #fff;
  border-radius: 99px; padding: 2px 8px;
  font-size: 11px; font-weight: 700;
  min-width: 20px; text-align:center;
  transition: transform .3s;
}
.acd-badge.bump{ transform: scale(1.25); }
.acd-callers{ display:flex; flex-direction: column; gap: 6px; min-height: 200px; }
.caller-row{
  display:flex; align-items:center; gap:8px;
  padding: 8px 10px;
  background: #ffffff; border: 1px solid var(--line);
  border-radius: 10px;
  animation: msgIn .4s cubic-bezier(.34,1.56,.64,1);
  transition: opacity .3s, transform .3s;
}
.caller-row.leaving{ opacity: 0; transform: translateX(30px); }
.caller-flag{ font-size: 16px; }
.caller-info{ flex: 1; min-width: 0; }
.caller-name{ font-size: 13px; font-weight: 600; color: var(--ink-1); }
.caller-meta{ font-size: 11px; color: var(--ink-3); }
.caller-wait{
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; color: var(--ink-3);
}
.caller-skill{
  padding: 2px 6px; border-radius: 6px;
  font-size: 10px; letter-spacing:.5px; text-transform: uppercase;
  background: rgba(124,58,237,.1); color: #5b21b6; font-weight: 700;
}

.acd-router{
  align-items: center; text-align:center;
  background: linear-gradient(180deg, #f5f6fb 0%, #ede9fe 100%);
  position: relative; overflow: hidden;
}
.acd-router .acd-col-head{ border-bottom: 1px dashed rgba(124,58,237,.2); width:100%; }
.acd-router-body{ flex:1; display:flex; flex-direction:column; gap:6px; width:100%; position:relative; padding: 6px 4px; }
.router-line{
  display:flex; justify-content:space-between; align-items:center;
  padding: 6px 10px;
  background: rgba(255,255,255,.7);
  border-radius: 8px;
  font-size: 11px; font-weight: 600;
  color: var(--ink-2);
}
.router-line span:last-child{ color:#10b981; }
.router-pulse{
  position:absolute; inset:0; margin: auto;
  width: 90px; height: 90px; border-radius:50%;
  background: radial-gradient(circle, rgba(124,58,237,.15) 0%, transparent 70%);
  animation: routerPulse 2s ease-in-out infinite;
  z-index: -1;
}
@keyframes routerPulse{
  0%,100%{ transform: scale(0.8); opacity: .5; }
  50%    { transform: scale(1.2); opacity: 1; }
}

.acd-agents{ display:flex; flex-direction:column; gap: 6px; }
.acd-legend{
  display:inline-flex; align-items:center; gap:6px;
  font-size: 9px; letter-spacing:.5px; color: var(--ink-3);
  text-transform: uppercase;
}
.acd-legend em{
  display:inline-block; width:6px; height:6px; border-radius:50%; margin-right:2px;
  font-style: normal;
}
.acd-legend .dot-ready{ background:#10b981; }
.acd-legend .dot-talk{ background:#f59e0b; }
.agent-row{
  display:flex; align-items:center; gap:10px;
  padding: 8px 10px;
  background: #ffffff; border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .3s, background .3s;
}
.agent-row[data-state="talking"]{
  border-color: rgba(245,158,11,.4);
  background: linear-gradient(135deg, rgba(245,158,11,.05), rgba(244,63,94,.03));
}
.agent-avatar{
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg,#5b8def,#7c3aed); color:#fff;
  font-size: 10.5px; font-weight: 700;
  display:flex; align-items:center; justify-content:center;
  flex-shrink: 0;
}
.agent-name{ font-size: 13px; font-weight: 600; color: var(--ink-1); line-height: 1.15; }
.agent-meta{ font-size: 11px; color: var(--ink-3); }
.agent-pill{
  margin-left:auto;
  padding: 3px 9px; font-size: 10px; font-weight: 700; letter-spacing:.5px;
  text-transform: uppercase; border-radius: 99px;
}
.agent-pill.ready{ background: rgba(16,185,129,.12); color:#059669; }
.agent-pill.talking{ background: rgba(245,158,11,.14); color:#b45309; }
.acd-kpis{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line-soft);
}
.acd-kpi{ text-align:center; }
.acd-kpi-num{
  display:block;
  font-family:'Space Grotesk',sans-serif; font-weight: 700;
  font-size: 22px; color: var(--ink-1);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.02em;
}
.acd-kpi-lbl{
  display:block; font-size: 10px; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--ink-3); margin-top: 2px;
}

/* ============================================================================
   7. Trust stats
============================================================================ */
.trust{ margin-top: 80px; position:relative; z-index:1; }
.trust-label{
  display:block; text-align:center;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 22px;
}
.stats{ gap: 40px !important; }
.stat-num{
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family:'Space Grotesk',sans-serif; font-weight: 700;
  font-size: 32px !important;
  letter-spacing: -.03em;
}

/* ============================================================================
   8. Section headers
============================================================================ */
.section-head .eyebrow{
  display:inline-block; padding: 4px 12px;
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.15);
  border-radius: 99px;
  color:#5b21b6; font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700;
}
.section-head h2{ margin-top: 14px !important; color: var(--ink-1); font-weight: 700; }
.section-head p.section-sub{ color: var(--ink-2); font-size: 17px; }

/* ============================================================================
   9. Feature cards
============================================================================ */
.features-grid{ gap: 20px !important; }
.feature-card{
  position: relative;
  padding: 26px 24px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  box-shadow: var(--shadow-1);
  transition: transform .3s cubic-bezier(.2,.9,.3,1), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.feature-card::after{
  content:''; position:absolute; inset:0; border-radius:16px; pointer-events:none;
  background: radial-gradient(220px circle at var(--mx,50%) var(--my,50%),
              rgba(124,58,237,.07), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(124,58,237,.25) !important;
}
.feature-card:hover::after{ opacity: 1; }
.feature-card .feature-icon{
  width: 44px; height: 44px; border-radius: 12px !important;
  background: linear-gradient(135deg, #ede9fe, #ecfeff) !important;
  display:flex; align-items:center; justify-content:center;
  color:#7c3aed !important;
  box-shadow: inset 0 0 0 1px rgba(124,58,237,.12);
  margin-bottom: 14px !important;
}
.feature-card h3{ font-size: 1.05rem !important; margin-bottom: 6px !important; color: var(--ink-1); }
.feature-card p { font-size: .93rem !important; line-height: 1.55 !important; color: var(--ink-2); }

/* ============================================================================
  10. Spotlight
============================================================================ */
#spotlight{
  position: relative;
  padding: 90px 0 70px !important;
  background: linear-gradient(180deg, transparent 0%, rgba(237,233,254,.28) 50%, rgba(236,254,255,.22) 100%) !important;
}
#spotlight::before{ content:none !important; }
#spotlight > .container > div[style*="grid-template-columns"]{ gap: 24px !important; }
#spotlight .reveal{
  border-radius: 18px !important;
  padding: 30px !important;
  background: #ffffff !important;
  box-shadow: var(--shadow-2) !important;
  border: 1px solid var(--line) !important;
  position: relative;
  transition: transform .3s cubic-bezier(.2,.9,.3,1), box-shadow .3s;
}
#spotlight .reveal:hover{ transform: translateY(-4px); box-shadow: var(--shadow-3) !important; }
#spotlight h3{ font-size: 20px !important; color: var(--ink-1); }
#spotlight p { font-size: 15px !important; line-height: 1.6 !important; color: var(--ink-2); }

/* ============================================================================
  11. Product screenshots — DARK contrast section
============================================================================ */
#product-screens{
  padding: 100px 0 !important;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%, rgba(124,58,237,.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(6,182,212,.14), transparent 60%),
    linear-gradient(180deg,#0f1226,#1a1f3e);
  color: #e8ecff;
  position: relative;
  overflow: hidden;
}
#product-screens::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .3;
}
#product-screens .container{ position: relative; }
#product-screens .section-head h2{
  color: #ffffff;
  background: none; -webkit-text-fill-color: initial;
}
#product-screens .section-head .eyebrow{
  background: rgba(255,255,255,.06); color: #a5b4fc; border-color: rgba(165,180,252,.25);
}
#product-screens .section-head p.section-sub{ color: #a5adcf; }
.screens{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.screen{
  background: linear-gradient(180deg,#151a2e 0%, #1a1f3e 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  position: relative; overflow: hidden;
}
.screen::before{
  content:''; position:absolute; inset:0; border-radius:18px; padding:1px;
  background: linear-gradient(135deg, rgba(91,141,239,.35), rgba(124,58,237,.25), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events:none;
}
.screen-head{
  display:flex; align-items:center; justify-content:space-between;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.screen-title{ font-weight: 600; font-size: 14px; color: #ffffff; }
.screen-tag{
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #8891b7;
}
.screen-body{ min-height: 300px; }
.screen-cta{ margin-top: 20px; text-align:center; }
.screen-cta a{
  display:inline-block; padding: 10px 18px; font-size: 13px; font-weight: 600;
  color: #ffffff; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15); border-radius: 10px;
  text-decoration: none; transition: background .15s;
}
.screen-cta a:hover{ background: rgba(255,255,255,.15); }

/* Softphone mock */
.sp-topbar{ display:flex; align-items:center; gap:8px; margin-bottom: 14px; }
.sp-topbar span{ width:8px; height:8px; border-radius:50%; background:#374151; }
.sp-topbar span:nth-child(1){ background:#ff5f57; }
.sp-topbar span:nth-child(2){ background:#febc2e; }
.sp-topbar span:nth-child(3){ background:#28c840; }
.sp-topbar em{ margin-left:8px; font-style: normal; font-size: 11px; color:#8891b7; font-family: ui-monospace,Menlo,monospace; }
.sp-state{
  display:inline-flex; align-items:center; gap:6px;
  background: rgba(16,185,129,.14); color: #4ade80;
  padding: 3px 10px; border-radius: 99px;
  font-size: 11px; font-weight: 700; letter-spacing:.5px; text-transform:uppercase;
}
.sp-controls{ display:flex; gap:6px; margin-top: 12px; flex-wrap: wrap; }
.sp-btn{
  padding: 6px 12px; font-size: 11px; font-weight: 600;
  background: rgba(255,255,255,.08); color: #e8ecff;
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px;
}
.sp-btn.primary{ background: linear-gradient(135deg,#5b8def,#7c3aed); border: 0; }
.sp-btn.danger{ background: rgba(239,68,68,.25); color:#fca5a5; border-color: rgba(239,68,68,.35); }
.sp-offer{
  background: linear-gradient(135deg, #1e293b, #312e81);
  border-radius: 12px; padding: 14px;
  border: 1px solid rgba(139,92,246,.35);
  margin-top: 12px;
  animation: sp-ring 1.6s ease-in-out infinite;
}
@keyframes sp-ring{ 0%,100%{box-shadow:0 0 0 0 rgba(139,92,246,.4)} 50%{box-shadow:0 0 0 10px rgba(139,92,246,0)} }
.sp-who{ font-size: 14px; font-weight: 600; color: #ffffff; }
.sp-meta{ font-size: 12px; color: #a5adcf; margin-top: 3px; }
.sp-mini-stats{ display:flex; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.sp-mini-stats > div{ flex:1; }
.sp-mini-stats b{ display:block; font-family:'Space Grotesk',sans-serif; font-size: 18px; color:#ffffff; }
.sp-mini-stats em{ display:block; font-style: normal; font-size: 10px; letter-spacing:1px; color:#8891b7; text-transform:uppercase; margin-top:2px; }

/* Supervisor mock */
.sup-kpi{ display:grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.sup-kpi > div{
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px; padding: 10px 12px;
}
.sup-kpi b{
  display:block; font-family:'Space Grotesk',sans-serif; font-weight: 700;
  font-size: 22px; color:#ffffff; letter-spacing:-.02em;
}
.sup-kpi em{ display:block; font-style: normal; font-size: 10px; letter-spacing:1px; color:#8891b7; text-transform:uppercase; margin-top:2px; }
.sup-row{
  display:flex; justify-content:space-between; align-items:center;
  padding: 8px 10px; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06); border-radius: 8px;
  margin-bottom: 6px; font-size: 12px;
}
.sup-row-name{ color:#e8ecff; font-weight:600; }
.sup-row-meta{ color:#8891b7; font-size:11px; }
.sup-pill{
  padding: 2px 8px; border-radius: 99px; font-size:10px; font-weight:700;
  letter-spacing: .5px; text-transform: uppercase;
}
.sup-pill.ready{ background: rgba(16,185,129,.14); color:#4ade80; }
.sup-pill.talking{ background: rgba(245,158,11,.18); color:#fbbf24; }
.sup-pill.notready{ background: rgba(148,163,184,.14); color:#94a3b8; }

/* ============================================================================
  12. Buttons + pricing (straight)
============================================================================ */
.btn-primary{
  background: var(--grad) !important;
  color:#fff !important;
  border-radius: 10px !important;
  padding: 11px 22px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px -6px rgba(91,141,239,.5) !important;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  border: 0;
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(91,141,239,.65) !important; }

.tier-cta{
  background: var(--grad) !important; color:#fff !important;
  border-radius: 10px !important; padding: 12px 20px !important;
  box-shadow: 0 6px 18px -6px rgba(91,141,239,.4);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
}
.tier-cta:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(91,141,239,.55); }

.pricing{ gap: 20px !important; align-items: stretch !important; }
.price-card{
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px !important;
  box-shadow: var(--shadow-1) !important;
  padding: 32px 26px !important;
  display: flex !important; flex-direction: column !important;
  transition: transform .25s cubic-bezier(.2,.9,.3,1), box-shadow .25s, border-color .25s;
  position: relative; overflow: visible;
}
.price-card::before{ content:none !important; }
.price-card:hover{
  transform: translateY(-4px); box-shadow: var(--shadow-2) !important;
  border-color: rgba(124,58,237,.25) !important;
}
.price-card.featured{
  background: linear-gradient(180deg,#ffffff,#fafbff) !important;
  border-color: rgba(124,58,237,.35) !important;
  box-shadow: var(--shadow-3) !important;
  transform: none !important;
}
.price-card.featured::after{
  content: 'MOST POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff;
  font-size: 10px; letter-spacing: 1.5px; font-weight: 700;
  padding: 4px 14px; border-radius: 99px;
  box-shadow: 0 4px 14px -4px rgba(91,141,239,.5);
}
.price-card.featured:hover{ transform: translateY(-4px) !important; }
.price-card .tier-name{
  font-size: 13px !important; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 700; color: var(--ink-3);
}
.price-card .price{
  font-family:'Space Grotesk',sans-serif;
  font-size: 48px !important; letter-spacing: -.03em;
  color: var(--ink-1); font-weight: 700;
  margin: 14px 0 6px !important; line-height: 1.05;
}
.price-card .price .currency{ font-size: 24px; vertical-align: super; margin-right: 2px; }
.price-card .price .period{ font-size: 15px; color: var(--ink-3); font-weight: 500; }
.price-card .tier-desc{ font-size: 13px; color: var(--ink-2); min-height: 42px; }
.price-card .tier-features{
  flex: 1; margin: 18px 0 22px !important;
  list-style: none; padding: 0;
}
.price-card .tier-features li{
  display: flex; gap: 10px; align-items: flex-start;
  padding: 7px 0; font-size: 13.5px; color: var(--ink-2);
  border: 0 !important;
}
.price-card .tier-features li svg{
  width: 14px; height: 14px; flex-shrink: 0; color: #10b981; margin-top: 3px;
}
.price-card .tier-cta{ width: 100%; text-align: center; display: block; }

#how .step .step-num{
  background: var(--grad) !important; color:#fff;
  box-shadow: 0 6px 18px -6px rgba(91,141,239,.4);
}

/* ============================================================================
  13. Reveal + responsive
============================================================================ */
.reveal{ opacity:0; transform: translateY(20px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1); }
.reveal.visible{ opacity:1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1 !important; transform:none !important; } }
html.reveal-fallback .reveal:not(.visible){ opacity:1; transform:none; }

@media (max-width: 900px){
  .hero{ padding-top: calc(var(--nav-h) + 32px) !important; padding-bottom: 60px !important; }
  .demo-wrap{ margin-top: 34px; }
  .demo-tabs{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .live-badge{ display:none; }
  .translate-body{ grid-template-columns: 1fr !important; }
  .translate-arrow{ transform: rotate(90deg); padding: 4px 0; }
  .translate-head{ flex-wrap: wrap; }
  .translate-head .swap-btn{ order: 3; margin: 0 auto; }
  .acd-grid{ grid-template-columns: 1fr !important; min-height: auto; }
  .acd-router{ order: 2; }
  #spotlight > .container > div[style*="grid-template-columns"]{ grid-template-columns: 1fr !important; }
  .pricing{ grid-template-columns: 1fr !important; }
  .price-card.featured{ transform: none !important; }
  .screens{ grid-template-columns: 1fr !important; }
}
@media (max-width: 600px){
  .stat-num{ font-size: 26px !important; }
  .chat-header{ flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================================
   14. "Call the AI" — two-way voice pane
============================================================================ */
.call-stage{
  display:grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: stretch;
  padding: 24px;
  background: linear-gradient(135deg,#0f1226 0%, #1e1b4b 55%, #312e81 100%);
  border-radius: 16px;
  color:#e8ecff;
  position:relative; overflow:hidden;
  box-shadow: 0 20px 50px -18px rgba(76,29,149,.5), inset 0 1px 0 rgba(255,255,255,.08);
  min-height: 250px;
}
.call-stage::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(circle at 25% 50%, rgba(212,80,30,.30), transparent 60%),
              radial-gradient(circle at 90% 50%, rgba(212,80,30,.14), transparent 60%);
}
.call-orb-wrap{
  position:relative; z-index:1;
  display:flex; flex-direction: column; align-items:center; justify-content:center;
  gap:14px;
}
.call-orb{
  position:relative; z-index:1;
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg,#d4501e,#a83a15);
  color:#fff; border: 0; cursor: pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 20px 40px -10px rgba(212,80,30,.55), inset 0 2px 8px rgba(255,255,255,.25);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
}
.call-orb:hover{ transform: scale(1.05); box-shadow: 0 24px 50px -10px rgba(212,80,30,.75); }
.call-orb:active{ transform: scale(.98); }
.call-orb.listening{
  background: linear-gradient(135deg,#ef4444,#dc2626);
  box-shadow: 0 24px 50px -10px rgba(239,68,68,.6), inset 0 2px 8px rgba(255,255,255,.25);
}
.call-orb.thinking{
  background: linear-gradient(135deg,#f59e0b,#d97706);
}
.call-orb.speaking{
  background: linear-gradient(135deg,#10b981,#059669);
}
.orb-rings{
  position:absolute; inset:-40px; pointer-events:none;
}
.orb-rings span{
  position:absolute; inset:0; border-radius:50%;
  border: 2px solid rgba(255,255,255,.25);
  animation: ringOut 2.4s ease-out infinite;
  opacity: 0;
}
.call-orb.listening .orb-rings span,
.call-orb.speaking  .orb-rings span{ opacity: 1; }
.orb-rings span:nth-child(2){ animation-delay: .8s; }
.orb-rings span:nth-child(3){ animation-delay: 1.6s; }
@keyframes ringOut{
  0%   { transform: scale(.6);  opacity: .8; }
  100% { transform: scale(1.6); opacity: 0;  }
}
.call-hint{
  font-size: 13px; color: rgba(232,236,255,.7);
  letter-spacing: .3px; text-align: center;
}
.call-transcript{
  position:relative; z-index:1;
  overflow-y: auto; max-height: 320px;
  padding: 4px 8px;
  display:flex; flex-direction: column; gap: 10px;
}
.call-transcript::-webkit-scrollbar{ width:4px; }
.call-transcript::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.15); border-radius:2px; }
.call-empty{
  color: rgba(232,236,255,.5); font-style: italic; font-size: 13.5px;
  align-self: center; margin: auto 0;
}
.turn{
  display:flex; gap:10px; align-items:flex-start;
  animation: msgIn .4s cubic-bezier(.34,1.56,.64,1);
}
.turn .who{
  font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(232,236,255,.6); font-weight: 700;
  padding: 4px 0 0;
  min-width: 46px;
}
.turn.you .who{ color: #a5b4fc; }
.turn.ai  .who{ color: #67e8f9; }
.turn .txt{
  flex:1; padding: 8px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  font-size: 14px; line-height: 1.5;
  color: #ffffff;
}
.turn.you .txt{ background: rgba(91,141,239,.16); border-color: rgba(91,141,239,.35); }
.turn.ai  .txt{ background: rgba(6,182,212,.10);  border-color: rgba(6,182,212,.28); }
.turn.partial .txt{ opacity: .7; font-style: italic; }
.call-note{
  margin-top: 10px;
  display:flex; align-items:center; gap:6px;
  font-size: 11px; color: var(--ink-3);
}

@media (max-width: 720px){
  .call-stage{ grid-template-columns: 1fr; min-height: auto; padding: 18px; }
  .call-orb{ width: 100px; height: 100px; }
  .orb-rings{ inset: -30px; }
  .call-transcript{ max-height: 220px; }
}

/* ============================================================================
   14b. Voice sample player (legacy — kept for other uses)
============================================================================ */
.voice-head{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding-bottom: 14px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
  flex-wrap: wrap;
}
.voice-persona{ display:flex; align-items:center; gap:12px; }
.voice-avatar{
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg,#7c3aed,#06b6d4);
  color:#fff; font-weight:700; font-size:16px;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 22px -8px rgba(124,58,237,.5);
}
.voice-name{ font-size:14px; font-weight:600; color:var(--ink-1); }
.voice-status{ font-size:12px; color:var(--ink-3); margin-top:2px; }
#voicePick, #callPersona{
  background: #f5f6fb; border: 1px solid var(--line);
  border-radius: 8px; padding: 7px 11px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-1);
  cursor: pointer; transition: border-color .15s;
}
#voicePick:focus, #callPersona:focus{ outline: none; border-color:#5b8def; background:#fff; }

.voice-player{
  display:flex; align-items:center; gap:18px;
  padding: 22px 22px;
  background: linear-gradient(135deg,#0f1226 0%, #1e1b4b 55%, #312e81 100%);
  border-radius: 16px;
  color:#e8ecff;
  position:relative; overflow:hidden;
  box-shadow: 0 20px 50px -18px rgba(76,29,149,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.voice-player::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(ellipse 60% 80% at 10% 50%, rgba(124,58,237,.25), transparent 60%),
              radial-gradient(ellipse 50% 80% at 90% 50%, rgba(6,182,212,.20), transparent 60%);
}
.play-btn{
  position:relative; z-index:1;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg,#5b8def,#7c3aed);
  color:#fff; border: 0; cursor: pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 30px -8px rgba(91,141,239,.6), inset 0 1px 0 rgba(255,255,255,.3);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s;
  flex-shrink: 0;
}
.play-btn:hover{ transform: scale(1.06); box-shadow: 0 16px 36px -10px rgba(91,141,239,.75); }
.play-btn:active{ transform: scale(.98); }
.play-btn svg{ margin-left: 2px; }
.wave-wrap{ position:relative; z-index:1; flex:1; min-width:0; }
.wave{
  display:flex; align-items:flex-end; gap: 3px;
  height: 44px; padding: 0 2px;
}
.wave span{
  flex:1; min-width: 3px; max-width: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(196,181,253,.6));
  border-radius: 2px;
  height: 8px;
  transition: height .12s ease-out;
}
.wave.playing span{
  animation: waveBar 1.1s ease-in-out infinite;
}
.wave.playing span:nth-child(3n){ animation-delay: .1s; }
.wave.playing span:nth-child(5n){ animation-delay: .2s; }
.wave.playing span:nth-child(7n){ animation-delay: .3s; }
.wave.playing span:nth-child(11n){ animation-delay: .4s; }
@keyframes waveBar{
  0%,100%{ height: 8px; }
  30%    { height: 32px; }
  60%    { height: 16px; }
  80%    { height: 40px; }
}
.voice-caption{
  margin-top: 12px; font-size: 13.5px; line-height: 1.55;
  color: #d9dbf7; font-style: italic;
  min-height: 40px;
}
.voice-time{
  margin-top: 6px;
  display:flex; justify-content: space-between;
  font-size: 11px; letter-spacing: .5px;
  color: rgba(232,236,255,.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.voice-hints{ display:flex; gap:6px; flex-wrap: wrap; margin-top: 12px; }

/* ============================================================================
   15. Futuristic backdrop for hero (subtle grid)
============================================================================ */
.hero{
  background-image:
    linear-gradient(to right, rgba(124,58,237,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(124,58,237,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
}

/* Enlarge headline for more impact */
.hero h1{
  font-size: clamp(2.6rem, 6vw, 4.4rem) !important;
  letter-spacing: -0.04em !important;
  font-weight: 800 !important;
}
.hero .hero-sub{
  font-size: 18px !important;
}

/* Nicer feature-card icon glow on hover */
.feature-card:hover .feature-icon{
  box-shadow:
    inset 0 0 0 1px rgba(124,58,237,.2),
    0 8px 24px -6px rgba(124,58,237,.35);
}
