
  /* ============================================
   FOOTER CTA ANIMATION - footer-animation.css
   ============================================ */

/* --- CTA Section --- */
.footer-cta-section {
  background: #ff3838;
  padding: 70px 0 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  position: relative;
}

.footer-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(72, 199, 142, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

/* --- Rotating Text --- */
.cta-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cta-static {
  font-size: 16px;
  color: rgba(255,255,255,87%);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: monospace;
}

.cta-rotating-wrap {
  display: block;
  overflow: hidden;
  height: 72px;
}

.cta-rotating {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  line-height: 72px;
  letter-spacing: -1px;
  animation: rotateText 0s ease-in-out infinite;
  /* typewriter cursor */
  border-right: 3px solid #00b4d8;
}

/* Typewriter effect via JS - see below */
.cta-rotating.typing::after {
  content: '|';
  animation: blink 0.7s infinite;
  color: #ffffff;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- CTA Button --- */
.cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  background: transparent;
  border: 2px solid #ffffff;
  color:#ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: #ffffff;
  transition: left 0.35s ease;
  z-index: 0;
}

.cta-btn:hover::before,
.cta-btn.hovered::before {
  left: 0;
}

.cta-btn:hover,
.cta-btn.hovered {
  color: #000;
}

.cta-btn .btn-text,
.cta-btn .btn-copied,
.cta-btn .btn-icon {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.cta-btn .btn-copied {
  display: none;
  color: #48c78e;
  font-size: 15px;
}

.cta-btn.copied .btn-text { display: none; }
.cta-btn.copied .btn-copied { display: inline; }
.cta-btn.copied { border-color: #48c78e; }
.cta-btn.copied::before { background: #48c78e; }

.cta-copy-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Badge Scroll Animation --- */
.badge-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.badge-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger effect - each badge delayed */
.badge-animate:nth-child(1) { transition-delay: 0s; }
.badge-animate:nth-child(2) { transition-delay: 0.2s; }
.badge-animate:nth-child(3) { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-rotating {
    font-size: 32px;
    height: auto;
    line-height: 1.2;
  }
  .cta-rotating-wrap {
    height: auto;
  }
}

