site-nav {
  display: block;
  height: 70px;
  min-height: 70px;
  font-family: var(--site-font-sans);
  line-height: 1.4;
}

site-nav::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  display: block;
  width: 100%;
  height: 70px;
  background: #151515;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

html.site-refresh-scrolled site-nav::before {
  height: 55px;
}

site-nav[data-rendered="true"]::before {
  content: none;
}

site-nav * {
  font-family: var(--site-font-sans);
}

.ns_navbar,
.ns_navbar * {
  box-sizing: border-box;
}

.ns_navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #151515;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  font-family: var(--site-font-sans);
}

.ns_navbar.ns_no-initial-transition,
.ns_navbar.ns_no-initial-transition *,
.ns_navbar.ns_no-initial-transition ~ .ns_overlay,
.ns_navbar.ns_no-initial-transition ~ .ns_search_panel {
  animation: none !important;
  transition: none !important;
}

.ns_navbar .ns_container {
  width: min(1280px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  transition: height 0.4s ease, padding 0.4s ease;
}

.ns_logo {
  position: relative;
  display: block;
  flex: 0 0 auto;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.ns_logo img {
  height: 40px;
  display: block;
  transition: height 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 1025px) {
  .ns_logo:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
  }

  .ns_logo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(204, 0, 0, 0.1);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
  }

  .ns_logo:hover::before {
    transform: translate(-50%, -50%) scale(1);
  }
}

.ns_nav_center {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.ns_nav_links {
  display: flex;
  gap: 0;
  min-width: 0;
  transition: all 0.3s ease;
}

.ns_nav_links a {
  height: 70px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: transparent;
  border-radius: 0;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 600;
  position: relative;
  transition: background-color 1s ease, color 1s ease, height 0.4s ease;
}

.ns_nav_links a:hover,
.ns_nav_links a.is-active {
  color: #fff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  background-color: #c00;
}

.ns_nav_links:hover a.is-active:not(:hover) {
  background-color: transparent;
}

.ns_nav_links a::after {
  display: none;
}

html[data-language="CN"] .ns_nav_links a,
html[data-language="CN"] .ns_mobile_links a {
  font-weight: 500 !important;
  letter-spacing: 0.08em;
}

html[data-language="EN"] .ns_nav_links a,
html[data-language="EN"] .ns_mobile_links a {
  text-transform: none;
}

.ns_hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 18px;
  cursor: pointer;
  z-index: 10000;
  position: relative;
}

.ns_hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.ns_right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  position: relative;
  z-index: 10002;
  margin-left: 18px;
}

.ns_tool_btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.ns_tool_btn svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ns_tool_btn:hover,
.ns_tool_btn.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.ns_tool_btn:active {
  transform: scale(0.96);
}

.ns_language_capsule {
  width: 78px;
  height: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: #000;
}

.ns_language_segment {
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  font-family: var(--site-font-sans);
  text-decoration: none;
  transition: background-color 0.24s ease, color 0.24s ease;
}

.ns_language_segment:hover,
.ns_language_segment:focus,
.ns_language_segment:visited {
  color: #fff;
  text-decoration: none;
}

.ns_language_segment:first-child {
  border-radius: 999px 0 0 999px;
  padding-left: 4px;
}

.ns_language_segment:last-child {
  border-radius: 0 999px 999px 0;
  padding-right: 4px;
}

.ns_language_segment + .ns_language_segment {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.ns_language_segment.is-selected {
  background: rgba(204, 0, 0, 0.82);
  color: #fff;
}

.ns_language_segment:not(.is-selected):hover {
  background: #101010;
}

.ns_search_panel {
  position: fixed;
  top: 70px;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  height: 520px;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  z-index: 9997;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-104%);
  transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.46s ease;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.35);
}

.ns_search_panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: transform 0.34s ease, opacity 0.24s ease;
}

.ns_search_panel_inner {
  max-width: 920px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.ns_search_panel_title {
  margin: 0 0 28px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.ns_search_panel_form {
  position: relative;
  width: min(740px, 100%);
  margin: 0 auto;
}

.ns_search_panel_input {
  width: 100%;
  height: 60px;
  padding: 0 58px 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: #111;
  color: #d8d8d8;
  outline: none;
  font-size: 17px;
  font-family: var(--site-font-sans);
  transition: border-color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease;
}

.ns_search_panel_input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}

.ns_search_panel_input::-webkit-search-cancel-button {
  width: 12px;
  height: 12px;
  margin-right: 6px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 46%, #d8d8d8 46%, #d8d8d8 54%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, #d8d8d8 46%, #d8d8d8 54%, transparent 54%);
}

.ns_search_panel_submit {
  position: absolute;
  top: 11px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d8d8d8;
  cursor: pointer;
  transform: none;
}

.ns_search_panel_submit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ns_search_panel_submit:hover {
  background: rgba(255, 255, 255, 0.08);
}

.ns_search_panel_input:focus {
  background: #151515;
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.ns_search_message {
  margin: 10px 0 0;
  color: #e00000;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
}

.ns_search_panel_message {
  padding-left: 26px;
}

.ns_search_panel_close {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  width: 48px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.ns_search_panel_close::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.9);
  transition: border-bottom-color 0.24s ease, transform 0.24s ease;
}

.ns_search_panel_close:hover::before {
  border-bottom-color: #c00;
  transform: translateY(-1px);
}

.ns_mobile_tools {
  display: none;
}

@media (min-width: 1025px) {
  .ns_mobile_menu {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  site-nav {
    height: 50px;
    min-height: 50px;
  }

  site-nav::before {
    height: 50px;
  }

  html.site-refresh-scrolled site-nav::before {
    height: 44px;
  }

  .ns_navbar .ns_container {
    width: 100%;
    height: 50px;
    padding: 0 15px;
  }

  .ns_logo img {
    height: 30px;
  }

  .ns_hamburger {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 10001;
  }

  .ns_navbar .ns_nav_center {
    display: none;
  }

  .ns_mobile_menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 50px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: stretch;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9998;
  }

  .ns_mobile_tools {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 36px 16px 30px;
    background: #000;
  }

  .ns_mobile_search_form {
    width: min(560px, 100%);
    margin: 0;
  }

  .ns_mobile_search_field {
    position: relative;
    width: 100%;
  }

  .ns_mobile_search_title {
    margin: 0 0 10px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
  }

  .ns_mobile_search_input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 44px;
    padding: 0 42px 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: #111 !important;
    color: #d8d8d8 !important;
    caret-color: #fff;
    color-scheme: dark;
    outline: none;
    font-size: 15px;
    font-family: var(--site-font-sans);
    box-shadow: none;
  }

  .ns_mobile_search_input:-webkit-autofill,
  .ns_mobile_search_input:-webkit-autofill:hover,
  .ns_mobile_search_input:-webkit-autofill:focus {
    -webkit-text-fill-color: #d8d8d8 !important;
    caret-color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
    -webkit-box-shadow: 0 0 0 1000px #111 inset !important;
    box-shadow: 0 0 0 1000px #111 inset !important;
    transition: background-color 9999s ease-out 0s;
  }

  .ns_mobile_search_input::placeholder {
    color: rgba(255, 255, 255, 0.54);
  }

  .ns_mobile_search_input::-webkit-search-cancel-button {
    width: 11px;
    height: 11px;
    margin-right: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background:
      linear-gradient(45deg, transparent 46%, #d8d8d8 46%, #d8d8d8 54%, transparent 54%),
      linear-gradient(-45deg, transparent 46%, #d8d8d8 46%, #d8d8d8 54%, transparent 54%);
  }

  .ns_mobile_search_submit {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #d8d8d8;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .ns_mobile_search_submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .ns_mobile_search_submit:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .ns_mobile_search_input:focus {
    background: #111 !important;
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
  }

  .ns_mobile_search_message {
    padding-left: 18px;
  }

  .ns_mobile_links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }

  .ns_mobile_links a {
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    transition: height 0.4s ease, background-color 0.3s ease, background-position 0.3s ease, background-size 0.3s ease, color 0.3s ease;
    cursor: pointer;
    position: relative;
  }

  .ns_mobile_links a:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent 0, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 80%, transparent 100%);
  }

  .ns_mobile_links a:hover,
  .ns_mobile_links a.is-active {
    background-color: transparent !important;
    background-image: linear-gradient(to right, transparent 0, rgba(204, 0, 0, 0.38) 20%, rgba(204, 0, 0, 0.82) 50%, rgba(204, 0, 0, 0.38) 80%, transparent 100%) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 80% 100% !important;
    color: #fff !important;
  }

  .ns_mobile_menu.ns_active {
    display: flex;
  }

  .ns_right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    gap: 6px;
    margin-left: 0;
  }

  .ns_right .ns_search_toggle {
    display: none;
  }

  .ns_tool_btn {
    width: 32px;
    height: 32px;
  }

  .ns_tool_btn svg {
    width: 19px;
    height: 19px;
  }

  .ns_language_capsule {
    width: 72px;
    height: 30px;
  }

  .ns_language_segment {
    font-size: 12px;
  }

  .ns_search_panel {
    display: none;
  }
}

@media (max-width: 480px) {
  .ns_right {
    right: 12px;
    gap: 4px;
  }

  .ns_tool_btn {
    width: 29px;
    height: 29px;
  }

  .ns_tool_btn svg {
    width: 17px;
    height: 17px;
  }

  .ns_language_capsule {
    width: 68px;
    height: 28px;
  }

  .ns_language_segment {
    font-size: 10px;
  }
}

@media (max-width: 320px) {
  .ns_navbar .ns_container {
    padding: 0 10px;
  }

  .ns_hamburger {
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
  }

  .ns_right {
    right: 10px;
    gap: 3px;
  }

  .ns_mobile_links a {
    height: 45px;
    font-size: 14px;
  }
}

.ns_hamburger.ns_active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.ns_hamburger.ns_active span:nth-child(2) {
  opacity: 0;
}

.ns_hamburger.ns_active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

@keyframes ns_fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ns_navbar.ns_scrolled {
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.ns_navbar.ns_scrolled .ns_container {
  height: 55px;
  padding: 0;
}

.ns_navbar.ns_scrolled .ns_logo img {
  height: 32px;
}

.ns_navbar.ns_scrolled .ns_nav_links a {
  height: 55px;
}

.ns_navbar.ns_scrolled ~ .ns_search_panel {
  top: 55px;
}

@media (max-width: 1024px) {
  .ns_navbar.ns_scrolled .ns_container {
    height: 44px;
    padding: 0 15px;
  }

  .ns_navbar.ns_scrolled .ns_logo img {
    height: 28px;
  }

  .ns_navbar.ns_scrolled .ns_mobile_links a {
    height: 44px;
  }

  .ns_navbar.ns_scrolled .ns_hamburger {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .ns_navbar.ns_scrolled ~ .ns_search_panel {
    top: 44px;
  }

}

@media (max-width: 320px) {
  .ns_navbar.ns_scrolled .ns_container {
    padding: 0 10px;
  }

  .ns_navbar.ns_scrolled .ns_mobile_links a {
    height: 40px;
  }

  .ns_navbar.ns_scrolled .ns_hamburger {
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

.ns_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9000;
}

.ns_overlay.ns_active {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 641px) and (max-width: 1024px) {
  :is(
    .home-shell,
    .pl-shell,
    .ti-container,
    .about-shell,
    .contact-shell,
    .support-container,
    .search-shell,
    .trial-shell,
    .status-shell,
    .nd-container,
    .site-breadcrumb-band__inner,
    .about-hero__inner,
    .contact-hero__inner,
    .products-hero__inner,
    .pl-hero__inner,
    .support-hero__inner,
    .ti-hero__inner,
    .nd-hero__inner,
    .search-hero__inner,
    .status-hero__inner,
    .trial-hero__inner
  ) {
    box-sizing: border-box;
    width: calc(100% - 30px) !important;
    max-width: none !important;
    margin-right: auto;
    margin-left: auto;
  }

  :is(
    .product-reference,
    .product-story,
    .product-specs-detail,
    .product-docs-detail,
    .product-video-detail,
    .product-related
  ) {
    padding-right: 15px;
    padding-left: 15px;
  }

  :is(
    .product-reference__inner,
    .product-story__inner,
    .product-specs-detail__inner,
    .product-docs-detail__inner,
    .product-video-detail__inner,
    .product-related__inner
  ) {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
  }

  .feature-grid,
  .product-related__track {
    --related-gap: 28px;
    gap: 28px;
  }
}
