/* =========================================
   NAVBAR
========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 12, 23, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  font-weight: 600;
  color: var(--text-main);
  transition: 0.25s ease;
}

.nav-menu a:hover {
  color: var(--deep-sky);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  margin: 5px auto;
  transition: 0.3s ease;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 88px;
    right: 4%;
    width: min(92vw, 320px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border-radius: 20px;
    background: rgba(5, 12, 23, 0.96);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    display: flex;
  }

  .logo img {
    height: 50px;
  }
}