/* Shared public GateList header used by landing and all public web pages. */
.public-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 24, 32, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.public-header .landing-container {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}
.public-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.public-header .brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}
.public-header .brand-fallback {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.public-header .brand-logo {
  display: block;
  height: 42px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}
.public-header .public-nav {
  display: flex;
  align-items: center;
  gap: 15px;
}
.public-header .public-nav > a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.public-header .public-nav > a:hover { color: #fff; }
.public-header .public-language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.public-header .language-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 700;
  font-size: .78rem;
}
.public-header .language-flag {
  width: 18px;
  height: 18px;
  margin-right: 0;
  border-radius: 50%;
  object-fit: cover;
}
.public-header .language-pill.active,
.public-header .language-pill:hover {
  color: #0b1220;
  background: #fff;
}
.public-header .nav-login {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
}
.public-header .nav-cta {
  padding: 11px 16px;
  border-radius: 999px;
  background: #1277d5;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(18,119,213,.3);
}
.public-header .nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.public-header .nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px;
  background: #fff;
  border-radius: 2px;
}
@media (max-width: 1080px) {
  .public-header .public-header-inner { position: relative; }
  .public-header .public-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: #18222d;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  }
  .public-header .public-nav.is-open { display: flex; }
  .public-header .public-nav > a,
  .public-header .nav-login,
  .public-header .nav-cta { width: 100%; }
  .public-header .nav-toggle { display: block; }
}
@media (max-width: 700px) {
  .public-header .landing-container { width: min(100% - 24px, 1200px); }
  .public-header .brand-logo { height: 38px; max-width: 64px; }
}
