/* ===================================================
   APRIX Global — Animations CSS v2 (enhanced)
   =================================================== */

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-14px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes rotateSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes glowPulse { 0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.2); } 50% { box-shadow: 0 0 40px rgba(201,168,76,0.5); } }
@keyframes fabPulse { 0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); } 50% { box-shadow: 0 6px 40px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); } }
@keyframes borderGlow { 0%{background-position:0%} 100%{background-position:300%} }
@keyframes playPulse { 0%{box-shadow:0 0 0 0 rgba(201,168,76,0.5);} 70%{box-shadow:0 0 0 20px rgba(201,168,76,0);} 100%{box-shadow:0 0 0 0 rgba(201,168,76,0);} }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes loaderFill { from { width: 0; } to { width: 100%; } }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0;} }
@keyframes rippleAnim { to { transform: scale(4); opacity: 0; } }

/* AOS scroll reveals */
[data-aos] { opacity: 0; transition: opacity 0.75s ease, transform 0.75s ease; }
[data-aos].aos-animate { opacity: 1; transform: none !important; }
[data-aos="fade-up"]    { transform: translateY(36px); }
[data-aos="fade-down"]  { transform: translateY(-36px); }
[data-aos="fade-left"]  { transform: translateX(36px); }
[data-aos="fade-right"] { transform: translateX(-36px); }
[data-aos="zoom-in"]    { transform: scale(0.88); }
[data-aos="flip-up"]    { transform: perspective(600px) rotateX(-20deg); }

[data-aos-delay="50"]  { transition-delay: 0.05s; }
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="150"] { transition-delay: 0.15s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="250"] { transition-delay: 0.25s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="350"] { transition-delay: 0.35s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }
[data-aos-delay="600"] { transition-delay: 0.6s; }

/* Hero entrance */
.hero-content .hero-badge     { animation: fadeInUp 0.7s ease 0.2s both; }
.hero-content h1              { animation: fadeInUp 0.8s ease 0.38s both; }
.hero-content .hero-subtitle  { animation: fadeInUp 0.7s ease 0.55s both; }
.hero-content .hero-actions   { animation: fadeInUp 0.7s ease 0.7s both; }
.hero-content .hero-stats-row { animation: fadeInUp 0.7s ease 0.85s both; }

/* Utility */
.float-el  { animation: float 5s ease-in-out infinite; }
.float-el-2{ animation: float 7s ease-in-out infinite 1s; }
.spin      { animation: rotateSlow 2s linear infinite; }
.gold-glow { animation: glowPulse 3s ease-in-out infinite; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.animated-underline { position: relative; display: inline-block; }
.animated-underline::after {
  content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.4s ease;
}
.animated-underline:hover::after { width: 100%; }
.hover-lift { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-lift:hover { transform: translateY(-5px); }
