/* ══ SHARED HEADER / NAV / FOOTER — outmizer.com ══ */

/* Skip link */
.skip-link { position: absolute; top: -40px; left: 16px; background: #0F0E47; color: #fff; padding: 8px 16px; border-radius: 0 0 8px 8px; font-size: 14px; font-weight: 500; text-decoration: none; z-index: 9999; transition: top 150ms; }
.skip-link:focus { top: 0; }

/* Header */
header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E4E4EF;
  padding: 0 48px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}

/* Logo / brand */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; flex-shrink: 0; }

/* Nav links */
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: #888899; text-decoration: none; transition: color 150ms; white-space: nowrap; }
.nav-links a:hover { color: #0F0E47; }
.nav-links a.active { color: #0F0E47; font-weight: 600; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: #0F0E47; color: #fff !important;
  font-size: 13.5px; font-weight: 600; padding: 9px 20px;
  border-radius: 8px; text-decoration: none; transition: background 150ms;
  white-space: nowrap;
}
.nav-cta:hover { background: #1a1960 !important; color: #fff !important; }

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: 6px; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #0F0E47; border-radius: 2px;
  transition: transform 200ms, opacity 200ms;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E4E4EF;
  padding: 16px 20px 24px;
  z-index: 99;
  flex-direction: column; gap: 0;
  box-shadow: 0 8px 24px rgba(15,14,71,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 13px 0;
  font-size: 15px; color: #0F0E47; text-decoration: none; font-weight: 500;
  border-bottom: 1px solid #E4E4EF;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-cta {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #0F0E47; color: #fff !important;
  font-size: 15px; font-weight: 600; padding: 14px 24px;
  border-radius: 10px; text-decoration: none;
}

/* ── Responsive ─────────────────────────────── */
/* Narrow desktop windows: tighter menu so every link fits next to the logo (pages set their own gap, hence !important). */
@media (min-width: 901px) and (max-width: 1100px) {
  header { padding-left: 28px !important; padding-right: 28px !important; }
  .nav-links { gap: 18px !important; }
}
@media (max-width: 900px) {
  header { padding: 0 20px; }
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }
}
