.site-footer.aitech-footer {
  position: relative;
  background: #020400 !important;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.site-footer.aitech-footer,
.site-footer.aitech-footer .aitech-footer__outer {
  background-color: #020400 !important;
}

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

.aitech-footer a {
  color: inherit;
}

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

.aitech-footer__outer {
  padding: 28px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(23, 167, 223, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0.01));
}

.aitech-footer__subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: end;
  padding: 0 0 34px;
}

.aitech-footer__eyebrow {
  margin: 0;
  color: #10ace8;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.aitech-footer__intro {
  max-width: 780px;
  margin: 44px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
}

.aitech-footer__subscribe-panel {
  display: grid;
  gap: 14px;
}

.aitech-form-notice {
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.aitech-form-notice--success {
  border-color: rgba(52, 211, 153, 0.36);
  background: rgba(16, 185, 129, 0.14);
  color: #d1fae5;
}

.aitech-form-notice--info {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(14, 165, 233, 0.14);
  color: #d7f1ff;
}

.aitech-form-notice--error {
  border-color: rgba(248, 113, 113, 0.34);
  background: rgba(239, 68, 68, 0.14);
  color: #fee2e2;
}

.aitech-footer__subscribe-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  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-footer__subscribe-input {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
}

.aitech-footer__subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

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

.aitech-footer__subscribe-button {
  --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;
  padding: 0 28px;
  white-space: nowrap;
}

.aitech-footer__subscribe-button::before {
  display: none;
}

.aitech-footer__subscribe-label {
  font-size: 1.05rem;
}

.aitech-footer__subscribe-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.6;
}

.aitech-footer__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.aitech-footer__divider {
  margin-bottom: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.62);
}

.aitech-footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(4, minmax(160px, 1fr));
  gap: 40px;
  padding-top: 0;
}

.aitech-footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.aitech-footer__brand-link {
  display: inline-block;
  text-decoration: none;
}

.aitech-footer__brand-wordmark {
  display: inline-block;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.aitech-footer__brand-summary {
  margin: 0;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  line-height: 1.6;
}

.aitech-footer__socials {
  display: flex;
  align-items: center;
  gap: 0;
}

.aitech-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 36px;
  color: #fff;
  text-decoration: none;
}

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

.aitech-footer__social-link + .aitech-footer__social-link {
  border-left: 1px solid rgba(255, 255, 255, 0.72);
}

.aitech-footer__social-link:hover,
.aitech-footer__social-link:focus {
  color: #10ace8;
  outline: none;
}

.aitech-footer__social-link.is-disabled {
  opacity: 0.4;
}

.aitech-footer__menu-col h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
}

.aitech-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.aitech-footer__list li + li {
  margin-top: 10px;
}

.aitech-footer__list a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: color 0.24s ease, transform 0.24s ease;
}

.aitech-footer__list a:hover,
.aitech-footer__list a:focus {
  color: #10ace8;
  outline: none;
  transform: translateX(4px);
}

.aitech-footer__bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.aitech-footer__copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
  line-height: 1.5;
}

#scroll-up {
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border: 1px solid #10ace8;
  border-radius: 16px;
  background: linear-gradient(135deg, #10ace8, #0a7fb7);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

#scroll-up.left {
  right: unset;
  left: 24px;
}

#scroll-up:hover,
#scroll-up:focus {
  border-color: #10ace8;
  background: #020400;
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
  outline: none;
}

#scroll-up::before {
  border-bottom-color: #ffffff;
}

#scroll-up::after {
  border-bottom-color: #10ace8;
  transition: border-bottom-color 0.24s ease;
}

#scroll-up:hover::after,
#scroll-up:focus::after {
  border-bottom-color: #020400;
}

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

  .aitech-footer__grid {
    grid-template-columns: minmax(220px, 1.2fr) repeat(4, minmax(150px, 1fr));
  }
}

@media (max-width: 1180px) {
  .aitech-footer__subscribe {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .aitech-footer__subscribe-panel {
    max-width: 560px;
  }

  .aitech-footer__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 34px 28px;
  }
}

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

  .aitech-footer__outer {
    padding: 24px 0 40px;
  }

  .aitech-footer__intro {
    margin-top: 26px;
  }

  .aitech-footer__subscribe-form {
    grid-template-columns: 1fr;
  }

  .aitech-footer__subscribe-button {
    width: 100%;
  }

  .aitech-footer__divider {
    margin-bottom: 28px;
  }

  .aitech-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .aitech-footer__brand-col {
    gap: 22px;
  }
}
