.cf-footer,
.cf-footer * {
  box-sizing: border-box;
}

.cf-footer {
  position: relative;
  margin-top: 5rem;
  padding: 3.5rem 0 2rem;
  overflow: hidden;
  overflow: clip;
  max-width: 100vw;
  border-top: 1px solid rgba(230, 230, 242, 0.9);
  background: linear-gradient(180deg, rgba(221, 226, 240, 0.92) 0%, rgba(212, 218, 234, 0.98) 22%, rgba(206, 213, 230, 1) 100%);
  color: #1a1a2e;
  isolation: isolate;
  contain: paint;
}

.cf-footer a {
  color: inherit;
  text-decoration: none;
}

.cf-footer img {
  display: block;
  max-width: 100%;
}

.cf-footer-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  overflow: clip;
  clip-path: inset(0);
  pointer-events: none;
  z-index: 0;
}

.cf-footer-glow-primary {
  position: absolute;
  top: -3rem;
  left: 1rem;
  width: 48%;
  height: 18rem;
  background: radial-gradient(circle at 30% 24%, rgba(186, 156, 255, 0.34) 0%, rgba(209, 162, 255, 0.26) 24%, rgba(255, 171, 218, 0.2) 46%, rgba(255, 255, 255, 0) 76%);
  filter: blur(30px);
  opacity: 0.9;
  animation: cf-footer-drift-primary 18s ease-in-out infinite alternate;
}

.cf-footer-glow-secondary {
  position: absolute;
  top: -4.25rem;
  right: 1rem;
  width: 48%;
  height: 20rem;
  background: radial-gradient(circle at 72% 22%, rgba(150, 134, 255, 0.3) 0%, rgba(191, 152, 255, 0.24) 28%, rgba(255, 166, 210, 0.16) 52%, rgba(255, 255, 255, 0) 80%);
  filter: blur(34px);
  opacity: 0.88;
  animation: cf-footer-drift-secondary 20s ease-in-out infinite alternate;
}

.cf-footer-rays {
  position: absolute;
  top: -4rem;
  right: 4%;
  bottom: 0;
  left: 4%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 62%),
    repeating-linear-gradient(
      102deg,
      rgba(193, 168, 255, 0) 0 2.6rem,
      rgba(181, 149, 255, 0.16) 2.6rem 4.2rem,
      rgba(255, 181, 222, 0.12) 4.2rem 5.4rem,
      rgba(193, 168, 255, 0) 5.4rem 7.8rem
    );
  transform-origin: top center;
  filter: blur(20px);
  opacity: 0.72;
  mix-blend-mode: screen;
  animation: cf-footer-ray-shift 22s linear infinite alternate;
}

.cf-footer-top-wash {
  position: absolute;
  inset: 0 0 auto;
  height: 7.5rem;
  background: linear-gradient(180deg, rgba(177, 144, 255, 0.11), rgba(255, 190, 223, 0.05) 44%, rgba(255, 255, 255, 0) 100%);
}

.cf-footer-top-fade {
  position: absolute;
  inset: 0 0 auto;
  height: 6rem;
  background: linear-gradient(180deg, rgba(121, 111, 255, 0.06), transparent);
  pointer-events: none;
  z-index: 1;
}

.cf-footer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(18px, 2.6vw, 36px);
}

.cf-footer-card {
  width: 100%;
  border: 1px solid rgba(208, 214, 228, 0.96);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(252, 253, 255, 0.99) 0%, rgba(246, 248, 255, 0.97) 100%);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 10px 32px rgba(28, 35, 95, 0.06);
}

.cf-footer-hero {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(230, 230, 242, 0.82);
}

.cf-footer-brand-block {
  min-width: 0;
}

.cf-footer-brand-logo {
  width: 170px;
  height: auto;
}

.cf-footer-description {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: #5f6380;
  font-size: 0.95rem;
  line-height: 1.75;
}

.cf-footer-logo-links {
  min-width: 0;
}

.cf-footer-logo-links-center {
  text-align: center;
}

.cf-footer-logo-links-end {
  text-align: right;
}

.cf-footer-logo-links-title {
  color: #1a1a2e;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.4;
}

.cf-footer-logo-links-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.cf-footer-logo-links-center .cf-footer-logo-links-list {
  justify-content: center;
}

.cf-footer-logo-links-end .cf-footer-logo-links-list {
  justify-content: flex-end;
}

.cf-footer-logo-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #5f6380;
  text-align: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.cf-footer-logo-link:hover {
  color: #1a1a2e;
  transform: translateY(-2px);
}

.cf-footer-logo-link-icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 230, 242, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 18px rgba(26, 31, 74, 0.05);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.cf-footer-logo-link:hover .cf-footer-logo-link-icon {
  border-color: rgba(26, 26, 46, 0.15);
  background: #fff;
}

.cf-footer-logo-link-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cf-footer-logo-link-label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

.cf-footer-links-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
}

.cf-footer-column-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #5f6380;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.cf-footer-inline-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.cf-footer-link-list,
.cf-footer-document-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.cf-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  color: #5f6380;
  font-size: 0.9rem;
  line-height: 1.55;
  transition: color 0.18s ease;
}

.cf-footer-link:hover,
.cf-footer-document-link:hover {
  color: #1a1a2e;
}

.cf-footer-link-prominent {
  color: #1a1a2e;
  font-weight: 650;
}

.cf-footer-document-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  color: #5f6380;
  font-size: 0.9rem;
  transition: color 0.18s ease;
}

.cf-footer-document-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(230, 230, 242, 0.8);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.86);
  color: #6b6bff;
}

.cf-footer-document-svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.cf-footer-document-label {
  min-width: 0;
  color: #1a1a2e;
  font-weight: 650;
}

.cf-footer-tech-row {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(230, 230, 242, 0.82);
}

.cf-footer-cta-wrap {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(230, 230, 242, 0.82);
}

.cf-footer-cta-card {
  border: 1px solid rgba(107, 107, 255, 0.14);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 245, 255, 0.98) 100%);
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(26, 31, 74, 0.05);
}

.cf-footer-cta-title {
  margin: 0;
  color: #1a1a2e;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.cf-footer-cta-copy {
  max-width: 48rem;
  margin: 0.5rem 0 0;
  color: #5f6380;
  font-size: 0.9rem;
  line-height: 1.75;
}

.cf-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cf-footer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  border-radius: 999px;
  padding: 0.64rem 1rem;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.2;
  transition: transform 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

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

.cf-footer-button-primary {
  border: 1px solid rgba(107, 107, 255, 0.18);
  background: #6b6bff;
  color: #fff;
  box-shadow: 0 6px 18px rgba(26, 31, 74, 0.05);
}

.cf-footer-button-primary:hover {
  opacity: 0.95;
}

.cf-footer-button-secondary {
  border: 1px solid rgba(230, 230, 242, 0.85);
  background: #fff;
  color: #1a1a2e;
}

.cf-footer-legal-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(230, 230, 242, 0.82);
  color: #5f6380;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cf-footer-legal-row p {
  margin: 0;
  color: inherit;
}

.cf-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
}

.cf-footer-legal-link {
  color: #5f6380;
  transition: color 0.18s ease;
}

.cf-footer-legal-link:hover {
  color: #1a1a2e;
}

.cf-footer-legal-link-emphasis {
  color: #1a1a2e;
  font-weight: 650;
}

.cf-footer-legal-link-emphasis:hover {
  color: #6b6bff;
}

@keyframes cf-footer-drift-primary {
  0% {
    transform: translate3d(-1%, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(4%, 0.75rem, 0) scale(1.08);
  }
}

@keyframes cf-footer-drift-secondary {
  0% {
    transform: translate3d(2%, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(-4%, 0.6rem, 0) scale(1.07);
  }
}

@keyframes cf-footer-ray-shift {
  0% {
    transform: translateX(-1.5%) scaleX(1);
  }

  100% {
    transform: translateX(1.5%) scaleX(1.04);
  }
}

@media (min-width: 640px) {
  .cf-footer-brand-logo {
    width: 184px;
  }

  .cf-footer-card {
    padding: 2rem;
  }
}

@media (min-width: 768px) {
  .cf-footer {
    margin-top: 6rem;
    padding-top: 4rem;
  }

  .cf-footer-card {
    padding: 2rem;
  }

  .cf-footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cf-footer-cta-card {
    padding: 1.5rem;
  }

  .cf-footer-cta-title {
    font-size: 1.32rem;
  }

  .cf-footer-legal-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .cf-footer-hero {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .cf-footer-hero .cf-footer-logo-links {
    justify-self: end;
  }

  .cf-footer-card {
    padding: 2.25rem 2.5rem;
  }
}

@media (min-width: 1280px) {
  .cf-footer-links-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cf-footer {
    margin-top: 3.5rem;
    padding: 2.25rem 0 1.25rem;
  }

  .cf-footer-card {
    border-radius: 1.35rem;
    padding: 1.2rem;
  }

  .cf-footer-logo-links-list {
    gap: 0.75rem 1rem;
  }

  .cf-footer-cta-actions {
    flex-direction: column;
  }

  .cf-footer-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cf-footer-glow-primary,
  .cf-footer-glow-secondary,
  .cf-footer-rays {
    animation: none;
  }

  .cf-footer-logo-link,
  .cf-footer-button {
    transition: none;
  }

  .cf-footer-logo-link:hover,
  .cf-footer-button:hover {
    transform: none;
  }
}
