/* 组件级补充样式（toast、动画等） */

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fade-up 0.5s ease backwards;
}

.workspace .card:nth-child(1) {
  animation-delay: 0.05s;
}

.workspace .card:nth-child(2) {
  animation-delay: 0.12s;
}

.features .feature-item {
  animation: fade-up 0.5s ease backwards;
}

.features .feature-item:nth-child(1) { animation-delay: 0.18s; }
.features .feature-item:nth-child(2) { animation-delay: 0.24s; }
.features .feature-item:nth-child(3) { animation-delay: 0.3s; }

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
