/* AI Refine — standard mobile burger menu */

.nav-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: none;
  background: transparent;
  color: #F6F6F0;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-menu-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #03051A;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px 24px 32px;
  overflow-y: auto;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-head .logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #F6F6F0;
}

.mobile-nav-head .logo .ai,
.mobile-nav-head .logo .dot {
  color: #AFFF25;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #F6F6F0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.mobile-nav-close svg {
  width: 24px;
  height: 24px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mobile-nav-links a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #F6F6F0;
  transition: color 0.2s;
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: #AFFF25;
}

.mobile-nav-foot {
  margin-top: auto;
  padding-top: 24px;
}

.mobile-nav-foot .btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  justify-content: center;
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .nav-links {
    display: none !important;
  }

  .nav-menu-btn {
    display: inline-flex;
  }

  nav.top > .btn.lime,
  nav.top > a.btn.lime {
    display: none !important;
  }
}

@media (min-width: 981px) {
  .mobile-nav {
    display: none !important;
  }
}
