/* Custom CSS for Gerador de Fichas Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --primary-glow: rgba(16, 185, 129, 0.4);
  --lime-glow: rgba(132, 204, 22, 0.35);
  --amber-glow: rgba(245, 158, 11, 0.3);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #090a0f;
  color: #f3f4f6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Background Gradients & Glows */
.hero-glow {
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.15) 0%, rgba(132, 204, 22, 0.05) 40%, transparent 70%);
}

.card-glow {
  position: relative;
  transition: all 0.3s ease;
}

.card-glow:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.25);
}

/* CTA Button Pulsing & Shine Effect */
.btn-cta {
  background: linear-gradient(135deg, #10b981 0%, #22c55e 50%, #84cc16 100%);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.45);
}

.btn-cta:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.65);
}

.btn-cta:active {
  transform: scale(0.98);
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(25deg);
  animation: shine 4s infinite ease-in-out;
}

@keyframes shine {
  0% { transform: translateX(-150%) rotate(25deg); }
  35%, 100% { transform: translateX(150%) rotate(25deg); }
}

/* Pulse Animation for urgent tags */
@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.95; }
}

.animate-soft-pulse {
  animation: softPulse 2.5s infinite ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090a0f;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Accordion transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-answer.open {
  max-height: 500px;
  transition: max-height 0.45s ease-in-out, opacity 0.4s ease;
  opacity: 1;
}

/* WhatsApp Floating Ping */
.ping-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background-color: #22c55e;
  border-radius: 50%;
  border: 2px solid #090a0f;
}

.ping-animation {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background-color: #22c55e;
  border-radius: 50%;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Floating bottom bar for mobile */
.sticky-mobile-cta {
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.sticky-mobile-cta.visible {
  transform: translateY(0);
}

/* Carousel Utilities */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #3f3f46;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.carousel-dot.active {
  width: 24px;
  background-color: #10b981;
}
