/* 
    Pingsys Solutions Specific Styles
    Common animations, utilities, and section styles for solution pages.
*/

/* --- Common Animations --- */

@keyframes pulse-slow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse-slow 3s infinite ease-in-out;
}

@keyframes pulse-soft {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.animate-pulse-soft {
    animation: pulse-soft 3s infinite ease-in-out;
}

@keyframes bounce-slow-alt {

    0%,
    100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-slow-alt {
    animation: bounce-slow-alt 3s infinite;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes pulse-border {

    0%,
    100% {
        border-color: rgba(37, 99, 235, 0.5);
    }

    50% {
        border-color: rgba(37, 99, 235, 1);
    }
}

.animate-pulse-border {
    animation: pulse-border 2s infinite;
}

/* --- Common Utilities --- */

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.gradient-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.neural-bg {
    background-image: radial-gradient(circle at 2px 2px, rgba(37, 99, 235, 0.05) 1px, transparent 0);
    background-size: 30px 30px;
}

.heading-gradient {
    /* Standard Blue Gradient */
    background: linear-gradient(90deg, #1D4ED8 0%, #3B82F6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-image-container {
    border-radius: 2rem 2rem 0 2rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.bg-soft-gray-gradient {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.shadow-soft {
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.05);
}

/* --- Navigation & Flow --- */

.workflow-arrow {
    position: relative;
}

.workflow-arrow::after {
    content: '→';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .workflow-arrow::after {
        content: '↓';
        right: 50%;
        bottom: -2rem;
        top: auto;
        transform: translateX(50%);
    }
}