/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  padding: 0 40px;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
nav.nav-visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lb {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-b);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  transition: transform 0.2s;
}
.lb:hover { transform: scale(1.12) }

.lb-g { background: var(--g) }
.lb-a { background: var(--a) }
.lb-b { background: var(--b) }
.lb-r {
  background: var(--r);
  width: 56px;
  padding: 0;
  font-size: 9px;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--ff-d);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  margin-right: 40px;
}

.nav-link i {
  display: none; /* Hide icons on desktop */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--a);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-logo {
  display: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.mobile-cta {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 201;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.menu-toggle.is-active .hamburger {
  background: transparent;
}

.menu-toggle.is-active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.is-active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.nav-cta {
  font-family: var(--ff-d);
  font-size: 8.4px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border: none;
  background: var(--a);
  color: var(--bg);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-transform: uppercase;
}
.nav-cta:hover {
  background: #f0a000;
  color: #fff;
  font-weight: 800;
  transform: scale(1.15);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.15),
    0 0 24px rgba(245, 168, 0, 0.6);
  transition: all 0.3s ease;
}

@media (max-width: 960px) {
  nav { padding: 0 20px; }
  
  .desktop-cta { display: none; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 40px 60px 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 199;
    overflow-y: auto;
  }
  
  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-logo {
    display: flex;
    align-self: center;
    margin-top: 20px;
    margin-bottom: 40px;
    transform: scale(1.5);
  }
  
  .nav-links-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 40px;
  }
  
  .nav-link {
    font-size: 22px;
    font-weight: 500;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    color: #fff;
    margin-right: 0;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link i {
    display: inline-flex;
    margin-right: 16px;
    color: #fff;
    width: 28px;
    justify-content: center;
  }

  .nav-link::after {
    display: none;
  }
  
  .mobile-cta {
    display: inline-flex !important;
    font-size: 15px;
    padding: 14px 28px;
    align-self: center;
  }
}
