/* ============================================================
   SÉCULO EXPLORER — Animations & Micro-interactions
   ============================================================ */

/* ── Keyframes ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Scroll-triggered animations ── */
.animate-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
}

.animate-on-scroll.in-view {
  animation: fadeUp 0.6s ease forwards;
}

/* Staggered delays for sibling children */
.animate-on-scroll:nth-child(2) { animation-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { animation-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { animation-delay: 0.3s; }

/* ── Hero entrance animations ── */
.hero-content > * {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }
.hero-content > *:nth-child(5) { animation-delay: 0.7s; }

/* ── Stat pills ── */
.stat-pill {
  transition: background 0.2s ease, transform 0.2s ease;
}

.stat-pill:hover {
  background: rgba(200, 169, 110, 0.15) !important;
  transform: translateY(-2px);
}

/* ── Use-case cards ── */
.use-case-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.use-case-card:hover {
  border-color: var(--color-accent) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

/* ── Step cards ── */
.step-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 26, 46, 0.1);
}

/* ── Problem columns ── */
.problem-col {
  transition: transform 0.3s ease;
}

/* ── Search mock card ── */
.search-mock {
  transition: box-shadow 0.3s ease;
}

.search-mock:hover {
  box-shadow: 0 20px 48px rgba(26, 26, 46, 0.12);
}

/* ── CTA section ── */
.cta-card {
  transition: transform 0.3s ease;
}
