/* SpeedBoost Landing Page — Custom Styles */

/* Countdown timer */
.countdown-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 14px;
  min-width: 60px;
}
.countdown-box .num {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
}
.countdown-box .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* Scroll-snap carousel */
.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 16px;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track .slide {
  scroll-snap-align: center;
  flex: 0 0 85%;
  max-width: 400px;
  border-radius: 12px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .gallery-track .slide { flex: 0 0 45%; }
}
@media (min-width: 1024px) {
  .gallery-track .slide { flex: 0 0 30%; }
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-item .faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Sticky header animation */
.site-header {
  transition: transform 0.3s ease;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}

/* Mobile bottom CTA */
.mobile-cta-bar {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.mobile-cta-bar.visible {
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

/* Bundle card hover */
.bundle-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bundle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Pulse animation for CTA */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 20px 8px rgba(239, 68, 68, 0.25); }
}
.cta-pulse {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Form loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Star rating */
.star-filled { color: #facc15; }
.star-empty { color: #d1d5db; }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Selection color */
::selection {
  background: #3b82f6;
  color: #fff;
}
