:root {
  --bg: #07090f; --panel: #0e1220; --line: #1c2338; --text: #e7ebf5; --dim: #8d97b3;
  --blue: #3d7bff; --cyan: #33d6ff; --violet: #8a5cff; --pink: #ff4fa3;
  --grad: linear-gradient(120deg, var(--cyan), var(--blue) 45%, var(--violet));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 17px/1.6 "Segoe UI", Inter, system-ui, -apple-system, sans-serif; overflow-x: hidden; }
a { color: var(--cyan); text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* glow backdrop */
.aura { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 400px at 15% 10%, #1a3cff33, transparent 70%),
              radial-gradient(700px 500px at 90% 30%, #8a5cff26, transparent 70%),
              radial-gradient(600px 500px at 50% 110%, #33d6ff1f, transparent 70%); }
.grid-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .25;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); }

/* nav */
nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: #07090fcc; border-bottom: 1px solid #ffffff0d; }
nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 19px; letter-spacing: .3px; }
.logo svg { width: 30px; height: 30px; }
nav .links { margin-left: auto; display: flex; gap: 26px; font-size: 15px; }
nav .links a { color: var(--dim); } nav .links a:hover { color: var(--text); }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .15s, box-shadow .15s; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px #3d7bff55; }
.btn.ghost { border: 1px solid #ffffff26; color: var(--text); }
.btn:hover { transform: translateY(-2px); }

/* hero */
.hero { padding: 36px 0 70px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid #33d6ff40; background: #33d6ff12; color: var(--cyan); font-size: 13px; font-weight: 600; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -1.5px; margin: 22px 0 20px; font-weight: 800; }
.lead { color: var(--dim); font-size: 19px; max-width: 520px; }
.cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

/* chat mockup */
.device { position: relative; border-radius: 22px; background: linear-gradient(#121831, #0b0f1d); border: 1px solid #ffffff14; box-shadow: 0 30px 80px #000a, 0 0 0 1px #3d7bff22, 0 0 80px #3d7bff22; overflow: hidden; }
.device .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #ffffff0f; font-size: 13px; color: var(--dim); }
.device .bar b { width: 11px; height: 11px; border-radius: 50%; background: #2a3150; }
.device .bar span { margin-left: 10px; }
.chat { padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 380px; }
.msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 15px; line-height: 1.45; opacity: 0; transform: translateY(8px); animation: in .5s forwards; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { align-self: flex-start; background: #1a2140; border: 1px solid #ffffff10; border-bottom-left-radius: 4px; }
.msg.ai .who { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--cyan); font-weight: 700; margin-bottom: 4px; }
.msg.ai .who img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.msg .chip { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 8px; background: #33d6ff1a; border: 1px solid #33d6ff40; color: var(--cyan); font-size: 12px; }
.msg:nth-child(1) { animation-delay: .3s } .msg:nth-child(2) { animation-delay: 1.1s }
.msg:nth-child(3) { animation-delay: 2.2s } .msg:nth-child(4) { animation-delay: 3.0s }
@keyframes in { to { opacity: 1; transform: none; } }
.float-face { position: absolute; width: 130px; height: 130px; border-radius: 50%; object-fit: cover; right: -22px; top: -46px; border: 3px solid #07090f; box-shadow: 0 0 0 2px var(--cyan), 0 10px 40px #33d6ff55; }
.hero-art { position: relative; padding-top: 40px; }

/* sections */
section { padding: 90px 0; }
.eyebrow { color: var(--cyan); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.8px; line-height: 1.12; margin: 12px 0 16px; font-weight: 800; }
.sub { color: var(--dim); max-width: 640px; font-size: 18px; }
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 46px; }
.cards > .card { flex: 0 1 calc((100% - 36px) / 3); }
.card { position: relative; padding: 26px; border-radius: 18px; background: linear-gradient(180deg, #111730, #0b1020); border: 1px solid #ffffff10; transition: transform .2s, border-color .2s; overflow: hidden; }
.card:hover { transform: translateY(-4px); border-color: #3d7bff66; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #3d7bff1f; border: 1px solid #3d7bff40; margin-bottom: 16px; }
.card .ic svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--dim); font-size: 15px; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.rev > :first-child { order: 2; }
ul.ticks { list-style: none; margin-top: 22px; }
ul.ticks li { padding: 7px 0 7px 30px; position: relative; color: #c8cfe3; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); -webkit-mask: radial-gradient(circle, transparent 3px, #000 4px); mask: radial-gradient(circle, transparent 3px, #000 4px); }

/* phone */
.phone { width: 290px; margin: 0 auto; border-radius: 44px; padding: 12px; background: #151a2c; border: 1px solid #ffffff1a; box-shadow: 0 40px 90px #000b, 0 0 70px #8a5cff2e; }
.phone .scr { border-radius: 34px; background: #0a0e1a; overflow: hidden; height: 560px; display: flex; flex-direction: column; }
.phone .notch { width: 110px; height: 26px; background: #151a2c; border-radius: 0 0 16px 16px; margin: 0 auto; }
.phone .ph { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #ffffff0d; }
.phone .ph img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.phone .ph b { display: block; font-size: 15px; } .phone .ph small { color: #4ade80; font-size: 12px; }
.phone .chat { min-height: 0; flex: 1; padding: 14px; gap: 10px; }
.phone .msg { font-size: 13.5px; animation: none; opacity: 1; transform: none; }
.device .shot { display: block; width: 100%; height: auto; }
.phone .shot-scr { height: auto; }
.phone .shot-scr img { display: block; width: 100%; height: auto; }
.phone .inp { margin: 12px; padding: 12px 16px; border-radius: 999px; background: #151b30; color: var(--dim); font-size: 13px; display: flex; justify-content: space-between; }

/* voice wave */
.voice { display: flex; align-items: center; gap: 24px; padding: 26px; border-radius: 20px; background: #0e1326; border: 1px solid #ffffff10; }
.voice img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--violet), 0 0 40px #8a5cff66; }
.bars { display: flex; align-items: center; gap: 5px; height: 60px; flex: 1; }
.bars i { flex: 1; border-radius: 4px; background: var(--grad); animation: wave 1.2s ease-in-out infinite; }
@keyframes wave { 0%,100% { height: 12%; } 50% { height: 100%; } }

/* how it works diagram */
.diagram { margin-top: 50px; display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; }
.node { padding: 28px 22px; border-radius: 20px; background: #0e1326; border: 1px solid #ffffff14; text-align: center; }
.node .ic { margin: 0 auto 14px; }
.node h3 { font-size: 18px; margin-bottom: 6px; } .node p { color: var(--dim); font-size: 14px; }
.node.core { border-color: #3d7bff88; box-shadow: 0 0 60px #3d7bff33; background: linear-gradient(180deg, #13204a, #0d1328); }
.link { width: 70px; height: 2px; position: relative; background: linear-gradient(90deg, transparent, #3d7bff, transparent); }
.link::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: travel 2.2s linear infinite; }
@keyframes travel { from { left: 0; } to { left: calc(100% - 8px); } }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.step { padding: 20px 22px; border-left: 2px solid var(--blue); color: var(--dim); font-size: 15px; }
.step b { color: var(--text); display: block; margin-bottom: 4px; }

/* apps */
.apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.app { padding: 22px; border-radius: 16px; background: #0d1222; border: 1px solid #ffffff0f; }
.app .dot { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.app h3 { font-size: 17px; } .app p { color: var(--dim); font-size: 14px; margin-top: 4px; }
.app .tag { display: inline-block; margin-top: 10px; font-size: 11px; color: var(--dim); border: 1px solid #ffffff1f; border-radius: 6px; padding: 2px 8px; }

/* buy */
.buy { position: relative; margin: 20px auto 0; max-width: 900px; padding: 56px 40px; text-align: center; border-radius: 28px; background: radial-gradient(500px 220px at 50% 0%, #3d7bff40, transparent), #0d1224; border: 1px solid #3d7bff55; overflow: hidden; }
.buy img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--cyan), 0 0 40px #33d6ff55; margin-bottom: 16px; }
.buy .btn { opacity: .55; cursor: not-allowed; }
.buy small { display: block; color: var(--dim); margin-top: 14px; font-size: 13px; }

footer { padding: 50px 0; color: var(--dim); font-size: 14px; border-top: 1px solid #ffffff0d; margin-top: 60px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }

nav .links a.on { color: var(--text); }
a.card { display: block; color: var(--text); }
.card .more { display: inline-block; margin-top: 14px; color: var(--cyan); font-size: 14px; font-weight: 600; }
section.tight { padding: 10px 0 60px; }
section.tight .cards { margin-top: 0; }
code { font: 14px Consolas, monospace; background: #ffffff0f; border: 1px solid #ffffff14; border-radius: 6px; padding: 1px 6px; }

/* feature pages */
.page-head { position: relative; padding: 56px 24px 40px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 54px); max-width: 860px; }
.page-head.has-face { padding-right: 200px; }
img.page-face { position: absolute; right: 24px; top: 48px; width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid #07090f; box-shadow: 0 0 0 2px var(--violet), 0 10px 40px #8a5cff55; }
.docs { display: grid; grid-template-columns: 230px 1fr; gap: 50px; align-items: start; padding-bottom: 40px; }
aside.side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 2px; font-size: 15px; max-height: calc(100vh - 110px); overflow-y: auto; }
aside.side a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--dim); }
aside.side a:hover { color: var(--text); background: #ffffff08; }
aside.side .all { color: var(--cyan); font-weight: 600; margin-bottom: 8px; }
aside.side a.on { color: var(--text); background: #3d7bff1f; font-weight: 600; }
aside.side .subs { margin: 2px 0 6px 12px; border-left: 1px solid var(--line); }
aside.side .subs a { font-size: 14px; padding: 4px 12px; }
.docs article { min-width: 0; }
.page-art { margin-bottom: 40px; }
.phone.page-art { margin: 0 auto 40px; }
section.topic { padding: 0 0 34px; scroll-margin-top: 84px; }
section.topic h2 { font-size: 24px; letter-spacing: -.3px; margin: 0 0 10px; }
section.topic p, section.topic li { color: #c8cfe3; }
section.topic p + p { margin-top: 10px; }
section.topic ul.ticks { margin-top: 10px; }
.pager { display: flex; justify-content: space-between; gap: 14px; padding-top: 26px; border-top: 1px solid #ffffff0d; }
.pager a { padding: 10px 16px; border-radius: 12px; border: 1px solid #ffffff14; }
.pager a:hover { border-color: #3d7bff66; }

/* privacy page */
.doc { max-width: 760px; padding: 70px 24px; margin: 0 auto; }
.doc h1 { font-size: 44px; } .doc h2 { font-size: 22px; margin-top: 34px; }
.doc p, .doc li { color: #c8cfe3; margin-top: 10px; } .doc ul { padding-left: 22px; }

@media (max-width: 900px) {
  nav .links { display: none; }
  .hero, .split { grid-template-columns: 1fr; gap: 40px; }
  .split.rev > :first-child { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .cards > .card { flex-basis: 100%; }
  .apps { grid-template-columns: 1fr 1fr; }
  .diagram { grid-template-columns: 1fr; gap: 14px; }
  .link { width: 2px; height: 40px; margin: 0 auto; background: linear-gradient(transparent, #3d7bff, transparent); }
  .link::after { display: none; }
  .float-face { width: 96px; height: 96px; right: 0; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  aside.side { position: static; max-height: none; flex-direction: row; flex-wrap: wrap; }
  aside.side .subs { display: none; }
  .page-head.has-face { padding-right: 24px; }
  img.page-face { position: static; width: 90px; height: 90px; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } .msg { opacity: 1; transform: none; } }
