/* Scroll reveal effect */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Dynamic button hovers and active states */
.btn-premium {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-premium:hover {
    transform: scale(1.02);
}

.btn-premium:active {
    transform: scale(0.98);
}

/* Card Active Lifts */
.card-lift {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

/* Pulse / Bounce details */
@keyframes soft-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.animate-soft-bounce {
    animation: soft-bounce 2s infinite ease-in-out;
}

/* Micro transitions for navbar */
.nav-link-transition {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link-transition::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link-transition:hover::after {
    width: 100%;
}
