@charset "UTF-8";

/* hero 배경만 정의 — 레이아웃/텍스트는 components.css */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../../image/employment/recruitment/background.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
}

/* welfare-icon: 배경색 오버라이드 */
.welfare-icon { background: #f0e8fa; }

/* ══════════════════ 스크롤 애니메이션 ══════════════════ */

/* step-unit 순차 fade-in */
.step-unit, .step-arrow {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

/* step-circle 팝 */
@keyframes circPop {
    0%   { transform: scale(0.4); opacity: 0; }
    70%  { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1);   opacity: 1; }
}
.step-circle.popped {
    animation: circPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* process-row 슬라이드인 */
.process-row {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* platform-card fade-up (opacity/transform은 JS에서 inline 처리) */

/* ══════════════════ 채용 안내 ══════════════════ */
.steps-bg {
    background: #F6F8FF;
    border-top-right-radius: clamp(24px, 4vw, 65px);
    border-top-left-radius: clamp(24px, 4vw, 65px);
    padding: clamp(40px, 6vw, 80px) clamp(32px, 5vw, 72px);
}

.steps-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 0;
    flex-wrap: wrap;
    row-gap: clamp(32px, 4vw, 56px);
}

/* ① step-unit: badge 공간 확보 */
.step-unit {
    position: relative;
    padding-top: clamp(14px, 1.8vw, 22px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(12px, 1.5vw, 20px);
}

/* ① step-circle: 항상 보이는 subtle ring */
.step-circle {
    width: clamp(100px, 14vw, 220px);
    height: clamp(100px, 14vw, 220px);
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 0 0 4px rgba(144,0,206,0.12), 0 4px 16px rgba(0,0,0,0.07);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.step-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(144,0,206,0.25), 0 8px 24px rgba(144,0,206,.15);
}
.step-circle.final {
    background: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(144,0,206,0.3), 0 4px 16px rgba(144,0,206,0.2);
}

.step-circle img { width: 55%; height: 55%; object-fit: contain; }

.step-label { text-align: center; font-family: 'Nanum Square', sans-serif; }

/* ① step-num: 보라 뱃지로 circle 상단에 */
.step-num {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: clamp(10px, 0.8vw, 14px);
    font-weight: 700;
    white-space: nowrap;
    z-index: 2;
}

.step-name {
    font-size: clamp(15px, 1.6vw, 28px);
    font-weight: 700;
    color: #111;
}

/* ① step-arrow: SVG 숨기고 gradient 선으로 */
.step-arrow {
    flex-shrink: 0;
    width: clamp(28px, 4vw, 64px);
    display: flex; align-items: center; justify-content: center;
    padding-bottom: clamp(36px, 5vw, 56px);
}
.step-arrow svg { display: none; }
.step-arrow::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(144,0,206,0.2), rgba(144,0,206,0.5));
    border-radius: 2px;
}

/* ══════════════════ ② 전형 설명 카드형 ══════════════════ */
.process-table {
    background: #F6F8FF;
    border-bottom-right-radius: clamp(24px, 4vw, 65px);
    border-bottom-left-radius: clamp(24px, 4vw, 65px);
    padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px);
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.5vw, 18px);
}

.process-row {
    display: flex;
    align-items: stretch;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.process-label {
    flex-shrink: 0;
    width: clamp(88px, 11vw, 209px);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-mid));
    color: white;
    font-family: 'Nanum Square', sans-serif;
    font-size: clamp(13px, 1.3vw, 24px);
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: clamp(14px, 1.5vw, 23px) 6px;
    line-height: 1.3;
}

.process-desc {
    flex: 1;
    background: white;
    padding: clamp(14px, 1.5vw, 23px) clamp(14px, 2vw, 28px);
    font-family: 'Nanum Square', sans-serif;
    font-size: clamp(13px, 1.1vw, 22px);
    font-weight: 700;
    color: #111;
    display: flex; align-items: center;
    line-height: 1.5;
}

/* 채용 플랫폼 */
.platform-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 5vw, 83px);
    flex-wrap: wrap;
    margin-top: 50px;
}

.platform-card {
    width: clamp(220px, 30vw, 487px);
    padding: clamp(24px, 3.5vw, 55px) clamp(16px, 2.5vw, 40px);
    background: white;
    box-shadow: 4px 4px 16px rgba(0,0,0,.15);
    border-radius: clamp(20px, 3.5vw, 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(14px, 1.8vw, 32px);
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
    text-decoration: none;
}
.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: 4px 8px 28px rgba(0,0,0,.2);
}

.platform-logo {
    width: 80%;
    aspect-ratio: 10/3;
    object-fit: contain;
    border-radius: 8px;
}

.platform-name {
    font-family: 'Nanum Square', sans-serif;
    font-size: clamp(16px, 1.8vw, 36px);
    font-weight: 700;
    color: #111;
    text-align: center;
}

.step-name.final-name { color: var(--color-primary); }

/* ══════════════════ RESPONSIVE ══════════════════ */
@media (max-width: 900px) {
    .step-arrow { display: none; }
    .steps-row  { gap: clamp(24px, 4vw, 48px); }
}
@media (max-width: 768px) {
    .process-table { padding: 20px 16px; gap: 12px; }
    .platform-row  { gap: 24px; }
    .platform-card { width: clamp(200px, 80vw, 380px); }
}
@media (max-width: 480px) {
    .step-circle { width: clamp(80px, 30vw, 120px); height: clamp(80px, 30vw, 120px); }
    .platform-card { width: 100%; max-width: 340px; }
}
