/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  padding: 0 clamp(20px, 5%, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(7,27,48,0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,194,255,0.1);
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled state — tighter, fully opaque */
nav.scrolled {
  height: 58px;
  background: rgba(5,19,31,0.98);
  box-shadow: 0 4px 28px rgba(0,0,0,0.35);
  border-bottom-color: rgba(0,194,255,0.06);
}

.nav-links {
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--cyan); }

.nav-links a.active {
  color: var(--cyan);
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
  border-radius: 1px;
  opacity: 0.7;
}

.nav-cta {
  background: var(--cyan);
  color: var(--navy);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 10px 22px;
  border-radius: 7px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(0,194,255,0.3);
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy2);
  border-bottom: 1px solid rgba(0,194,255,0.12);
  padding: 20px clamp(20px,5%,80px) 28px;
  z-index: 199;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--cyan); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .ham       { display: flex; }
}
@media (max-width: 480px) {
  .logo-sub  { display: none; }
  .logo-name { font-size: 19px; }
}
