/* Who Is Revo - Enhanced Styling */

/* System Steps Section */
.system-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
}

.step-card {
    background: rgba(19, 27, 47, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(19, 27, 47, 0.9);
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #00D9FF, #9D00FF);
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover::before {
    opacity: 1;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}

.step-content h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    position: relative;
    display: inline-block;
}

.step-content p {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Image Styling */
.step-image {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.05);
}

/* Glow Effect behind image */
.step-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.6), transparent);
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .system-steps {
        grid-template-columns: 1fr;
    }
}