html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }

#lamp-container canvas { display: block; }

.hero-title {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
body.lamp-on .hero-title {
  text-shadow: 0 0 20px rgba(255,170,0,0.5), 0 0 40px rgba(255,170,0,0.35), 0 0 60px rgba(255,170,0,0.2), 0 2px 4px rgba(0,0,0,0.5);
}

.btn-primary {
  box-shadow: 0 0 25px rgba(255,170,0,0.35);
  transition: all 0.3s;
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(255,170,0,0.55);
  transform: scale(1.05);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
}
.animate-fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }

#play-icon, #pause-icon { transition: opacity 0.2s ease, transform 0.2s ease; }

.container { max-width: 1280px; margin-left: auto; margin-right: auto; }

/* Sticky nav on scroll */
#nav.nav--stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(5, 5, 16, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Mobile menu */
.nav-menu { visibility: hidden; }
.nav-menu.open { opacity: 1; pointer-events: auto; visibility: visible; }
body.mobile-menu-open { overflow: hidden; }

/* FAQ accordion */
.faq-answer { max-height: 0; transition: max-height 0.3s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }

/* Hide sections disabled from admin */
.section-hidden { display: none !important; }

/* Client logos marquee */
.clients-marquee {
  overflow: hidden;
  direction: ltr;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.clients-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: clients-marquee var(--marquee-duration, 40s) linear infinite;
}
.clients-marquee:hover .clients-marquee-track {
  animation-play-state: paused;
}
.clients-marquee-half,
.clients-marquee-set {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-shrink: 0;
}
.clients-marquee-item {
  flex-shrink: 0;
}
.client-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
  padding: 0 1.25rem;
  opacity: 0.45;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
.client-logo-link:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: scale(1.05);
}
.client-logo-img {
  max-height: 64px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (min-width: 768px) {
  .client-logo-link {
    min-width: 200px;
    height: 96px;
    padding: 0 1.5rem;
  }
  .client-logo-img {
    max-height: 80px;
    max-width: 260px;
  }
}
@keyframes clients-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Play button attention */
.play-btn-attention {
  position: relative;
}
.play-btn-attention::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 170, 0, 0.5);
  animation: play-btn-pulse 2s ease-out infinite;
  pointer-events: none;
}
.play-btn-attention::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 170, 0, 0.35);
  animation: play-btn-pulse 2s ease-out infinite 0.7s;
  pointer-events: none;
}
@keyframes play-btn-pulse {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Intro CTA button – attention effect */
.intro-cta-attention {
  position: relative;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.2);
  animation: intro-cta-glow 2.5s ease-in-out infinite;
}
.intro-cta-attention::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 170, 0, 0.4);
  animation: intro-cta-ring 2.5s ease-out infinite;
  pointer-events: none;
}
.intro-cta-attention:hover {
  box-shadow: 0 0 30px rgba(255, 170, 0, 0.4);
}
@keyframes intro-cta-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 170, 0, 0.2); }
  50% { box-shadow: 0 0 28px rgba(255, 170, 0, 0.35); }
}
@keyframes intro-cta-ring {
  0% { transform: scale(0.98); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 0; }
}
