/* ─────────────────────────────────────────
   nav.css — top navigation bar
   ───────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(248,247,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand lockup */
.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-brand-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--purple);
  letter-spacing: -0.3px;
}

.nav-brand-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--purple); }

/* CTA button inside nav */
.btn-nav {
  background: var(--purple);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s, transform 0.15s !important;
  text-decoration: none;
}

.btn-nav:hover {
  background: #5B21B6 !important;
  transform: translateY(-1px);
}

/* Hamburger (mobile only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile nav open state */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
    z-index: 99;
  }
}