/* ===== DEESPACE SHARED DESIGN SYSTEM ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #07143d;
  --navy-mid: #0d1f5c;
  --navy-light: #112070;
  --blue: #3E92CC;
  --blue-light: #6eb0de;
  --blue-glow: rgba(62,146,204,0.15);
  --green: #1D9E75;
  --purple: #7F77DD;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --text-muted: rgba(255,255,255,0.55);
  --text-soft: rgba(255,255,255,0.75);
  --border-dark: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.07);
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

#canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  opacity: 0.35;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  background: rgba(7,20,61,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s;
}
.nav-logo {
  font-family: var(--display);
  font-size: 22px; font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--body);
  font-size: 13px; font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -22px; left: 0; right: 0;
  height: 2px; background: var(--blue);
}
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: var(--blue-light) !important; transform: translateY(-1px); }
.nav-cta.active::after { display: none; }

@media (max-width: 768px) {
  .nav-links li:not(:last-child) { display: none; }
}

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  position: relative; z-index: 1;
  padding: 160px 8% 80px;
  min-height: 50vh;
  display: flex; flex-direction: column;
  justify-content: center;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(62,146,204,0.12);
  border: 1px solid rgba(62,146,204,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px; font-weight: 500;
  color: var(--blue-light);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  width: fit-content;
}
.page-eyebrow::before {
  content: ''; width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  max-width: 760px;
}
.page-hero h1 em {
  font-style: normal; color: var(--blue);
}
.page-hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-soft);
  max-width: 540px; line-height: 1.7;
}

/* ── GENERAL SECTION TOKENS ── */
.section-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-sub { font-size: 16px; line-height: 1.6; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(62,146,204,0.35); }
.btn-ghost {
  color: var(--text-soft);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--border-dark);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; cursor: pointer;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--white); transform: translateY(-2px); }
.btn-ghost-dark {
  color: #444;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px; font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; cursor: pointer;
}
.btn-ghost-dark:hover { border-color: #999; color: #000; transform: translateY(-2px); }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid var(--border-dark);
  padding: 28px 8%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: var(--display);
  font-size: 16px; font-weight: 700;
  letter-spacing: 2px; color: var(--white);
}
.footer-logo span { color: var(--blue); }
.footer-copy { font-size: 12px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ── REVEAL ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── CTA BAND (shared across pages) ── */
.cta-band {
  position: relative; z-index: 1;
  background: var(--navy);
  padding: 110px 8%;
  text-align: center;
}
.cta-badge {
  display: inline-block;
  background: var(--blue-glow);
  border: 1px solid rgba(62,146,204,0.3);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 12px; color: var(--blue-light);
  margin-bottom: 24px;
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.1; letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-band p { font-size: 16px; color: var(--text-soft); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }