/* home.css — homepage animations */

/* ── Hero: CSS-only entrance (above fold, WOW can't reach it) ── */
.hp-hero-h1 {
  animation: hp-slide-left 0.85s cubic-bezier(.22,.61,.36,1) both;
}
.hp-hero-sub {
  animation: hp-fade-up 0.8s ease 0.3s both;
}
.hp-hero-checks {
  animation: hp-fade-up 0.8s ease 0.5s both;
}
.hp-hero-btn {
  animation: hp-fade-up 0.8s ease 0.65s both;
}
.hp-hero-trust {
  animation: hp-fade-up 0.8s ease 0.85s both;
}
.hp-hero-form {
  animation: hp-slide-right 0.85s cubic-bezier(.22,.61,.36,1) 0.15s both;
}

@keyframes hp-slide-left {
  from { opacity: 0; transform: translateX(-60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hp-slide-right {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hp-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Section title green underline reveal on WOW fire ── */
.hp-section-title {
  position: relative;
}
/* .hp-section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: var(--c-green-btn, #069E2D);
  margin: 10px auto 0;
  transition: width 0.7s ease 0.4s;
  border-radius: 2px;
}
.hp-section-title.animate__animated::after {
  width: 70px;
} */

/* ── Service card hover lift ── */
.hp-svc-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-svc-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 36px rgba(0,0,0,.13);
}

/* ── Process card hover lift + number highlight ── */
.process-card {
  transition: transform 0.3s ease;
}
.process-card:hover {
  transform: translateY(-5px);
}
.process-card .card-number {
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.process-card:hover .card-number {
  color: var(--c-green-btn, #069E2D);
  transform: scale(1.18);
}

/* ── Book tile hover lift ── */
.hp-book-tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-book-tile:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  z-index: 2;
  position: relative;
}

/* ── Milestone founder image float ── */
.hp-milestone-img {
  animation: hp-float 5s ease-in-out infinite;
}
@keyframes hp-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── Idea CTA book animations ── */
.hp-idea-book-l {
  animation: hp-book-l-float 6s ease-in-out infinite;
}
.hp-idea-book-r {
  animation: hp-book-r-pulse 3.5s ease-in-out infinite;
  transform-origin: bottom center;
}

@keyframes hp-book-l-float {
  0%   { transform: translateY(0)    rotate(-12deg); }
  30%  { transform: translateY(-18px) rotate(-8deg);  }
  60%  { transform: translateY(-8px)  rotate(-15deg); }
  100% { transform: translateY(0)    rotate(-12deg); }
}
@keyframes hp-book-r-pulse {
  0%, 100% { transform: scale(1);    }
  50%      { transform: scale(0.92); }
}

/* ── Genre pill active glow ── */
.hp-genre-pill.active {
  box-shadow: 0 0 0 3px rgba(6,158,45,.25);
}
.hp-genre-pill {
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.hp-genre-pill:hover {
  transform: translateY(-2px);
}
