/* Single source of truth for the Quantum Spoof header. Values match index.html original header. */
html body header.top.site-header {
  position: sticky !important; top: 14px !important; z-index: 1000 !important;
  display: block !important; width: min(1200px, 100vw) !important; max-width: none !important; min-height: 0 !important;
  margin: 14px 0 0 calc(50% - min(600px, 50vw)) !important; padding: 0 22px !important;
  border: 0 !important; background: transparent !important; box-shadow: none !important;
  font-family: 'Manrope', system-ui, sans-serif !important; font-size: 16px !important;
  font-weight: 400 !important; line-height: normal !important; letter-spacing: normal !important;
  color: #E8EEFA !important; border-radius: 0 !important; gap: 0 !important; flex-wrap: nowrap !important;
  transform: none !important;
}
html body.qs-header-inset { padding-top: 0 !important; }
html body header.top.site-header,
html body header.top.site-header * { box-sizing: border-box !important; }
html body header.top.site-header > .navbar.site-header__inner {
  position: relative !important; display: flex !important; flex-flow: row nowrap !important;
  align-items: center !important; justify-content: space-between !important; gap: 16px !important;
  width: 100% !important; max-width: none !important; min-height: 0 !important;
  margin: 0 !important; padding: 10px 12px 10px 20px !important;
  border: 1px solid rgba(28,42,71,.9) !important; border-radius: 999px !important;
  background: rgba(8,14,26,.72) !important; backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important; box-shadow: 0 8px 40px rgba(0,0,0,.4) !important;
  transform: none !important;
}
html body header.top.site-header a.logo {
  display: flex !important; flex: 0 0 auto !important; align-items: center !important; gap: 10px !important;
  margin: 0 !important; padding: 0 !important; color: #E8EEFA !important; position: static !important; z-index: auto !important;
  font-family: 'Unbounded', 'Manrope', system-ui, sans-serif !important;
  font-size: 1rem !important; font-weight: 700 !important; line-height: 1.2 !important;
  letter-spacing: -.01em !important; white-space: nowrap !important; text-decoration: none !important;
}
html body header.top.site-header .logo-mark {
  display: grid !important; flex: 0 0 32px !important; place-items: center !important;
  width: 32px !important; height: 32px !important; margin: 0 !important; padding: 0 !important;
  border: 1px solid rgba(61,155,255,.35) !important; border-radius: 9px !important;
  background: linear-gradient(135deg,#1a2b4a,#0a1426) !important;
  color: #9FD0FF !important; font-family: 'Unbounded', 'Manrope', system-ui, sans-serif !important;
  font-size: .92rem !important; font-weight: 700 !important; line-height: 1 !important;
  box-shadow: inset 0 0 12px rgba(61,155,255,.2) !important;
}
html body header.top.site-header nav.main.site-header__nav {
  position: relative !important; display: flex !important; flex: 0 1 auto !important;
  flex-flow: row nowrap !important; align-items: center !important; justify-content: center !important;
  gap: 2px !important; width: auto !important; margin: 0 auto !important; padding: 0 !important;
  overflow: visible !important; transform: none !important; background: transparent !important;
  isolation: isolate !important; color: #E8EEFA !important;
}
/* One shared animated active pill, including pages that previously lacked it. */
html body header.top.site-header nav.main.site-header__nav::before {
  content: ""; position: absolute; z-index: 0;
  left: var(--nav-x, 0px); top: var(--nav-y, 0px);
  width: var(--nav-w, 0px); height: var(--nav-h, 0px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(26,43,74,.88), rgba(10,20,38,.94));
  border: 1px solid rgba(61,155,255,.12);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  opacity: var(--nav-visible, 0);
  transition: left .28s cubic-bezier(.2,.8,.2,1), top .28s cubic-bezier(.2,.8,.2,1), width .28s cubic-bezier(.2,.8,.2,1), height .28s cubic-bezier(.2,.8,.2,1), opacity .15s ease;
  pointer-events: none;
}
html body header.top.site-header nav.main.site-header__nav a { position: relative !important; z-index: 1 !important; }
@media (min-width: 1001px) {
  html body header.top.site-header > .navbar.site-header__inner { position: relative !important; }
  html body header.top.site-header nav.main.site-header__nav {
    position: absolute !important; left: 50% !important; top: 50% !important;
    transform: translate(-50%, -50%) !important; margin: 0 !important;
  }
}
@media (min-width: 901px) and (max-width: 1000px) {
  html body header.top.site-header > .navbar.site-header__inner { gap: 10px !important; }
  html body header.top.site-header nav.main.site-header__nav { gap: 0 !important; }
  html body header.top.site-header nav.main.site-header__nav a { padding-left: 10px !important; padding-right: 10px !important; }
}
html body header.top.site-header nav.main.site-header__nav a {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 0 !important; margin: 0 !important; padding: 9px 16px !important;
  border: 0 !important; border-radius: 999px !important; background: transparent !important;
  color: #8A99B8 !important; font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: .92rem !important; font-weight: 600 !important; line-height: 1.2 !important;
  white-space: nowrap !important; text-decoration: none !important;
  transition: color .15s ease, background .15s ease, transform .15s ease !important;
}
html body header.top.site-header nav.main.site-header__nav a:hover,
html body header.top.site-header nav.main.site-header__nav a:focus-visible {
  color: #E8EEFA !important; background: rgba(61,155,255,.08) !important;
}
html body header.top.site-header nav.main.site-header__nav a.active {
  color: #E8EEFA !important; background: rgba(61,155,255,.12) !important;
}
html body header.top.site-header .nav-right {
  display: flex !important; flex: 0 0 auto !important; align-items: center !important;
  justify-content: flex-end !important; gap: 8px !important; width: auto !important;
  margin: 0 !important; padding: 0 !important; transform: none !important;
}
html body header.top.site-header .nav-right > * { flex: 0 0 auto !important; }
html body header.top.site-header .theme-toggle {
  display: grid !important; flex: 0 0 38px !important; place-items: center !important;
  width: 38px !important; height: 38px !important; margin: 0 !important; padding: 0 !important;
  border: 1px solid rgba(28,42,71,.9) !important; border-radius: 50% !important;
  background: transparent !important; color: #8A99B8 !important;
  font-family: 'Manrope', system-ui, sans-serif !important; font-size: 17px !important; font-weight: 400 !important;
  line-height: 1 !important; position: static !important; z-index: auto !important; transition: background .15s ease, color .15s ease !important;
}
html body header.top.site-header .theme-toggle:hover { background: #121D33 !important; color: #E8EEFA !important; }
html body header.top.site-header .lang {
  display: flex !important; flex: 0 0 auto !important; align-items: center !important;
  gap: 0 !important; margin: 0 !important; padding: 3px !important;
  border: 1px solid rgba(28,42,71,.9) !important; border-radius: 999px !important;
  background: rgba(10,16,30,.8) !important; color: #E8EEFA !important;
  font-size: 16px !important; font-weight: 400 !important;
}
html body header.top.site-header .lang button {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 6px 12px !important;
  border: 0 !important; border-radius: 999px !important; background: transparent !important;
  color: #8A99B8 !important; font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: .82rem !important; font-weight: 700 !important; line-height: 1.2 !important;
  transition: background .15s ease, color .15s ease !important;
  position: static !important; z-index: auto !important;
}
html body header.top.site-header .lang button.on,
html body header.top.site-header .lang button[aria-pressed="true"] {
  background: #121D33 !important; color: #E8EEFA !important;
}
html body header.top.site-header .lang button:hover { color: #E8EEFA !important; }
html body header.top.site-header .btn-login {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  min-height: 0 !important; margin: 0 !important; padding: 10px 20px !important;
  border: 0 !important; border-radius: 999px !important; background: #fff !important;
  color: #0a1020 !important; font-family: 'Manrope', system-ui, sans-serif !important;
  font-size: .9rem !important; font-weight: 700 !important; line-height: 1.2 !important; gap: 8px !important;
  position: static !important; z-index: auto !important; white-space: nowrap !important; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
html body header.top.site-header .btn-login:hover { transform: translateY(-1px) !important; box-shadow: 0 8px 24px rgba(255,255,255,.2) !important; }
html body header.top.site-header button,
html body header.top.site-header .lang button {
  font-family: 'Manrope', system-ui, sans-serif !important; cursor: pointer !important;
}
html body header.top.site-header button:focus-visible,
html body header.top.site-header a:focus-visible { outline: 2px solid #9FD0FF !important; outline-offset: 3px !important; }
@media (max-width: 900px) {
  html body header.top.site-header { padding: 0 14px !important; }
  html body header.top.site-header > .navbar.site-header__inner { gap: 8px !important; padding: 8px 10px 8px 14px !important; }
  html body header.top.site-header nav.main.site-header__nav { order: 0 !important; flex: 0 1 auto !important; width: auto !important; overflow: visible !important; }
  html body header.top.site-header .nav-right { order: 0 !important; }
  html body header.top.site-header nav.main.site-header__nav a { padding: 8px 10px !important; font-size: .84rem !important; }
  html body header.top.site-header a.logo { font-size: .92rem !important; }
}
@media (max-width: 680px) {
  html body header.top.site-header { top: 8px !important; margin-top: 8px !important; padding: 0 10px !important; }
  html body.qs-header-inset header.top.site-header { margin-top: 8px !important; }
  html body header.top.site-header > .navbar.site-header__inner { flex-wrap: wrap !important; justify-content: space-between !important; border-radius: 22px !important; padding: 8px 10px !important; }
  html body header.top.site-header nav.main.site-header__nav { order: 3 !important; flex: 1 0 100% !important; width: 100% !important; justify-content: flex-start !important; overflow-x: auto !important; padding: 2px 0 !important; }
  html body header.top.site-header nav.main.site-header__nav a { min-height: 34px !important; padding: 8px 12px !important; font-size: 12px !important; }
  html body header.top.site-header .nav-right { margin-left: auto !important; }
  html body header.top.site-header .btn-login { padding: 9px 13px !important; }
  html body header.top.site-header .theme-toggle { flex-basis: 34px !important; width: 34px !important; height: 34px !important; }
  html body header.top.site-header .lang button { padding: 6px 9px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html body header.top.site-header nav.main.site-header__nav::before { transition: none !important; }
}


/* Shared restrained microinteractions — no layout changes, just smoother feedback. */
html body :is(button, .btn, .btn-primary, .btn-secondary, .contact-btn, .trust-link, .theme-toggle, .lang button) {
  transition-property: color, background-color, border-color, box-shadow, opacity, transform;
  transition-duration: .18s;
  transition-timing-function: cubic-bezier(.2,.7,.2,1);
}
html body :is(.panel, .stat-box, .product-card, .product, .category-card, .trust-card, .qs-review-card, .faq-item, .support-card, .contact-card) {
  transition-property: border-color, box-shadow, background-color, transform;
  transition-duration: .22s;
  transition-timing-function: cubic-bezier(.2,.7,.2,1);
}
html body :is(button, a, input, select, textarea, [role="button"]):focus-visible {
  outline-color: rgba(77,202,255,.95);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html body :is(button, .btn, .btn-primary, .btn-secondary, .contact-btn, .trust-link, .theme-toggle, .lang button,
  .panel, .stat-box, .product-card, .product, .category-card, .trust-card, .qs-review-card, .faq-item, .support-card, .contact-card) {
    transition-duration: .01ms !important;
  }
}
