.site-footer {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-top: 72px;
  margin-left: -50vw;
  overflow: hidden;
  color: #d6d3d1;
  background:
    radial-gradient(circle at 12% 0%, rgba(124, 58, 237, .2), transparent 32%),
    radial-gradient(circle at 88% 30%, rgba(37, 99, 235, .16), transparent 28%),
    #0c0a12;
}

.site-footer::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 78%);
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.footer-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 30px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 60px;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(115deg, rgba(124, 58, 237, .2), rgba(255, 255, 255, .055) 52%, rgba(37, 99, 235, .16));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px);
}

.footer-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8b5cf6;
  box-shadow: 0 0 0 5px rgba(139, 92, 246, .14), 0 0 22px #8b5cf6;
  content: "";
}

.footer-cta h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.footer-cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.footer-button:hover {
  transform: translateY(-2px);
}

.footer-button-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6);
  box-shadow: 0 10px 30px rgba(124, 58, 237, .3);
}

.footer-button-primary:hover {
  box-shadow: 0 14px 34px rgba(124, 58, 237, .42);
}

.footer-button-secondary {
  background: rgba(255, 255, 255, .055);
}

.footer-button-secondary:hover {
  border-color: rgba(196, 181, 253, .45);
  background: rgba(255, 255, 255, .09);
}

.footer-button svg {
  width: 17px;
  height: 17px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(130px, .65fr));
  gap: 42px;
  padding: 0 8px 52px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, .28);
}

.footer-brand-title {
  display: block;
  font-size: 16px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.footer-brand-label {
  display: block;
  margin-top: 3px;
  color: #a8a29e;
  font-size: 11px;
}

.footer-description {
  max-width: 350px;
  margin: 18px 0 22px;
  color: #a8a29e;
  font-size: 13px;
  line-height: 1.8;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-social {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 11px;
  background: rgba(255, 255, 255, .04);
  color: #a8a29e;
  font-size: 16px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.footer-social:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, .48);
  background: rgba(124, 58, 237, .16);
  color: #fff;
}

.footer-nav-title {
  margin: 4px 0 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-nav-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a8a29e;
  font-size: 13px;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.footer-nav-list a::before {
  width: 0;
  height: 1px;
  background: #a78bfa;
  content: "";
  transition: width .18s ease;
}

.footer-nav-list a:hover {
  transform: translateX(2px);
  color: #fff;
}

.footer-nav-list a:hover::before {
  width: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #78716c;
  font-size: 12px;
}

.footer-bottom a {
  color: #a8a29e;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .1);
  content: "";
}

@media (max-width: 900px) {
  .footer-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    margin-top: 48px;
  }

  .footer-shell {
    width: min(100% - 24px, 1180px);
    padding-bottom: 22px;
  }

  .footer-cta {
    gap: 24px;
    margin-bottom: 42px;
    padding: 28px 22px;
    border-radius: 0 0 20px 20px;
  }

  .footer-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .footer-button {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
    padding: 0 4px 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-button,
  .footer-social,
  .footer-nav-list a,
  .footer-nav-list a::before {
    transition: none;
  }
}
