/* === animation.css === */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(14,165,233,0.2); }
  50%       { box-shadow: 0 0 28px rgba(14,165,233,0.5); }
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to   { background-position: 48px 48px; }
}

@keyframes shimmer {
  0%   { opacity: 0.3; transform: scaleX(0.6); }
  50%  { opacity: 1;   transform: scaleX(1); }
  100% { opacity: 0.3; transform: scaleX(0.6); }
}

.qms-fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.9s ease forwards;
  animation-delay: 0.2s;
}

.qms-logo-fade {
  opacity: 0;
  transform: scale(0.92);
  animation: logoIn 0.8s ease forwards;
  animation-delay: 0.15s;
}

.qms-float {
  opacity: 0;
  transform: translateY(16px);
  animation: floatUp 0.8s ease forwards;
}

.qms-float:nth-child(1) { animation-delay: 0.1s; }
.qms-float:nth-child(2) { animation-delay: 0.25s; }
.qms-float:nth-child(3) { animation-delay: 0.4s; }

.particles {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14,165,233,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,165,233,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: gridDrift 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 2; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

.btn { animation: glowPulse 3s ease-in-out infinite; }
.btn:hover { animation: none; }

.luxury-line { animation: shimmer 4s ease-in-out infinite; }
