/* Custom Styles for BuktiPaket Landing Page */
:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #d1fae5;
  --secondary: #0f172a;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Subtle grid background */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

.bg-grid-pattern-dark {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Scanner laser animation */
@keyframes scanLaser {
  0% {
    top: 12%;
    opacity: 0.9;
  }
  50% {
    top: 86%;
    opacity: 1;
  }
  100% {
    top: 12%;
    opacity: 0.9;
  }
}

.scanner-laser {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10b981, #34d399, #10b981, transparent);
  box-shadow: 0 0 12px 2px rgba(16, 185, 129, 0.75);
  animation: scanLaser 2.6s ease-in-out infinite;
  z-index: 20;
}

/* Floating animation */
@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: floatSlow 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatSlow 4.5s ease-in-out 1.5s infinite;
}

/* Pulse ring for recording indicator */
@keyframes pulseRing {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.rec-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #ef4444;
  animation: pulseRing 1.5s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* FAQ Accordion transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
  max-height: 320px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

