/* ============================================
   ZAKTOMATE — Animations & Motion
   Scroll reveals, hero load, float, accordion
   ============================================ */

/* --- Scroll-triggered Entrance: Fade Up --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Scroll-triggered Entrance: Scale In --- */
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Stagger Delays --- */
.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }
.delay-6 { transition-delay: 0.60s; }

/* --- Hero Load Sequence --- */
.hero-eyebrow {
  opacity: 0;
  animation: heroFadeIn 0.5s ease forwards;
  animation-delay: 0ms;
}

.hero-h1 {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 100ms;
}

.hero-sub {
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 250ms;
}

.hero-proof {
  opacity: 0;
  animation: heroFadeIn 0.5s ease forwards;
  animation-delay: 350ms;
}

.hero-cta {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 450ms;
}

.hero-trust {
  opacity: 0;
  animation: heroFadeIn 0.5s ease forwards;
  animation-delay: 550ms;
}

.hero-visual {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 200ms;
}

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

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

/* --- Hero Photo Float (continuous, VERY subtle) --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

.hero-photo-float {
  animation: float 7s ease-in-out infinite;
}

/* --- FAQ Accordion --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-bottom: 0;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

.faq-icon {
  transition: transform 0.25s ease;
  font-size: 20px;
  color: var(--text-secondary);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

/* --- Nav underline slide --- */
@keyframes slideIn {
  from { width: 0; }
  to   { width: 100%; }
}
