@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #000000;
    color: #ffffff;
}

.bg-black {
    background-color: #000000;
}
/* Smooth scroll target */
html {
    scroll-behavior: smooth;
}

/* Section padding for scroll target alignment */
section {
    scroll-margin-top: 100px; /* Adjust based on header height */
}
/* Hero Background with Gradient Overlay */
section.hero-bg {
  background: 
    linear-gradient(135deg, 
      rgba(0, 0, 0, 0.7) 0%, 
      rgba(0, 0, 0, 0.5) 100%),
    url('https://huggingface.co/spaces/Doloras/lichtkreation-konfigurator/resolve/main/images/Background_Hero.png') center/cover;
}
.spotlight {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  mix-blend-mode: screen;               /* looks good on black */
  opacity: 0;
  z-index: 0;

  /* performance helpers */
  will-change: opacity, transform, filter;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0,0,0);
  /* moderate blur (avoid >64px if possible on low-end devices) */
  filter: blur(36px);
}

/* Keyframes: smooth fade in/out + subtle movement via translate3d + scale */
@keyframes spotlightMove {
  0% {
    opacity: 0;
    transform: translate3d(0px, 0px, 0) scale(0.98);
    filter: blur(34px);
  }
  12% {
    opacity: 0.08;
    transform: translate3d(6px, -4px, 0) scale(1.00);
  }
  35% {
    opacity: 0.22;
    transform: translate3d(18px, -10px, 0) scale(1.03);
  }
  60% {
    opacity: 0.18;
    transform: translate3d(-8px, 12px, 0) scale(1.00);
  }
  88% {
    opacity: 0.06;
    transform: translate3d(4px, -2px, 0) scale(0.99);
  }
  100% {
    opacity: 0;
    transform: translate3d(0px, 0px, 0) scale(0.98);
    filter: blur(36px);
  }
}

/* Different durations + staggered delays for natural appearance */
.spotlight {
  animation-name: spotlightMove;
  animation-timing-function: cubic-bezier(.22,.9,.33,1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

/* Individual timings - tweak durations if you want faster/slower */
.a1 { animation-duration: 12s; animation-delay: 0s;  }
.a2 { animation-duration: 14s; animation-delay: 2.0s; }
.a3 { animation-duration: 16s; animation-delay: 4.2s; }
.a4 { animation-duration: 13s; animation-delay: 6.1s; }

/* Keep initial opacity low (base color opacity from Tailwind classes) */
/* If you need even less brightness, lower the alpha in the markup (e.g. bg-blue-500/50) */

/* Respect user's reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .spotlight {
    animation: none !important;
    opacity: 0.12 !important; /* static subtle glow */
    transform: none !important;
  }
}

/* Optional: responsive - reduce blur & size on small screens to improve perf */
@media (max-width: 768px) {
  .spotlight { filter: blur(24px); }
}
/* Hero box styling */
.bg-\[\#1e3a8a\]\/90 {
  background-color: rgba(30, 58, 138, 0.9);
}

/* Hero dot animation */
#hero-dot {
    transition: transform 0.2s ease-out, opacity 0.3s ease;
    will-change: transform, opacity;
}

/* Hero logo */
.logo-hero {
position: relative;
  display: inline-block;
}

.logo-hero .logo-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: #F97316;
  border-radius: 50%;
  margin-left: 6px;
}

/* Section transitions */
section {
  position: relative;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(17,24,39,0) 0%, rgba(17,24,39,1) 100%);
  z-index: 1;
}
/* Pricing card hover effect */
.bg-gray-800 {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.bg-gray-800:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.bg-gray-8002 {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  background-color: rgba(31, 41, 55, 0.5);
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}

/* Animation for hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: translateY(-5px);
}

/* Play button overlay */
#demo-overlay {
  transition: opacity 0.3s ease;
}

#play-button {
  box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  animation: pulse 2s infinite;
}
/* Pulse animation for CTA */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Custom glow effect */
.glow-text {
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}