/* ========================================
   ANIMATIONS — Dark Luxury Theme
   ======================================== */

/* Scroll animation base states — only activate when JS has set up observers */
.js-animations-ready .animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-animations-ready .animate-on-scroll[data-animation="fadeInUp"] {
  transform: translateY(30px);
}

.js-animations-ready .animate-on-scroll[data-animation="fadeInLeft"] {
  transform: translateX(-30px);
}

.js-animations-ready .animate-on-scroll[data-animation="fadeInRight"] {
  transform: translateX(30px);
}

.js-animations-ready .animate-on-scroll[data-animation="scaleIn"] {
  transform: scale(0.95);
}

.js-animations-ready .animate-on-scroll.animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Hero text stagger */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero text entrance animations */
.hero-text .hero-eyebrow {
  animation: heroFadeIn 0.7s ease 0.2s both;
}

.hero-text h1 {
  animation: heroFadeIn 0.7s ease 0.35s both;
}

.hero-text .hero-description {
  animation: heroFadeIn 0.7s ease 0.5s both;
}

.hero-text .hero-buttons {
  animation: heroFadeIn 0.7s ease 0.65s both;
}

.hero-text .hero-stats {
  animation: heroFadeIn 0.7s ease 0.8s both;
}

.hero-product {
  animation: heroFadeIn 0.9s ease 0.9s both;
}

/* Gold pulse glow */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.3); }
  70% { box-shadow: 0 0 0 12px rgba(201, 168, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
}

.btn-primary:hover {
  animation: pulseGlow 1.5s ease infinite;
}

/* Gradient border animation */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Teal pulse */
@keyframes tealPulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 107, 135, 0.3); }
  70% { box-shadow: 0 0 0 10px rgba(13, 107, 135, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 107, 135, 0); }
}

/* Particle canvas */
.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
