:root {
  --suh-bg: rgba(4, 7, 12, 0.78);
  --suh-panel: rgba(8, 12, 19, 0.97);
  --suh-line: rgba(191, 207, 228, 0.18);
  --suh-line-strong: rgba(222, 232, 245, 0.42);
  --suh-text: #f3f6fa;
  --suh-muted: #8893a4;
  --suh-height: 74px;
}

body.suh-active .smi-nav,
body.suh-active .platform-header {
  visibility: hidden !important;
  pointer-events: none !important;
}

.suh-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10050;
  height: var(--suh-height);
  color: var(--suh-text);
  font-family: Geist, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--suh-bg);
  border-bottom: 1px solid rgba(170, 188, 211, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.12);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.suh-header.suh-on-landing:not(.is-scrolled):not(.mobile-open) {
  background-color: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.suh-inner {
  width: min(100% - 64px, 1920px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.suh-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--suh-text);
  text-decoration: none;
}

.suh-brand img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: grayscale(1) brightness(2.5);
}

.suh-brand span {
  font-size: 14px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: 0.15em;
}

.suh-nav {
  position: relative;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  min-height: 46px;
  border: 1px solid var(--suh-line-strong);
  border-radius: 999px;
  background: rgba(4, 7, 12, 0.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), 0 14px 35px rgba(0,0,0,.18);
}

.suh-nav-trigger {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #939cab;
  min-width: 80px;
  height: 36px;
  padding: 0 17px;
  font: inherit;
  font-size: 13px;
  font-weight: 560;
  cursor: default;
  transition: color 160ms ease, background-color 160ms ease;
}

.suh-nav-trigger:is(:hover, :focus-visible, [aria-expanded="true"]),
.suh-nav-trigger.is-current {
  color: #f5f7fa;
  background: rgba(181, 198, 220, 0.11);
  outline: none;
}

.suh-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: var(--suh-menu-left, 50%);
  width: min(292px, calc(100vw - 48px));
  padding: 7px;
  transform: translate(-50%, -5px) scale(.99);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 1px solid rgba(203, 217, 236, 0.22);
  border-radius: 16px;
  background: rgba(7, 11, 17, .965);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .46), inset 0 1px 0 rgba(255,255,255,.025);
  -webkit-backdrop-filter: blur(20px) saturate(115%);
  backdrop-filter: blur(20px) saturate(115%);
  transition: opacity 150ms ease, transform 190ms cubic-bezier(.2,.8,.2,1), visibility 150ms;
}

.suh-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.suh-menu-list { display: grid; }

.suh-menu-link {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 0 11px;
  border-radius: 10px;
  color: var(--suh-text);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.suh-menu-link:hover,
.suh-menu-link:focus-visible {
  background: rgba(184, 202, 226, .085);
  outline: none;
}

.suh-menu-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #667181;
  transition: background-color 140ms ease, transform 140ms ease;
}

.suh-menu-link strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 570;
  letter-spacing: -.005em;
}

.suh-menu-link:hover .suh-menu-dot,
.suh-menu-link:focus-visible .suh-menu-dot {
  background: #eef3f8;
  transform: scale(1.25);
}

.suh-actions {
  position: relative;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.suh-language,
.suh-account,
.suh-mobile-toggle {
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--suh-line);
  color: #c8ced8;
  background: rgba(10, 14, 21, .68);
  font: inherit;
  font-size: 12px;
  font-weight: 580;
}

.suh-language { width: 48px; cursor: pointer; }
.suh-account { display: inline-flex; align-items: center; justify-content: center; min-width: 108px; padding: 0 20px; text-decoration: none; border-color: rgba(224, 232, 243, .48); }
.suh-account:hover, .suh-language:hover { color: #fff; border-color: rgba(244,247,251,.75); }
.suh-mobile-toggle { display: none; width: 42px; padding: 0; }

.suh-language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 190px;
  padding: 8px;
  border: 1px solid rgba(203, 217, 236, .2);
  border-radius: 17px;
  background: rgba(7, 11, 17, .985);
  box-shadow: 0 24px 58px rgba(0,0,0,.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 140ms ease, transform 170ms ease, visibility 140ms;
}

.suh-language-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.suh-language-menu button {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #aeb7c4;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.suh-language-menu button:hover,
.suh-language-menu button[aria-current="true"] { color: #fff; background: rgba(184, 202, 226, .085); }
.suh-language-menu button span:last-child { color: #5f6a78; font-size: 10px; letter-spacing: .08em; }

.suh-mobile-toggle span,
.suh-mobile-toggle::before,
.suh-mobile-toggle::after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.suh-header.mobile-open .suh-mobile-toggle span { opacity: 0; }
.suh-header.mobile-open .suh-mobile-toggle::before { transform: translateY(5px) rotate(45deg); }
.suh-header.mobile-open .suh-mobile-toggle::after { transform: translateY(-5px) rotate(-45deg); }

.suh-mobile-panel { display: none; }

@media (max-width: 980px) {
  :root { --suh-height: 68px; }
  .suh-inner { width: calc(100% - 28px); grid-template-columns: 1fr auto; gap: 14px; }
  .suh-brand img { width: 29px; height: 29px; }
  .suh-brand span { font-size: 12px; }
  .suh-nav { display: none; }
  .suh-language { display: none; }
  .suh-account { min-width: 0; height: 38px; padding: 0 15px; font-size: 11px; }
  .suh-mobile-toggle { display: block; }
  .suh-actions { gap: 7px; }
  .suh-mobile-panel {
    position: fixed;
    inset: var(--suh-height) 0 auto;
    display: block;
    max-height: calc(100dvh - var(--suh-height));
    overflow: auto;
    padding: 12px 14px calc(26px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(184, 201, 224, .1);
    background: rgba(3, 6, 10, .985);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, transform 190ms cubic-bezier(.2,.8,.2,1), visibility 160ms;
  }
  .suh-header.mobile-open .suh-mobile-panel { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .suh-mobile-group { border-bottom: 1px solid rgba(184, 201, 224, .12); }
  .suh-mobile-group > button {
    width: 100%; height: 56px; padding: 0 4px;
    display: flex; align-items: center; justify-content: space-between;
    border: 0; background: none; color: #eef2f7;
    font: inherit; font-size: 15px; font-weight: 560;
  }
  .suh-mobile-group > button::after { content: "+"; color: #7e8998; font-size: 19px; font-weight: 300; }
  .suh-mobile-group.is-open > button::after { content: "−"; }
  .suh-mobile-links { display: none; padding: 0 0 12px; }
  .suh-mobile-group.is-open .suh-mobile-links { display: grid; }
  .suh-mobile-links a {
    display: grid; grid-template-columns: 8px 1fr; align-items: center; gap: 10px;
    padding: 10px 4px; color: #b6bfcc; text-decoration: none; font-size: 13px;
  }
  .suh-mobile-links a span:first-child { width: 4px; height: 4px; border-radius: 50%; background: #626d7c; }
  .suh-mobile-footer { display: flex; gap: 10px; padding-top: 18px; }
  .suh-mobile-footer .suh-language { display: block; }
  .suh-language-menu { position: fixed; right: 14px; top: calc(var(--suh-height) + 8px); }
}

@media (max-width: 360px) {
  .suh-brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .suh-header, .suh-menu, .suh-mobile-panel { transition: none !important; }
}
