/* Public marketing nav + register CTA — for public pages (discover, templates).
   Deliberately NOT the authenticated app sidebar (nav-shell): these pages are
   public and must never render account/dashboard chrome. */
.pub-nav {
  max-width: 1080px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; gap: 12px; flex-wrap: wrap;
}
.pub-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.pub-logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff;
}
.pub-logo-text {
  font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(90deg, #c084fc, #22d3ee);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.pub-nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pub-nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--muted); text-decoration: none; }
.pub-nav-links a:hover { color: var(--text); }
.pub-nav-cta {
  color: #fff !important; padding: 8px 16px; border-radius: 10px;
  background: linear-gradient(135deg, #6d28d9, #4338ca); font-weight: 700;
}
@media (max-width: 560px) { .pub-nav-links a.hide-sm { display: none; } }

/* "Register to explore" invite strip */
.pub-cta {
  max-width: 1080px; margin: 0 auto 24px; width: calc(100% - 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 22px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(109,40,217,0.18), rgba(14,116,144,0.12));
  border: 1px solid rgba(192,132,252,0.28);
}
.pub-cta-text { color: var(--text); font-size: 0.95rem; }
.pub-cta-text strong { color: #fff; }
.pub-cta-btn {
  color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap;
  padding: 11px 22px; border-radius: 12px; background: linear-gradient(135deg, #6d28d9, #4338ca);
  box-shadow: 0 0 30px rgba(109,40,217,0.35);
}
