:root {
  --bg: #0A0612;
  --bg-2: #110820;
  --ink: #F5F1FF;
  --ink-dim: rgba(245, 241, 255, 0.72);
  --ink-mute: rgba(245, 241, 255, 0.50);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --pink: #FF3E8B;
  --orange: #FF7A3D;
  --magenta: #B832E0;
  --purple: #6B2FC4;

  --grad-logo: linear-gradient(92deg, #FF3E8B 0%, #FF7A3D 35%, #B832E0 78%, #6B2FC4 100%);
  --grad-soft: linear-gradient(120deg, rgba(255,62,139,0.22), rgba(184,50,224,0.22));

  --glass-bg: rgba(20, 12, 34, 0.45);
  --glass-border: rgba(255, 255, 255, 0.10);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --ff-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: #0A0612; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.55;
}

body > *:not(#shader-canvas) { position: relative; z-index: 1; }

#shader-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }

.page {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Nav ---- */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  background: rgba(14, 9, 24, 0.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}
.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.nav .brand img { height: 28px; display: block; }
.nav .brand .dot-ai { color: var(--ink-dim); font-weight: 500; }
.nav ul {
  display: flex; gap: 6px; list-style: none; margin: 0; padding: 0;
}
.nav ul a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 120ms ease, background 120ms ease;
}
.nav ul a:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav .cta-wrap { display: flex; align-items: center; gap: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  font: 600 14px/1 var(--ff-body);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn-primary {
  color: white;
  background: var(--grad-logo);
  background-size: 180% 180%;
  background-position: 0% 50%;
  box-shadow: 0 10px 30px rgba(255, 62, 139, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { background-position: 100% 50%; transform: translateY(-1px); box-shadow: 0 14px 40px rgba(255, 62, 139, 0.5); }
.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,0.04);
  border-color: var(--line-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-lg { padding: 16px 26px; font-size: 15px; }

/* ---- Hero ---- */
.hero {
  padding: 96px 0 72px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  color: var(--ink-dim);
  backdrop-filter: blur(10px);
}
.badge .dot {
  width: 20px; height: 20px; border-radius: 999px;
  background: var(--grad-logo);
  display: grid; place-items: center;
  font-size: 11px;
}
h1.hero-title {
  font-family: var(--ff-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  margin: 20px 0 18px;
  text-wrap: balance;
}
.hero-title .grad {
  background: var(--grad-logo);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 560px;
  text-wrap: pretty;
  margin: 0 0 32px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 40px;
  display: flex; gap: 32px; align-items: center;
  color: var(--ink-mute);
  font-size: 13px;
}
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-meta .sep { width: 1px; height: 26px; background: var(--line-strong); }

/* ---- Hero visual: clean variants ---- */
.hero-viz {
  position: relative;
  aspect-ratio: 1 / 1.02;
  border-radius: var(--r-xl);
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
}
.hero-viz.clean { padding: 32px; display: grid; place-items: center; }
.hero-viz .viz-logo,
.hero-viz .viz-orb,
.hero-viz .viz-chat { display: none; width: 100%; height: 100%; position: relative; }
.hero-viz[data-hero-viz="logo"] .viz-logo { display: grid; place-items: center; }
.hero-viz[data-hero-viz="orb"]  .viz-orb  { display: grid; place-items: center; }
.hero-viz[data-hero-viz="chat"] .viz-chat { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 8px 4px; }

.viz-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.viz-caption .dot { width: 6px; height: 6px; border-radius: 999px; background: #4CFFB0; box-shadow: 0 0 10px #4CFFB0; animation: pulse 2s ease-in-out infinite; }

/* Variant A — Logo mark */
.viz-logo-img {
  position: relative;
  width: 78%;
  max-width: 440px;
  filter: drop-shadow(0 20px 60px rgba(255, 62, 139, 0.35)) drop-shadow(0 10px 30px rgba(107, 47, 196, 0.25));
  animation: floatY 6s ease-in-out infinite;
  z-index: 2;
}
.logo-halo {
  position: absolute;
  inset: 10% 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,62,139,0.28), rgba(107,47,196,0.18) 45%, transparent 70%);
  filter: blur(30px);
  animation: haloPulse 4s ease-in-out infinite;
  z-index: 1;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes haloPulse { 0%, 100% { opacity: 0.7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* Variant B — Orb */
.orb {
  position: relative;
  width: 62%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.orb-core {
  width: 46%; height: 46%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFB27A, #FF3E8B 40%, #B832E0 75%, #6B2FC4);
  box-shadow:
    0 0 80px rgba(255, 62, 139, 0.6),
    0 0 140px rgba(184, 50, 224, 0.45),
    inset -20px -30px 60px rgba(0,0,0,0.35),
    inset 20px 30px 60px rgba(255, 255, 255, 0.18);
  animation: orbBreathe 5s ease-in-out infinite;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
}
.orb-ring.r1 { inset: 12%; animation: orbRing 4s ease-in-out infinite; }
.orb-ring.r2 { inset: 4%;  animation: orbRing 5s ease-in-out infinite reverse; border-color: rgba(255, 62, 139, 0.22); }
.orb-ring.r3 { inset: -6%; animation: orbRing 6.5s ease-in-out infinite; border-color: rgba(107, 47, 196, 0.18); }
@keyframes orbBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes orbRing { 0%, 100% { transform: scale(1) rotate(0); opacity: 0.8; } 50% { transform: scale(1.05) rotate(180deg); opacity: 1; } }

/* Variant C — Chat */
.viz-chat { padding-bottom: 36px; gap: 10px !important; overflow: hidden; }
.chat-bubble {
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 13.5px;
  line-height: 1.42;
  backdrop-filter: blur(10px);
  animation: bubbleIn 480ms cubic-bezier(.2,.7,.2,1) both;
}
.chat-bubble.in {
  align-self: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-strong);
  border-bottom-left-radius: 6px;
  color: var(--ink);
}
.chat-bubble.out {
  align-self: flex-end;
  background: var(--grad-logo);
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 10px 24px rgba(255, 62, 139, 0.28);
}
.chat-bubble.b1 { animation-delay: 0ms; }
.chat-bubble.b2 { animation-delay: 300ms; }
.chat-bubble.b3 { animation-delay: 700ms; }
.chat-bubble.b4 { animation-delay: 1100ms; }
.chat-bubble.b5 { animation-delay: 1600ms; }
.chat-bubble.b6 { animation-delay: 2000ms; }
.chat-bubble.in strong { color: #FFB27A; font-weight: 600; }
@keyframes bubbleIn { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }

.typing { display: inline-flex; gap: 4px; align-items: center; padding: 2px 0; }
.typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-dim);
  animation: dot 1.2s ease-in-out infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* --- old dashboard styles retained for no breakage but unused --- */
.hero-viz::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 30% 20%, rgba(255,62,139,0.18), transparent 60%),
              radial-gradient(500px circle at 80% 80%, rgba(107,47,196,0.22), transparent 60%);
  pointer-events: none;
}
.viz-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2px 4px 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  position: relative;
}
.viz-head .title {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.viz-head .dots { display: flex; gap: 6px; }
.viz-head .dots span { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.12); }
.viz-head .dots span.live { background: #4CFFB0; box-shadow: 0 0 8px #4CFFB0; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.viz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  position: relative;
}
.viz-stat {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.viz-stat .label { font-family: var(--ff-mono); font-size: 10px; color: var(--ink-mute); letter-spacing: 0.08em; text-transform: uppercase; }
.viz-stat .value { font-family: var(--ff-display); font-size: 22px; font-weight: 700; margin-top: 4px; }
.viz-stat .value.grad { background: var(--grad-logo); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.viz-stat .delta { font-size: 11px; color: #4CFFB0; font-family: var(--ff-mono); }

.viz-network {
  position: relative;
  margin-top: 14px;
  height: 220px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  overflow: hidden;
}
.viz-network svg { width: 100%; height: 100%; display: block; }

.viz-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px;
  font-family: var(--ff-mono); font-size: 11px; color: var(--ink-mute);
}
.viz-foot .pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(76, 255, 176, 0.12);
  color: #4CFFB0;
  border: 1px solid rgba(76,255,176,0.25);
}

/* ---- Section base ---- */
section { padding: 72px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--grad-logo);
  box-shadow: 0 0 10px var(--pink);
}
h2.section-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 640px;
  text-wrap: pretty;
}

/* ---- Kommo / Omnichannel ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.kommo-badge-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  width: fit-content;
}
.kommo-badge-row .verified {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: #FFC043; border-radius: 10px;
  clip-path: polygon(50% 0, 64% 10%, 80% 5%, 88% 19%, 100% 27%, 96% 43%, 100% 58%, 88% 65%, 90% 81%, 74% 85%, 66% 100%, 50% 92%, 34% 100%, 26% 85%, 10% 81%, 12% 65%, 0 58%, 4% 43%, 0 27%, 12% 19%, 20% 5%, 36% 10%);
  color: #0A0612; font-weight: 900;
}
.kommo-badge-row .k-text { font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }
.kommo-badge-row .k-text strong { display: block; font-size: 16px; color: var(--ink); font-family: var(--ff-display); letter-spacing: -0.01em; text-transform: none; margin-top: 2px; }

/* Channel cards visual */
.channels {
  position: relative;
  padding: 22px;
  border-radius: var(--r-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  aspect-ratio: 1 / 0.95;
  overflow: hidden;
}
.channels .inbox {
  position: absolute;
  right: 22px; top: 50%; transform: translateY(-50%);
  width: 54%;
  padding: 14px;
  border-radius: var(--r-md);
  background: rgba(10, 6, 18, 0.7);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.inbox-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.inbox-head .t { font-family: var(--ff-display); font-weight: 700; font-size: 13px; }
.inbox-head .count { font-family: var(--ff-mono); font-size: 10px; color: #4CFFB0; }
.msg-row {
  display: flex; gap: 10px; padding: 9px 8px; border-radius: 10px;
  transition: background 150ms;
}
.msg-row + .msg-row { margin-top: 2px; }
.msg-row:hover { background: rgba(255,255,255,0.04); }
.msg-row .av {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.msg-row .av.wa { background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; }
.msg-row .av.ig { background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); color: #fff; }
.msg-row .av.fb { background: linear-gradient(135deg, #1877F2, #0C4EB5); color: #fff; }
.msg-row .av.web { background: linear-gradient(135deg, var(--pink), var(--purple)); color: #fff; }
.msg-row .body { flex: 1; min-width: 0; }
.msg-row .name { font-size: 12px; font-weight: 600; }
.msg-row .preview { font-size: 11px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-row .time { font-family: var(--ff-mono); font-size: 10px; color: var(--ink-mute); }
.msg-row.qualified .name::after {
  content: "AI";
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--grad-logo);
  font-family: var(--ff-mono);
  font-size: 9px;
  font-weight: 700;
  vertical-align: middle;
}

/* Channel nodes left side */
.ch-nodes { position: absolute; left: 22px; top: 22px; bottom: 22px; width: 42%; }
.ch-node {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(10,6,18,0.65);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px);
  font-size: 12px; font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.ch-node .icon { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 11px; color: #fff; }
.ch-node.wa { top: 8%; left: 0; animation-delay: 0s; }
.ch-node.wa .icon { background: #25D366; }
.ch-node.ig { top: 30%; left: 30px; animation-delay: -2s; }
.ch-node.ig .icon { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); }
.ch-node.fb { top: 54%; left: 6px; animation-delay: -4s; }
.ch-node.fb .icon { background: #1877F2; }
.ch-node.web { top: 76%; left: 36px; animation-delay: -1s; }
.ch-node.web .icon { background: linear-gradient(135deg, var(--pink), var(--purple)); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Connector lines */
.ch-lines { position: absolute; inset: 0; pointer-events: none; }

/* ---- Voice AI ---- */
.voice-card {
  padding: 48px;
  border-radius: var(--r-xl);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.voice-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, rgba(255,62,139,0.4), transparent 40%, transparent 60%, rgba(107,47,196,0.4));
  padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.voice-player {
  border-radius: var(--r-lg);
  padding: 28px;
  background: rgba(10,6,18,0.6);
  border: 1px solid var(--line-strong);
  min-width: 0;
  overflow: hidden;
}
.voice-call-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.voice-call-head .peer { display: flex; align-items: center; gap: 12px; }
.voice-call-head .peer .avatar {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--grad-logo);
  display: grid; place-items: center; font-weight: 800; color: #fff;
  position: relative;
}
.voice-call-head .peer .avatar::after {
  content: ""; position: absolute; inset: -6px; border-radius: 999px;
  border: 1px solid rgba(255,62,139,0.4);
  animation: ring 2s ease-out infinite;
}
@keyframes ring { 0% { transform: scale(0.85); opacity: 0.8; } 100% { transform: scale(1.25); opacity: 0; } }
.voice-call-head .peer .meta .n { font-family: var(--ff-display); font-weight: 700; font-size: 15px; white-space: nowrap; }
.voice-call-head .peer .meta .s { font-family: var(--ff-mono); font-size: 11px; color: #4CFFB0; }
.voice-call-head .timer { font-family: var(--ff-mono); font-size: 13px; color: var(--ink-dim); }

.waveform {
  position: relative;
  height: 90px;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  cursor: pointer;
  user-select: none;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
.waveform .bar {
  width: 4px;
  flex-shrink: 0;
  background: var(--grad-logo);
  border-radius: 2px;
  transition: height 140ms cubic-bezier(0.4, 0, 0.2, 1);
}
.voice-card > * { min-width: 0; }
.voice-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.voice-controls { display: flex; align-items: center; justify-content: flex-start; margin-top: 20px; gap: 14px; flex-wrap: wrap; }
.voice-controls .play {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--grad-logo);
  display: grid; place-items: center;
  border: none; cursor: pointer;
  box-shadow: 0 12px 30px rgba(255,62,139,0.4);
  color: #fff;
  flex-shrink: 0;
  transition: transform 150ms;
}
.voice-controls .play:hover { transform: scale(1.05); }
.voice-caption {
  flex: 1; font-family: var(--ff-mono); font-size: 12px;
  color: var(--ink-dim); line-height: 1.45;
  min-width: 0; word-wrap: break-word;
}
.waveform { overflow: hidden; }

/* ---- CTA form ---- */
.final-cta { padding: 56px 40px; text-align: left; }
.cta-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.cta-head h2 { margin: 14px 0 14px; }
.cta-head p { margin: 0 auto 26px; }
.cta-quickactions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.cta-form {
  max-width: 860px; margin: 0 auto;
  padding: 32px;
  border-radius: var(--r-lg);
  background: rgba(10, 6, 18, 0.5);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  text-align: left;
}
.form-head { margin-bottom: 24px; }
.form-head h3 {
  font-family: var(--ff-display); font-weight: 700;
  font-size: 26px; letter-spacing: -0.015em;
  margin: 10px 0 6px;
}
.form-head .form-sub { color: var(--ink-dim); font-size: 15px; margin: 0; }
.form-eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field > span, .field .legend {
  font-size: 12px;
  color: var(--ink-dim);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  transition: border-color 150ms, background 150ms;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(255, 62, 139, 0.55);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(255,62,139,0.12);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-dim) 50%), linear-gradient(135deg, var(--ink-dim) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field select option { background: #0A0612; color: var(--ink); }
fieldset.field { border: none; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  cursor: pointer;
  transition: all 150ms;
}
.chips label:hover { background: rgba(255,255,255,0.06); }
.chips input { accent-color: #FF3E8B; }
.chips label:has(input:checked) {
  background: linear-gradient(120deg, rgba(255,62,139,0.18), rgba(107,47,196,0.18));
  border-color: rgba(255,62,139,0.5);
  color: #fff;
}
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--ink-dim); line-height: 1.45;
}
.consent input { margin-top: 3px; accent-color: #FF3E8B; }
.form-foot {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 24px;
}
.form-status { font-size: 13px; color: var(--ink-dim); }
.form-status.ok { color: #4CFFB0; }
.form-status.err { color: #FF6B6B; }

@media (max-width: 720px) {
  .voice-card { padding: 24px !important; }
  .voice-player { padding: 20px !important; }
  .voice-caption { font-size: 11px; width: 100%; flex-basis: 100%; }
  .final-cta { padding: 40px 20px; }
  .cta-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .waveform { height: 64px; gap: 2px; }
  .waveform .bar { width: 2px; }
  /* hide overflow bars beyond first ~40 to fit mobile width */
  .waveform .bar:nth-child(n+45) { display: none; }
}

/* ---- legacy spacer ---- */

/* ---- Services grid ---- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.service {
  position: relative;
  padding: 28px 22px 24px;
  border-radius: var(--r-lg);
  background: rgba(20, 12, 34, 0.45);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  cursor: default;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), border-color 200ms, background 200ms;
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,62,139,0.18), transparent 40%);
  opacity: 0; transition: opacity 200ms;
  pointer-events: none;
}
.service:hover::before { opacity: 1; }
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(255,62,139,0.35);
  background: rgba(28, 16, 48, 0.55);
}
.service .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}
.service .glyph {
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-top: 14px;
  background: linear-gradient(135deg, rgba(255,62,139,0.18), rgba(107,47,196,0.18));
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
}
.service h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin: 18px 0 6px;
}
.service p { font-size: 14px; color: var(--ink-dim); margin: 0; line-height: 1.5; }
.service .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 14px;
}
.service .tag {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  color: var(--ink-dim);
}

/* ---- Benefits ---- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.benefit {
  padding: 34px 28px;
  border-radius: var(--r-lg);
  background: rgba(14, 9, 24, 0.5);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
.benefit .big {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 54px;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--grad-logo);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.benefit .lead {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 22px;
  margin: 16px 0 6px;
  letter-spacing: -0.01em;
}
.benefit .desc { font-size: 15px; color: var(--ink-dim); margin: 0; }

/* ---- Final CTA ---- */
.final-cta {
  margin-top: 24px;
  padding: 80px 48px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(800px circle at 20% 0%, rgba(255,62,139,0.18), transparent 60%),
    radial-gradient(800px circle at 90% 100%, rgba(107,47,196,0.28), transparent 60%),
    rgba(14, 9, 24, 0.55);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.final-cta p {
  font-size: 18px; color: var(--ink-dim);
  max-width: 560px; margin: 0 auto 32px; text-wrap: pretty;
}

/* ---- Footer ---- */
footer {
  margin-top: 72px; padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  color: var(--ink-mute); font-size: 13px;
}
footer .brand-mini { display: flex; align-items: center; gap: 10px; }
footer .brand-mini img { height: 22px; }
footer .legal { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---- Shader hint ---- */
.shader-hint {
  position: fixed;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 40;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10,6,18,0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-mute);
  pointer-events: none;
  animation: hintPulse 5s ease-in-out forwards;
}
.shader-hint b { color: var(--ink); font-weight: 600; }
@keyframes hintPulse {
  0% { opacity: 0; transform: translate(-50%, 10px); }
  10%, 70% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* ---- Tweaks panel ---- */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 60;
  width: 280px;
  padding: 18px;
  border-radius: var(--r-md);
  background: rgba(10, 6, 18, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 13px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  display: none;
}
.tweaks.open { display: block; }
.tweaks h4 { font-family: var(--ff-display); margin: 0 0 12px; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-dim); }
.tweaks .row { display: flex; align-items: center; justify-content: space-between; margin: 10px 0; }
.tweaks label { color: var(--ink-dim); font-size: 12px; }
.tweaks input[type="range"] { width: 140px; }
.tweaks .seg {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden;
}
.tweaks .seg button {
  background: transparent; border: 0; color: var(--ink-dim);
  padding: 5px 10px; font-size: 11px; cursor: pointer;
  font-family: var(--ff-mono); text-transform: uppercase; letter-spacing: 0.06em;
}
.tweaks .seg button.on { background: var(--grad-logo); color: #fff; }
.tweaks .toggle {
  width: 36px; height: 20px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid var(--line-strong);
  position: relative; cursor: pointer; transition: background 150ms;
}
.tweaks .toggle::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 14px; height: 14px; border-radius: 999px; background: var(--ink);
  transition: transform 150ms;
}
.tweaks .toggle.on { background: var(--grad-logo); }
.tweaks .toggle.on::after { transform: translateX(16px); }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .voice-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: 1fr; }
  .nav ul { display: none; }
  .page { padding: 0 18px; }
}
