.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background: rgba(6, 10, 18, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--blue-glow);
  text-shadow: 0 0 18px var(--blue-glow);
  text-decoration: none;
}

.nav-logo span {
  color: var(--orange);
}
.nav-logo img {
  max-height: 44px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}
a.custom-logo-link img {
    width: 200px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: color 0.2s, text-shadow 0.2s;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--blue-glow);
  text-shadow: 0 0 12px var(--blue-glow);
}
.nav-links a.nav-cta,
.nav-cta {
  background: linear-gradient(135deg, var(--blue-mid), var(--purple));
  color: #fff !important;
  padding: 8px 22px;
  border-radius: 4px;
  border: 1px solid var(--blue-glow);
  box-shadow: 0 0 18px rgba(0, 191, 255, 0.3);
  text-shadow: none !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--blue-glow);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 10, 18, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s, text-shadow 0.2s;
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--blue-glow);
  text-shadow: 0 0 16px var(--blue-glow);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  transition: color 0.2s;
}

.mobile-close:hover {
  color: var(--blue-glow);
}
@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}