/* ==========================================================================
   AKADEMIA WPŁYWU — ANIMATIONS
   Lekkie animacje CSS, respektują prefers-reduced-motion (patrz style.css)
   ========================================================================== */

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.hero-blob { animation: floatSlow 9s ease-in-out infinite; }
.hero-blob--rose { animation-delay: 1.5s; animation-duration: 11s; }

@keyframes drawLine {
  from { stroke-dashoffset: 600; }
  to { stroke-dashoffset: 0; }
}

.hero-svg path {
  stroke-dasharray: 600;
  animation: drawLine 2.4s ease forwards;
}

.hero-svg path:nth-of-type(2) { animation-delay: 0.4s; }

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

.hero-copy > * {
  animation: fadeInUp 0.7s ease both;
}
.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.15s; }
.hero-copy .hero-lead { animation-delay: 0.25s; }
.hero-copy .hero-cta { animation-delay: 0.35s; }
.hero-copy .hero-proof { animation-delay: 0.45s; }

/* Card hover micro-interaction */
.course-card, .service-card, .package-card, .blog-card {
  will-change: transform;
}

/* Reveal-on-scroll base state lives in style.css ([data-reveal]);
   this file only supplies staggered delays for grouped items. */
.courses-grid [data-reveal]:nth-child(2) { transition-delay: 0.05s; }
.courses-grid [data-reveal]:nth-child(3) { transition-delay: 0.1s; }
.courses-grid [data-reveal]:nth-child(4) { transition-delay: 0.15s; }
.courses-grid [data-reveal]:nth-child(5) { transition-delay: 0.2s; }
.courses-grid [data-reveal]:nth-child(6) { transition-delay: 0.25s; }

@keyframes pulseHighlight {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 155, 60, 0); }
  50% { box-shadow: 0 0 0 8px rgba(200, 155, 60, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob, .hero-svg path, .hero-copy > *, .course-card.is-recommended { animation: none !important; }
}
