/* Footer CTA & Footer Wrapper — static gradient + centered content glow */
.footer-cta-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #050816;
  background-image:
    radial-gradient(ellipse 120% 90% at 50% 20%, rgba(79, 70, 229, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 90% 70% at 12% 90%, rgba(59, 130, 246, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 85% 65% at 88% 85%, rgba(199, 31, 13, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 70% 55% at 70% 30%, rgba(251, 191, 36, 0.05) 0%, transparent 60%),
    linear-gradient(168deg, #040711 0%, #0a1020 38%, #060912 100%);
}

.footer-cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  isolation: isolate;
  opacity: 1;
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Wide, soft halo behind headline, CTA, and social proof */
.footer-cta-content::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: min(140vw, 56rem);
  height: 200%;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 100% 90% at 50% 48%, rgba(147, 197, 253, 0.07) 0%, transparent 78%),
    radial-gradient(ellipse 75% 70% at 35% 55%, rgba(244, 114, 182, 0.04) 0%, transparent 82%),
    radial-gradient(ellipse 70% 65% at 65% 52%, rgba(253, 230, 138, 0.04) 0%, transparent 82%),
    radial-gradient(ellipse 120% 100% at 50% 50%, rgba(99, 102, 241, 0.06) 0%, transparent 85%);
  filter: blur(32px);
  opacity: 0.55;
}

.footer-cta-title {
  font-family: 'Newsreader', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.footer-cta-subtitle {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--color-primary, #c71f0d) 0%, var(--color-primary-light, #d62916) 100%);
  color: var(--color-white, #ffffff);
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(199, 31, 13, 0.3);
  will-change: transform, box-shadow;
}

.footer-cta-button:hover {
  background: linear-gradient(135deg, var(--color-primary-hover, #a01808) 0%, var(--color-primary, #c71f0d) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 31, 13, 0.4);
}

.footer-cta-facebook {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  margin-top: 2rem;
}

.footer-cta-facebook-logo {
  height: 20px;
  width: auto;
}

.footer-cta-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-cta-rating-stars {
  color: #f8c307;
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1;
}

.footer-cta-rating-text {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1;
}

.footer-cta-rating-count {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  line-height: 1.4;
}

/* Divider between CTA and Footer */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* Footer Styles — horizontal rhythm matches v3 .nav (homepage.css @768px: max-width 2400px, padding 1.5rem 3rem) */
.footer {
  background: transparent;
  color: #ffffff;
  padding: 3rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 2400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-logo-column {
  display: flex;
  justify-content: center;
}

.footer-logo {
  height: 2rem;
  width: auto;
}

.footer-column-header {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.footer-column-no-header ul {
  margin-top: 2rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
  text-align: center;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: opacity 0.3s ease;
}

.footer-legal a:hover {
  opacity: 1;
  color: #ffffff;
}

/* Desktop Styles */
@media (min-width: 768px) {
  .footer-cta-content {
    padding: 6rem 3rem;
  }

  .footer-cta-content::before {
    width: min(120vw, 72rem);
    height: 240%;
    filter: blur(48px);
    opacity: 0.5;
  }

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

  .footer-cta-subtitle {
    font-size: 1.25rem;
  }
  
  .footer-divider {
    margin: 0 3rem;
  }

  .footer-cta-facebook {
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 2.5rem;
    align-items: center;
    justify-content: center;
  }

  .footer-cta-facebook-logo {
    height: 24px;
    width: auto;
  }

  .footer-cta-rating {
    gap: 0.5rem;
    justify-content: flex-start;
  }

  .footer-cta-rating-stars {
    font-size: 1.25rem;
    line-height: 1;
  }

  .footer-cta-rating-text {
    font-size: 1rem;
    line-height: 1;
  }

  .footer-cta-rating-count {
    font-size: 0.875rem;
    margin-left: 0.5rem;
    text-align: left;
  }

  .footer {
    padding: 5rem 0 2.5rem;
  }

  .footer-content {
    padding: 0 3rem;
  }

  .footer-columns {
    grid-template-columns: auto repeat(5, 1fr);
    gap: 2.5rem;
    align-items: start;
  }

  .footer-logo-column {
    justify-content: flex-start;
  }

  .footer-column-no-header ul {
    margin-top: 2rem;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-copyright {
    text-align: left;
  }
}

/* Footer SEO text block */
.footer-seo-text {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.5rem;
}

.footer-seo-text p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  line-height: 1.6;
  max-width: 800px;
}
