@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800&family=Inter:wght@400;500;600&display=swap');
/* Shared pre-footer CTA banner — fully self-contained (no dependency on page CSS variables). */
.cta-banner {
  --cta-gold: #ffc107;
  --cta-gold-light: #ffe259;
  --cta-orange: #ff9800;
  --cta-ink: #14100a;
  position: relative;
  padding: 90px 20px;
  background: linear-gradient(180deg, #0b0b0f 0%, #000 100%);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  overflow: hidden;
  isolation: isolate;
}

.cta-banner *,
.cta-banner *::before,
.cta-banner *::after {
  box-sizing: border-box;
}

/* soft ambient glow behind the card */
.cta-banner::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 90vw);
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 193, 7, 0.28), transparent 70%);
  z-index: -1;
}

.cta-banner__card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 60px;
  border-radius: 32px;
  background: linear-gradient(120deg, var(--cta-gold-light) 0%, var(--cta-gold) 50%, var(--cta-orange) 100%);
  color: var(--cta-ink);
  box-shadow: 0 30px 80px -20px rgba(255, 193, 7, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-banner.is-in .cta-banner__card {
  opacity: 1;
  transform: none;
}

/* moving light streak */
.cta-banner__card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -40%;
  width: 30%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(20deg);
  animation: ctaSweep 6s ease-in-out infinite;
  pointer-events: none;
}

.cta-banner__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner__orb--1 {
  width: 260px;
  height: 260px;
  right: -60px;
  top: -90px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 70%);
  animation: ctaFloat 7s ease-in-out infinite;
}

.cta-banner__orb--2 {
  width: 180px;
  height: 180px;
  left: 30%;
  bottom: -100px;
  background: radial-gradient(circle at 30% 30%, rgba(20, 16, 10, 0.25), rgba(20, 16, 10, 0) 70%);
  animation: ctaFloat 9s ease-in-out infinite reverse;
}

.cta-banner__ring {
  position: absolute;
  right: 12%;
  bottom: -70px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(20, 16, 10, 0.18);
  border-radius: 50%;
  pointer-events: none;
  animation: ctaSpin 18s linear infinite;
}

.cta-banner__text,
.cta-banner__actions {
  position: relative;
  z-index: 2;
}

.cta-banner__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta-ink);
  background: rgba(20, 16, 10, 0.1);
  border-radius: 999px;
}

.cta-banner__title {
  margin: 0 0 10px;
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cta-ink);
  opacity: 1;
  transform: none;
}

.cta-banner__sub {
  max-width: 460px;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(20, 16, 10, 0.78);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.cta-banner__btn--dark {
  background: var(--cta-ink);
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
}

.cta-banner__btn--dark:hover {
  transform: translateY(-3px);
  color: var(--cta-gold);
  box-shadow: 0 18px 36px -8px rgba(0, 0, 0, 0.7);
}

.cta-banner__btn--ghost {
  border: 2px solid rgba(20, 16, 10, 0.55);
  color: var(--cta-ink);
}

.cta-banner__btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(20, 16, 10, 0.08);
  color: var(--cta-ink);
}

@keyframes ctaSweep {
  0%, 60% { left: -40%; }
  100% { left: 140%; }
}

@keyframes ctaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(18px); }
}

@keyframes ctaSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
  .cta-banner {
    padding: 60px 16px;
  }
  .cta-banner__card {
    padding: 40px 26px;
    text-align: center;
    justify-content: center;
  }
  .cta-banner__sub {
    margin: 0 auto;
  }
  .cta-banner__actions {
    justify-content: center;
    width: 100%;
  }
  .cta-banner__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-banner__card,
  .cta-banner__card::after,
  .cta-banner__orb,
  .cta-banner__ring {
    animation: none !important;
    transition: none !important;
  }
  .cta-banner__card {
    opacity: 1;
    transform: none;
  }
}

