/* Ek animasyonlar ve yardımcı sınıflar (Tailwind CDN ile birlikte) */
:root {
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes wa-ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-wa-ping {
  animation: wa-ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Scroll ile görünüm */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s var(--ease-smooth),
    transform 0.55s var(--ease-smooth);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-in 0.55s var(--ease-smooth) forwards;
}

.hero-stagger > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-stagger > *:nth-child(2) {
  animation-delay: 0.12s;
}
.hero-stagger > *:nth-child(3) {
  animation-delay: 0.19s;
}
.hero-stagger > *:nth-child(4) {
  animation-delay: 0.26s;
}
.hero-stagger > *:nth-child(5) {
  animation-delay: 0.33s;
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#scroll-progress {
  transform-origin: left center;
}

.form-msg {
  margin-top: 0.75rem;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
}

.form-msg.is-success {
  background-color: rgb(236 253 245);
  color: rgb(5 122 85);
}

.form-msg.is-error {
  background-color: rgb(254 242 242);
  color: rgb(185 28 28);
}

.form-msg.is-pending {
  background-color: rgb(239 246 255);
  color: rgb(29 78 216);
}

/* WhatsApp FAB - giriş */
#wa-fab {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  animation: wa-fab-in 0.55s var(--ease-smooth) 0.45s forwards;
}

@keyframes wa-fab-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
