/* ===== SHARED NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  transition: background 0.3s ease, padding 0.3s ease, border-bottom 0.3s ease;
  background: rgba(6, 6, 12, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}
.navbar.scrolled {
  background: rgba(6, 6, 12, 0.85);
  padding: 12px 32px;
}
.nav-brand img { height: 28px; width: auto; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  color: #6B6B8A; font-size: 13px; font-weight: 500;
  letter-spacing: 0.5px; transition: color 0.2s; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { color: #EEEEF2; }
.nav-cta.disabled {
  pointer-events: none; opacity: 0.5;
  padding: 8px 18px; border-radius: 8px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #EEEEF2;
}
.mobile-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
}
.mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: #EEEEF2; transition: transform 0.3s, opacity 0.3s;
}

/* ===== MOBILE MENU ===== */
@media (max-width: 900px) {
  .navbar { padding: 14px 20px; }
  .navbar.menu-open {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: transparent !important;
    border-bottom: none !important;
  }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: #06060C;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 60px 20px;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open li { list-style: none; }
  .nav-links.open a { font-size: 1.35rem; color: #EEEEF2; letter-spacing: 0.03em; }
  .nav-links.open .nav-cta.disabled {
    font-size: 14px;
    padding: 12px 28px;
    border-radius: 10px;
    opacity: 0.4;
  }
  .mobile-toggle { display: flex; z-index: 1001; }
  .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}
