:root {
  --bg:           #050914;
  --bg-elev:      #080e1f;
  --bg-card:      #0d1528;
  --bg-soft:      #111d38;
  --line:         rgba(255,255,255,0.07);
  --line-bright:  rgba(255,255,255,0.14);
  --ink:          #eef1f7;
  --ink-soft:     #b8bfcc;
  --ink-muted:    #68737f;
  --accent:       #1a4fff;
  --accent-b:     #3d6dff;
  --accent-soft:  rgba(26,79,255,0.12);
  --accent-glow:  rgba(26,79,255,0.35);
  --green:        #3dffa0;
  --green-glow:   rgba(61,255,160,0.25);
  --orange:       #ff9b42;
  --pink:         #e879f9;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 8px 32px rgba(0,0,0,0.35);
  --shadow-lift:  0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--line);
  --display:      'Space Grotesk', sans-serif;
  --body:         'Inter', sans-serif;
  --mono:         'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; }

/* ── GRID BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,79,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,79,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent-b);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.label::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-glow);
}

.gradient {
  background: linear-gradient(135deg, var(--accent-b) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-g {
  background: linear-gradient(135deg, var(--green) 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 14px; height: 14px; transition: transform 0.2s; flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 30px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--accent-b);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--accent-glow);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-bright);
  color: var(--ink-soft);
}
.btn-ghost:hover {
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.22);
  color: var(--ink);
}
.btn-green {
  background: var(--green);
  color: #050914;
  font-weight: 700;
  box-shadow: 0 0 30px var(--green-glow);
}
.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px var(--green-glow);
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.65s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.17s; }
.d3 { transition-delay: 0.26s; }
.d4 { transition-delay: 0.35s; }

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all 0.35s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(5,9,20,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--line);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-glow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0; top: 65px;
  background: rgba(5,9,20,0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent-b); }

/* ══════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════ */
.page-hero {
  padding: 148px 0 80px;
  text-align: center;
  position: relative;
  overflow: clip;
}
.page-hero-aurora {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(26,79,255,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 70% 40%, rgba(167,139,250,0.10) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(30px);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 18px;
  animation: fadeUp 0.6s ease both;
}
.page-hero p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
  animation: fadeUp 0.6s 0.1s ease both;
}
.page-hero .label { margin-bottom: 18px; animation: fadeUp 0.6s ease both; display: flex; justify-content: center; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ══════════════════════════════════
   SECTION HEAD
══════════════════════════════════ */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-head .label { margin-bottom: 14px; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 56px); margin-bottom: 16px; }
.section-head p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }

/* ── MARQUEE ── */
.marquee-wrap {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(26,79,255,0.025);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 22s linear infinite;
  width: max-content;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  white-space: nowrap;
  border-right: 1px solid var(--line);
}
.marquee-item svg { width: 14px; height: 14px; color: var(--accent-b); }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  margin-top: 80px;
}
.footer-inner {
  display: flex;
  gap: 60px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { flex: 1; min-width: 200px; }
.footer-logo-wrap { margin-bottom: 14px; }
.logo-img { height: 28px; }
.logo-text {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.footer-tagline { font-size: 13px; color: var(--ink-muted); line-height: 1.6; max-width: 280px; }
.footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 0; }
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin-bottom: 14px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-b); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-muted);
}
.ncnp { color: var(--green); }

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-cols { gap: 28px; }
}
