/* Animated Followup Buttons */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
  }
  100% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Target Flutter followup buttons */
.flutter-followup-button {
  animation: slideIn 0.5s ease-out;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.flutter-followup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.flutter-followup-button:active {
  transform: translateY(0);
}

/* Sequential animation for buttons */
.flutter-followup-button:nth-child(1) {
  animation: slideIn 0.5s ease-out 0.2s both;
}

.flutter-followup-button:nth-child(2) {
  animation: slideIn 0.5s ease-out 0.4s both;
}

.flutter-followup-button:nth-child(3) {
  animation: slideIn 0.5s ease-out 0.6s both;
}

/* Pulse animation for first button */
.flutter-followup-button:nth-child(1) {
  animation: slideIn 0.5s ease-out 0.2s both, pulse 2s infinite 2s;
}

/* Bounce animation for second button */
.flutter-followup-button:nth-child(2) {
  animation: slideIn 0.5s ease-out 0.4s both, bounce 1s infinite 3s;
}

/* Glow animation for third button */
.flutter-followup-button:nth-child(3) {
  animation: slideIn 0.5s ease-out 0.6s both, glow 2s infinite 4s;
}

/* Ripple effect on click */
.flutter-followup-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.flutter-followup-button:active::before {
  width: 300px;
  height: 300px;
}

/* Text animation */
@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6);
  }
}

.flutter-followup-text {
  animation: textGlow 3s infinite;
  font-weight: 600;
}

/* Try asking title animation */
@keyframes titleSlide {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.flutter-try-asking-title {
  animation: titleSlide 0.8s ease-out;
  color: #3b82f6;
  font-weight: bold;
  margin-bottom: 12px;
  display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .flutter-followup-button {
    margin: 4px 0;
  }
  
  .flutter-followup-button:hover {
    transform: none;
  }
}
