/* ============================================================
   Spot Rápido - Custom Styles
   ============================================================ */

/* Animações */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce-in {
  0% { opacity: 0; transform: scale(0.9); }
  60% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-in {
  animation: slideIn 0.4s ease-out forwards;
}

.animate-bounce-in {
  animation: bounce-in 0.4s ease-out forwards;
}

/* Botão pulsante do CTA */
.btn-pulse {
  animation: pulse-glow 2s infinite;
}

.btn-pulse:hover {
  animation: none;
}

/* Player de áudio customizado */
audio::-webkit-media-controls-panel {
  background: #f3f4f6;
}

audio {
  border-radius: 999px;
  height: 40px;
}

/* Player card */
.audio-player-wrapper {
  transition: all 0.2s ease;
}
.audio-player-wrapper:hover {
  transform: translateY(-2px);
}

/* Tags/categorias ativas */
.tag-active {
  background: #22c55e;
  color: white;
}

/* Accordion FAQ */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-open .faq-content {
  max-height: 500px;
}

.faq-open .faq-chevron {
  transform: rotate(180deg);
}

/* Step cards */
.step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* View switcher */
.view {
  display: none;
}
.view.active {
  display: block;
}

/* Loading spinner */
.spinner {
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 0.8s linear infinite;
}

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

/* Checkout QR Code container */
#qrcode-container img {
  display: block;
  margin: 0 auto;
  max-width: 220px;
  image-rendering: pixelated;
}

/* Dashboard */
.credit-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Toast notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}
.toast.show {
  transform: translateX(0);
}

/* Responsive fixes */
@media (max-width: 640px) {
  .pricing-card-destaque {
    transform: scale(1.02);
  }
  audio {
    width: 100%;
  }
}

/* WhatsApp float button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
  cursor: pointer;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
