@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #0A1F44;
  --color-primary-dark: #051126;
  --color-accent: #EAC15A;
  --color-accent-hover: #D4AF37;
  --color-brand-orange: #E56B10;
  --color-brand-green: #16A34A;
  --color-brand-blue: #1E40AF;
}

body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

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

.glass-dark {
  background: rgba(10, 31, 68, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(234, 193, 90, 0.25);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9; 
}
::-webkit-scrollbar-thumb {
  background: #0A1F44; 
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EAC15A; 
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0A1F44;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-logo {
  color: #EAC15A;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  animation: pulseLogo 1.4s infinite alternate ease-in-out;
}

@keyframes pulseLogo {
  from { transform: scale(0.97); opacity: 0.85; }
  to { transform: scale(1.03); opacity: 1; text-shadow: 0 0 25px rgba(234, 193, 90, 0.6); }
}

/* Glow & Accent Buttons */
.glow-btn {
  box-shadow: 0 4px 20px rgba(234, 193, 90, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glow-btn:hover {
  box-shadow: 0 8px 30px rgba(234, 193, 90, 0.65);
  transform: translateY(-2px);
}

.glow-green {
  box-shadow: 0 4px 20px rgba(22, 163, 74, 0.35);
}
.glow-green:hover {
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.6);
  transform: translateY(-2px);
}

/* Shimmer Animation */
.shimmer {
  position: relative;
  overflow: hidden;
}
.shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(30deg);
  animation: shimmerEffect 4s infinite;
}
@keyframes shimmerEffect {
  0% { transform: translateX(-100%) rotate(30deg); }
  30%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* Pulse animation for floating WhatsApp */
@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

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

/* Smooth Tabs */
.tab-btn.active {
  background-color: #0A1F44;
  color: #EAC15A;
  border-color: #EAC15A;
}

/* Custom range slider */
input[type=range] {
  accent-color: #EAC15A;
}
