/* Process Section */
.process {
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(52, 184, 193, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(109, 214, 220, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.04) 0%, transparent 60%);
    z-index: 0;
}

.process-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.process-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(52, 184, 193, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.process-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.process-stage:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(52, 184, 193, 0.15),
        0 8px 16px rgba(52, 184, 193, 0.1);
    border-color: var(--color-primary-light);
}

.process-stage:hover::before {
    transform: scaleX(1);
}

.stage-visual {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1rem;
    box-shadow:
        0 8px 24px rgba(52, 184, 193, 0.3),
        0 4px 12px rgba(52, 184, 193, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.stage-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-stage:hover .stage-icon::before {
    opacity: 1;
}

.stage-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    z-index: 3;
}

.stage-connector {
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transform: translateY(-50%);
    z-index: 1;
}

.stage-connector::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 8px solid var(--color-primary-light);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transform: translateY(-50%);
}

.stage-3 .stage-connector {
    display: none;
}

.stage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.stage-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.stage-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 200px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(52, 184, 193, 0.05);
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.feature-item:hover {
    background: rgba(52, 184, 193, 0.1);
    color: var(--text-primary);
    transform: translateX(4px);
}

.stage-1 { animation: slideInUp 0.6s ease-out 0.1s both; }
.stage-2 { animation: slideInUp 0.6s ease-out 0.3s both; }
.stage-3 { animation: slideInUp 0.6s ease-out 0.5s both; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .process-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 600px;
    }

    .stage-connector {
        display: none;
    }

    .process-stage {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .process {
        padding: 4rem 0;
    }

    .process-container {
        gap: 2.5rem;
    }

    .process-stage {
        padding: 2rem 1.5rem;
    }

    .stage-icon {
        width: 70px;
        height: 70px;
    }

    .stage-title {
        font-size: 1.25rem;
    }

    .stage-description {
        font-size: 0.95rem;
    }

    .stage-features {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .process {
        padding: 3rem 0;
    }

    .process-container {
        gap: 2rem;
    }

    .process-stage {
        padding: 1.5rem 1rem;
    }

    .stage-icon {
        width: 60px;
        height: 60px;
    }

    .stage-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .stage-title {
        font-size: 1.1rem;
    }

    .stage-description {
        font-size: 0.9rem;
    }

    .feature-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

