/* ============================================================
   SOLARA INVESTMENT — Keyframes & Animations
   ============================================================ */

/* === BLOB DRIFT === */
@keyframes drift1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -20px) scale(1.05); }
  66%  { transform: translate(-20px, 30px) scale(0.97); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift2 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-25px, 20px) scale(1.03); }
  66%  { transform: translate(20px, -25px) scale(0.98); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes drift3 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(15px, -15px) scale(1.04); }
  100% { transform: translate(0, 0) scale(1); }
}

/* === BLOB FADE === */
@keyframes blobFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* === SOLAR ROTATION === */
@keyframes solarRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* === GLOW PULSE === */
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 0.9; transform: scale(1.08); }
}

/* === SCROLL DOT === */
@keyframes scrollDot {
  0%   { top: -6px; opacity: 1; }
  100% { top: calc(100% + 6px); opacity: 0; }
}

/* === EMERALD PULSE (CTA) === */
@keyframes emeraldPulse {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.pulse-once {
  animation: emeraldPulse 2s ease 1.8s 1;
}

/* === CHART BAR GROW === */
@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* === SCROLL REVEAL SYSTEM === */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="0"] { transition-delay: 0ms; }
[data-delay="1"] { transition-delay: 100ms; }
[data-delay="2"] { transition-delay: 200ms; }
[data-delay="3"] { transition-delay: 300ms; }
[data-delay="4"] { transition-delay: 400ms; }
[data-delay="5"] { transition-delay: 500ms; }

/* === STEP REVEAL === */
.step {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[dir="rtl"] .step {
  transform: translateX(-20px);
}

.step.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .step,
  .hero__eyebrow,
  .hero__heading .word,
  .hero__body,
  .hero__actions,
  .hero__stats {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero__blob,
  .hero__scroll-dot,
  .hero__visual-glow {
    animation: none !important;
    opacity: 1 !important;
  }
}
