/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: padding 0.35s, background 0.35s, box-shadow 0.35s;
}
#nav.scrolled {
  padding: 10px 0;
  background: rgba(3, 11, 253, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(3, 11, 253, 0.3);
}

.nav-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo        { display: flex; align-items: center; gap: 10px; }
.nav-logo-icon   {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nav-logo-name {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 21px;
  color: #fff;
  letter-spacing: -0.3px;
}

/* Desktop links */
.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--amber);
  transition: width 0.25s;
}
.nav-link:hover              { color: #fff; }
.nav-link:hover::after       { width: 100%; }

.nav-cta {
  background: var(--amber);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 40px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.nav-cta:hover { transform: scale(1.04); box-shadow: 0 4px 18px rgba(253, 160, 2, 0.45); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.ham-bar {
  display: block;
  width: 24px; height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 18px 28px;
  background: rgba(3, 11, 253, 0.97);
}
.mobile-menu.open  { display: flex; }
.mobile-menu a     { color: #fff; font-size: 17px; font-weight: 500; }

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