/* ════════════════════════════════════════
   VexMap — Shared Styles
   Used by: about.html, pricing.html,
            privacy.html, terms.html
   ════════════════════════════════════════ */

/* ── ROOT VARIABLES ── */
:root {
  --void: #06080f;
  --void-2: #080b16;
  --blue: #4d9fff;
  --blue-dim: rgba(77,159,255,.12);
  --gold: #ffb432;
  --gold-dim: rgba(255,180,50,.1);
  --white: #f0f4ff;
  --mid: rgba(255,255,255,.45);
  --dim: rgba(255,255,255,.22);
  --faint: rgba(255,255,255,.07);
  --border: rgba(77,159,255,.1);
  --border-gold: rgba(255,180,50,.25);
  --font-logo: 'Playfair Display', serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-ui: 'DM Sans', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--white);
  font-family: var(--font-ui);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ── GLOW ORBS (base) ── */
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(6,8,15,.95) 0%, transparent 100%);
  border-bottom: 1px solid rgba(77,159,255,.06);
}

.nav-logo {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: .04em;
  text-shadow: 0 0 30px rgba(77,159,255,.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: color .2s;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: rgba(255,255,255,.65); }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid rgba(77,159,255,.3);
  background: rgba(77,159,255,.08);
  color: #7ab8ff;
  text-decoration: none;
  transition: all .2s;
}
.nav-cta:hover {
  background: rgba(77,159,255,.16);
  border-color: rgba(77,159,255,.5);
  color: var(--white);
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
  margin-left: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.55);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, background .3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--white);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--white);
}

/* ── MOBILE NAV DRAWER ── */
.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: rgba(6,8,15,.98);
  border-bottom: 1px solid rgba(77,159,255,.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 6px 0 20px;
  flex-direction: column;
  z-index: 99;
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  display: flex;
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  padding: 14px 28px;
  display: block;
  transition: color .2s, background .2s;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link.active { color: rgba(255,255,255,.8); }
.mobile-nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,.03);
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 28px 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: 11px;
  color: rgba(255,255,255,.2);
  letter-spacing: .04em;
}
footer a { color: rgba(77,159,255,.5); text-decoration: none; }
footer a:hover { color: #7ab8ff; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── MOBILE: show hamburger, hide nav links ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .nav-links { gap: 12px; }
  .nav-link { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .hamburger { display: flex; }
}
