/* === NAV === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-fast);
}
.nav-scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { white-space: nowrap; }

/* === AI AUDIT — NAV LINK + CTA === */
.nav-link-audit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent) !important;
  font-weight: 600 !important;
}
.nav-link-audit-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: var(--accent);
  border: 1px solid rgba(34, 197, 94, 0.35);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-link-audit-badge-free {
  background: linear-gradient(135deg, #16a34a, #4ade80);
  color: #052e16;
  border-color: transparent;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: navAuditPulse 2.4s ease-in-out infinite;
}
.nav-link-audit::after { background: var(--accent) !important; }

.nav-cta-audit { white-space: nowrap; margin-right: 6px; }

/* Reusable green pulsing audit button */
.btn-audit {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 60%, #4ade80 100%);
  color: #052e16 !important;
  border: 1px solid rgba(74, 222, 128, 0.6);
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55), 0 8px 22px rgba(34, 197, 94, 0.28);
  animation: navAuditPulse 2.4s ease-in-out infinite;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.btn-audit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.16), 0 12px 30px rgba(34, 197, 94, 0.45);
}
@keyframes navAuditPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55), 0 8px 22px rgba(34, 197, 94, 0.28); }
  50%      { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.0),  0 8px 22px rgba(34, 197, 94, 0.4); }
}

.mobile-nav-link-audit {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === MOBILE NAV OVERLAY === */
.mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}
.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.mobile-nav-link:hover { color: var(--text-primary); }
.mobile-nav-cta { margin-top: 12px; }
