@keyframes smooth-fade-up {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.smooth-reveal {
    animation: smooth-fade-up 0.8s var(--ease-out) both;
}
.smooth-reveal:nth-child(1) { animation-delay: 0ms; }
.smooth-reveal:nth-child(2) { animation-delay: 100ms; }
.smooth-reveal:nth-child(3) { animation-delay: 200ms; }
.smooth-reveal:nth-child(4) { animation-delay: 300ms; }
.smooth-reveal:nth-child(5) { animation-delay: 400ms; }

/* Enhanced 3D transitions */
.btn {
    transition: transform 0.2s var(--ease-out), background 0.2s, box-shadow 0.2s;
}
/* A one-pixel lift, no scale: scaling a button re-rasterises its label and
   blurs the text for the length of the hover. */
.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}
.btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}
@media (prefers-reduced-motion: reduce) {
    .smooth-reveal { animation: none; }
    .btn:hover:not(:disabled), .btn:active:not(:disabled) { transform: none; }
}

.card-wide, .card-narrow, .card-half, .plan {
    will-change: transform;
}
