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

:root {
  --color-bg-light: #f8fafc;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-primary: #2563eb;
  --color-primary-light: #3b82f6;
  --color-accent: #60a5fa;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: var(--color-slate-800);
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Premium Animated Background Gradient (Light Theme) */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--color-bg-light);
  background-image: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.05) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(241, 245, 249, 0.95) 0px, transparent 70%),
    radial-gradient(at 80% 50%, rgba(37, 99, 235, 0.03) 0px, transparent 40%);
  filter: blur(10px);
}

.bg-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  mix-blend-mode: multiply;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -80px) scale(1.2);
  }
  100% {
    transform: translate(-30px, 40px) scale(0.9);
  }
}

/* Glassmorphism Classes (Light Mode optimized) */
.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.04);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.08);
}

.glass-card-interactive {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-interactive:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.06);
}

.glass-input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--color-slate-900);
  transition: all 0.3s ease;
}

.glass-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
  background: #ffffff;
}

/* Custom premium hover button styles */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: all 0.6s ease;
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-glass-link {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(15, 23, 42, 0.07);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
}

.btn-glass-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.08));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.btn-glass-link:hover::before {
  opacity: 1;
}

.btn-glass-link:hover {
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.05);
}

/* Glow effects */
.glow-border {
  position: relative;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-accent));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glow-border:hover::after {
  opacity: 0.6;
}

/* Grid overlay to give a tech blueprint vibe (fainter in light theme) */
.tech-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.012) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(15, 23, 42, 0.012) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  z-index: -2;
  pointer-events: none;
}

/* Floating animation for subtle element movement */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

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

/* Animated gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--color-slate-900) 30%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pulsing dot for live status */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #10b981;
  border-radius: 50%;
  position: absolute;
  inset: 0;
  animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.8);
    opacity: 0;
  }
}

/* Custom toggle switch for interactive elements */
.switch-input:checked + .switch-label {
  background-color: var(--color-primary);
}

.switch-input:checked + .switch-label .switch-dot {
  transform: translateX(100%);
}

/* Service Card Icon Glows */
.icon-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-primary-light);
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
}

.glass-card-interactive:hover .icon-container {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
  transform: scale(1.05);
}

/* Statistics number neon blur */
.stat-number {
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.1);
}

/* Floating WhatsApp Widget Styling */
.whatsapp-widget {
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.whatsapp-widget:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.35);
}

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