/* Process Section Styles */
.process {
    padding: var(--spacing-md) 0 var(--spacing-2xl);
    background: 
        radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.03), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.03), transparent 50%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(124, 58, 237, 0.05) 100%);
    position: relative;
    overflow: visible;
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: translateZ(0);
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='currentColor' opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.process-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.process-title {
    margin-bottom: var(--spacing-sm);
}

.process-subtitle {
    max-width: 60rem;
    margin: 0 auto;
    color: var(--color-text);
    opacity: 0.8;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 0 8rem;
    z-index: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(37, 99, 235, 0.2) 0%,
        rgba(124, 58, 237, 0.2) 50%,
        rgba(37, 99, 235, 0.2) 100%
    );
    border-radius: 3px;
    box-shadow: 
        0 0 10px rgba(37, 99, 235, 0.1),
        0 0 20px rgba(124, 58, 237, 0.1);
}

.process-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    transform-style: flat;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiased;
}

.process-step.active {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:nth-child(odd) {
    flex-direction: row-reverse;
}


.process-content {
    width: 45%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.process-content:hover {
    transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.9);
}

.process-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.8),
        0 0 0 8px rgba(37, 99, 235, 0.1);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 
            0 0 0 4px rgba(255, 255, 255, 0.8),
            0 0 0 8px rgba(37, 99, 235, 0.1);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(255, 255, 255, 0.8),
            0 0 0 16px rgba(37, 99, 235, 0.1);
    }
    100% {
        box-shadow: 
            0 0 0 4px rgba(255, 255, 255, 0.8),
            0 0 0 8px rgba(37, 99, 235, 0.1);
    }
}

.process-step:nth-child(odd) .process-content::before {
    left: -60px;
}

.process-step:nth-child(even) .process-content::before {
    right: -60px;
}

.process-step-number {
    position: absolute;
    top: -2rem;
    left: 2rem;
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-secondary);
    opacity: 0.1;
    z-index: 0;
}

.process-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    color: white;
    font-size: 2.4rem;
    transition: transform var(--transition-normal);
}

.process-content:hover .process-icon {
    transform: scale(1.1) rotate(10deg);
}

.process-step-title {
    font-size: 2.4rem;
    margin-bottom: 1.6rem;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.delivery-badge {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.process-step-description {
    font-size: 1.6rem;
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.process-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-feature {
    font-size: 1.4rem;
    color: var(--color-text);
    opacity: 0.9;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.process-feature i {
    color: var(--color-primary);
    font-size: 1.6rem;
}

/* Animation classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 900px) {
    .process-timeline::before {
        left: 30px;
    }

    .process-step {
        flex-direction: row !important;
        justify-content: flex-start;
        padding-left: 80px;
    }

    .process-content {
        width: calc(100% - 80px);
    }

    .process-content::before {
        left: -50px !important;
        right: auto !important;
    }

    .process-step-number {
        left: 1rem;
        font-size: 5rem;
    }
}

@media (max-width: 600px) {
    .process {
        padding: var(--spacing-md) 0 var(--spacing-xl);
    }

    .process-content {
        padding: 2rem;
    }

    .process-step {
        margin-bottom: 4rem;
    }

    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .process-step-title {
        font-size: 2rem;
        gap: 0.8rem;
    }

    .delivery-badge {
        font-size: 1.2rem;
        padding: 0.3rem 0.8rem;
    }

    .process-step-description {
        font-size: 1.4rem;
    }
}
