/* ================================================================
   PayStubCheck — nav.css
   Main navigation — sticky, dark-over-hero / light-over-content
   ================================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(246, 250, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: background 0.35s, border-color 0.35s;
}

/* Dark state — used when over the hero video section */
nav.nav-dark {
  background: rgba(15, 26, 8, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nav-logo-mark img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-logo-mark:hover {
  background: var(--green-dark);
}

.nav-logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.3px;
  transition: color 0.35s;
}

nav.nav-dark .nav-logo-text {
  color: #ffffff;
}

.nav-logo-text .nav-logo-dot {
  color: var(--orange);
}

/* ── LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--green-dark);
}

nav.nav-dark .nav-links a {
  color: rgba(255, 255, 255, 0.65);
}

nav.nav-dark .nav-links a:hover {
  color: #ffffff;
}

/* ── CTA BUTTON ── */
.nav-cta {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 4%;
  }
  .nav-cta {
    padding: 9px 16px;
    font-size: 13px;
  }
}
