/* Motion 3D untuk hero Percakapan */
.chat-hero { perspective: 1200px; }
.chat-hero .ch-kt, .chat-hero .ch-donut, .chat-hero .ch-queue, .chat-hero .ch-wa, .chat-hero .ch-set {
  transform-style: preserve-3d;
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, background-color .3s ease;
  animation: cardIn3d .9s cubic-bezier(.2, .8, .2, 1) backwards;
  will-change: transform;
}
.chat-hero .ch-kt:hover { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-3px); }
.chat-hero .ch-donut, .chat-hero .ch-queue, .chat-hero .ch-wa, .chat-hero .ch-set {
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(139, 123, 255, .18), transparent 55%), rgba(255, 255, 255, .75);
}
.chat-hero .ch-wa, .chat-hero .ch-set { animation: cardIn3d .9s cubic-bezier(.2, .8, .2, 1) backwards, floaty 6s ease-in-out 1s infinite; }
.chat-hero .ch-kt:nth-child(1) { animation-delay: .00s; }
.chat-hero .ch-kt:nth-child(2) { animation-delay: .08s; }
.chat-hero .ch-kt:nth-child(3) { animation-delay: .16s; }
.chat-hero .ch-kt:nth-child(4) { animation-delay: .24s; }
.chat-hero .ch-donut { animation-delay: .32s; }
.chat-hero .ch-queue { animation-delay: .40s; }
.chat-hero .ch-wa { animation-delay: .48s; }
.chat-hero .ch-set { animation-delay: .56s; }
.chat-hero .cd-svg { animation: spinIn 1.2s cubic-bezier(.2, .8, .2, 1) backwards; }
@keyframes cardIn3d {
  from { opacity: 0; transform: perspective(800px) rotateX(-22deg) translateY(22px) scale(.96); }
  to   { opacity: 1; transform: perspective(800px) rotateX(0) translateY(0) scale(1); }
}
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes spinIn { from { transform: rotate(-120deg) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .chat-hero .ch-kt, .chat-hero .ch-donut, .chat-hero .ch-queue, .chat-hero .ch-wa, .chat-hero .ch-set, .chat-hero .cd-svg { animation: none !important; transform: none !important; transition: none !important; }
}
