.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7,7,13,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(249,115,22,0.15);
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 107, 74, 0.35));
}

.logo-wordmark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.logo-wordmark .lw-1 { color: var(--text); }
.logo-wordmark .lw-2 { color: var(--orange); }

.logo-wordmark .lw-underline {
  position: absolute;
  left: 56%;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 2px;
  animation: underlineDraw 0.8s 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--text);
}

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

.nav-cta {
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--orange-border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text);
  background: transparent;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--orange);
  color: #0a0a0a;
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(249,115,22,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 110;
}

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,7,13,0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 105;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-overlay a {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.mobile-overlay.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-overlay.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-overlay.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-overlay.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-overlay.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-overlay.open a:nth-child(5) { transition-delay: 0.3s; }
.mobile-overlay.open a:nth-child(6) { transition-delay: 0.35s; }

.mobile-overlay a:hover { color: var(--orange); }

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