/* Predictive Analytics Page - Inline Styles */

/* Animation keyframes */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes matrixMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

@keyframes matrixScroll {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Matrix rain effect for header */
.correlation-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #dc3545 0%, #a02530 100%);
}

.correlation-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px
        );
    animation: matrixMove 20s linear infinite;
    z-index: 1;
}

.correlation-hero::after {
    display: none !important; /* Remove the curved shape completely */
}

.matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4; /* More visible */
    z-index: 2;
}

.correlation-hero-content {
    position: relative;
    z-index: 3;
}

/* Gradient backgrounds for enhanced ML models */
.gradient-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-pink {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}