/* Animation Classes */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.fade-in-up { transform: translateY(40px); }
.fade-in-left { transform: translateX(-40px); }
.fade-in-right { transform: translateX(40px); }

/* --- Advanced Tech Animations --- */
.glass-fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.16, 1, 0.3, 1), filter 1s ease-out;
    will-change: opacity, transform, filter;
}

.cyber-zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visibility State */
.visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
    filter: blur(0px) !important;
}

/* --- Delay Utilities for Staggered Animations --- */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }
.delay-600 { transition-delay: 600ms; }

/* --- High-tech Interactive Hover Effects --- */
.tech-hover-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.tech-hover-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: left 0.6s ease-out;
}

.tech-hover-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 167, 193, 0.2), 0 0 15px rgba(0, 167, 193, 0.4);
    border-color: #00a7c1; /* seisa-cobalt */
}

.tech-hover-card:hover::after {
    left: 200%;
}

/* Enhanced Product Card Hover */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 167, 193, 0.15);
    border-color: var(--primary-blue);
}

/* --- Tech Grid Animated Background --- */
.bg-tech-grid {
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* --- Glowing Inputs --- */
.tech-input-glow:focus {
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    border-color: #38bdf8 !important;
    background-color: #f8fafc;
}