/* style.css - Coleção Cristã Digital Custom Estilos */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --color-brand: #10B981;
  --color-brand-light: #34D399;
  --color-dark: #020617;
  --color-card: #0F172A;
  --color-accent: #059669;
}

body {
  background-color: var(--color-dark);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #ffffff;
  overflow-x: hidden;
  position: relative;
}

/* Gradients selection styling */
::selection {
  background-color: var(--color-brand);
  color: var(--color-dark);
}

/* Custom pulsing button style */
@keyframes button-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.4);
  }
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background-color: var(--color-brand);
  color: var(--color-dark) !important;
  font-weight: 950;
  padding: 1rem 1.75rem;
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
  animation: button-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
}

@media (min-width: 768px) {
  .btn-primary {
    padding: 1.25rem 3rem;
    font-size: 0.875rem;
  }
}

.btn-primary:hover {
  background-color: var(--color-brand-light);
  transform: scale(1.02);
  animation-play-state: paused;
}

.btn-primary:active {
  transform: scale(0.95);
}

/* Glassomorphic cards */
.glass-card {
  background-color: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
}

/* Glowing Backgrounds */
.glow-teal {
  position: absolute;
  z-index: -10;
  filter: blur(120px);
  -webkit-filter: blur(120px);
  border-radius: 9999px;
  background-color: rgba(16, 185, 129, 0.08); /* Glow opacity optimized */
  pointer-events: none;
}

.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  background-image: linear-gradient(to right, #34D399, #5eead4, #10B981);
  font-weight: 900;
  display: inline-block;
}

/* Alert horizontal infinite marquee */
@keyframes marqueeAlert {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.alert-marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.alert-marquee-inner {
  display: flex;
  gap: 5rem;
  width: max-content;
  animation: marqueeAlert 25s linear infinite;
  white-space: nowrap;
  align-items: center;
}

/* Infinite Horizontal Scroller for Testimonials */
@keyframes scrollLefty {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 2));
  }
}

.scroller-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  position: relative;
}

.scroller-inner {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scrollLefty 60s linear infinite;
}

@media (min-width: 768px) {
  .scroller-inner {
    gap: 2rem;
  }
}

.scroller-container:hover .scroller-inner {
  animation-play-state: paused;
}

/* Smooth togglings for FAQ sections */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-answer.open {
  max-height: 300px; /* high fallback to let it open cleanly */
  opacity: 1;
}

/* Custom lucide icons styling alignment */
i[data-lucide] {
  vertical-align: middle;
  display: inline-block;
}
