.bt-footer,
.bt-footer *,
.bt-footer *::before,
.bt-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.bt-footer {
  --bt-footer-navy: #061a3b;
  --bt-footer-blue: #1769f5;
  --bt-footer-cyan: #1ab9e7;
  position: relative;
  width: 100%;
  padding: 0 22px 26px;
  overflow: hidden;
  direction: rtl;
  color: #fff;
  font-family: "Assistant", sans-serif;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(35, 149, 245, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 92% 94%,
      rgba(26, 185, 231, 0.16),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      #06152f 0%,
      #071f45 48%,
      #082b5a 100%
    );
}

.bt-footer-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bt-footer-orb-one {
  top: 130px;
  right: -210px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(97, 194, 255, 0.1);
}

.bt-footer-orb-two {
  bottom: -260px;
  left: -170px;
  width: 520px;
  height: 520px;
  background: radial-gradient(
    circle,
    rgba(28, 181, 230, 0.12),
    transparent 68%
  );
}

.bt-footer-container {
  position: relative;
  z-index: 2;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.bt-footer-main {
  padding: 68px 4px 48px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.75fr);
  align-items: start;
  gap: 78px;
}

.bt-footer-brand {
  max-width: 390px;
}

.bt-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.bt-footer-logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.bt-footer-logo > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.bt-footer-logo strong {
  color: #fff;
  font-size: 25px;
  font-weight: 900;
}

.bt-footer-logo small {
  margin-top: 7px;
  color: #9fc4e5;
  font-size: 12px;
  font-weight: 700;
}

.bt-footer-brand > p {
  margin-top: 23px;
  color: #a9bdd2;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
}

.bt-footer-socials {
  margin-top: 23px;
  display: flex;
  gap: 9px;
}

.bt-footer-socials a {
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(174, 214, 244, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.bt-footer-socials a:hover {
  transform: translateY(-3px);
  border-color: rgba(81, 180, 255, 0.42);
  background: linear-gradient(145deg, #1769f5, #129edc);
}

.bt-footer-socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bt-footer-socials a:first-child svg {
  fill: currentColor;
  stroke: none;
}

.bt-footer-trust {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.bt-footer-trust span {
  min-height: 31px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(167, 207, 238, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #9ebbd4;
  font-size: 10.5px;
  font-weight: 800;
}

.bt-footer-trust svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #55c8ee;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bt-footer-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.bt-footer-column h3 {
  position: relative;
  padding-bottom: 15px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.bt-footer-column h3::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 31px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1769f5, #24c4dc);
}

.bt-footer-column ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.bt-footer-column a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #a9bdd2 !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.bt-footer-column a::before {
  content: "";
  width: 0;
  height: 1px;
  margin-left: 0;
  border-radius: 999px;
  background: #44c5ec;
  transition:
    width 0.18s ease,
    margin-left 0.18s ease;
}

.bt-footer-column a:hover {
  color: #fff !important;
  transform: translateX(-3px);
}

.bt-footer-column a:hover::before {
  width: 12px;
  margin-left: 7px;
}

.bt-footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(169, 201, 229, 0.18),
    transparent
  );
}

.bt-footer-bottom {
  min-height: 92px;
  padding: 23px 4px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 46px;
  align-items: center;
  gap: 25px;
}

.bt-footer-bottom-copy {
  min-width: 0;
}

.bt-footer-bottom-copy strong {
  display: block;
  color: #e7f1fa;
  font-size: 13px;
  font-weight: 900;
}

.bt-footer-bottom-copy p {
  max-width: 760px;
  margin-top: 5px;
  color: #758fa9;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.bt-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bt-footer-bottom-links a {
  color: #89a2ba !important;
  text-decoration: none;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 700;
  transition: color 0.18s ease;
}

.bt-footer-bottom-links a:hover {
  color: #fff !important;
}

.bt-footer-bottom-links > span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #526c85;
}

.bt-footer-back-top {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(164, 205, 236, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.bt-footer-back-top:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 177, 248, 0.42);
  background: #1769f5;
}

.bt-footer-back-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bt-mobile-dock,
.bt-mobile-dock *,
.bt-mobile-dock *::before,
.bt-mobile-dock *::after {
  box-sizing: border-box;
}

.bt-mobile-dock,
.bt-mobile-dock-space {
  display: none;
}

@media (max-width: 1080px) {
  .bt-footer-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .bt-footer-brand {
    max-width: 620px;
  }

  .bt-footer-links {
    gap: 25px;
  }
}

@media (max-width: 800px) {
  .bt-footer {
    padding-inline: 15px;
  }

  .bt-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 24px;
  }

  .bt-footer-bottom {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .bt-footer-bottom-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .bt-footer-back-top {
    grid-column: 2;
    grid-row: 1;
  }

  .bt-mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9970;
    min-height: calc(78px + env(safe-area-inset-bottom));
    padding:
      9px 8px
      calc(7px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    overflow: visible;
    direction: rtl;
    border-top: 1px solid rgba(207, 221, 235, 0.9);
    border-radius: 28px 28px 0 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
      0 -16px 42px rgba(7, 31, 69, 0.12),
      inset 0 1px 0 #ffffff;
    font-family: "Assistant", sans-serif;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .bt-mobile-dock::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 50%;
    width: 86px;
    height: 62px;
    transform: translateX(-50%);
    border: 1px solid rgba(207, 221, 235, 0.75);
    border-bottom: 0;
    border-radius: 50% 50% 0 0;
    background: #ffffff;
    box-shadow: 0 -10px 25px rgba(7, 31, 69, 0.07);
    pointer-events: none;
  }

  .bt-mobile-dock-item {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 58px;
    padding: 4px 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: #52667e !important;
    text-align: center;
    text-decoration: none;
    font-size: 10.5px;
    font-weight: 800;
    line-height: 1.1;
    -webkit-tap-highlight-color: transparent;
    transition:
      color 0.18s ease,
      transform 0.18s ease;
  }

  .bt-mobile-dock-item > svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .bt-mobile-dock-item:hover,
  .bt-mobile-dock-item:focus,
  .bt-mobile-dock-item:active,
  .bt-mobile-dock-item.is-active {
    color: #1769f5 !important;
  }

  .bt-mobile-dock-item:active {
    transform: scale(0.94);
  }

  .bt-mobile-dock-item.is-active > svg {
    fill: rgba(23, 105, 245, 0.12);
    stroke: #1769f5;
  }

  .bt-mobile-dock-ai {
    align-self: stretch;
    justify-content: flex-end;
    padding-top: 0;
    color: #17385e !important;
  }

  .bt-mobile-ai-orb {
    position: absolute;
    top: -37px;
    left: 50%;
    width: 68px;
    height: 68px;
    padding: 5px;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    background: linear-gradient(145deg, #dff6ff, #ffffff);
    box-shadow:
      0 10px 25px rgba(23, 105, 245, 0.28),
      0 0 0 1px rgba(23, 105, 245, 0.16),
      inset 0 1px 0 #ffffff;
  }

  .bt-mobile-ai-face {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 50%;
    background:
      radial-gradient(
        circle at 35% 25%,
        rgba(255, 255, 255, 0.96) 0 3%,
        transparent 14%
      ),
      linear-gradient(
        145deg,
        #45d2f1 0%,
        #087cf4 55%,
        #1742c8 100%
      );
    box-shadow:
      inset 0 2px 7px rgba(255, 255, 255, 0.62),
      inset 0 -5px 10px rgba(4, 43, 164, 0.2),
      0 0 18px rgba(23, 105, 245, 0.35);
  }

  .bt-mobile-ai-face i {
    width: 5px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 7px rgba(255, 255, 255, 0.95);
  }

  .bt-mobile-ai-label {
    display: block;
    color: #17385e;
    white-space: nowrap;
    font-size: 10px;
    font-weight: 900;
  }

  .bt-mobile-dock-space {
    height: calc(92px + env(safe-area-inset-bottom));
    display: block;
  }
}

@media (max-width: 520px) {
  .bt-footer {
    padding-inline: 9px;
  }

  .bt-footer-main {
    padding: 50px 8px 38px;
    gap: 42px;
  }

  .bt-footer-logo img {
    width: 55px;
    height: 55px;
  }

  .bt-footer-logo strong {
    font-size: 22px;
  }

  .bt-footer-brand > p {
    margin-top: 18px;
    font-size: 13px;
  }

  .bt-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 15px;
  }

  .bt-footer-column h3 {
    font-size: 14px;
  }

  .bt-footer-column ul {
    margin-top: 17px;
    gap: 10px;
  }

  .bt-footer-column a {
    font-size: 12px;
  }

  .bt-footer-bottom {
    padding-inline: 7px;
    gap: 15px;
  }

  .bt-footer-bottom-copy p {
    font-size: 10px;
  }

  .bt-footer-bottom-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 370px) {
  .bt-mobile-dock {
    padding-right: 4px;
    padding-left: 4px;
  }

  .bt-mobile-dock-item {
    font-size: 9.5px;
  }

  .bt-mobile-ai-label {
    font-size: 9px;
  }

  .bt-mobile-ai-orb {
    width: 62px;
    height: 62px;
  }

  .bt-mobile-ai-face {
    width: 49px;
    height: 49px;
  }
}

@media (max-width: 360px) {
  .bt-footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-footer *,
  .bt-footer *::before,
  .bt-footer *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
