/* ── SITE NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav-logo::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
  margin-bottom: 2px;
}

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

.nav-link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
  position: relative;
}

.nav-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.dropdown-item {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.dropdown-item:hover {
  color: var(--accent);
  background: var(--accent-glow);
}

.btn-nav-cta {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}

.btn-nav-cta:hover {
  background: #1fc47d;
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.2s;
}

/* Offset content for fixed nav */
body {
  padding-top: 64px;
}

/* Ensure hero section is not cut off */
.hero {
  padding-top: 80px !important;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
  }

  .nav-open .nav-links {
    display: flex;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .btn-nav-cta {
    margin-left: 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    background: transparent;
  }
}
