/* ============================================
   SMOOTH ANIMATIONS — BALANCED
   Slow reveals, fast transitions, normal hovers
   ============================================ */

/* --- Slower card/section reveals ONLY --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 
        opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
        transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Cursor-following glow on cards --- */
.product-card::before,
.contact-action::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 163, 60, 0.06), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: inherit;
}

.product-card:hover::before,
.contact-action:hover::before {
    opacity: 1;
}

.product-card,
.contact-action {
    position: relative;
    overflow: hidden;
}

.product-card > *,
.contact-action > * {
    position: relative;
    z-index: 1;
}

/* --- Fast page transition --- */
body {
    transition: opacity 0.2s ease;
}

/* --- Feature cards subtle slide on hover --- */
.product-feature:hover,
.proj-focus__capability:hover {
    transform: translateX(4px);
}