.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s ease, border 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10,10,15,0.8);
}

.navbar-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* =========================
   Logo
========================= */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
}

.logo img {
  height: 38px;
  object-fit: contain;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
}

.logo-text .white {
  color: white;
}

.logo-text .gradient {
  background: linear-gradient(90deg, #818cf8, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================
   Desktop Navigation
========================= */
.nav-desktop {
  display: none;
  gap: 12px;
}

.nav-desktop button {
  height: 40px;
  padding: 0 18px;
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-desktop button:hover {
  background: rgba(255,255,255,0.06);
  color: white;
}

/* =========================
   CTA
========================= */
.cta-desktop {
  display: none;
  align-items: center;
}

.btn-primary {
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  color: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(79,70,229,0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-top: -2px;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* =========================
   Mobile Toggle
========================= */
.mobile-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* =========================
   Mobile Menu
========================= */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 90;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 12px;
}

.mobile-menu button {
  height: 44px;
  padding: 0 16px;
  background: none;
  border: none;
  color: #d1d5db;
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.mobile-menu button:hover {
  background: rgba(255,255,255,0.06);
  color: white;
}

.mobile-menu .btn-primary {
  justify-content: center;
}

/* =========================
   Responsive
========================= */
@media (min-width: 768px) {
  .nav-desktop,
  .cta-desktop {
    display: flex;
    align-items: center;
    margin-top: -2px;
  }

  .mobile-toggle,
  .mobile-menu {
    display: none;
  }
}
