/* ─────────────────────────────────────────────────────────────
   nav.css — kanoniczny CSS navbara, wspólny dla wszystkich stron
   Ładowany jako OSTATNI w <head> → nadpisuje wszelkie rozbieżności
   w per-stronowych inline <style>
   ───────────────────────────────────────────────────────────── */

nav.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img.brand-icon { height: 28px; width: auto; display: block; }
.brand img.wordmark-img { height: 22px; width: auto; display: block; }

.nav-links {
  display: flex; gap: 32px; font-size: 14px;
  color: var(--muted-foreground); font-weight: 500;
}
.nav-links a { transition: color .15s; color: inherit; text-decoration: none; }
.nav-links a:hover { color: var(--foreground); }
.nav-links a.active { color: var(--primary); }

@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .nav-cta { display: none !important; }
  nav.top .nav-burger { display: inline-flex; }
}

.nav-burger {
  display: none;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: transparent; border: none; border-radius: 10px;
  color: var(--foreground); cursor: pointer; padding: 0;
  transition: background 120ms ease;
  position: relative; z-index: 80;
}
.nav-burger:hover { background: var(--secondary); }
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger .icon-close { display: none; }
nav.top.open .nav-burger .icon-open { display: none; }
nav.top.open .nav-burger .icon-close { display: block; }
nav.top.open { z-index: 70; }

.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer; transition: all .15s;
  font-family: inherit; white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: var(--primary-foreground);
  box-shadow: 0 1px 2px rgba(79,70,229,0.15), 0 4px 12px -2px rgba(79,70,229,0.28);
}
.btn-primary:hover { background: #4338CA; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--foreground);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--secondary); }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
