/* Custom CSS for A9 Mini WiFi Security Camera Sales Page */

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-subtle {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 4px 20px 0 rgba(37, 99, 235, 0.6); }
}

@keyframes pulse-whatsapp {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 4px 20px 0 rgba(34, 197, 94, 0.7); }
}

@keyframes slide-up-sticky {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Utility Animation Classes */
.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-pulse-cta {
  animation: pulse-subtle 2s infinite;
}

.animate-pulse-whatsapp {
  animation: pulse-whatsapp 2s infinite;
}

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

.scale-up {
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Sticky CTA Container */
.sticky-cta-bar {
  animation: slide-up-sticky 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glassmorphism Classes */
.glass-effect {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-dark {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Scroll Customization */
::-webkit-scrollbar {
  width: 8px;
}

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

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

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

/* Custom Interactive States */
.price-card-selected {
  border-color: #2563eb !important;
  background-color: #eff6ff !important;
}

/* Border Glow Effect */
.glow-blue {
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.glow-blue:hover {
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
}

/* Radio selection check indicator dot visibility */
input:checked + div .check-indicator {
  opacity: 1 !important;
}
