/* =========================================================
   ZZ Services — Landing page styles
   Change brand colors in :root below.
   ========================================================= */

:root {
  --bg: #07060d;
  --bg-2: #0c0b16;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.16);

  --text: #f4f3ff;
  --muted: #a3a1c2;
  --dim: #6f6d8f;

  --violet: #7c5cff;
  --violet-2: #a58bff;
  --cyan: #36d6ff;
  --pink: #ff5ca8;
  --green: #3cf0b0;

  --grad: linear-gradient(120deg, var(--violet) 0%, #b06bff 45%, var(--cyan) 100%);
  --grad-text: linear-gradient(100deg, #b9a6ff 0%, #8f74ff 35%, #36d6ff 100%);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--violet); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

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

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

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(124, 92, 255, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(124, 92, 255, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost {
  background: var(--surface);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 6, 13, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: flex-end; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo__img { height: 48px; width: auto; flex: none; filter: drop-shadow(0 4px 14px rgba(124, 92, 255, .45)); }
/* "SERVICES" sits level with the ZZ letters (the circuit lines rise above them) */
.logo__text { font-size: 16px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; line-height: 1; padding-bottom: 6px; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 20px -6px rgba(124,92,255,.8);
  font-size: 14px; font-weight: 700; letter-spacing: -.02em;
}
.logo__mark svg { width: 22px; height: 22px; }
.logo__ai {
  margin-left: 6px; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  padding: 2px 7px; border-radius: 6px; vertical-align: middle;
  border: 1px solid var(--border-2); color: var(--violet-2);
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 32px; }
.nav__link { font-size: 15px; color: var(--muted); position: relative; transition: color .2s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-2); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 140px 0 80px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  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: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 100%);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1; pointer-events: none; }
.hero__glow--1 { width: 520px; height: 520px; background: rgba(124,92,255,.35); top: -120px; left: -160px; }
.hero__glow--2 { width: 460px; height: 460px; background: rgba(54,214,255,.18); bottom: -160px; right: -100px; }

.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2);
  font-size: 14px; color: var(--muted);
  transition: border-color .2s, color .2s;
}
.pill:hover { border-color: rgba(165,139,255,.6); color: var(--text); }
.pill__tag { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; }

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.02; letter-spacing: -.035em; font-weight: 700;
  margin: 26px 0 22px;
}
.hero__text { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 44px; }
.avatars { display: flex; }
.avatars span, .quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  border: 2px solid var(--bg);
}
.avatars span + span { margin-left: -12px; }
.stars { color: #ffc65c; letter-spacing: 2px; font-size: 14px; }
.hero__trust-text { font-size: 14px; color: var(--muted); }
.hero__trust-text strong { color: var(--text); }

/* Orb visual */
.hero__visual { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.orb { position: absolute; inset: 8%; display: grid; place-items: center; }
.orb__core {
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 18%),
    radial-gradient(circle at 70% 75%, rgba(54,214,255,.9) 0%, rgba(54,214,255,0) 45%),
    radial-gradient(circle at 35% 40%, #a58bff 0%, #7c5cff 35%, #3a1fa8 70%, #140a3d 100%);
  box-shadow:
    0 0 80px 10px rgba(124,92,255,.55),
    0 0 180px 40px rgba(124,92,255,.25),
    inset -20px -30px 60px rgba(10, 4, 40, .7),
    inset 10px 10px 40px rgba(255,255,255,.15);
  animation: orbFloat 8s ease-in-out infinite;
  grid-area: 1 / 1;
}
.orb__shine {
  grid-area: 1 / 1; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 70%, rgba(54,214,255,.6) 85%, transparent 100%);
  mix-blend-mode: screen; filter: blur(8px);
  animation: spin 6s linear infinite, orbFloat 8s ease-in-out infinite;
  -webkit-mask: radial-gradient(circle, transparent 55%, #000 70%);
  mask: radial-gradient(circle, transparent 55%, #000 70%);
}
.orb__ring {
  grid-area: 1 / 1; border-radius: 50%;
  border: 1px solid rgba(165,139,255,.25);
}
.orb__ring--1 { width: 78%; aspect-ratio: 1; border-style: dashed; animation: spin 40s linear infinite; }
.orb__ring--2 { width: 92%; aspect-ratio: 1; border-color: rgba(54,214,255,.15); animation: spin 60s linear infinite reverse; }
.orb__ring--3 { width: 106%; aspect-ratio: 1; border-color: rgba(255,255,255,.06); }
.orb__ring--1::before, .orb__ring--2::before {
  content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%;
  top: 50%; left: -5px; transform: translateY(-50%);
  background: var(--cyan); box-shadow: 0 0 16px 4px rgba(54,214,255,.8);
}
.orb__ring--2::before { background: var(--violet-2); box-shadow: 0 0 16px 4px rgba(165,139,255,.8); left: auto; right: -5px; }
.orb__ring { position: relative; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8);
  animation: floatY 6s ease-in-out infinite;
}
.float-card--a { top: 12%; left: -2%; }
.float-card--b { top: 46%; right: -4%; animation-delay: -2s; }
.float-card--c { bottom: 8%; left: 8%; animation-delay: -4s; }
.float-card__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; }
.float-card__icon svg { width: 20px; height: 20px; }
.float-card__icon--violet { background: rgba(124,92,255,.2); color: var(--violet-2); }
.float-card__icon--cyan { background: rgba(54,214,255,.15); color: var(--cyan); }
.float-card__label { font-size: 12px; color: var(--muted); }
.float-card__value { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.1; }
.float-card__value--sm { font-size: 15px; }

.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(60,240,176,.6); animation: pulse 2s infinite; display: inline-block; flex: none; }

/* ---------- Logos marquee ---------- */
.logos { padding: 30px 0 60px; text-align: center; }
.logos__title { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--dim); margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.wordmark { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: rgba(255,255,255,.38); white-space: nowrap; transition: color .2s; }
.wordmark:hover { color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 15%, var(--bg-2) 85%, transparent); }
.section__head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.section__head--left { text-align: left; margin: 0; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; text-align: left; }
.section__head--row > div:first-child { max-width: 620px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--violet-2);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section__title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.03em;
  margin: 14px 0 16px;
  text-wrap: balance;
}
.section__text { color: var(--muted); font-size: 17px; }
.link { color: var(--violet-2); border-bottom: 1px solid currentColor; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  position: relative; padding: 32px; border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s;
}
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(124,92,255,.18), transparent 50%);
  transition: opacity .35s;
}
.service:hover { transform: translateY(-6px); border-color: rgba(165,139,255,.35); }
.service:hover::before { opacity: 1; }
.service__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,92,255,.25), rgba(54,214,255,.12));
  border: 1px solid rgba(165,139,255,.3); color: #cfc2ff; margin-bottom: 22px;
}
.service__icon svg { width: 26px; height: 26px; }
.service__title { font-family: var(--font-head); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.service__text { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.service__link { font-size: 14px; font-weight: 600; color: var(--violet-2); display: inline-flex; gap: 6px; }
.service__link span { transition: transform .25s var(--ease); }
.service:hover .service__link span { transform: translateX(4px); }

/* ---------- Products ---------- */
.filters { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); flex: none; }
.filter { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background .25s, color .25s; }
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--grad); color: #fff; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), border-color .35s, opacity .3s; }
.product:hover { transform: translateY(-6px); border-color: rgba(165,139,255,.35); }
.product.is-hidden { display: none; }
.product__media {
  height: 190px; position: relative; display: grid; place-items: center; overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 20%, rgba(124,92,255,.35), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(54,214,255,.22), transparent 55%),
    #0e0c1c;
}
.product__media--vision { background: radial-gradient(circle at 50% 50%, rgba(54,214,255,.25), transparent 60%), #0b1220; }
.product__media--voice { background: radial-gradient(circle at 50% 50%, rgba(255,92,168,.25), transparent 60%), #150b1a; }
.product__media--chart { background: radial-gradient(circle at 30% 80%, rgba(60,240,176,.2), transparent 55%), #0a1514; }
.product__media--flow { background: radial-gradient(circle at 50% 50%, rgba(124,92,255,.3), transparent 60%), #0e0c1c; }
.product__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.product__tags { display: flex; gap: 8px; margin-bottom: 14px; }
.tag { font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.tag--hot { color: #ffb35c; border-color: rgba(255,179,92,.35); background: rgba(255,179,92,.08); }
.tag--new { color: var(--green); border-color: rgba(60,240,176,.35); background: rgba(60,240,176,.08); }
.product__title { font-family: var(--font-head); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.product__text { color: var(--muted); font-size: 15px; margin-bottom: 22px; flex: 1; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.price { font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.price span { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--muted); }

/* product mini visuals */
.mini-chat { display: flex; flex-direction: column; gap: 10px; width: 78%; }
.mini-chat__bubble { font-size: 13px; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.08); border: 1px solid var(--border); max-width: 90%; }
.mini-chat__bubble--user { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--grad); border: 0; }
.doc-stack { position: relative; width: 110px; height: 130px; }
.doc-stack span {
  position: absolute; inset: 0; border-radius: 10px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, #1b1830, #13112a);
  background-image: repeating-linear-gradient(180deg, transparent 0 18px, rgba(255,255,255,.08) 18px 20px);
  background-size: 70% 100%; background-position: 15px 20px; background-repeat: no-repeat;
}
.doc-stack span:nth-child(1) { transform: rotate(-10deg) translateX(-24px); opacity: .5; }
.doc-stack span:nth-child(2) { transform: rotate(6deg) translateX(20px); opacity: .7; }
.doc-stack span:nth-child(3) { box-shadow: 0 0 40px rgba(124,92,255,.5); background-color: #1b1830; }
.scan-box { position: relative; width: 120px; height: 100px; border: 2px solid var(--cyan); border-radius: 8px; box-shadow: 0 0 24px rgba(54,214,255,.4); overflow: hidden; }
.scan-box::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--cyan); box-shadow: 0 0 14px 3px var(--cyan); animation: scan 2.4s ease-in-out infinite; }
.scan-box__label { position: absolute; top: -2px; left: -2px; font-size: 11px; font-weight: 600; padding: 2px 8px; background: var(--cyan); color: #04121a; border-radius: 6px 0 6px 0; }
.wave { display: flex; align-items: center; gap: 6px; height: 80px; }
.wave span { width: 6px; border-radius: 6px; background: linear-gradient(180deg, var(--pink), var(--violet)); animation: wave 1.2s ease-in-out infinite; height: 30%; }
.wave span:nth-child(2n) { animation-delay: -.3s; }
.wave span:nth-child(3n) { animation-delay: -.6s; }
.wave span:nth-child(4n) { animation-delay: -.9s; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.bars span { width: 18px; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--green), rgba(60,240,176,.15)); }
.flow { display: flex; align-items: center; }
.flow__node { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border-2); background: rgba(255,255,255,.06); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.flow__node--ai { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); border: 0; box-shadow: 0 0 30px rgba(124,92,255,.7); }
.flow__line { width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--violet-2) 0 6px, transparent 6px 10px); background-size: 20px 2px; animation: dash 1s linear infinite; }

/* ---------- Stats ---------- */
.stats-band { padding: 20px 0 40px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(124,92,255,.1), rgba(54,214,255,.05));
  padding: 0;
}
.stat { padding: 40px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat__num { font-family: var(--font-head); font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: 15px; }

/* ---------- Split / chat demo ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist { display: grid; gap: 20px; margin-top: 32px; }
.checklist li { display: flex; gap: 16px; }
.checklist p { color: var(--muted); font-size: 15px; }
.check {
  flex: none; width: 28px; height: 28px; border-radius: 50%; margin-top: 1px;
  background: var(--grad) center / 100% no-repeat;
  position: relative;
}
.check::after { content: ""; position: absolute; left: 10px; top: 6px; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

.chat-demo { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(124,92,255,.6); }
.chat-demo__top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.chat-demo__dots { display: flex; gap: 6px; }
.chat-demo__dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.15); }
.chat-demo__title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.chat-demo__body { padding: 24px 20px; height: 340px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: msgIn .4s var(--ease) both; }
.msg--user { align-self: flex-end; background: var(--grad); border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: rgba(255,255,255,.07); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg--ai strong { color: var(--cyan); font-weight: 600; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
.chat-demo__input { margin: 0 20px 20px; padding: 10px 10px 10px 18px; border-radius: 999px; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: space-between; color: var(--dim); font-size: 14px; }
.chat-demo__send { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { padding: 30px 26px; border-radius: var(--radius); position: relative; transition: transform .35s var(--ease), border-color .35s; }
.step:hover { transform: translateY(-6px); border-color: rgba(165,139,255,.35); }
.step__num {
  font-family: var(--font-head); font-size: 44px; font-weight: 700; line-height: 1;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.step__title { font-family: var(--font-head); font-size: 20px; font-weight: 600; margin: 18px 0 8px; }
.step__text { color: var(--muted); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { padding: 30px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { font-size: 17px; line-height: 1.6; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--border); }
.quote figcaption strong { display: block; font-size: 15px; }
.quote figcaption span { font-size: 13px; color: var(--muted); }
.quote__avatar { width: 44px !important; height: 44px !important; flex: none; color: #fff !important; font-size: 13px !important; }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin-top: 18px; }
.toggle__btn { padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; transition: background .25s, color .25s; }
.toggle__btn.is-active { background: var(--grad); color: #fff; }
.toggle__save { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(60,240,176,.18); color: var(--green); }
.toggle__btn.is-active .toggle__save { background: rgba(255,255,255,.25); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { padding: 36px 30px; border-radius: 24px; display: flex; flex-direction: column; position: relative; }
.plan--featured {
  background:
    linear-gradient(var(--bg-2), var(--bg-2)) padding-box,
    var(--grad) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(124,92,255,.7);
  transform: translateY(-12px);
}
.plan--featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(124,92,255,.25), transparent 60%);
}
.plan__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--grad); white-space: nowrap; }
.plan__name { font-family: var(--font-head); font-size: 22px; font-weight: 600; }
.plan__desc { color: var(--muted); font-size: 15px; margin: 6px 0 24px; }
.plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px; }
.plan__amount { font-family: var(--font-head); font-size: 48px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan__per { color: var(--muted); }
.plan__list { display: grid; gap: 14px; margin-bottom: 32px; flex: 1; }
.plan__list li { display: flex; gap: 12px; font-size: 15px; color: #d8d6ef; }
.plan__list li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; margin-top: 2px;
  background: rgba(124,92,255,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 12.5 4 4 8-9' stroke='%23a58bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color .25s, background .25s; }
.faq__item[open] { border-color: rgba(165,139,255,.35); background: rgba(124,92,255,.06); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-2);
  background:
    linear-gradient(var(--text), var(--text)) center / 10px 1.6px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.6px 10px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--violet); border-color: var(--violet); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- CTA / Contact ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 32px; border: 1px solid var(--border);
  background: linear-gradient(135deg, #120d2b 0%, #0b0b1a 60%, #08131c 100%);
  padding: 64px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center;
}
.cta__glow { position: absolute; z-index: -1; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.4), transparent 65%); top: -250px; left: -200px; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.contact-list svg { width: 20px; height: 20px; color: var(--violet-2); }
.contact-list a:hover { color: var(--text); }

.form { padding: 30px; border-radius: 24px; display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  background: rgba(0,0,0,.25); border: 1px solid var(--border-2);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 9 6 6 6-6' stroke='%23a3a1c2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
  padding-right: 40px;
}
.field select option { background: #13112a; }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(124,92,255,.18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--pink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 14px; min-height: 1.4em; text-align: center; }
.form__status.is-success { color: var(--green); }
.form__status.is-error { color: var(--pink); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 72px 0 0; margin-top: 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__bottom a:hover { color: var(--text); }
.footer__brand p { color: var(--muted); font-size: 15px; margin: 18px 0 22px; max-width: 280px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border-2); color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.socials a:hover { color: #fff; border-color: var(--violet); background: rgba(124,92,255,.15); }
.socials svg { width: 18px; height: 18px; }
.footer__title { font-family: var(--font-head); font-size: 15px; font-weight: 600; margin-bottom: 18px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { color: var(--muted); font-size: 15px; transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__news p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.newsletter { display: flex; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--border-2); background: var(--surface); }
.newsletter input { flex: 1; min-width: 0; background: none; border: 0; outline: none; padding: 0 14px; font-size: 14px; }
.newsletter input::placeholder { color: var(--dim); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 24px; margin-top: 56px; border-top: 1px solid var(--border); color: var(--dim); font-size: 14px; }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--text); }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px rgba(124,92,255,.8);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- ZZ Services additions ---------- */
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; }
.hero__points li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.hero__points li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 12.5 4 4 8-9' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat, var(--grad);
}

.float-card__icon--pink { background: rgba(255,92,168,.16); color: var(--pink); }
.service__icon--pink { background: linear-gradient(135deg, rgba(255,92,168,.25), rgba(124,92,255,.12)); border-color: rgba(255,92,168,.3); color: #ffc2de; }
.service__icon--cyan { background: linear-gradient(135deg, rgba(54,214,255,.22), rgba(124,92,255,.12)); border-color: rgba(54,214,255,.3); color: #bff1ff; }
.service__num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px;
  border-radius: 14px; border: 1px solid rgba(165,139,255,.3);
  background: linear-gradient(135deg, rgba(124,92,255,.22), rgba(54,214,255,.1));
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
}
.service__num { color: var(--violet-2); }

/* How we work band */
.values-band { padding: 10px 0 30px; }
.values {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(120deg, rgba(124,92,255,.1), rgba(54,214,255,.05));
}
.value { padding: 34px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.value + .value { border-left: 1px solid var(--border); }
.value__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--cyan); background: rgba(54,214,255,.1); margin-bottom: 8px; }
.value__icon svg { width: 22px; height: 22px; }
.value__title { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.value__text { color: var(--muted); font-size: 14px; }

/* Work concepts */
.note {
  font-size: 14px; font-style: italic; color: var(--muted);
  padding: 14px 18px; margin: -28px 0 32px; border-left: 3px solid var(--violet);
  background: rgba(124,92,255,.07); border-radius: 0 10px 10px 0; max-width: 860px;
}
.sample-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); }
.tag--pink { color: #ff9cc9; border-color: rgba(255,92,168,.35); background: rgba(255,92,168,.08); }
.tag--cyan { color: var(--cyan); border-color: rgba(54,214,255,.35); background: rgba(54,214,255,.08); }
.tag--green { color: var(--green); border-color: rgba(60,240,176,.35); background: rgba(60,240,176,.08); }
.tag--red { color: #ff8a8a; border-color: rgba(255,90,90,.35); background: rgba(255,90,90,.08); }

.product__media--health { background: radial-gradient(circle at 25% 25%, rgba(255,92,168,.28), transparent 55%), radial-gradient(circle at 85% 90%, rgba(124,92,255,.22), transparent 55%), #140b1a; }
.product__media--health .mini-chat__bubble--user { background: linear-gradient(120deg, var(--pink), var(--violet)); }
.product__media--pins { background: radial-gradient(circle at 50% 40%, rgba(255,92,168,.22), transparent 60%), #150b16; }
.product__media--checks { background: radial-gradient(circle at 40% 30%, rgba(80,130,255,.28), transparent 60%), #0b0f1e; }
.product__media--timeline { background: radial-gradient(circle at 60% 50%, rgba(54,214,255,.2), transparent 60%), #0a1118; }

.pins { columns: 3; column-gap: 8px; width: 150px; }
.pins span {
  display: block; height: var(--h); margin-bottom: 8px; border-radius: 8px; break-inside: avoid;
  background: linear-gradient(160deg, rgba(255,92,168,.75), rgba(124,92,255,.55));
  border: 1px solid rgba(255,255,255,.12);
}
.pins span:nth-child(2n) { background: linear-gradient(160deg, rgba(255,179,92,.6), rgba(255,92,168,.45)); }
.pins span:nth-child(3n) { background: linear-gradient(160deg, rgba(124,92,255,.7), rgba(54,214,255,.4)); }

.checks-visual { display: grid; gap: 12px; width: 70%; padding: 18px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.checks-visual li { display: flex; align-items: center; gap: 10px; }
.checks-visual i {
  flex: none; width: 18px; height: 18px; border-radius: 5px;
  background: #4f7dff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m6 12.5 4 4 8-9' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checks-visual li.is-open i { background: transparent; border: 1.5px solid var(--border-2); }
.checks-visual span { height: 8px; width: var(--w); border-radius: 4px; background: rgba(255,255,255,.18); }

.timeline { position: relative; width: 78%; display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border); }
.timeline__track { position: relative; height: 22px; }
.timeline__track span { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); border-radius: 5px; background: linear-gradient(90deg, rgba(124,92,255,.85), rgba(165,139,255,.7)); }
.timeline__track--b span { background: linear-gradient(90deg, rgba(54,214,255,.75), rgba(54,214,255,.45)); }
.timeline__track--c { height: 14px; }
.timeline__track--c span { background: repeating-linear-gradient(90deg, rgba(60,240,176,.7) 0 3px, transparent 3px 6px); opacity: .8; }
.timeline__head { position: absolute; top: 8px; bottom: 8px; left: 20%; width: 2px; background: #fff; box-shadow: 0 0 10px #fff; animation: playhead 4s linear infinite; }

.chat-demo__caption { text-align: center; font-size: 13px; color: var(--dim); margin-top: 14px; }

.plan__amount--custom { font-size: 32px; }

@keyframes playhead { from { left: 6%; } to { left: 92%; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60,240,176,.6); } 70% { box-shadow: 0 0 0 10px rgba(60,240,176,0); } 100% { box-shadow: 0 0 0 0 rgba(60,240,176,0); } }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }
@keyframes scan { 0%,100% { top: 8%; } 50% { top: 90%; } }
@keyframes wave { 0%,100% { height: 25%; } 50% { height: 95%; } }
@keyframes dash { to { background-position: 20px 0; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%,80%,100% { opacity: .3; } 40% { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services, .products, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .cta { padding: 48px; gap: 40px; }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 24px; background: rgba(7,6,13,.96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; padding: 12px 4px; font-size: 17px; }
  .nav__link::after { display: none; }
  .header.menu-open { background: rgba(7,6,13,.96); }

  .hero { padding-top: 120px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { max-width: 440px; }
  .split, .faq-wrap, .cta { grid-template-columns: 1fr; }
  .split { gap: 48px; }
  .faq-wrap { gap: 32px; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--featured { transform: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .value:nth-child(3) { border-left: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .services, .products, .testimonials, .steps { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .hero__text { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .float-card { padding: 9px 12px; gap: 9px; }
  .float-card__icon { width: 30px; height: 30px; }
  .float-card__value { font-size: 17px; }
  .float-card__value--sm { font-size: 13px; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .filters { width: 100%; overflow-x: auto; }
  .filter { flex: 1; padding: 8px 12px; }
  .form__row { grid-template-columns: 1fr; }
  .cta { padding: 32px 20px; border-radius: 24px; }
  .form { padding: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr 1fr; }
  .value { padding: 26px 14px; }
  .footer__bottom { flex-direction: column; padding: 24px 16px; text-align: center; }
  .stat { padding: 28px 12px; }
  .chat-demo__body { height: 360px; }
}

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