/* 메인 스타일 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
section{
    margin-bottom:120px;
}
.sub_text{
    font-size:22px;
}
.tit_txt{
    font-size:44px;
    line-height:1;
    margin-bottom:12px;
}

.sec_title .desc{
    font-size:22px;
    font-weight:500;
    line-height:1;
}

.text_left{
    padding-left:115px;
}
/* 메인 배너 스타일 */
.main-banner {
    margin-top: 100px; /* 헤더 높이만큼 여백 - 100px로 수정 */
    background-color: #000;
    color: #fff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    width: 1570px; /* 검정 영역 너비 */
    margin-left: auto;
    margin-right: auto;
    padding: 80px 0; /* 위아래 여백 증가 */
}



.banner-container {
    width: 1400px; /* 안쪽 콘텐츠 영역 너비 */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-text {
    flex: 0 0 600px; /* 고정 너비 */
    padding-left: 20px; /* 왼쪽 여백 추가 */
}

.banner-label {
    color: #0066cc;
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.banner-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.banner-description {
    font-size: 16px;
    margin-bottom: 30px;
    color: #cccccc;
    letter-spacing: -0.5px;
    font-weight: 300;
}

/* 다운로드 버튼 */
.download-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
}

.download-button img {
    height: 40px; /* 이미지 크기 조정 */
    width: auto;
}

/* 오른쪽 배너 이미지 */
.banner-images {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    padding-right: 30px; /* 오른쪽 여백 추가 */
}

.app-preview {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

/* 그룹 컴퍼니 섹션 */
.group-section {
    padding: 120px 0 180px; /* 여백 더 증가 */
    background-color: #fff;
    margin-bottom: 50px; /* 하단 마진 추가 */
    overflow: visible; /* 오버플로우 허용 - 추가 */
}

.group-container {
    width: 98%; /* 너비를 변경하여 더 넘게 사용 */
    max-width: 1570px; /* 최대 너비 설정 */
    margin: 0 auto;
    box-sizing: border-box; /* 박스 모델 수정 */
    padding: 0; /* 패딩 제거 */
    overflow: visible; /* 오버플로우 허용 */
}

.group-title {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 60px; /* 여백 증가 */
    color: #111;
    letter-spacing: -1px;
    padding-left: 20px; /* 좌측 여백 추가 */
}

.group-cards {
    display: flex;
    justify-content: space-between; /* 고르게 분배 */
    overflow: visible; /* 오버플로우 허용 - 변경 */
    padding: 0 20px 20px; /* 좌우 패딩 추가 */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    width: 100%; /* 너비 확정 */
    flex-wrap: nowrap; /* 카드가 줄바꿈 되지 않게 */
}

.group-cards::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.group-card {
    flex: 1; /* 동일한 비율로 자동 확장 */
    min-width: 250px; /* 최소 너비 설정 */
    max-width: 290px; /* 최대 너비 설정 */
    margin: 0 9px; /* 카드 간 간격 조정 */
    height: 480px; /* 카드 높이 증가 */
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 20px; /* 마우스 오버시 위로 올라가도 여유공간 확보 - 증가 */
}

.group-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 5; /* 호버시 다른 카드 위에 표시 */
}

.group-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 15px; /* 이미지에 배경 보더레디어스 추가 */
}

.group-card-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px; /* 좌우 여백 줄이기 */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 상단으로 정렬 */
    padding-top: 50px; /* 상단 여백 추가 */
    color: #fff;
    box-sizing: border-box; /* 박스 모델 수정으로 요소가 컨테이너를 벗어나지 않도록 */
    overflow: visible; /* 오버플로우 내용 표시 - 변경 */
}

.group-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
    border-radius: 15px; /* 오버레이에도 배경 보더레디어스 추가 */
}

.group-card-subtitle {
    font-size: 16px; /* 크기 증가 */
    opacity: 0.8;
    margin-bottom: 20px; /* 여백 증가 */
}

.group-card-title {
    font-size: 48px; /* 1.5배 정도 키운 폰트 크기 */
    font-weight: 700;
    line-height: 1.1; /* 줄간격 조금 줄이기 */
    margin-bottom: 10px;
    letter-spacing: -1px;
    word-break: keep-all; /* 단어 단위로 줄바꿈 */
}

.group-card-title.multi-line {
    font-size: 42px; /* 다중 줄 타이틀은 약간 작게 */
    letter-spacing: -1.5px; /* 터리박스 조절 */
}

/* 반응형 스타일 */
@media (min-width: 1570px) {
    .group-cards {
        padding: 0 0 20px; /* 크기가 충분할 때 좌우 패딩 제거 */
    }
    
    .group-card {
        margin: 0 10px; /* 간격 약간 넓히기 */
    }
}

@media (max-width: 1800px) {
    .header-container {
        width: 95%;
    }
}

@media (max-width: 1600px) {
    .main-banner {
        width: 90%;
    }
    
    .banner-container {
        width: 85%;
    }
    
    .group-container {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .group-title {
        font-size: 36px;
    }
    
    .group-card {
        flex: 0 0 280px;
        height: 420px;
    }
    
    .group-card-title {
        font-size: 36px;
    }
    
    .group-card-title.multi-line {
        font-size: 32px;
    }
}

@media (max-width: 1200px) {
    .banner-container {
        flex-direction: column;
    }
    
    .banner-text {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
        margin-bottom: 50px;
        padding-left: 0;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .banner-images {
        justify-content: center;
        padding-right: 0;
    }
    
    .app-preview-container {
        width: 100%;
    }
}
