/* 섹션 5 스타일 */
.section5-container {
    width: 100%;
    height: 700px;
    background-image: url('../img/section5_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section5-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(25px, 4vw, 40px);
    text-align: center;
}

/* 기존 개별 클래스들 제거 - 이제 공통 .title, .description 클래스 사용 */

/* 버튼 그룹 스타일 (섹션1과 동일) */
.button-group {
    display: flex;
    flex-direction: row;
}

.button-group a {
    width: 50%;
    display: flex;
}

.download-btn {
    width: 100%;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.download-btn:hover {
    transform: scale(1.05);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .section5-container {
        width: 100%;
        height: 0;
        padding-bottom: 120%; /* 세로가 더 긴 모바일 배경에 적합한 비율 */
        background-image: url('../img/section5_mobile_bg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        display: block;
    }
    
    .section5-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 400px;
        gap: 25px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .section5-title {
        font-size: 35px;
        line-height: 45px;
    }
    
    .button-group {
        width: 100%;
        justify-content: center;
        gap: 10px;
        flex-direction: row !important;
        display: flex !important;
    }
    
    .button-group a {
        width: 135px !important;
        height: auto;
        display: block !important;
        flex: none !important;
    }
    
    .download-btn {
        width: 135px !important;
        height: auto;
    }
}

@media (max-width: 480px) {
    .section5-container {
        width: 100%;
        padding: 60px 20px;
        min-height: 400px;
    }
    
    .section5-content {
        gap: 25px;
    }
    
    .section5-title {
        font-size: 36px;
        line-height: 46px;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .button-group a {
        width: 100%;
        max-width: 200px;
    }
}