:root {
  --bg: #02161d;
  --bg2: #04242e;
  --aqua: #2ee6d6;
  --aqua2: #19b9e8;
  --foam: #c8fbf4;
  --text: #e8fbff;
  --muted: #8db6c1;
  --card: rgba(255, 255, 255, 0.045);
  --line: rgba(46, 230, 214, 0.16);
  --glow: 0 0 40px rgba(46, 230, 214, 0.25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
/* ocean glow behind everything (fixed layer, works on every browser) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(25, 185, 232, 0.22), transparent 60%),
    radial-gradient(800px 500px at 0% 20%, rgba(46, 230, 214, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 55%, var(--bg) 100%);
}
a { color: var(--aqua); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, "SF Mono", Consolas, monospace; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* floating bubbles in the background */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubbles i {
  position: absolute; bottom: -80px; border-radius: 50%;
  border: 1px solid rgba(46, 230, 214, 0.35);
  background: radial-gradient(circle at 30% 30%, rgba(200, 251, 244, 0.25), rgba(46, 230, 214, 0.04));
  animation: rise linear infinite;
}
.bubbles i:nth-child(1) { left: 8%;  width: 26px; height: 26px; animation-duration: 18s; }
.bubbles i:nth-child(2) { left: 22%; width: 14px; height: 14px; animation-duration: 13s; animation-delay: -4s; }
.bubbles i:nth-child(3) { left: 41%; width: 38px; height: 38px; animation-duration: 24s; animation-delay: -9s; }
.bubbles i:nth-child(4) { left: 63%; width: 18px; height: 18px; animation-duration: 15s; animation-delay: -2s; }
.bubbles i:nth-child(5) { left: 78%; width: 30px; height: 30px; animation-duration: 21s; animation-delay: -12s; }
.bubbles i:nth-child(6) { left: 92%; width: 12px; height: 12px; animation-duration: 12s; animation-delay: -6s; }
@keyframes rise { to { transform: translateY(-115vh) translateX(30px); opacity: 0; } }
nav, header, section, main, footer { position: relative; z-index: 1; }

/* nav */
nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(2, 22, 29, 0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; color: var(--text); letter-spacing: -0.3px; }
.logo:hover { text-decoration: none; }
.logo b { color: var(--aqua); font-weight: 800; }
.mark {
  width: 36px; height: 36px; border-radius: 11px; object-fit: cover; display: block;
  box-shadow: var(--glow);
}
.links { display: flex; align-items: center; gap: 26px; }
.links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.links a:hover { color: var(--foam); text-decoration: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--aqua), var(--aqua2));
  color: #03222b !important; font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 14px; border: 0; cursor: pointer;
  box-shadow: 0 8px 30px rgba(46, 230, 214, 0.3);
  transition: transform .18s, box-shadow .18s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(46, 230, 214, 0.45); text-decoration: none; }
.btn.small { padding: 9px 18px; font-size: 14px; border-radius: 11px; box-shadow: none; }
.btn.ghost {
  background: rgba(255, 255, 255, 0.05); color: var(--text) !important;
  border: 1px solid var(--line); box-shadow: none;
}
.btn.ghost:hover { background: rgba(46, 230, 214, 0.1); box-shadow: none; }

/* hero */
.hero { padding: 84px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: var(--foam); background: rgba(46, 230, 214, 0.1); border: 1px solid var(--line); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -1.5px; margin: 0 0 20px; font-weight: 800; }
.grad {
  background: linear-gradient(90deg, var(--aqua), var(--aqua2), var(--foam));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { color: var(--muted); font-size: 19px; max-width: 520px; margin: 0 0 32px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.facts { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; color: var(--muted); font-size: 14px; }
.facts b { display: block; color: var(--foam); font-size: 20px; font-weight: 700; }

/* chat demo */
.chat {
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  box-shadow: var(--glow), 0 30px 80px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }
.chat-top { display: flex; gap: 7px; margin-bottom: 18px; }
.chat-top i { width: 11px; height: 11px; border-radius: 50%; background: rgba(46, 230, 214, 0.35); }
.chat-top span { margin-left: 8px; color: var(--muted); font-size: 13px; }
.msg { display: flex; gap: 12px; margin-bottom: 14px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 700; background: #1b4350; color: var(--foam);
}
.avatar.bot { background: linear-gradient(135deg, var(--aqua), var(--aqua2)); color: #03222b; }
.msg b { font-size: 15px; }
.tag { background: var(--aqua2); color: #03222b; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 5px; margin-left: 6px; vertical-align: middle; }
.msg p { margin: 2px 0 0; }
.msg small { display: block; color: var(--muted); font-size: 12.5px; }
.arrow { color: var(--aqua); font-weight: 600; }
.trans { color: var(--foam); }

/* sections */
.wave { display: block; width: 100%; height: 70px; margin-top: 30px; }
section { padding: 70px 0; }
.eyebrow { text-align: center; color: var(--aqua); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -1px; margin: 0 0 10px; text-align: center; font-weight: 800; }
.sub { color: var(--muted); text-align: center; margin: 0 auto 44px; max-width: 540px; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px;
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(46, 230, 214, 0.5); background: rgba(46, 230, 214, 0.06); box-shadow: var(--glow); }
.card h3 { margin: 14px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card code, .sub code { background: rgba(46, 230, 214, 0.12); color: var(--aqua); padding: 1px 7px; border-radius: 6px; font-size: 14px; }
.ico {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, rgba(46, 230, 214, 0.22), rgba(25, 185, 232, 0.12));
  border: 1px solid var(--line);
}

/* steps */
.steps { counter-reset: s; }
.steps .card { padding-top: 38px; position: relative; }
.steps .card::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--aqua), var(--aqua2)); color: #03222b;
  display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: var(--glow);
}
.steps .card h3 { margin-top: 0; }

/* commands */
.term {
  max-width: 820px; margin: 0 auto; background: rgba(1, 14, 19, 0.75);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--glow);
}
.term-bar { display: flex; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(46, 230, 214, 0.05); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(46, 230, 214, 0.35); }
.cmd { display: grid; grid-template-columns: minmax(230px, 0.9fr) 1.1fr; gap: 18px; padding: 16px 22px; border-bottom: 1px solid rgba(46, 230, 214, 0.08); align-items: baseline; }
.cmd:last-child { border-bottom: 0; }
.cmd:hover { background: rgba(46, 230, 214, 0.05); }
.cmd code { color: var(--aqua); font-size: 15px; font-weight: 600; word-break: break-word; }
.cmd code em { font-style: normal; color: var(--muted); font-weight: 400; }
.cmd span { color: var(--muted); font-size: 15.5px; }
.note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 18px; }

/* final cta */
.final .box {
  text-align: center; padding: 60px 24px; border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(46, 230, 214, 0.25), transparent 70%),
    linear-gradient(160deg, rgba(25, 185, 232, 0.16), rgba(46, 230, 214, 0.05));
  box-shadow: var(--glow);
}
.final h2 { margin-bottom: 10px; }
.final .sub { margin-bottom: 28px; }

/* legal pages */
.doc {
  max-width: 800px; margin: 46px auto 70px; padding: 46px 44px;
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--glow);
}
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -1px; margin: 0 0 6px; }
.doc .updated { color: var(--aqua); font-size: 14.5px; margin-bottom: 28px; font-weight: 600; }
.doc h2 { font-size: 22px; text-align: left; margin: 34px 0 8px; letter-spacing: -0.3px; }
.doc p, .doc li { color: #cfeaf0; font-size: 16.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 4px; }
.doc code { background: rgba(46, 230, 214, 0.12); color: var(--aqua); padding: 1px 7px; border-radius: 6px; font-size: 14.5px; }

footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14.5px; background: rgba(1, 14, 19, 0.5); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
footer a { color: var(--muted); margin-left: 20px; }
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--aqua); }

/* scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { padding-top: 50px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .chat { max-width: 520px; }
}
@media (max-width: 680px) {
  .links a:not(.btn) { display: none; }
  .cmd { grid-template-columns: 1fr; gap: 4px; }
  .doc { padding: 30px 22px; margin: 26px 14px 50px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles i, .chat { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
