/* ============ Animations ============ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(0, 198, 255, 0); }
}

.animate-pulse-glow {
  animation: pulseGlow 2.2s infinite;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

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

.shimmer {
  background: linear-gradient(110deg, rgba(255,255,255,0.04) 8%, rgba(255,255,255,0.12) 18%, rgba(255,255,255,0.04) 33%);
  background-size: 200% 100%;
  animation: shimmer 2.5s linear infinite;
}

@keyframes shake {
  10%, 90% { transform: translateX(-1px); }
  20%, 80% { transform: translateX(2px); }
  30%, 50%, 70% { transform: translateX(-4px); }
  40%, 60% { transform: translateX(4px); }
}

.shake {
  animation: shake 0.4s;
}

/* ============ Buttons ============ */
.btn-whatsapp {
  background: linear-gradient(90deg, #007bff, #00c6ff);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 10px 25px -5px rgba(0, 198, 255, 0.5);
}

.btn-whatsapp:active {
  transform: scale(0.98);
}

/* ============ Misc ============ */
.card-icon-wrap {
  background: linear-gradient(135deg, rgba(0,123,255,0.18), rgba(0,198,255,0.08));
}

input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* ============ Form success toast ============ */
.toast-success {
  animation: fadeInUp 0.4s ease forwards;
}

/* ============ Tilt cards (mouse-tracking 3D, see utils/tilt.js) ============ */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

/* ============ Scroll reveal base state (see main.js / GSAP ScrollTrigger) ============ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-on-scroll.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .tilt-card {
    transition: none !important;
    transform: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}
