:root {
  --aitech-button-fill: #000;
  --aitech-button-fill-width: 260px;
  --aitech-button-radius: 14px;
  --aitech-button-accent: #10ace8;
  --aitech-button-shadow-dark: 0 18px 34px rgba(0, 0, 0, 0.28);
  --aitech-button-shadow-light: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.aitech-button {
  --aitech-button-border: rgba(255, 255, 255, 0.72);
  --aitech-button-background: transparent;
  --aitech-button-text: #fff;
  --aitech-button-hover-text: #fff;
  --aitech-button-shadow: var(--aitech-button-shadow-dark);
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 56px;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid var(--aitech-button-border);
  border-radius: var(--aitech-button-radius);
  background: var(--aitech-button-background);
  color: var(--aitech-button-text);
  font: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 0 0 0 var(--aitech-button-fill, #000);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease,
    background-color 0.3s ease;
}

.aitech-button:hover,
.aitech-button:focus,
.aitech-button:focus-visible {
  border-color: var(--aitech-button-accent);
  color: var(--aitech-button-hover-text);
  box-shadow:
    inset var(--aitech-button-fill-width, 260px) 0 0 0 var(--aitech-button-fill, #000),
    var(--aitech-button-shadow);
  outline: none;
  transform: translateY(-2px);
}

.aitech-button__label,
.aitech-button__icon {
  position: relative;
  z-index: 1;
}

.aitech-button__label {
  display: inline-flex;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--aitech-button-accent);
}

.aitech-button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--aitech-button-accent);
}

.aitech-button__icon svg {
  width: 12px;
  height: 18px;
}

.aitech-button:hover .aitech-button__icon,
.aitech-button:focus .aitech-button__icon,
.aitech-button:focus-visible .aitech-button__icon {
  color: currentColor;
}

.aitech-button--light {
  --aitech-button-border: rgba(2, 4, 0, 0.16);
  --aitech-button-background: #fff;
  --aitech-button-text: #0f172a;
  --aitech-button-shadow: var(--aitech-button-shadow-light);
}

.aitech-header {
  --aitech-header-radius: 10px;
  position: sticky;
  top: 0;
  z-index: 1001;
  background: #020400;
  color: #fff;
  border-top: 0;
  box-shadow: none;
}

body.af-boxed-layout .aitech-header {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.admin-bar .aitech-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .aitech-header {
    top: 46px;
  }
}

.aitech-header * {
  box-sizing: border-box;
}

.aitech-header a,
.aitech-header button {
  color: inherit;
}

.aitech-header button {
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-transform: none;
}

.aitech-header .container-wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 40px;
}

.aitech-header__main .container-wrapper {
  position: relative;
}

.aitech-header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aitech-header__icon svg {
  display: block;
}

.aitech-header__icon--caret svg {
  width: 10px;
  height: 6px;
}

.aitech-header__icon--arrow svg {
  width: 8px;
  height: 12px;
}

.aitech-header__main-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 6px 0;
}

.aitech-header__brand {
  min-width: 0;
}

.aitech-header__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.aitech-header__brand-copy {
  display: block;
  min-width: 0;
}

.aitech-header__logo {
  display: block;
  width: auto;
  max-width: min(320px, 28vw);
  height: 96px;
  max-height: none;
  object-fit: contain;
}

.aitech-header__brand-wordmark {
  display: inline-block;
  max-width: min(720px, 46vw);
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.aitech-header__brand-tagline {
  display: block;
  max-width: min(720px, 46vw);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aitech-header__nav {
  min-width: 0;
}

.aitech-header__nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aitech-header__nav-item {
  position: relative;
}

.aitech-header__nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.aitech-header__nav-item > a,
.aitech-header__nav-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  text-decoration: none;
  transition: color 0.2s ease;
  z-index: 1;
}

.aitech-header__nav-item > a::before,
.aitech-header__nav-button::before {
  display: none;
}

.aitech-header__nav-item > a::after,
.aitech-header__nav-button::after {
  display: none;
}

.aitech-header__nav-button > span:first-child {
  min-width: 0;
}

.aitech-header__nav-item > a:hover,
.aitech-header__nav-item > a:focus,
.aitech-header__nav-button:hover,
.aitech-header__nav-button:focus,
.aitech-header__nav-item.is-hovered > a,
.aitech-header__nav-item.is-hovered > .aitech-header__nav-button,
.aitech-header__nav-item.is-open > a,
.aitech-header__nav-item.is-open > .aitech-header__nav-button {
  color: #17a7df;
  outline: none;
}

.aitech-header__nav-item > a:hover::before,
.aitech-header__nav-item > a:focus::before,
.aitech-header__nav-button:hover::before,
.aitech-header__nav-button:focus::before,
.aitech-header__nav-item.is-hovered > a::before,
.aitech-header__nav-item.is-hovered > .aitech-header__nav-button::before,
.aitech-header__nav-item.is-open > a::before,
.aitech-header__nav-item.is-open > .aitech-header__nav-button::before {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: inset 0 0 0 1px rgba(23, 167, 223, 0.18), 0 16px 24px rgba(0, 0, 0, 0.18);
}

.aitech-header__nav-item > a:hover::after,
.aitech-header__nav-item > a:focus::after,
.aitech-header__nav-button:hover::after,
.aitech-header__nav-button:focus::after,
.aitech-header__nav-item.is-hovered > a::after,
.aitech-header__nav-item.is-hovered > .aitech-header__nav-button::after,
.aitech-header__nav-item.is-open > a::after,
.aitech-header__nav-item.is-open > .aitech-header__nav-button::after {
  display: none;
}

.aitech-header__dropdown-menu,
.aitech-header__mega {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.26s ease, transform 0.26s ease, visibility 0.26s ease;
  border: 1px solid rgba(23, 167, 223, 0.16);
  border-radius: var(--aitech-header-radius);
  overflow: hidden;
  isolation: isolate;
}

.aitech-header__dropdown-menu::before,
.aitech-header__mega::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(23, 167, 223, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 24%);
  pointer-events: none;
}

.aitech-header__dropdown-menu {
  min-width: 0;
  width: max-content;
  max-width: min(220px, calc(100vw - 32px));
  padding: 4px;
  background: rgba(8, 12, 16, 0.98);
  color: #eff8fc;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.32);
}

.aitech-header__dropdown-menu a {
  position: relative;
  display: block;
  padding: 7px 10px;
  border-radius: var(--aitech-header-radius);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.15;
  text-transform: none;
  white-space: normal;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.aitech-header__dropdown-menu a::after {
  display: none;
}

.aitech-header__dropdown-menu a:hover,
.aitech-header__dropdown-menu a:focus {
  color: #17a7df;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  outline: none;
}

.aitech-header__dropdown-menu a:hover::after,
.aitech-header__dropdown-menu a:focus::after {
  display: none;
}

.aitech-header__mega {
  width: min(760px, 80vw);
  background: rgba(9, 13, 18, 0.99);
  color: #fff;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
}

.aitech-header__mega-inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 280px;
}

.aitech-header__mega-parent-list {
  margin: 0;
  padding: 14px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(5, 8, 11, 0.92);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.aitech-header__mega-parent-list li {
  margin: 0;
}

.aitech-header__mega-parent,
.aitech-header__mega-parent-all a {
  position: relative;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px 10px 16px;
  border-radius: var(--aitech-header-radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.84);
  text-align: left;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.aitech-header__mega-parent::before,
.aitech-header__mega-parent-all a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: #17a7df;
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.aitech-header__mega-parent > span:first-child {
  min-width: 0;
  flex: 1 1 auto;
  line-height: inherit;
  white-space: normal;
}

.aitech-header__mega-parent .aitech-header__icon--arrow {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin-top: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  transition: background-color 0.22s ease, color 0.22s ease;
}

.aitech-header__mega-parent:hover,
.aitech-header__mega-parent:focus,
.aitech-header__mega-parent-list li.is-active > .aitech-header__mega-parent {
  background: rgba(255, 255, 255, 0.03);
  color: #17a7df;
  text-decoration: none;
  outline: none;
}

.aitech-header__mega-parent:hover::before,
.aitech-header__mega-parent:focus::before,
.aitech-header__mega-parent-list li.is-active > .aitech-header__mega-parent::before,
.aitech-header__mega-parent-all a:hover::before,
.aitech-header__mega-parent-all a:focus::before {
  opacity: 1;
  transform: scaleY(1);
}

.aitech-header__mega-parent:hover .aitech-header__icon--arrow,
.aitech-header__mega-parent:focus .aitech-header__icon--arrow,
.aitech-header__mega-parent-list li.is-active > .aitech-header__mega-parent .aitech-header__icon--arrow {
  background: rgba(23, 167, 223, 0.12);
  color: #17a7df;
}

.aitech-header__mega-parent-all {
  margin-top: auto;
}

.aitech-header__mega-parent-all a {
  background: rgba(23, 167, 223, 0.06);
  color: #c7f2ff;
  border: 1px solid rgba(23, 167, 223, 0.16);
}

.aitech-header__mega-parent-all a:hover,
.aitech-header__mega-parent-all a:focus {
  background: rgba(23, 167, 223, 0.1);
  color: #17a7df;
  text-decoration: none;
  outline: none;
}

.aitech-header__mega-panels {
  position: relative;
  padding: 14px 16px 14px 14px;
  background: rgba(11, 16, 22, 0.98);
}

.aitech-header__mega-panel {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.aitech-header__mega-panel.is-active {
  display: flex;
}

.aitech-header__mega-panel a {
  position: relative;
  margin: 0;
  padding: 10px 12px 10px 32px;
  border-radius: var(--aitech-header-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.25;
  text-transform: none;
  white-space: normal;
  transition: color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.aitech-header__mega-panel a::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #17a7df;
  transform: translateY(-50%);
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.aitech-header__mega-panel a:hover,
.aitech-header__mega-panel a:focus {
  color: #17a7df;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(23, 167, 223, 0.18);
  text-decoration: none;
  transform: translateX(2px);
  outline: none;
}

.aitech-header__mega-panel a:hover::before,
.aitech-header__mega-panel a:focus::before {
  background-color: #c7f2ff;
  transform: translateY(-50%) scale(1.08);
}

.aitech-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.aitech-header__search-inline {
  width: clamp(260px, 24vw, 360px);
}

.aitech-header__search-inline .search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.aitech-header__search-inline .search-form label {
  width: 100%;
  min-width: 0;
  float: none;
  margin: 0;
  position: relative;
}

.aitech-search-form__icon {
  display: none;
}

.aitech-header__search-inline .aitech-search-form__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 16px;
  top: 50%;
  z-index: 2;
  width: 16px;
  height: 16px;
  color: rgba(15, 23, 42, 0.46);
  transform: translateY(-50%);
  pointer-events: none;
}

.aitech-header__search-inline .aitech-search-form__icon svg {
  display: block;
  width: 16px;
  height: 16px;
}

.aitech-header__search-inline .search-field {
  width: 100%;
  min-height: 58px;
  padding: 0 18px 0 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}

.aitech-header__search-inline .search-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.aitech-header__search-inline .search-field:focus {
  border-color: rgba(16, 172, 232, 0.7);
  box-shadow: 0 0 0 3px rgba(16, 172, 232, 0.16);
  outline: none;
}

.aitech-header__search-inline .search-submit {
  --aitech-button-border: rgba(255, 255, 255, 0.72);
  --aitech-button-background: transparent;
  --aitech-button-text: #fff;
  --aitech-button-shadow: var(--aitech-button-shadow-dark);
  min-height: 58px;
  margin: 0;
  padding: 0 28px;
}

.aitech-header__search-inline .search-submit .aitech-button__label {
  font-size: 1.05rem;
}

.aitech-header__socials {
  display: inline-flex;
  align-items: center;
  color: #fff;
}

.aitech-header__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  text-decoration: none;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
}

.aitech-header__social-link:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.34);
}

.aitech-header__social-link svg {
  width: 20px;
  height: 20px;
}

.aitech-header__social-link:hover,
.aitech-header__social-link:focus {
  color: #17a7df;
  outline: none;
}

.aitech-header__mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
}

.aitech-header__mobile-line {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.js-aitech-dropdown.is-open > .aitech-header__dropdown-menu,
.js-aitech-dropdown.is-open > .aitech-header__mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

@media (max-width: 1440px) {
  .aitech-header .container-wrapper {
    padding: 0 28px;
  }

  .aitech-header__logo {
    max-width: min(280px, 26vw);
    height: 88px;
  }

  .aitech-header__nav-item > a,
  .aitech-header__nav-button {
    padding: 0 14px;
  }

  .aitech-header__nav-item > a::after,
  .aitech-header__nav-button::after {
    left: 16px;
    right: 16px;
  }
}

@media (max-width: 1200px) {
  .aitech-header__main-row {
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      "brand mobile actions"
      "nav nav nav";
    align-items: center;
    gap: 16px 20px;
    padding: 18px 0;
  }

  .aitech-header__brand {
    grid-area: brand;
  }

  .aitech-header__mobile-toggle {
    display: inline-flex;
    grid-area: mobile;
    justify-self: start;
  }

  .aitech-header__nav {
    grid-area: nav;
    display: none;
    width: 100%;
    padding-top: 10px;
  }

  .aitech-header__nav.is-open {
    display: block;
  }

  .aitech-header__nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .aitech-header__nav-item > a,
  .aitech-header__nav-button {
    width: 100%;
    min-height: 0;
    justify-content: space-between;
    padding: 14px 0;
    transform: none;
  }

  .aitech-header__nav-item > a::before,
  .aitech-header__nav-button::before,
  .aitech-header__nav-item > a::after,
  .aitech-header__nav-button::after {
    display: none;
  }

  .aitech-header__nav-item.has-dropdown::after {
    display: none;
  }

  .aitech-header__dropdown-menu,
  .aitech-header__mega {
    position: static;
    width: 100%;
    margin: 8px 0 16px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    display: none;
    border-radius: var(--aitech-header-radius);
    box-shadow: none;
  }

  .js-aitech-dropdown.is-open > .aitech-header__dropdown-menu,
  .js-aitech-dropdown.is-open > .aitech-header__mega {
    display: block;
  }

  .aitech-header__mega-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .aitech-header__mega-parent-list {
    padding: 14px 12px;
    gap: 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .aitech-header__mega-parent,
  .aitech-header__mega-parent-all a {
    min-height: 0;
  }

  .aitech-header__mega-panels {
    padding: 14px 12px;
  }

  .aitech-header__mega-panel a {
    margin: 0;
    padding: 14px 18px 14px 48px;
    transform: none;
  }

  .aitech-header__dropdown-menu a,
  .aitech-header__mega-parent,
  .aitech-header__mega-parent-all a {
    transform: none;
  }

  .aitech-header__actions {
    grid-area: actions;
    justify-self: end;
    width: min(360px, 100%);
  }
}

@media (max-width: 920px) {
  .aitech-header__actions {
    width: min(320px, 100%);
  }

  .aitech-header__socials {
    display: none;
  }

  .aitech-header__search-inline {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .aitech-header .container-wrapper {
    padding: 0 18px;
  }

  .aitech-header__brand-link {
    gap: 0;
  }

  .aitech-header__logo {
    max-width: min(180px, 48vw);
    height: 64px;
  }

  .aitech-header__main-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand mobile"
      "actions actions"
      "nav nav";
  }

  .aitech-header__actions {
    width: 100%;
    justify-content: stretch;
  }

  .aitech-header__search-inline {
    width: 100%;
  }

  .aitech-header__search-inline .search-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .aitech-header__search-inline .search-submit {
    width: 100%;
  }
}
