/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

.float {
  animation: float 6s ease-in-out infinite;
}

/* Decorative UI Elements for App Preview */
.ui-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1rem;
}

.task-card {
  width: 280px;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 5s ease-in-out infinite;
}

.task-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid var(--primary);
}

.task-checkbox.done {
  background: var(--primary);
}

.task-lines .line {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 6px;
}
.task-lines .line:first-child { width: 100%; }
.task-lines .line:last-child { width: 60%; margin-bottom: 0; }

.ai-bubble {
  position: absolute;
  background: var(--gradient-1);
  padding: 0.75rem 1.25rem;
  border-radius: 20px 20px 20px 4px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
  animation: float 4s ease-in-out infinite alternate;
}
