@charset "utf-8";

#process {
    padding: 100px 0;
    background: #f8f9fa;
}

#process .inner {
    max-width: 1400px;
    margin: 0 auto;
}

#process .atc_tit {
    text-align: center;
    margin-bottom: 80px;
}

#process .atc_tit h2 {
    font-size: 42px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
}

#process .atc_tit h2 b {
    font-weight: 700;
}

#process .atc_tit p {
    font-size: 18px;
    color: #666;
}

/* \8� ��� */
.process_list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0 50px;
}

.process_item {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

/* � � */
.process_circle {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
}

.process_inner {
    text-align: center;
    padding: 20px;
}

.process_inner h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.process_inner p {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
}

/* �  */
.process_line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    position: relative;
    z-index: 1;
}

/* ��� Dt\@ �  p */
.process_item:last-child .process_line {
    display: none;
}

/* 활성 상태 (마지막 단계) */
.process_item.active .process_circle {
    position: relative;
    background: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    animation: pulse 2s ease-in-out infinite;
}

/* 이중 원 효과 */
.process_item.active .process_circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    border: 3px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    animation: ring 2s ease-in-out infinite;
}

.process_item.active .process_circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    height: 170%;
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation: ring 2s ease-in-out infinite 0.5s;
}

.process_item.active .process_inner {
    position: relative;
    z-index: 10;
}

.process_item.active .process_inner h3 {
    color: #fff;
}

.process_item.active .process_inner p {
    color: rgba(255, 255, 255, 0.8);
}

/* 애니메이션 정의 */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    }
}

@keyframes ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}


@media(hover:hover) {
    .process_circle:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .process_item.active .process_circle:hover {
        transform: scale(1.15) translateY(-10px);
    }
}


@media (max-width:1400px) {
    .process_list {
        padding: 0 30px;
    }

    .process_circle {
        width: 180px;
        height: 180px;
    }

    .process_inner h3 {
        font-size: 17px;
    }
}

@media (max-width:1200px) {
    .process_circle {
        width: 160px;
        height: 160px;
    }

    .process_inner h3 {
        font-size: 16px;
    }

    .process_inner p {
        font-size: 13px;
    }
}

@media (max-width:1024px) {
    #process {
        padding: 80px 15px;
    }

    #process .atc_tit h2 {
        font-size: 35px;
    }

    .process_list {
        flex-direction: column;
        gap: 0px;
        padding: 0;
    }
    .process_circle:hover {
        transform: translateY(0px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

    .process_item.active .process_circle:hover {
        transform: scale(1) translateY(0px);
    }
    .process_item {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .process_circle {
        width: 200px;
        height: 200px;
    }

    .process_line {
        width: 3px;
        height: 30px;
        flex: none;
    }

    .process_item.active .process_circle {
        transform: scale(1.05);
    }
}

@media (max-width:768px) {
    #process {
        padding: 60px 15px;
    }

    #process .atc_tit h2 {
        font-size: 28px;
    }

    #process .atc_tit p {
        font-size: 16px;
    }

    #process .atc_tit {
        margin-bottom: 50px;
    }

    .process_circle {
        width: 180px;
        height: 180px;
    }

    .process_inner h3 {
        font-size: 16px;
    }
}

@media (max-width:480px) {
    #process .atc_tit h2 {
        font-size: 24px;
    }

    .process_circle {
        width: 160px;
        height: 160px;
    }

    .process_inner h3 {
        font-size: 15px;
    }

    .process_inner p {
        font-size: 12px;
    }
}
