/* Missouri Auto Auctions v1.04: lightweight micro-animations, Homepage feature icons only.
   No palette, layout, links, click handlers, or global selectors changed. */
.ca-home-feature-grid .ca-feature-icon {
  overflow: hidden;
}
.ca-home-feature-grid .ca-feature-icon > i {
  display: inline-block;
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}
/* Clipboard check confirms the inspection. */
.ca-home-feature-grid .ca-feature[data-ca-motion="inspection"] .ca-feature-icon > i {
  animation: ca104-inspection 5.7s ease-in-out infinite;
}
@keyframes ca104-inspection {
  0%, 70%, 100% { transform: scale(1) rotate(0); }
  76% { transform: scale(1.12) rotate(-5deg); }
  82% { transform: scale(1) rotate(0); }
}
/* The side-by-side comparison panels briefly move together and apart. */
.ca-home-feature-grid .ca-feature[data-ca-motion="compare"] .ca-feature-icon > i {
  animation: ca104-compare 5.4s ease-in-out infinite;
}
@keyframes ca104-compare {
  0%, 67%, 100% { transform: scaleX(1); }
  75% { transform: scaleX(.78); }
  83% { transform: scaleX(1.08); }
  90% { transform: scaleX(1); }
}
/* The eye closes for an instant and opens again. */
.ca-home-feature-grid .ca-feature[data-ca-motion="watch"] .ca-feature-icon > i {
  animation: ca104-blink 4.2s ease-in-out infinite;
}
@keyframes ca104-blink {
  0%, 71%, 77%, 83%, 100% { transform: scaleY(1); }
  74% { transform: scaleY(.12); }
  80% { transform: scaleY(.15); }
}
/* Delivery van moves a few pixels without leaving its card. */
.ca-home-feature-grid .ca-feature[data-ca-motion="tracking"] .ca-feature-icon > i {
  animation: ca104-tracking 5.6s ease-in-out infinite;
}
@keyframes ca104-tracking {
  0%, 63%, 100% { transform: translateX(0); }
  73% { transform: translateX(4px); }
  79% { transform: translateX(-2px); }
  89% { transform: translateX(0); }
}
/* Shield settles firmly back into its protected state. */
.ca-home-feature-grid .ca-feature[data-ca-motion="payments"] .ca-feature-icon > i {
  animation: ca104-shield 6s ease-in-out infinite;
}
@keyframes ca104-shield {
  0%, 68%, 100% { transform: scale(1) rotate(0); }
  76% { transform: scale(1.13) rotate(-4deg); }
  84% { transform: scale(1.04) rotate(2deg); }
}
/* E-sign mark writes gently from left to right. */
.ca-home-feature-grid .ca-feature[data-ca-motion="esign"] .ca-feature-icon > i {
  animation: ca104-sign 5.3s ease-in-out infinite;
}
@keyframes ca104-sign {
  0%, 65%, 100% { transform: translate(0,0) rotate(0); }
  72% { transform: translate(-2px,-1px) rotate(-6deg); }
  80% { transform: translate(2px,1px) rotate(4deg); }
  88% { transform: translate(0,0) rotate(0); }
}
/* Auctioneer's gavel lifts and strikes. */
.ca-home-feature-grid .ca-feature[data-ca-motion="auctions"] .ca-feature-icon > i {
  transform-origin: 85% 85%;
  animation: ca104-gavel 4.9s ease-in-out infinite;
}
@keyframes ca104-gavel {
  0%, 65%, 77%, 100% { transform: rotate(0); }
  71% { transform: rotate(-22deg); }
  74% { transform: rotate(10deg); }
  81% { transform: rotate(-8deg); }
}
/* Respect system accessibility settings; all cards remain clickable. */
@media (prefers-reduced-motion: reduce) {
  .ca-home-feature-grid .ca-feature-icon > i { animation: none !important; transform: none !important; }
}
