/* =========================================================
   UNIVERSAL ANIMATIONS
   These are used across multiple sections.
========================================================= */

/* Fade In Up (global for hero, cards, workflow, etc.) */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Animations */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  to {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
}

/* Stories Ticker Animation */
@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pulse (used for progress spark, play icons, etc.) */
@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Top Banner Slide Animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =========================================================
   PROOF POPUPS / NOTIFICATIONS
========================================================= */

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* =========================================================
   SECTION 2: NAVBAR
========================================================= */

/* Navigation Fade In */
@keyframes navFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   SECTION 4: HOW IT WORKS
========================================================= */

.workflow-step {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.workflow-grid>div:nth-child(1) .workflow-step {
  animation-delay: 0.2s;
}

.workflow-grid>div:nth-child(2) .workflow-step {
  animation-delay: 0.4s;
}

.workflow-grid>div:nth-child(3) .workflow-step {
  animation-delay: 0.6s;
}

@keyframes glass-shimmer {
  0%, 100% {
    background-position: -200% 0;
  }

  50% {
    background-position: 200% 0;
  }
}


/* =========================================================
   SECTION 6: GROWTH TOOLS
========================================================= */
/* Tool cards staggered fade-in */
.tool-card {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.tools-grid>.tool-card:nth-child(1) {
  animation-delay: 0.1s;
}

.tools-grid>.tool-card:nth-child(2) {
  animation-delay: 0.2s;
}

.tools-grid>.tool-card:nth-child(3) {
  animation-delay: 0.3s;
}

.tools-grid>.tool-card:nth-child(4) {
  animation-delay: 0.4s;
}

.tools-grid>.tool-card:nth-child(5) {
  animation-delay: 0.5s;
}

.tools-grid>.tool-card:nth-child(6) {
  animation-delay: 0.6s;
}