/* Navbar */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: transparent;
  transition: background 0.25s, box-shadow 0.25s;
}
.nav.scrolled {
  background: rgba(13, 11, 30, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-nav);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 1.35rem;
  color: #fff;
}
.nav.nav-light .logo { color: var(--brand-dark); }
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-extrabold);
  font-size: 1.1rem;
}
.nav.nav-light .logo-mark { color: #fff; }
.logo-text span:last-child { color: var(--brand-primary); }
.nav.nav-light .logo-text span:last-child { color: var(--brand-primary); }

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.nav.nav-light .nav-links a { color: rgba(13,11,30,0.8); }
.nav-links a:hover { color: #fff; }
.nav.nav-light .nav-links a:hover { color: var(--brand-primary); }

/* Nav CTAs */
.nav-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-ctas .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
.nav-ctas .btn-ghost { border-color: rgba(255,255,255,0.4); }
.nav.nav-light .nav-ctas .btn-ghost { border-color: rgba(13,11,30,0.2); color: var(--brand-dark); }
.nav.nav-light .nav-ctas .btn-ghost:hover { background: rgba(13,11,30,0.06); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
}
@media (min-width: 900px) {
  .hamburger { display: none; }
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav.nav-light .hamburger span { background: var(--brand-dark); }
.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 menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--brand-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--fw-medium);
  color: #fff;
}
.mobile-menu .btn {
  margin-top: 1rem;
}

/* Footer */
.footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 1.25rem 2rem;
}
@media (min-width: 768px) {
  .footer { padding: 4rem 2rem 2rem; }
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.footer-brand .logo { color: #fff; margin-bottom: 0.5rem; }
.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
  max-width: 240px;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-badges span {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); }
.footer-bottom-links a:hover { color: #fff; }
