/* ═══════════════════════════════════════
   NAVBAR — KonvertAI
═══════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(9, 9, 15, 0.85);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--t-base);
}

#nav.scrolled {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 2rem;
}

/* ── Logo ── */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo {
  height: 32px;
  width: auto;
}

/* ── Links ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-2);
  transition: color var(--t-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--g-brand-s);
  transition: width var(--t-base);
}

.nav-links a:hover {
  color: var(--c-text-1);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--c-text-1);
}

.nav-links a.active::after {
  width: 100%;
}

/* ── Actions ── */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Hamburger mobile ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-text-1);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu ── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(9, 9, 15, 0.98);
  backdrop-filter: blur(20px);
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 199;
}

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

.nav-mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-text-2);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t-base);
}

.nav-mobile a:hover {
  color: var(--c-text-1);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}
