/* ── Variables ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #080c12;
  --surface:     #0f1520;
  --surface-2:   #141d2e;
  --border:      #1e2d42;
  --border-bright:#2a3f5c;
  --amber:        #f5a623;
  --amber-bright: #ffb840;
  --amber-dim:    rgba(245,166,35,0.12);
  --amber-glow:   rgba(245,166,35,0.25);
  --text-1:       #e8eaf0;
  --text-2:       #8a95a8;
  --text-3:       #4a5568;
  --success:      #34d399;
  --font-head:    'Exo 2', system-ui, sans-serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --radius:       8px;
  --radius-lg:    14px;
}

html {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
}

body { background: var(--bg); min-height: 100vh; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scanlines {
  0%   { background-position: 0 0; }
  100% { background-position: 0 100px; }
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 12px var(--amber-glow); }
  50%       { box-shadow: 0 0 28px var(--amber-glow), 0 0 6px var(--amber); }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.animate-fadeup {
  animation: fadeUp 0.7s ease-out both;
}
.animate-fadeup-1 { animation-delay: 0.05s; }
.animate-fadeup-2 { animation-delay: 0.18s; }
.animate-fadeup-3 { animation-delay: 0.31s; }
.animate-fadeup-4 { animation-delay: 0.44s; }
.animate-fadeup-5 { animation-delay: 0.57s; }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0;
  background: rgba(8, 12, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.nav-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1.25rem;
  color: var(--amber);
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px var(--amber-glow);
}
.nav-tagline { font-size: 0.8rem; color: var(--text-3); margin-left: 2px; }
.nav-links { margin-left: auto; display: flex; gap: 24px; align-items: center; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a.link-ghost { color: var(--text-2); }
.nav-links a.link-ghost:hover { color: var(--text-1); }
.nav-links a.link-cta {
  color: var(--amber);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid var(--border-bright);
  padding: 7px 16px;
  border-radius: var(--radius);
  background: var(--amber-dim);
  transition: all 0.2s;
}
.nav-links a.link-cta:hover {
  background: var(--amber);
  color: #080c12;
  border-color: var(--amber);
  box-shadow: 0 0 16px var(--amber-glow);
}

/* ── Hero Arcade ────────────────────────────────────────────── */
.hero-arcade {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-wrap {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,  rgba(8,12,18,0.97) 0%, rgba(8,12,18,0.75) 45%, rgba(8,12,18,0.2) 100%),
    linear-gradient(to bottom, rgba(8,12,18,0.4) 0%, rgba(8,12,18,0.8) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  opacity: 0.6;
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1160px; margin: 0 auto;
  padding: 96px 28px 80px;
  width: 100%;
  max-width: 700px;
}
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
}
.eyebrow-badge {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--amber-dim);
  color: var(--amber);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245,166,35,0.3);
}
.hero-divider-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-3);
}
.hero-meta { font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.02em; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.08;
  color: var(--text-1);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-title-accent {
  color: var(--amber);
  text-shadow: 0 0 40px rgba(245,166,35,0.4);
}

.hero-tagline {
  font-size: 1.05rem; line-height: 1.7;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; margin-bottom: 56px; }

.btn-arcade-primary {
  font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 700;
  color: #080c12;
  background: var(--amber);
  padding: 13px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.22s;
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn-arcade-primary:hover {
  background: var(--amber-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(245,166,35,0.55);
}

.btn-arcade-ghost {
  font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 600;
  color: var(--text-2);
  padding: 13px 24px;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.22s;
}
.btn-arcade-ghost:hover {
  color: var(--text-1);
  border-color: var(--text-3);
  background: rgba(255,255,255,0.04);
}

.hero-stats-row {
  display: flex; align-items: center; gap: 0;
  padding: 20px 24px;
  background: rgba(15,21,32,0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  width: fit-content;
}
.hero-stat { text-align: center; padding: 0 20px; }
.hero-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.04em;
  margin-bottom: 4px;
}
.hero-stat-desc { font-size: 0.72rem; color: var(--text-3); line-height: 1.4; }
.hero-stat-sep {
  width: 1px; height: 36px;
  background: var(--border);
}

/* ── Manifesto ─────────────────────────────────────────────── */
.manifesto {
  background: linear-gradient(to bottom, var(--bg), var(--surface));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(245,166,35,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.manifesto-inner {
  max-width: 680px; margin: 0 auto;
  padding: 72px 28px;
  text-align: center;
  position: relative; z-index: 1;
}
.manifesto-quote {
  font-size: 1.1rem; line-height: 1.85;
  color: var(--text-2);
}
.manifesto-quote strong { color: var(--amber); font-style: normal; }
.manifesto-attr {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-head);
}

/* ── Features ─────────────────────────────────────────────── */
.features { max-width: 1160px; margin: 0 auto; padding: 96px 28px; }
.features-header { margin-bottom: 52px; }
.features-eyebrow {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.features-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 700; line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-1);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 28px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover { background: var(--surface-2); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  color: var(--amber);
  margin-bottom: 20px;
  display: block;
}
.feature-name {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.87rem; line-height: 1.7;
  color: var(--text-2);
}
.feature-number {
  position: absolute; top: 18px; right: 20px;
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

/* ── Outcomes ─────────────────────────────────────────────── */
.outcomes {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.outcomes::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, rgba(245,166,35,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.outcomes-inner {
  max-width: 1160px; margin: 0 auto;
  padding: 64px 28px;
  display: flex; align-items: center;
  position: relative; z-index: 1;
}
.outcome { flex: 1; text-align: center; padding: 0 20px; }
.outcome-stat {
  display: block;
  font-family: var(--font-head);
  font-size: 3.2rem; font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.05em;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(245,166,35,0.3);
}
.outcome-label { font-size: 0.85rem; color: var(--text-2); line-height: 1.5; max-width: 180px; margin: 0 auto; }
.outcome-divider { width: 1px; height: 72px; background: var(--border); }

/* ── Closing CTA ───────────────────────────────────────────── */
.closing {
  max-width: 1160px; margin: 0 auto;
  padding: 100px 28px;
  text-align: center;
}
.closing-label {
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
  opacity: 0.7;
}
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800; line-height: 1.1;
  color: var(--text-1);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.closing-sub {
  font-size: 1.1rem; line-height: 1.7;
  color: var(--text-2);
  max-width: 500px; margin: 0 auto 40px;
}
.closing-actions { display: flex; justify-content: center; gap: 14px; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 28px 28px;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 800; font-size: 1rem;
  color: var(--amber);
  text-shadow: 0 0 14px var(--amber-glow);
}
.footer-copy { font-size: 0.8rem; color: var(--text-3); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: var(--text-3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-2); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-arcade { min-height: 80vh; }
  .hero-content { padding: 64px 20px 56px; max-width: 100%; }
  .hero-title { font-size: 2.2rem; }
  .hero-stats-row { flex-wrap: wrap; gap: 12px; }
  .hero-stat-sep { display: none; }
  .hero-stat { padding: 0 8px; min-width: 80px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-arcade-primary, .btn-arcade-ghost { width: 100%; text-align: center; }
  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .outcomes-inner { flex-direction: column; gap: 32px; }
  .outcome-divider { width: 60px; height: 1px; }
  .closing { padding: 60px 20px; }
  .closing-actions { flex-direction: column; align-items: center; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .nav-links { display: none; }
}