/* ============================================================
   MANOSTUDIO — Cyberpunk / Glassmorphism Design System
   ============================================================ */

/* ---- TOKENS ---- */
:root {
  /* Surfaces */
  --bg-base: #050507;
  --bg-elevated: #0a0a0f;
  --bg-card: #0d0d14;
  --bg-card-2: #11111a;
  --bg-glass: rgba(13, 13, 20, 0.6);

  /* Accent — neon mint primary */
  --accent: #00ffaa;
  --accent-dim: #00cc88;
  --accent-glow: rgba(0, 255, 170, 0.4);

  /* Secondary accents (used sparingly) */
  --violet: #7c5cff;
  --pink: #ff3d8b;
  --cyan: #00d4ff;
  --yellow: #ffd60a;
  --orange: #ff6b35;

  /* Text */
  --text-primary: #f2f2f5;
  --text-secondary: rgba(242, 242, 245, 0.7);
  --text-tertiary: rgba(242, 242, 245, 0.45);
  --text-quaternary: rgba(242, 242, 245, 0.25);

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(0, 255, 170, 0.35);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing — 8px base */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radii */
  --r-1: 2px;
  --r-2: 4px;
  --r-3: 8px;
  --r-4: 12px;
  --r-5: 16px;
  --r-pill: 9999px;

  /* Layout */
  --container: 1280px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.5;
  font-feature-settings: "calt", "rlig";
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select {
  font: inherit; color: inherit;
  background: transparent; border: none; outline: none;
}

/* ---- AMBIENT BACKGROUND ---- */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(0, 255, 170, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(124, 92, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(255, 61, 139, 0.05), transparent 60%),
    var(--bg-base);
  pointer-events: none;
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

@media (min-width: 768px) {
  .container { padding: 0 var(--s-6); }
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--s-4) 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5, 5, 7, 0.65);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  transition: opacity 0.2s var(--ease);
}
.nav__logo:hover { opacity: 0.8; }

.nav__logo-mark {
  width: 28px; height: 28px;
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: var(--r-2);
  box-shadow: 0 0 18px var(--accent-glow);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 18px var(--accent-glow); }
  50% { box-shadow: 0 0 28px var(--accent-glow), 0 0 4px var(--accent); }
}

.nav__links {
  display: none;
  gap: var(--s-6);
}
@media (min-width: 900px) {
  .nav__links { display: inline-flex; }
}

.nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav__link:hover { color: var(--accent); }
.nav__link::before {
  content: "/";
  margin-right: 6px;
  color: var(--text-quaternary);
}
.nav__link:hover::before { color: var(--accent); }

.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.lang-switch__btn {
  color: var(--text-tertiary);
  padding: 4px 6px;
  transition: color 0.2s var(--ease);
  position: relative;
}
.lang-switch__btn:hover { color: var(--text-secondary); }
.lang-switch__btn--active {
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}
.lang-switch__sep { color: var(--text-quaternary); }

@media (max-width: 640px) {
  .nav__logo-text { display: none; }
  .nav__cta { display: none; }
}

/* ---- HAMBURGER TOGGLE (mobile only) ---- */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s var(--ease);
}
.nav__toggle:hover { border-color: var(--accent); }

.nav__toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  transform-origin: center;
}
.nav__toggle.is-open .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 899px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
}
@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* ---- MOBILE MENU OVERLAY ---- */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(5, 5, 7, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: calc(80px + var(--s-6)) var(--s-5) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
  overflow-y: auto;
}
.nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.nav__mobile-link {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  text-decoration: none;
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.nav__mobile-link::before {
  content: "/";
  margin-right: 12px;
  color: var(--accent);
  font-weight: 400;
}
.nav__mobile-link:hover {
  color: var(--accent);
  padding-left: 8px;
}
.nav__mobile-link:active {
  color: var(--accent);
}

.nav__mobile-cta {
  margin-top: auto;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: none;
  padding: 16px 24px;
}

/* Lock body scroll when mobile menu open */
body.nav-open {
  overflow: hidden;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--r-3);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--sm { padding: 6px 12px; font-size: 11px; }
.btn--lg { padding: 14px 26px; font-size: 13px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow), 0 0 24px -4px var(--accent-glow);
}
.btn--primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
  box-shadow: 0 0 0 4px rgba(0, 255, 170, 0.15), 0 0 32px -2px var(--accent-glow);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(0, 255, 170, 0.06);
  border-color: var(--border-accent);
  color: var(--accent);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding: calc(var(--s-9) + 60px) 0 var(--s-9);
  overflow: hidden;
  isolation: isolate;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  text-align: center;
}

.hero__sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  justify-content: center;
}

.hero__contact-row {
  justify-content: center;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0, 255, 170, 0.08), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(124, 92, 255, 0.04), transparent 70%),
    linear-gradient(180deg, transparent 0%, transparent 70%, var(--bg-base) 100%);
}

@keyframes hero-pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.05); }
}

.hero__title {
  font-family: var(--font-mono);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-6);
  max-width: 28ch;
}

.hero__line { display: block; }
.hero__line--accent {
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
  position: relative;
}

.hero__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 60ch;
  margin-bottom: var(--s-7);
}

.hero__actions {
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
  flex-wrap: wrap;
}

.hero__contact-row {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}

.hero__contact-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.hero__contact-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero__scroll-hint {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-quaternary);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--accent), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 30%;
  background: var(--accent);
  animation: scroll-pulse 2.4s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* ---- MARQUEE ---- */
.marquee-section {
  padding: var(--s-5) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
}

.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
  padding-right: var(--s-5);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.marquee__item {
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.marquee__sep {
  color: var(--accent);
  font-size: 12px;
  opacity: 0.6;
}

/* ---- SECTIONS ---- */
.section {
  padding: var(--s-9) 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.012), transparent);
}

.section--cta {
  background:
    radial-gradient(ellipse at center, rgba(0, 255, 170, 0.05), transparent 70%),
    var(--bg-base);
}

.section__head {
  margin-bottom: var(--s-8);
  max-width: 760px;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: var(--s-5);
}
.section__label-bracket { color: var(--text-quaternary); }

.section__title {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-4);
}

.section__lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 65ch;
}

.section__lead--wide {
  max-width: 78ch;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-secondary);
}

.section__title-accent {
  color: var(--accent);
  text-shadow: 0 0 32px var(--accent-glow);
  display: inline-block;
}

/* ---- TIMELINE HERO ---- */
.timeline-hero {
  margin: var(--s-7) 0 var(--s-8);
  padding: var(--s-6);
  background:
    linear-gradient(135deg, rgba(0, 255, 170, 0.04), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-4);
  position: relative;
  overflow: hidden;
}

.timeline-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 170, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.timeline-hero__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 720px) {
  .timeline-hero__row {
    grid-template-columns: 120px 1fr 120px;
    gap: var(--s-5);
  }
}

.timeline-hero__event,
.timeline-hero__today {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  text-align: center;
}

@media (min-width: 720px) {
  .timeline-hero__event { align-items: flex-end; text-align: right; }
  .timeline-hero__today { align-items: flex-start; text-align: left; }
}

.timeline-hero__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-quaternary);
}

.timeline-hero__pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.timeline-hero__pin--end {
  background: rgba(0, 255, 170, 0.1);
}

.timeline-hero__pin-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}

.timeline-hero__pin-text { white-space: nowrap; }

.timeline-hero__bar {
  position: relative;
  height: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: visible;
  margin: 28px 0;
}

.timeline-hero__fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 100%;
  background: linear-gradient(90deg,
    rgba(0, 255, 170, 0.15) 0%,
    var(--accent) 70%,
    var(--accent) 100%);
  border-radius: var(--r-pill);
  box-shadow: 0 0 24px var(--accent-glow);
}

.timeline-hero__markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.timeline-hero__marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-hero__marker-line {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.timeline-hero__marker-label {
  position: absolute;
  top: 22px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  white-space: nowrap;
  text-shadow: 0 0 4px var(--bg-base), 0 0 4px var(--bg-base);
}

/* ---- FAST TRACK ---- */
.fast-track {
  margin-top: var(--s-7);
  padding: var(--s-6);
  background:
    linear-gradient(135deg, rgba(0, 255, 170, 0.06), rgba(124, 92, 255, 0.04)),
    var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--r-4);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  position: relative;
  overflow: hidden;
}

@media (min-width: 800px) {
  .fast-track {
    grid-template-columns: 1fr 1.3fr;
    align-items: center;
    gap: var(--s-7);
  }
}

.fast-track::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
  z-index: -1;
}

.fast-track__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--bg-base);
  background: var(--accent);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-4);
  box-shadow: 0 0 20px var(--accent-glow);
}

.fast-track__title {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-3);
  color: var(--text-primary);
}

.fast-track__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.fast-track__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.fast-track__list li {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  transition: all 0.25s var(--ease);
}

.fast-track__list li:hover {
  border-color: var(--border-accent);
  background: rgba(0, 255, 170, 0.03);
  transform: translateX(2px);
}

.fast-track__time {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  min-width: 64px;
  text-shadow: 0 0 12px var(--accent-glow);
}

.fast-track__what {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: var(--s-6);
  transition: all 0.3s var(--ease);
  overflow: hidden;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(0, 255, 170, 0.04));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  z-index: -1;
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }

.service-card--featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(0, 255, 170, 0.04), var(--bg-card));
}

.service-card__badge {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--bg-base);
  background: var(--accent);
  padding: 4px 8px;
  border-radius: var(--r-2);
}

.service-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-quaternary);
  margin-bottom: var(--s-5);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: var(--s-4);
  display: inline-grid;
  place-items: center;
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.2);
  border-radius: var(--r-3);
}
.service-card__icon svg { width: 24px; height: 24px; }

.service-card__title {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-3);
  line-height: 1.25;
}

.service-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: var(--s-5);
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
}

/* ---- DEMOS ---- */
.demos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
@media (min-width: 880px) {
  .demos-grid { grid-template-columns: repeat(2, 1fr); }
}

.demo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease);
}

.demo:hover { border-color: var(--border-accent); }

.demo__meta {
  display: flex;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.demo__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  padding: 3px 8px;
  border-radius: var(--r-2);
  background: var(--bg-elevated);
}
.demo__tag--alt {
  color: var(--accent);
  background: rgba(0, 255, 170, 0.1);
}

.demo__tag--live {
  color: var(--accent);
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
.demo__tag-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}

.demo__stage {
  position: relative;
  aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 255, 170, 0.04), transparent 70%),
    var(--bg-elevated);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Split layout: roulette wheel + controls side by side */
.demo__stage--split {
  grid-template-columns: 1fr;
  aspect-ratio: auto;
  min-height: 340px;
  padding: var(--s-4);
  gap: var(--s-4);
}
@media (min-width: 480px) {
  .demo__stage--split {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

/* Jackpot stage needs extra vertical room */
.demo:nth-child(2) .demo__stage {
  min-height: 360px;
  padding: var(--s-5) var(--s-4);
}
.demo__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 170, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.demo__info {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}

.demo__title {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.demo__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}

.demo__specs {
  display: flex;
  gap: var(--s-4);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.demo__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.demo__spec-k { color: var(--text-quaternary); letter-spacing: 0.08em; }
.demo__spec-v { color: var(--accent); font-weight: 600; letter-spacing: 0.08em; }

/* Demo: Roulette */
.demo-roulette-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 260px;
  margin: 0 auto;
}

/* The bezel is a decorative ring of 12 LED bulbs around the wheel.
   Uses absolute positioning on the wrap (which is a perfect square). */
.roulette-bezel {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bezel-bulb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent), 0 0 16px var(--accent-glow);
  /* Use transform to push each bulb out to the rim. Set via JS or use ::before -- instead
     we use a simple CSS variable approach with pre-calculated transforms. */
}

/* 12 bulbs at 30deg increments, pushed to radius 49% of the wrap */
.bezel-bulb--1  { transform: translate(calc(50% * cos(0deg)),    calc(50% * sin(0deg)))    rotate(0deg); }
.bezel-bulb--2  { transform: translate(calc(50% * cos(30deg)),   calc(50% * sin(30deg)))   rotate(30deg); }
/* CSS cos/sin aren't always supported, fallback below uses fixed values */

/* Fixed-position bezel bulbs using the wrap as origin */
.roulette-bezel .bezel-bulb {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: bezel-blink 1.6s ease-in-out infinite;
}

@keyframes bezel-blink {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* 12 bulbs positioned with absolute top/left + transform rotate around center */
.bezel-bulb--1  { top: 2%;  left: 50%; }
.bezel-bulb--2  { top: 9%;  left: 75%; }
.bezel-bulb--3  { top: 25%; left: 91%; }
.bezel-bulb--4  { top: 50%; left: 98%; }
.bezel-bulb--5  { top: 75%; left: 91%; }
.bezel-bulb--6  { top: 91%; left: 75%; }
.bezel-bulb--7  { top: 98%; left: 50%; }
.bezel-bulb--8  { top: 91%; left: 25%; }
.bezel-bulb--9  { top: 75%; left: 9%;  }
.bezel-bulb--10 { top: 50%; left: 2%;  }
.bezel-bulb--11 { top: 25%; left: 9%;  }
.bezel-bulb--12 { top: 9%;  left: 25%; }

.bezel-bulb--1  { animation-delay: 0s; }
.bezel-bulb--2  { animation-delay: 0.133s; }
.bezel-bulb--3  { animation-delay: 0.266s; }
.bezel-bulb--4  { animation-delay: 0.4s; }
.bezel-bulb--5  { animation-delay: 0.533s; }
.bezel-bulb--6  { animation-delay: 0.666s; }
.bezel-bulb--7  { animation-delay: 0.8s; }
.bezel-bulb--8  { animation-delay: 0.933s; }
.bezel-bulb--9  { animation-delay: 1.066s; }
.bezel-bulb--10 { animation-delay: 1.2s; }
.bezel-bulb--11 { animation-delay: 1.333s; }
.bezel-bulb--12 { animation-delay: 1.466s; }

/* The wheel SVG itself fills the wrap, centered on it */
.demo-roulette__svg {
  position: absolute;
  inset: 6%; /* leave room for bezel bulbs */
  width: calc(100% - 12%);
  height: calc(100% - 12%);
  z-index: 3;
  filter: drop-shadow(0 4px 24px rgba(0, 255, 170, 0.2));
  pointer-events: none;
}

/* The colorful disc — pure CSS conic-gradient on an HTML element (perfectly circular) */
.demo-roulette__disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 85%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    /* +100 — mint */          #00ffaa 0deg,   #00ffaa 45deg,
    /* +50% — purple */        #7c5cff 45deg,  #7c5cff 90deg,
    /* FREE — cyan */          #00d4ff 90deg,  #00d4ff 135deg,
    /* +20 — pink */           #ff3d8b 135deg, #ff3d8b 180deg,
    /* JACKPOT — yellow */     #ffd60a 180deg, #ffd60a 225deg,
    /* 5X — orange */          #ff6b35 225deg, #ff6b35 270deg,
    /* BONUS — violet */       #a855f7 270deg, #a855f7 315deg,
    /* +30 — emerald */        #10b981 315deg, #10b981 360deg
  );
  /* Inner fade so the center feels abstract, like a halo rather than a pie chart */
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 100%);
  mask-image: radial-gradient(circle, #000 55%, transparent 100%);
  z-index: 2;
  /* Slow drift so the gradient feels alive */
  animation: disc-drift 30s linear infinite;
}

@keyframes disc-drift {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.demo-roulette__wheel {
  transform-origin: 120px 120px;
  animation: roulette-idle-spin 60s linear infinite;
}

@keyframes roulette-idle-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.demo-roulette__wheel.is-spinning {
  animation: roulette-spin 5s cubic-bezier(0.18, 0.65, 0.15, 1) forwards;
}

@keyframes roulette-spin {
  0%   { transform: rotate(0deg); }
  100% { transform: var(--final-rotation, rotate(1800deg)); }
}

/* Pointer (single triangle) */
.roulette-pointer {
  position: absolute;
  top: 6%;  /* matches the inset on the SVG */
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  filter: drop-shadow(0 0 8px var(--accent));
  transform-origin: center 80%;
  transition: transform 0.05s linear;
}

.roulette-pointer.is-spinning {
  animation: pointer-tick 0.1s linear infinite;
}

@keyframes pointer-tick {
  0%, 100% { transform: translateX(-50%) rotate(-4deg); }
  50%      { transform: translateX(-50%) rotate(4deg); }
}

.demo-roulette__glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  filter: blur(40px);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* Win burst */
.demo-roulette__burst {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
}

.demo-roulette__burst.is-bursting { opacity: 1; }

.demo-roulette__burst span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  opacity: 0;
}

.demo-roulette__burst.is-bursting span {
  animation: burst-fly 1s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.demo-roulette__burst span:nth-child(1) { --bx: 80px; --by: -40px; background: var(--accent); }
.demo-roulette__burst span:nth-child(2) { --bx: 60px; --by: -70px; background: var(--yellow); }
.demo-roulette__burst span:nth-child(3) { --bx: 30px; --by: -90px; background: var(--pink); }
.demo-roulette__burst span:nth-child(4) { --bx: -10px; --by: -100px; background: var(--cyan); }
.demo-roulette__burst span:nth-child(5) { --bx: -50px; --by: -85px; background: var(--violet); }
.demo-roulette__burst span:nth-child(6) { --bx: -80px; --by: -60px; background: var(--accent); }
.demo-roulette__burst span:nth-child(7) { --bx: -100px; --by: -20px; background: var(--orange); }
.demo-roulette__burst span:nth-child(8) { --bx: -100px; --by: 20px; background: var(--yellow); }
.demo-roulette__burst span:nth-child(9) { --bx: -80px; --by: 60px; background: var(--accent); }
.demo-roulette__burst span:nth-child(10) { --bx: -50px; --by: 85px; background: var(--cyan); }
.demo-roulette__burst span:nth-child(11) { --bx: 80px; --by: 40px; background: var(--pink); }
.demo-roulette__burst span:nth-child(12) { --bx: 50px; --by: 70px; background: var(--violet); }

@keyframes burst-fly {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.4); }
  100% { transform: translate(calc(-50% + var(--bx)), calc(-50% + var(--by))) scale(0.4); opacity: 0; }
}

/* Highlight winner segment */
.demo-roulette__wheel path.is-winner {
  animation: winner-segment-flash 1.5s ease-in-out infinite;
  filter: brightness(1.4) drop-shadow(0 0 12px currentColor);
}

@keyframes winner-segment-flash {
  0%, 100% { filter: brightness(1.4) drop-shadow(0 0 12px currentColor); }
  50% { filter: brightness(1.8) drop-shadow(0 0 24px currentColor); }
}

/* Highlight winner segment */
.demo-roulette__wheel path.is-winner {
  animation: winner-segment-flash 1.5s ease-in-out infinite;
  filter: brightness(1.4) drop-shadow(0 0 12px currentColor);
}

@keyframes winner-segment-flash {
  0%, 100% { filter: brightness(1.4) drop-shadow(0 0 12px currentColor); }
  50% { filter: brightness(1.8) drop-shadow(0 0 24px currentColor); }
}

/* SPIN button + controls */
.demo-roulette__controls {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  align-items: stretch;
  justify-content: center;
}

.roulette-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--s-4) var(--s-5);
  font-family: var(--font-mono);
  background: linear-gradient(180deg, #00ffaa, #00cc88);
  color: var(--bg-base);
  border: 2px solid #00ffaa;
  border-radius: var(--r-3);
  cursor: pointer;
  text-transform: uppercase;
  box-shadow:
    0 0 24px -4px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s var(--ease);
  overflow: hidden;
}

.roulette-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.roulette-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    0 0 36px -2px var(--accent-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.roulette-btn:hover:not(:disabled)::before {
  transform: translateX(100%);
}

.roulette-btn:active:not(:disabled) {
  transform: translateY(0);
}

.roulette-btn:disabled {
  background: linear-gradient(180deg, #1a1a25, #0d0d14);
  color: var(--text-quaternary);
  border-color: var(--border);
  cursor: not-allowed;
  box-shadow: none;
}

.roulette-btn__label {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Demo: Jackpot slot */
.demo-jackpot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
  width: 90%;
  max-width: 380px;
  padding: var(--s-4) var(--s-2);
}

.demo-jackpot__display {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
  width: 100%;
  padding: var(--s-2) var(--s-3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  font-family: var(--font-mono);
}

.jack-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  padding: 4px 6px;
  border-right: 1px solid var(--border);
}
.jack-stat:last-child { border-right: none; }

.jack-stat__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-quaternary);
}
.jack-stat__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.jack-stat--win .jack-stat__value {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
  animation: win-pulse 2s ease-in-out infinite;
}

@keyframes win-pulse {
  0%, 100% { text-shadow: 0 0 10px var(--accent-glow); }
  50% { text-shadow: 0 0 18px var(--accent-glow), 0 0 4px var(--accent); }
}

.slot-frame {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
  background: linear-gradient(180deg, #1a1a25, #0a0a0f);
  border: 2px solid var(--accent);
  border-radius: var(--r-3);
  padding: var(--s-3);
  width: 100%;
  height: 140px;
  box-shadow: 0 0 30px -5px var(--accent-glow), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

/* LED dots around slot frame */
.slot-led {
  position: absolute;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: slot-led-blink 1s ease-in-out infinite;
}
.slot-led--1 { top: -3px; left: 25%; animation-delay: 0s; }
.slot-led--2 { top: -3px; left: 50%; animation-delay: 0.16s; }
.slot-led--3 { top: -3px; left: 75%; animation-delay: 0.33s; }
.slot-led--4 { bottom: -3px; left: 25%; animation-delay: 0.5s; }
.slot-led--5 { bottom: -3px; left: 50%; animation-delay: 0.66s; }
.slot-led--6 { bottom: -3px; left: 75%; animation-delay: 0.83s; }

@keyframes slot-led-blink {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.slot-reel {
  background: var(--bg-base);
  border-radius: var(--r-2);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}
.slot-reel span {
  display: block;
  width: 100%;
  height: 50px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--bg-base);
  text-shadow: 0 0 12px var(--accent);
}
.slot-reel--1 { animation: scroll-down 0.6s linear infinite; }
.slot-reel--2 { animation: scroll-down 0.7s linear infinite; }
.slot-reel--3 { animation: scroll-down 0.65s linear infinite; }

@keyframes scroll-down {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

.slot-paylines {
  position: absolute;
  inset: var(--s-3);
  width: calc(100% - var(--s-5));
  height: calc(100% - var(--s-5));
  pointer-events: none;
  z-index: 3;
}

/* MEGA WIN overlay */
.slot-mega-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(2px);
  border-radius: var(--r-3);
  z-index: 4;
  animation: mega-flash 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes mega-flash {
  0%, 100% { opacity: 0; }
  10%, 14% { opacity: 1; }
  16%, 19% { opacity: 0; }
  20%, 24% { opacity: 1; }
  26%, 60% { opacity: 0; }
}

.slot-mega-overlay__text {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--yellow);
  text-shadow: 0 0 24px rgba(255, 214, 10, 0.8), 0 0 8px var(--yellow);
}

.slot-mega-overlay__sub {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.demo-jackpot__controls {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: var(--s-2);
  width: 100%;
}

.jack-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 10px 12px;
  border-radius: var(--r-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}
.jack-btn--ghost {
  width: 40px;
  padding: 10px 0;
  color: var(--text-secondary);
}
.jack-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.jack-btn--primary {
  background: var(--accent);
  color: var(--bg-base);
  border-color: var(--accent);
  box-shadow: 0 0 16px -4px var(--accent-glow);
}
.jack-btn--primary:hover {
  background: var(--accent-dim);
  box-shadow: 0 0 24px -2px var(--accent-glow);
}
.jack-btn--max {
  background: rgba(255, 214, 10, 0.1);
  color: var(--yellow);
  border-color: rgba(255, 214, 10, 0.3);
}
.jack-btn--max:hover {
  background: rgba(255, 214, 10, 0.18);
  border-color: var(--yellow);
}

/* Demo: Map */
.demo-map {
  width: 90%;
  max-width: 380px;
  aspect-ratio: 16/10;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-3);
  overflow: hidden;
  position: relative;
}
.demo-map__svg { width: 100%; height: 100%; }

/* Layer toggle buttons (top-right of map) */
.demo-map__layers {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 2px;
  z-index: 5;
  background: rgba(5, 5, 7, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  padding: 2px;
}
.map-layer {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  padding: 4px 8px;
  border-radius: var(--r-2);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.map-layer:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.map-layer--active {
  color: var(--bg-base);
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Stats bar at bottom of map */
.demo-map__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 6px var(--s-3);
  background: rgba(5, 5, 7, 0.85);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  z-index: 4;
}
.demo-map__bar span { display: inline-flex; align-items: center; gap: 5px; }
.map-bar-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent);
  animation: blink 1.5s ease-in-out infinite;
}

/* Demo: Form */
.demo-form {
  width: 85%;
  max-width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-3);
  overflow: hidden;
  font-family: var(--font-mono);
}
.demo-form__header {
  display: flex;
  justify-content: space-between;
  padding: var(--s-3) var(--s-4);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.demo-form__uptime {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px var(--s-4);
  background: rgba(0, 255, 170, 0.04);
  border-bottom: 1px solid var(--border);
  font-size: 9px;
  letter-spacing: 0.12em;
}
.demo-form__uptime-label {
  color: var(--text-quaternary);
  font-weight: 600;
}
.demo-form__uptime-value {
  color: var(--text-secondary);
  font-weight: 600;
}
.demo-form__uptime-pct {
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 0 8px var(--accent-glow);
}
.demo-form__online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}
.demo-form__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--accent);
}
.demo-form__sync { color: var(--text-tertiary); }

.demo-form__body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.demo-form__row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-form__row label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-quaternary);
}
.demo-form__field {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  padding: 8px 10px;
  font-size: 11px;
  color: var(--text-primary);
  min-height: 28px;
  display: flex;
  align-items: center;
}
.demo-form__field--typing {
  border-color: rgba(0, 255, 170, 0.4);
  background: rgba(0, 255, 170, 0.03);
}
.demo-form__caret {
  width: 1px;
  height: 12px;
  background: var(--accent);
  animation: blink 1s steps(2) infinite;
}
.demo-form__caret--end {
  margin-left: 1px;
}
.demo-form__toggle {
  width: 28px; height: 14px;
  border-radius: var(--r-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  position: relative;
}
.demo-form__toggle--on {
  background: var(--accent);
  border-color: var(--accent);
}
.demo-form__toggle--on::after {
  content: "";
  position: absolute;
  top: 1px; right: 1px;
  width: 10px; height: 10px;
  background: var(--bg-base);
  border-radius: 50%;
}

.demo-form__queue {
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.demo-form__queue-bar {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.demo-form__queue-fill {
  position: absolute;
  inset: 0;
  width: 86%;
  background: linear-gradient(90deg, var(--accent), rgba(0, 255, 170, 0.6));
  border-radius: var(--r-pill);
  box-shadow: 0 0 6px var(--accent-glow);
  animation: queue-shimmer 2.5s ease-in-out infinite;
}
@keyframes queue-shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.demo-form__queue-count {
  color: var(--accent);
  font-weight: 700;
}

/* Last captured card */
.demo-form__captured {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--s-2);
  align-items: center;
  padding: 8px var(--s-4);
  background: rgba(0, 255, 170, 0.06);
  border-top: 1px solid rgba(0, 255, 170, 0.2);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.demo-form__captured-label {
  color: var(--text-quaternary);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 8px;
}
.demo-form__captured-name {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 11px;
}
.demo-form__captured-hash {
  color: var(--text-tertiary);
  font-size: 9px;
  letter-spacing: 0.05em;
}
.demo-form__captured-check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--accent);
  color: var(--bg-base);
  border-radius: 50%;
  font-weight: 700;
  font-size: 11px;
  box-shadow: 0 0 10px var(--accent-glow);
  animation: captured-pop 4s ease-out infinite;
}

@keyframes captured-pop {
  0%, 70%, 100% { transform: scale(1); }
  72%, 78% { transform: scale(1.25); }
}

/* ---- PROCESS ---- */
.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  counter-reset: step;
}
@media (min-width: 720px) {
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(4, 1fr); }
}

.process__step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-4);
  padding: var(--s-5);
  position: relative;
  transition: all 0.3s var(--ease);
}
.process__step:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.process__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--s-4);
  letter-spacing: 0.04em;
}

.process__time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-quaternary);
  margin-bottom: var(--s-3);
}

.process__title {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: var(--s-3);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.process__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ---- CTA / CONTACT ---- */
.cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: start;
}
@media (min-width: 960px) {
  .cta { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
}

.cta__title {
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
  margin: var(--s-5) 0 var(--s-5);
}

.cta__sub {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: var(--s-5);
}

.cta__bullets {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.cta__bullets li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-secondary);
}
.cta__bullet-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.cta__form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)), var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-4);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  box-shadow: 0 0 0 1px rgba(0, 255, 170, 0.04), 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-3);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  transition: all 0.2s var(--ease);
  width: 100%;
}
.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: rgba(0, 255, 170, 0.3);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 255, 170, 0.15);
  background: rgba(0, 255, 170, 0.03);
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-quaternary);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4 L6 8 L10 4' stroke='%2300ffaa' stroke-width='1.5' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-row select option { background: var(--bg-card); color: var(--text-primary); }

/* Honeypot: visible to bots, invisible to humans */
.honey {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-quaternary);
  text-align: center;
  letter-spacing: 0.06em;
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  margin-top: var(--s-9);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  padding: var(--s-8) var(--s-5);
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.5fr 2fr; }
}

.footer__brand { max-width: 360px; }

.footer__logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  display: inline-block;
  margin-bottom: var(--s-3);
}

.footer__tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
@media (min-width: 600px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 12px;
}
.footer__col-h {
  color: var(--text-quaternary);
  letter-spacing: 0.15em;
  font-size: 10px;
  margin-bottom: var(--s-2);
}
.footer__col a {
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }
.footer__copy {
  color: var(--text-quaternary);
  margin-top: var(--s-3);
}

.footer__bar {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
}
.footer__bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s-3) var(--s-5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-quaternary);
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ---- SCROLL REVEAL ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .roulette-wheel, .demo-roulette__wheel, .slot-reel { animation: none; }
}

/* ---- SELECTION ---- */
::selection {
  background: var(--accent);
  color: var(--bg-base);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }