/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(6,13,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
nav.nav-visible { transform: translateY(0); opacity: 1; }

.nav-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid rgba(79,195,247,0.4);
  padding: 0.4rem 1.1rem;
  border-radius: 3px;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: rgba(79,195,247,0.1) !important; border-color: var(--accent) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s; }

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 58px; left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 499;
  }
  .hamburger { display: flex; }
}
.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
