/* ===== NAVBAR — White, Clean, Professional ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  padding: 0 80px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  height: 64px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1001;
}

.nav-logo img {
  height: 38px;
  width: auto;
  /* black logo on white bg — no filter needed */
  transition: transform 0.3s ease;
}

.nav-logo:hover img { transform: scale(1.05); }

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.2px;
}

.nav-logo-title {
  font-size: 0.62rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li a {
  color: var(--gray-dark);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.25s ease;
  letter-spacing: 0.2px;
}

.nav-links li a:hover {
  color: var(--black);
  background: var(--bg-secondary);
}

.nav-links li a.active {
  color: var(--accent);
  background: rgba(109,40,217,0.08);
  font-weight: 600;
  border-radius: 8px;
}

/* CTA */
.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(109,40,217,0.3) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.3s;
}

.hamburger:hover { background: var(--bg-secondary); }

.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(3px);
  z-index: 8999;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-overlay.show { opacity: 1; }

/* Responsive */
@media (max-width: 900px) {
  .navbar { padding: 0 32px; }

  .hamburger { display: flex; }
  .nav-overlay { display: block; }

  .nav-links {
    position: fixed;
    top: 0; right: -300px;
    width: 280px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 32px;
    gap: 4px;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
    z-index: 9001;
  }

  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }

  .nav-links li a {
    font-size: 1rem;
    padding: 12px 14px;
    display: block;
    border-radius: 10px;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
    width: 100%;
    display: block;
  }
}

@media (max-width: 480px) {
  .navbar { padding: 0 20px; }
  .nav-logo-text { display: none; }
}
