/* Custom Stylesheet for BillKitna SaaS Landing Page */

/* Base transitions and smooth scrolling */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Offset for sticky header */
}

/* Glassmorphism Styles */
.glassmorphism {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Premium Soft Shadows */
.shadow-premium {
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.04), 
              0 20px 40px -15px rgba(0, 128, 0, 0.06);
}

/* Custom Range Slider Styling (Cross-browser support) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #008000;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
  box-shadow: 0 3px 6px rgba(0, 128, 0, 0.3);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #006600;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: #008000;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.15s;
  box-shadow: 0 3px 6px rgba(0, 128, 0, 0.3);
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.15);
  background: #006600;
}

/* Sticky Header styling */
#main-header.scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

#main-header.scrolled nav {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

/* Entrance fade-in animation keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Interactive elements ripple/hover animation */
.hover-scale-effect {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.hover-scale-effect:hover {
  transform: translateY(-4px) scale(1.01);
}

/* FAQ answers smooth slide transition */
.faq-active {
  animation: fadeInUp 0.3s ease-out forwards;
}

/* Custom styled scrollbars for the demo terminal */
#why-us-cart::-webkit-scrollbar {
  width: 5px;
}

#why-us-cart::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

#why-us-cart::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

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