:root {
  --nvr-header-text: #f5fbff;
  --nvr-header-cyan: #20f0ff;
  --nvr-header-blue: #2388ff;
  --nvr-header-wide-content: 1360px;
  --nvr-header-wide-gutter: 48px;
}

#nvrSiteHeader {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 7, 17, 0.88);
  border-bottom: 1px solid rgba(32, 240, 255, 0.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#nvrSiteHeader .nvr-navbar {
  width: min(var(--nvr-header-wide-content), calc(100% - var(--nvr-header-wide-gutter)));
  min-height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#nvrSiteHeader .nvr-brand {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  flex: 0 1 470px;
  max-width: 470px;
  min-width: 300px;
  overflow: visible;
  text-decoration: none;
}

#nvrSiteHeader .nvr-brand-logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(32, 240, 255, 0.20));
}

#nvrSiteHeader .nvr-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: linear-gradient(
    110deg,
    transparent 34%,
    rgba(56, 190, 255, 0.06) 41%,
    rgba(89, 220, 255, 0.32) 46%,
    rgba(230, 255, 255, 0.88) 50%,
    rgba(89, 220, 255, 0.32) 54%,
    rgba(56, 190, 255, 0.06) 59%,
    transparent 66%
  );
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-position: 150% 0;
  -webkit-mask: url("/HeaderLogo2.png") center / contain no-repeat;
  mask: url("/HeaderLogo2.png") center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: nvrSharedLogoSheen 24s ease-in-out infinite;
}

@keyframes nvrSharedLogoSheen {
  0% { background-position: 150% 0; }
  10% { background-position: -150% 0; }
  100% { background-position: -150% 0; }
}

#nvrSiteHeader .nvr-nav-actions,
#nvrSiteHeader .nvr-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#nvrSiteHeader .nvr-nav-actions {
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}

#nvrSiteHeader .nvr-desktop-nav {
  gap: 8px;
  min-width: 0;
}

#nvrSiteHeader .nvr-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(32, 240, 255, 0.78);
  background: linear-gradient(135deg, rgba(32, 240, 255, 0.10), rgba(35, 136, 255, 0.24));
  box-shadow: 0 0 20px rgba(32, 240, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  color: var(--nvr-header-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

#nvrSiteHeader .nvr-nav-pill:hover,
#nvrSiteHeader .nvr-nav-pill:focus-visible,
#nvrSiteHeader .nvr-nav-pill[aria-current="page"] {
  transform: translateY(-2px);
  border-color: var(--nvr-header-cyan);
  background: linear-gradient(135deg, rgba(32, 240, 255, 0.18), rgba(35, 136, 255, 0.34));
  box-shadow: 0 0 34px rgba(32, 240, 255, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.075);
  color: var(--nvr-header-text);
}

#nvrSiteHeader .nvr-buy-pill {
  color: #00111f;
  border: none;
  padding-left: 18px;
  padding-right: 18px;
  background: linear-gradient(135deg, var(--nvr-header-cyan), #57a6ff);
  box-shadow: 0 0 28px rgba(32, 240, 255, 0.24);
}

#nvrSiteHeader .nvr-buy-pill:hover,
#nvrSiteHeader .nvr-buy-pill:focus-visible {
  color: #00111f;
  background: linear-gradient(135deg, #4af5ff, #73b7ff);
}

#nvrSiteHeader .nvr-hamburger {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid rgba(32, 240, 255, 0.88);
  background: linear-gradient(135deg, rgba(32, 240, 255, 0.10), rgba(35, 136, 255, 0.24));
  box-shadow: 0 0 20px rgba(32, 240, 255, 0.16);
  cursor: pointer;
  padding: 0;
}

#nvrSiteHeader .nvr-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #f5fbff;
  box-shadow: 0 0 10px rgba(32, 240, 255, 0.35);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

#nvrSiteHeader .nvr-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nvrSiteHeader .nvr-hamburger.is-open span:nth-child(2) { opacity: 0; }
#nvrSiteHeader .nvr-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#nvrSiteHeader .nvr-mobile-nav {
  display: none;
  width: min(var(--nvr-header-wide-content), calc(100% - var(--nvr-header-wide-gutter)));
  margin: 0 auto 14px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(32, 240, 255, 0.22);
  background: radial-gradient(circle at 20% 0%, rgba(32, 240, 255, 0.12), transparent 38%), linear-gradient(135deg, rgba(5, 13, 27, 0.98), rgba(8, 28, 52, 0.96));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), 0 0 30px rgba(32, 240, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#nvrSiteHeader .nvr-mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

#nvrSiteHeader .nvr-mobile-nav .nvr-nav-pill {
  width: 100%;
  min-height: 48px;
  font-size: 0.92rem;
}

@media (max-width: 1340px) {
  #nvrSiteHeader .nvr-brand {
    flex-basis: 390px;
    max-width: 390px;
    min-width: 260px;
  }

  #nvrSiteHeader .nvr-nav-pill {
    padding-left: 11px;
    padding-right: 11px;
    font-size: 0.78rem;
  }

  #nvrSiteHeader .nvr-buy-pill {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@media (max-width: 1120px) {
  #nvrSiteHeader .nvr-navbar {
    min-height: 82px;
  }

  #nvrSiteHeader .nvr-brand {
    max-width: 350px;
    min-width: 240px;
  }

  #nvrSiteHeader .nvr-desktop-nav,
  #nvrSiteHeader .nvr-buy-pill {
    display: none;
  }

  #nvrSiteHeader .nvr-hamburger {
    display: inline-flex;
  }
}

@media (max-width: 760px) {
  #nvrSiteHeader .nvr-navbar,
  #nvrSiteHeader .nvr-mobile-nav {
    width: min(100% - 28px, 1180px);
  }

  #nvrSiteHeader .nvr-navbar {
    min-height: 76px;
  }

  #nvrSiteHeader .nvr-brand {
    min-width: 0;
    width: 72%;
    max-width: 310px;
    flex-basis: auto;
  }

  #nvrSiteHeader .nvr-mobile-nav.is-open {
    grid-template-columns: 1fr;
  }

  #nvrSiteHeader .nvr-hamburger {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }
}

@media (max-width: 470px) {
  #nvrSiteHeader .nvr-brand {
    width: 74%;
    max-width: 265px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nvrSiteHeader .nvr-brand::after {
    animation: none;
  }
}
