/* Professional Animations */
@keyframes pulse-ring {
  0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 20px rgba(99, 102, 241, 0); }
  100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}

@keyframes scan-line {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.1); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.anim-robot-container {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 0 auto;
  animation: float 3s ease-in-out infinite;
}

.anim-robot-head {
  width: 60px;
  height: 50px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 12px;
  position: absolute;
  top: 15px;
  left: 10px;
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
  z-index: 2;
}

.anim-robot-eyes {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}

.anim-robot-eye {
  width: 10px;
  height: 10px;
  background: #00ffcc;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffcc;
  animation: blink 4s infinite;
}

.anim-robot-antenna {
  width: 4px;
  height: 15px;
  background: #4b5563;
  position: absolute;
  top: 0;
  left: 38px;
  z-index: 1;
}

.anim-robot-ball {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  position: absolute;
  top: -4px;
  left: -2px;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse-ring 2s infinite;
}

.anim-scan-doc {
  width: 60px;
  height: 70px;
  background: white;
  border-radius: 4px;
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.anim-scan-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: scan-line 2s linear infinite;
  z-index: 5;
}

.anim-doc-lines {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anim-doc-line {
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  width: 100%;
}

.anim-success-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981, #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
  animation: float 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.anim-success-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg) translateX(-150%);
  animation: shimmer 3s infinite;
}

.anim-check {
  width: 30px;
  height: 15px;
  border-left: 4px solid white;
  border-bottom: 4px solid white;
  transform: rotate(-45deg) translate(2px, -2px);
}
