/* ══════════════════════════════════════════════════════════════
   FLUORESCENCE — MASTER NAV
   Single source of truth. Linked by every page.
   ══════════════════════════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 120px;
  display: flex;
  align-items: center;
  background: rgba(17,1,46,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(28px, 5.5vw, 90px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav .brand-mark { height: 56px; width: auto; display: block; }
.nav .brand-wordmark {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1;
}
/* Legacy — keep for any old references */
.nav .brand-logo { height: 38px; width: auto; display: block; }
.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav .nav-links a {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color .2s;
  font-weight: 400;
  white-space: nowrap;
}
.nav .nav-links a:hover { color: #ffffff; }
.nav .nav-links a.active { color: #ffffff; }
.nav .nav-cta {
  color: #00ee99 !important;
  border: 1px solid rgba(0,238,153,0.3);
  padding: 9px 20px;
  border-radius: 2px;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.nav .nav-cta:hover {
  border-color: #00ee99 !important;
  background: rgba(0,238,153,0.06);
}

/* ── Burger button (hidden on desktop) ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.65);
  border-radius: 1px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile overlay menu (injected by nav.js) ── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 120px;
  left: 0; right: 0;
  background: rgba(17,1,46,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 199;
  list-style: none;
  margin: 0;
  padding: 8px clamp(28px, 5.5vw, 90px) 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile.open { display: flex; flex-direction: column; }
.nav-mobile li { list-style: none; }
.nav-mobile a {
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: block;
  transition: color .2s;
}
.nav-mobile a:hover,
.nav-mobile a.active { color: #ffffff; }
.nav-mobile a.nav-cta {
  color: #00ee99 !important;
  border-bottom-color: rgba(0,238,153,0.12);
}
.nav-mobile li:last-child a { border-bottom: none; }

/* ── Tablet: tighten spacing ── */
@media (max-width: 1000px) {
  .nav .nav-links { gap: 22px; }
  .nav .nav-links a { font-size: 0.76rem; }
  .nav .nav-cta { padding: 8px 14px; }
}

/* ── Mobile: hamburger ── */
@media (max-width: 768px) {
  .nav .nav-links { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 769px) {
  .nav-mobile { display: none !important; }
  .nav-burger { display: none !important; }
}
