/* ══════════════════════════════════════════════════════════
   NAVBAR — floating pill style
   assets/css/navbar.css
══════════════════════════════════════════════════════════ */

.navbar-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 18px 24px;
  transition: padding 0.4s cubic-bezier(.4,0,.2,1);
}
.navbar-wrap.scrolled {
  padding: 10px 24px;
}

.navbar {
  width: 100%;
  max-width: 1060px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 0 16px;
  border-radius: 100px;
  background: transparent;
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.navbar-wrap.scrolled .navbar {
  background: var(--iv-glass);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1px solid rgba(123,47,255,0.12);
  box-shadow:
    0 4px 32px rgba(123,47,255,0.10),
    0 1px 0 rgba(255,255,255,0.9) inset;
  height: 56px;
}

/* ── Logo ──────────────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--iv-text);
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--iv-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg {
  width: 18px; height: 18px;
  color: white;
}
.nav-logo-accent {
  color: var(--iv-purple);
}

/* ── Centre links ─────────────────────────────────────── */
.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--iv-text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  transition: all 0.2s;
}
.nav-links a:hover {
  color: var(--iv-purple);
  background: rgba(123,47,255,0.07);
}

/* ── CTA button ───────────────────────────────────────── */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--iv-purple);
  color: white;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 100px;
  transition: all 0.25s;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}
.nav-cta:hover {
  box-shadow: 0 6px 24px rgba(123,47,255,.45);
  transform: scale(1.04);
}
.nav-cta:hover::before {
  transform: translateX(100%);
}

/* ── Hamburger ────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--iv-text);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
/* Open state */
.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 menu ──────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(9,7,26,.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--iv-purple-light);
}
.mobile-menu .mob-cta {
  font-size: 16px !important;
  padding: 14px 36px;
  background: var(--iv-purple);
  border-radius: 100px;
  margin-top: 10px;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta   { display: none; }
  .hamburger { display: flex; }
}
