:root { --header-height: 78px; --landing-border: rgba(55, 142, 255, .34); --landing-blue: #1687ff; --landing-cyan: #14bcff; --landing-green: #13d39a; --landing-amber: #ffaf18; --landing-red: #ff4861; --landing-violet: #855cff; }
/* The previous Bootstrap header added mobile body padding for a fixed navbar.
   This shared header is sticky, so content must start directly below it. */
/* Keep the root viewport available as the sticky scrollport. */
html { overflow: visible !important; }
body { padding-top: 0 !important; }
.landing-nav { width: min(1440px, calc(100% - 48px)); margin-inline: auto; min-height: var(--header-height); display: flex; align-items: center; gap: 28px; }
.landing-header { position: -webkit-sticky !important; position: sticky !important; z-index: 1030; top: 0; width: 100%; align-self: flex-start; border-bottom: 1px solid rgba(61, 136, 234, .22); background: rgba(2, 16, 36, .88); box-shadow: 0 8px 34px rgba(0, 8, 24, .24); backdrop-filter: blur(18px); }
.landing-brand { flex: 0 0 auto; display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.landing-brand img { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(30, 124, 255, .5)); }
.landing-brand strong, .landing-brand small { display: block; white-space: nowrap; }.landing-brand strong { font-size: .95rem; line-height: 1.15; }.landing-brand small { margin-top: 4px; color: #8ea9c9; font-size: .55rem; }
.landing-menu { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 24px; }.landing-links { display: flex; align-items: center; justify-content: center; gap: clamp(9px, 1.15vw, 22px); min-width: 0; margin: 0; padding: 0; list-style: none; }
.landing-links a { position: relative; display: flex; align-items: center; gap: 6px; min-height: 44px; color: #d6e4f7; font-size: clamp(.63rem, .66vw, .74rem); font-weight: 400; text-decoration: none; white-space: nowrap; transition: color .2s ease; }.landing-links a::after { content: ''; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; border-radius: 3px; background: linear-gradient(90deg, var(--landing-cyan), var(--landing-blue)); box-shadow: 0 0 10px var(--landing-blue); transform: scaleX(0); transition: transform .24s ease; }.landing-links a:hover, .landing-links a.active { color: #fff; }.landing-links a:hover::after, .landing-links a.active::after { transform: scaleX(1); }
.nav-count { min-width: 24px; height: 24px; display: inline-grid; place-items: center; padding-inline: 6px; border: 1px solid rgba(255, 255, 255, .33); border-radius: 999px; color: #fff; font-size: .68rem; font-weight: 800; font-style: normal; line-height: 1; text-shadow: 0 1px 2px rgba(0, 0, 0, .34); animation: nav-count-glow 2.8s ease-in-out infinite; }.nav-count.blue { background: radial-gradient(circle at 34% 28%, #5ed8ff 0, #167eff 35%, #123cc7 100%); box-shadow: 0 0 8px rgba(33, 145, 255, .95), 0 0 18px rgba(20, 105, 255, .66); }.nav-count.amber { background: radial-gradient(circle at 34% 28%, #ffe584 0, #ffb318 38%, #d87500 100%); box-shadow: 0 0 8px rgba(255, 181, 31, .96), 0 0 18px rgba(255, 143, 0, .65); }.nav-count.green { background: radial-gradient(circle at 34% 28%, #88ffd8 0, #14c984 38%, #087a61 100%); box-shadow: 0 0 8px rgba(20, 222, 153, .94), 0 0 18px rgba(6, 173, 111, .63); }.nav-count.violet { background: radial-gradient(circle at 34% 28%, #c4a7ff 0, #8756f4 38%, #4f27bc 100%); box-shadow: 0 0 8px rgba(143, 92, 255, .94), 0 0 18px rgba(106, 63, 235, .65); }.nav-count.cyan { background: radial-gradient(circle at 34% 28%, #92f7ff 0, #12c6df 38%, #087da7 100%); box-shadow: 0 0 8px rgba(28, 213, 239, .95), 0 0 18px rgba(0, 170, 220, .65); }.nav-count.red { background: radial-gradient(circle at 34% 28%, #ff9aaa 0, #fb4d66 38%, #bf1e3a 100%); box-shadow: 0 0 8px rgba(255, 84, 108, .94), 0 0 18px rgba(229, 40, 74, .64); }
@keyframes nav-count-glow { 0%, 100% { filter: brightness(.96); } 50% { filter: brightness(1.2); } }
.landing-auth { display: flex; align-items: center; gap: 12px; }.landing-auth .button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 21px; border: 1px solid transparent; border-radius: 10px; font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }.landing-auth .button:hover { color: #fff; transform: translateY(-2px); }.landing-auth .button-login { min-width: 88px; min-height: 43px; padding: 9px 14px; color: #e8f3ff; border-color: rgba(107, 168, 239, .55); background: rgba(4, 24, 51, .72); font-size: .74rem; }.landing-auth .button-primary { min-width: 104px; min-height: 43px; padding: 9px 18px; color: #fff; border-color: #1d99ff; background: linear-gradient(135deg, #14a7ff, #0866f4 64%, #174ad5); box-shadow: 0 10px 26px rgba(0, 111, 255, .3), inset 0 1px rgba(255,255,255,.22); font-size: .74rem; }.landing-auth .button-login:hover { border-color: #36a9ff; background: rgba(10, 55, 105, .7); }.landing-auth .button-primary:hover { box-shadow: 0 13px 34px rgba(0, 127, 255, .43), 0 0 18px rgba(12, 145, 255, .18); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 11px; margin-left: auto; border: 1px solid var(--landing-border); border-radius: 10px; background: #071f42; }.nav-toggle span { display: block; height: 2px; margin-block: 5px; border-radius: 2px; background: #ddecff; }
@media (min-width: 1024px) and (max-width: 1260px) { .landing-nav { width: min(1180px, calc(100% - 32px)); gap: 16px; }.landing-brand strong { font-size: .92rem; }.landing-brand small { font-size: .55rem; }.landing-links { gap: 9px; }.landing-links a { font-size: .66rem; }.landing-auth { gap: 7px; }.landing-auth .button { padding-inline: 12px; font-size: .7rem; } }
@media (max-width: 1439.98px) { :root { --header-height: 70px; }.landing-nav { width: min(100% - 32px, 760px); min-height: var(--header-height); flex-wrap: wrap; }.landing-brand img { width: 44px; height: 44px; }.nav-toggle { display: block; }.landing-menu { position: absolute; top: 100%; right: 0; left: 0; display: block; max-height: 0; overflow: hidden; border-bottom: 1px solid transparent; background: rgba(2, 17, 38, .98); box-shadow: 0 20px 36px rgba(0, 6, 18, .38); transition: max-height .3s ease, border-color .3s ease; }.landing-menu.open { max-height: calc(100dvh - var(--header-height)); overflow-y: auto; border-color: var(--landing-border); }.landing-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 14px 18px; }.landing-links a { justify-content: space-between; padding-inline: 10px; font-size: .79rem; }.landing-auth { padding: 0 18px 18px; }.landing-auth .button { flex: 1; } }
@media (max-width: 575.98px) { .landing-nav { width: min(100% - 22px, 560px); }.landing-brand strong { font-size: .82rem; }.landing-brand small { font-size: .5rem; }.landing-links { grid-template-columns: 1fr; }.landing-auth { flex-direction: column; }.landing-auth .button { width: 100%; } }
@supports not (position: sticky) { body { padding-top: var(--header-height) !important; }.landing-header { position: fixed !important; inset: 0 0 auto; } }

/* Public navigation counts are plain text beside their labels. */
.landing-links .nav-count,
.landing-links .nav-count.blue,
.landing-links .nav-count.amber,
.landing-links .nav-count.green,
.landing-links .nav-count.violet,
.landing-links .nav-count.cyan,
.landing-links .nav-count.red {
  display: inline;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: none;
  box-shadow: none;
  text-shadow: none;
  filter: none;
  animation: none;
  font-size: inherit;
  font-weight: 600;
}
