@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --color-primary: #0F1E36;
  --color-primary-dark: #060F1A;
  --color-primary-light: #1E2D4A;
  --color-accent: #F38524;
  --color-accent-hover: #D9701B;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --font-sans: 'Outfit', sans-serif;
}

/* Base Adjustments */
html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  color: var(--color-neutral-dark);
}

/* Scroll Progress Bar Indicator */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #FFA852 50%, #FFD2A8 100%);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 2px 10px rgba(243, 133, 36, 0.4);
}

/* Tech Pattern Backgrounds */
.tech-dot-bg {
  background-image: radial-gradient(rgba(15, 30, 54, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Background Ambient Floating Blobs */
.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  animation: blob-drift 20s infinite alternate ease-in-out;
}

@keyframes blob-drift {
  0% {
    transform: translate(0px, 0px) scale(1);
  }
  50% {
    transform: translate(40px, -60px) scale(1.2);
  }
  100% {
    transform: translate(-20px, 30px) scale(0.9);
  }
}

/* Entrance Animations */
.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up-delay-1 {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.animate-slide-up-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-neutral-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Gradient Background Overlays */
.bg-gradient-industrial {
  background: linear-gradient(135deg, rgba(15, 30, 54, 0.5) 0%, rgba(6, 15, 26, 0.8) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #D9701B 100%);
}

/* Soft Shadows & Cards */
.card-premium {
  background: #ffffff;
  border: 1px solid rgba(15, 61, 102, 0.08);
  box-shadow: 0 10px 30px -10px rgba(15, 61, 102, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(15, 61, 102, 0.2);
  border-color: rgba(243, 133, 36, 0.3);
}

/* Dynamic Hover Effects */
.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::after {
  height: 100%;
}

.btn-accent {
  background-color: var(--color-accent);
  color: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn-accent:hover::after {
  height: 100%;
}

/* Fade-In & Scroll Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp / Call Widgets */
.floating-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Testimonial Slider Transitions */
.testimonial-slide {
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  transform: scale(0.95);
  display: none;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
  display: block;
}

/* Timeline Custom Styles */
.timeline-line {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    var(--color-primary) 0,
    var(--color-primary) 10px,
    transparent 10px,
    transparent 20px
  );
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-line {
    left: 24px;
    transform: none;
  }
}

/* Pulse animation for CTA & Live Demo */
.pulse-orange {
  animation: pulse-orange-animation 2s infinite;
}

@keyframes pulse-orange-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 133, 36, 0.5);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(243, 133, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 133, 36, 0.5);
  }
}

/* Video demo pulse */
.pulse-blue {
  animation: pulse-blue-animation 2s infinite;
}

@keyframes pulse-blue-animation {
  0% {
    box-shadow: 0 0 0 0 rgba(15, 30, 54, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(15, 30, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(15, 30, 54, 0.5);
  }
}

/* Glowing text highlight */
.text-glow {
  text-shadow: 0 2px 15px rgba(243, 133, 36, 0.4);
}
