@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(24px, 18px); } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.hero-in > * { opacity: 0; animation: rise .7s ease-out forwards; }
.hero-in > *:nth-child(2) { animation-delay: .1s; }
.hero-in > *:nth-child(3) { animation-delay: .2s; }
.hero-in > *:nth-child(4) { animation-delay: .3s; }
.hero-in > *:nth-child(5) { animation-delay: .4s; }
.phone.float { animation: float 6s ease-in-out infinite; }
.shape.a { animation: drift 14s ease-in-out infinite; }
.shape.b { animation: drift 18s ease-in-out infinite reverse; }
.bars.in b { animation: grow .8s ease-out both; }
.view-fade { animation: fade-in .35s ease-out; }
.pop { animation: pop .35s ease-out; }

/* If AOS cannot load, ui.js adds .no-aos so nothing stays hidden */
.no-aos [data-aos] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-in > * { opacity: 1; }
  [data-aos] { opacity: 1 !important; transform: none !important; }
}
