/* ============================================================
   VEXIK — Design tokens & global styles
   ============================================================ */
:root {
  /* Color */
  --bg: #000000;
  --surface: #0A0A0A;
  --surface-2: #050505;
  --border: #1A1A1A;
  --border-soft: #141414;
  --white: #FFFFFF;
  --gray: #888888;
  --gray-strong: #b3b3b3;
  --label: #444444;
  --green: #00FF80;
  --green-hover: #00CC66;
  --green-dim: rgba(0,255,128,.15);
  --red-dim: #5a2b2b;

  /* Type */
  --font: "Geist", "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --gutter: 32px;
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--green); color: #000; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { color: var(--white); font-weight: 700; line-height: 1.04; letter-spacing: -0.03em; }

.label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--label);
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--green);
  display: inline-block;
}

.green { color: var(--green); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }
section[id] { scroll-margin-top: 88px; }

.section-pad { padding: 130px 0; }

.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 {
  font-size: 46px;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
}
.section-head p { font-size: 17px; color: var(--gray); margin-top: 20px; max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 14px 24px;
  border-radius: 10px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn-green {
  background: var(--green);
  color: #001a0d;
  box-shadow: 0 0 0 0 rgba(0,255,128,0);
}
.btn-green:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px rgba(0,255,128,.55);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: #333; background: rgba(255,255,255,.03); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
