/* ── Lumex landing · tokens + base ─────────────────────────────── */
:root {
  --bg-0: #050505;
  --bg-1: #080808;
  --bg-2: #0c0c0e;
  --bg-3: #111114;
  --em: #00ffb2;
  --em-2: #00e5a0;
  --indigo: #5e6ad2;
  --purple: #8b5cf6;
  --amber: #ffb800;
  --red: #ff5a5a;
  --text-1: #f0f0f0;
  --text-2: #a6a6b4;
  --text-3: #62626e;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 20px;
  --radius-sm: 14px;
  --font: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
p { margin: 0; }
.mono { font-family: var(--mono); }
.up { color: var(--em); }
.down { color: var(--red); }

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

.skip-link {
  position: fixed; top: -48px; left: 16px; z-index: 200;
  padding: 10px 16px; background: var(--em); color: #041912;
  border-radius: 999px; font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ── Ambient layers ────────────────────────────────────────────── */
#aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0%, transparent 64%);
  opacity: 0.22; will-change: transform;
}
.b1 { --c: #00ffb2; top: -22vmax; left: -12vmax; }
.b2 { --c: #5e6ad2; top: 8vmax; right: -20vmax; }
.b3 { --c: #0a7c68; bottom: -28vmax; left: 22vmax; opacity: 0.18; }

#grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

#cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 2; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 178, 0.09) 0%, rgba(94, 106, 210, 0.05) 38%, transparent 68%);
  opacity: 0; will-change: transform;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  cursor: pointer; position: relative; white-space: nowrap;
  transition: box-shadow 0.3s var(--ease-out), background 0.3s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--em) 0%, var(--em-2) 100%);
  color: #041912;
  box-shadow: 0 0 0 1px rgba(0, 255, 178, 0.4), 0 8px 32px rgba(0, 255, 178, 0.22);
}
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(0, 255, 178, 0.6), 0 12px 44px rgba(0, 255, 178, 0.36); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--text-1);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ── Shared bits ───────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-2);
}
.eyebrow .dash { width: 26px; height: 2px; background: var(--em); border-radius: 2px; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--em);
  box-shadow: 0 0 0 0 rgba(0, 255, 178, 0.5); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 178, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0, 255, 178, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 178, 0); }
}

.section-head { max-width: 720px; margin: 0 auto 72px; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 18px; }
.section-sub { color: var(--text-2); font-size: 17px; margin-top: 18px; }

.shot-frame {
  margin: 0; position: relative; border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(0, 255, 178, 0.05);
  transform-style: preserve-3d; will-change: transform;
}
.shot-frame img { border-radius: calc(var(--radius) - 8px); border: 1px solid rgba(255, 255, 255, 0.05); }
.shot-frame::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 48%, transparent 62%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.shot-frame:hover::after { opacity: 1; }

[data-reveal], [data-reveal-group] > * { opacity: 0.001; }
.no-motion [data-reveal], .no-motion [data-reveal-group] > *, .no-motion #headline { opacity: 1; }
