/* ==========================================================================
   이용방법 (프로세스 안내) 페이지 스타일
   ========================================================================== */

.guide-wrapper {
    max-width: 900px;
    margin: 40px auto 80px;
    padding: 0 20px;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #334155;
}

/* 헤더 섹션 */
.guide-header {
    text-align: center;
    margin-bottom: 60px;
}
.guide-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.03em;
}
.guide-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* 타임라인 (프로세스) */
.process-timeline {
    position: relative;
    padding: 20px 0;
}
/* 가운데 세로선 */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #e2e8f0;
    z-index: 1;
}

/* 각 단계 */
.process-step {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 50%;
    padding-right: 50px;
    position: relative;
    margin-bottom: 40px;
    box-sizing: border-box;
}
.process-step:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: auto;
    padding-right: 0;
    padding-left: 50px;
}
.process-step:last-child {
    margin-bottom: 0;
}

/* 스텝 아이콘 (가운데 배치) */
.step-icon {
    position: absolute;
    top: 50%; right: -30px;
    transform: translateY(-50%);
    width: 60px; height: 60px;
    background: #ffffff;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.15);
}
.process-step:nth-child(even) .step-icon {
    right: auto;
    left: -30px;
}

.step-number {
    position: absolute;
    top: -12px; right: -8px;
    background: #1e3a8a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.process-step:nth-child(even) .step-number {
    right: auto;
    left: -8px;
}

.step-icon i {
    font-size: 1.5rem;
    color: #3b82f6;
}

/* 콘텐츠 박스 */
.step-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.step-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}
.step-content p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 15px;
}

/* 체크 리스트 */
.step-points {
    margin: 0; padding: 0;
    list-style: none;
    border-top: 1px dashed #cbd5e1;
    padding-top: 15px;
}
.step-points li {
    font-size: 0.95rem;
    color: #334155;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.step-points li:last-child { margin-bottom: 0; }
.step-points li i { color: #10b981; font-size: 0.9rem; }

/* 하단 액션 버튼 */
.guide-action {
    margin-top: 70px;
    text-align: center;
    background: #f8fafc;
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}
.guide-action h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 25px;
}
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.action-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    height: 52px;
    border-radius: 26px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-main {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.btn-main:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}
.btn-sub {
    background: #ffffff;
    color: #3b82f6;
    border: 1.5px solid #3b82f6;
}
.btn-sub:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

/* 반응형 모바일 */
@media screen and (max-width: 768px) {
    .guide-header h1 { font-size: 1.8rem; }
    .guide-header p { font-size: 1rem; }
    
    .process-timeline::before {
        left: 20px;
        transform: none;
    }
    
    .process-step, 
    .process-step:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 55px;
        padding-right: 0;
        justify-content: flex-start;
        margin-bottom: 30px;
    }
    
    .step-icon, 
    .process-step:nth-child(even) .step-icon {
        left: -10px; right: auto;
        width: 50px; height: 50px;
    }
    .step-icon i { font-size: 1.2rem; }
    
    .step-number,
    .process-step:nth-child(even) .step-number {
        left: -5px;
        right: auto;
    }

    .action-buttons {
        flex-direction: column;
    }
    .action-buttons a {
        width: 100%;
    }
}
