/* Mobile hamburger — loaded via _includes/navbar.html */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  margin-left: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 998;
  overflow-y: auto;
  padding: 8px 0 40px;
  border-top: 1px solid rgba(229, 231, 235, 0.7);
}
.nav-mobile.open { display: block; }

.nav-mobile-link {
  display: flex;
  align-items: center;
  padding: 15px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}
.nav-mobile-link:hover { color: #7C3AED; background: rgba(124, 58, 237, 0.04); }

.nav-mobile-section {
  padding: 18px 24px 6px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
}

.nav-mobile-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}
.nav-mobile-sub:hover { color: #7C3AED; background: rgba(124, 58, 237, 0.04); }

.nav-mobile-sub-ico {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(124, 58, 237, 0.1);
  color: #7C3AED;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

.nav-mobile-cta { padding: 20px 24px 0; }
.nav-mobile-cta a {
  display: block;
  text-align: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, #7C3AED, #a78bfa);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  text-decoration: none;
}

.nav-mobile-divider { height: 1px; background: rgba(229, 231, 235, 0.7); margin: 4px 0; }

@media (max-width: 768px) {
  .nav-hamburger { display: flex !important; }
  .navbar-links   { display: none !important; }
  .navbar-cta     { display: none !important; }
}

/* ── Dark slim navbar — applies to all pages ── */
.navbar {
  background: rgba(13, 10, 30, 0.97);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7C3AED, #a78bfa, #60a5fa);
  z-index: 1;
}
.navbar-container {
  padding: 8px 28px;
  gap: 0;
  position: relative;
  z-index: 2;
}
.navbar .navbar-links {
  gap: 4px;
}
.navbar .navbar-link {
  padding: 5px 10px;
}
.navbar .nav-has-dropdown .nav-dd-btn {
  padding: 5px 10px;
}
.navbar-logo {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.navbar-logo .logo {
  width: 130px;
  height: 46px;
}
.navbar .navbar-logo span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.65);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 10px;
  line-height: 1.3;
  max-width: 110px;
  white-space: normal;
}
.navbar .navbar-link {
  color: rgba(255, 255, 255, 0.78);
}
.navbar .navbar-link:hover {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.12);
}
.navbar .navbar-link.active {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.12);
}
.navbar .nav-dd-btn {
  color: rgba(255, 255, 255, 0.78);
}
.navbar .nav-dd-btn:hover,
.navbar .nav-has-dropdown:hover .nav-dd-btn {
  color: #a78bfa;
}
.navbar .nav-chevron {
  color: rgba(255, 255, 255, 0.35);
}
.navbar-cta .btn {
  padding: 6px 14px;
  font-size: 13px;
}
.navbar-cta .btn-primary {
  background: linear-gradient(135deg, #4C1D95 0%, #6D28D9 100%);
  box-shadow: none;
}
.nav-spacer {
  height: 56px;
}
.navbar.scrolled {
  background: rgba(13, 10, 30, 0.99);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.navbar-logo span {
  color: #6B7280;
}
.navbar-link {
  color: #374151;
}
.navbar-link:hover,
.navbar-link.active {
  color: #7C3AED;
  background: rgba(124, 58, 237, 0.06);
}
.nav-dd-btn {
  color: #374151 !important;
}
.nav-chevron {
  color: #9CA3AF !important;
}
