
/*
 * XSUS STUDIO — PREMIUM FOOTER
 * THE X IDENTITY
 */

.xsus-footer {
  position: relative;
  width: 100%;
  margin-top: 64px;
  padding: 34px max(24px, calc((100% - 1200px) / 2)) 22px;
  background: #060a18;
  border-top: 1px solid rgba(32, 232, 255, 0.20);
  color: #f4f8ff;
  isolation: isolate;
}

.xsus-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12%;
  width: 76%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #20e8ff,
    #8657f5,
    transparent
  );
  pointer-events: none;
}

.xsus-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 28px;
}

.xsus-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.xsus-footer-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  padding: 4px;
  border-radius: 13px;
  border: 1px solid rgba(32, 232, 255, 0.30);
  background: #101b31;
}

.xsus-footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
}

.xsus-footer-brand-text strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  color: #f4f8ff;
}

.xsus-footer-brand-text span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #60bbd8;
}

.xsus-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.xsus-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 43px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid #334861;
  background: rgba(255, 255, 255, 0.025);
  color: #e1ecff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.xsus-footer-btn:hover {
  border-color: #20e8ff;
  background: rgba(32, 232, 255, 0.09);
  transform: translateY(-2px);
}

.xsus-footer-contact {
  color: #52dcff;
  border-color: #238fc2;
  background: #102c46;
}

.xsus-footer-contact:hover {
  background: #123b5d;
  box-shadow: 0 0 18px rgba(32, 232, 255, 0.16);
}

.xsus-footer-btn:focus-visible {
  outline: 2px solid #20e8ff;
  outline-offset: 4px;
}

.xsus-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid #25364d;
}

.xsus-footer-bottom p {
  margin: 0;
  color: #8797b3;
  font-size: 12px;
  line-height: 1.6;
}

.xsus-footer-bottom p:last-child {
  color: #6385a6;
  text-align: right;
}

@media (max-width: 640px) {
  .xsus-footer {
    margin-top: 44px;
    padding: 28px 20px 22px;
  }

  .xsus-footer-main {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .xsus-footer-brand {
    justify-content: center;
  }

  .xsus-footer-links {
    justify-content: center;
    width: 100%;
  }

  .xsus-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .xsus-footer-bottom p:last-child {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xsus-footer-btn {
    transition: none;
  }

  .xsus-footer-btn:hover {
    transform: none;
  }
}
