/* ════════════════════════════════════════════════════════════
   TAT POINT — Premium Animations & Motion Effects
   ════════════════════════════════════════════════════════════ */

/* ─── Scroll Reveal Animations ─── */
.tp-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.tp-reveal.tp-from-left {
  transform: translateX(-40px);
}

.tp-reveal.tp-from-right {
  transform: translateX(40px);
}

.tp-reveal.tp-zoom {
  transform: scale(0.92);
}

.tp-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger Children Delays */
.tp-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.tp-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.tp-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.tp-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.tp-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.tp-stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* ─── Floating Element Animations ─── */
@keyframes tpFloatSlow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes tpFloatRev {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

.tp-chip-float.c1 {
  animation: tpFloatSlow 5s ease-in-out infinite;
}

.tp-chip-float.c2 {
  animation: tpFloatRev 6s ease-in-out 1s infinite;
}

.tp-chip-float.c3 {
  animation: tpFloatSlow 5.5s ease-in-out 0.5s infinite;
}

/* ─── Pulsing Badge Animation ─── */
@keyframes tpPulseShadow {
  0% {
    box-shadow: 0 0 0 0 rgba(226, 35, 26, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(226, 35, 26, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(226, 35, 26, 0);
  }
}

.tp-price-badge {
  animation: tpPulseShadow 3s infinite;
}

/* ─── Premium Button Shimmer ─── */
.tp-btn-red, .tp-btn-white {
  position: relative;
  overflow: hidden;
}

.tp-btn-red::after, .tp-btn-white::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  transition: none;
}

.tp-btn-red:hover::after, .tp-btn-white:hover::after {
  animation: tpShine 0.85s ease-in-out;
}

@keyframes tpShine {
  0% {
    left: -60%;
  }
  100% {
    left: 140%;
  }
}

/* ─── Gentle Hover Card Glow ─── */
.tp-p-card {
  position: relative;
}

.tp-p-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: 0 0 35px rgba(27, 117, 188, 0.16);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tp-p-card:hover::after {
  opacity: 1;
}

/* ─── WhatsApp Floater Pulse ─── */
@keyframes tpWaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.tp-float-btn.whatsapp {
  animation: tpWaPulse 2.8s infinite;
}

/* ─── Reduced Motion Support ─── */
@media (prefers-reduced-motion: reduce) {
  .tp-reveal,
  .tp-chip-float,
  .tp-price-badge,
  .tp-float-btn.whatsapp,
  .tp-btn-red::after,
  .tp-btn-white::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

