/* 
  Footer Refactor Styles
  Premium, semantic, and BEM-compliant.
*/

.footer {
  background-color: var(--section-background, white);
  background-image: linear-gradient(180deg, white, var(--headline-color, #999cd5));
  min-height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__container {
  width: 100%;
  max-width: none;
  padding: 0 32px;
  margin: 0 auto;
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

/* Logo Section */
.footer__logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.footer__logo {
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.footer__logo-rotating {
  width: 100%;
  height: 100%;
  color: #afb2ec;
  animation: slowSpin 24s linear infinite;
}

/* Headline */
.footer__headline {
  color: #878ac5;
  font-family: 'Inter Tight', sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 54px;
  max-width: 790px;
  margin: 0;
  letter-spacing: -0.5px;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  .footer__headline {
    font-size: 36px;
    line-height: 40px;
  }
}

@media screen and (max-width: 767px) {
  .footer {
    min-height: 400px;
  }
  
  .footer__headline {
    font-size: 32px;
    line-height: 36px;
  }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
