/* OYX Labs — shared styles. Dark-first, neon-green accent (matches BrainX). */
:root {
  --bg: #050b08;
  --bg-2: #08140d;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #eef6f0;
  --muted: #9fb6a7;
  --dim: #6c8576;
  --green: #2bee6c;
  --cyan: #00d4ff;
  --violet: #b14dff;
  --amber: #ffb547;
  --radius: 22px;
  --max: 1160px;
  --display: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #031208; }

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

/* ── background canvas + glow ─────────────────────────── */
#net { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: 0.55; pointer-events: none; }
.glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(43, 238, 108, 0.13), transparent 70%),
    radial-gradient(700px 500px at 90% 30%, rgba(0, 212, 255, 0.09), transparent 70%),
    radial-gradient(700px 500px at 50% 110%, rgba(177, 77, 255, 0.08), transparent 70%);
}

/* ── nav ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(5, 11, 8, 0.65);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; }
.brand small { color: var(--dim); font-weight: 500; font-size: 14px; margin-left: 2px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--panel-2); }
.nav-links .pill { color: #031208; background: var(--green); font-weight: 700; }
.nav-links .pill:hover { background: #5cff93; color: #031208; }

/* ── type ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(43, 238, 108, 0.35); background: rgba(43, 238, 108, 0.08);
  color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 7.2vw, 88px); font-weight: 700; }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 700; }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 620px; }
.grad { background: linear-gradient(100deg, var(--green) 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-v { background: linear-gradient(100deg, var(--violet), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { color: var(--muted); font-size: 19px; margin: 18px 0 0; }

/* ── buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 16px; font-weight: 700; font-size: 16px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--green); color: #031208; box-shadow: 0 10px 40px -10px rgba(43, 238, 108, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px -10px rgba(43, 238, 108, .85); }
.btn-ghost { border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.btn-ghost:hover { background: var(--panel-2); }

/* store badges (drawn, not images) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  min-width: 196px; padding: 11px 20px 11px 16px; border-radius: 15px;
  background: #0b0f0d; border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .45); }
.store svg { width: 28px; height: 28px; flex: none; }
.store span { display: flex; flex-direction: column; line-height: 1.12; }
.store small { font-size: 11px; opacity: .8; letter-spacing: .02em; }
.store b { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.store.primary { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 12px 40px -12px rgba(43, 238, 108, .8); }
.store.soon { opacity: .55; pointer-events: none; }
.store.soon small::after { content: " · coming soon"; color: var(--green); }

/* ── cards / bento ─────────────────────────────────────── */
.card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(43, 238, 108, .10), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); margin: 10px 0 0; }
.icon-chip {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px;
  background: var(--panel-2); border: 1px solid var(--line); margin-bottom: 18px;
}

/* ── phone frame ───────────────────────────────────────── */
.phone {
  position: relative; width: 300px; aspect-ratio: 1320 / 2868;
  border-radius: 46px; padding: 9px;
  background: linear-gradient(145deg, #5d6368, #16191b 30%, #0b0c0e 65%, #3a3f44);
  box-shadow: 0 0 0 1.5px #2a2e32, 0 50px 100px -20px rgba(0, 0, 0, .8), 0 0 120px -20px rgba(43, 238, 108, .35);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; }
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; width: 86px; height: 25px; margin-left: -43px; border-radius: 99px; background: #000; }

.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 16px; font-weight: 700; font-size: 14px; white-space: nowrap;
  background: rgba(14, 28, 19, .78); border: 1px solid rgba(43, 238, 108, .35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
  animation: bob 6s ease-in-out infinite;
}
.float-chip.accent { background: var(--green); color: #031208; border: none; }
.float-chip.cyan { border-color: rgba(0, 212, 255, .45); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ── reveal on scroll ──────────────────────────────────── */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .eyebrow .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── footer ────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 76px 0; }
  .wrap { padding: 0 18px; }
  .nav-links a:not(.pill) { display: none; }
  .section-head { margin-bottom: 36px; }
  .card { padding: 24px; }
}
