* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

.landing-section {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.overlay-button {
    position: absolute;
    cursor: pointer;
    pointer-events: all;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
    object-fit: contain;
    display: block;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}

#section1 .overlay-button:hover,
#section2 .overlay-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* 랜딩페이지 1의 버튼 위치 조정 */
#section1 .overlay-button {
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 33.33vw;
    max-width: 640px;
    min-width: 150px;
    height: auto;
}

/* 랜딩페이지 2의 버튼 위치 조정 */
#section2 .overlay-button {
    top: 82%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22.875vw;
    max-width: 900px;
    min-width: 150px;
    height: auto;
}

/* 반응형 디자인 */
@media (max-width: 1920px) {
    .landing-section {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .overlay-button {
        max-width: 150px !important;
    }
}

@media (max-width: 480px) {
    .overlay-button {
        max-width: 120px !important;
    }
}

/* 스크롤 부드럽게 */
html {
    scroll-behavior: smooth;
}

/* 버튼 클릭 효과 */
#section1 .overlay-button:active,
#section2 .overlay-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* 팝업 스타일 */
.popup_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.popup_overlay.show {
    display: flex;
}

.db_wrap {
    padding: 60px 0px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
}

.db_wrap .cont_text {
    margin: 15px 0;
}

.db_wrap .cont_text_title {
    font-size: 3em;
    font-weight: bold;
    text-align: center;
    color: #000;
}

.customer_box {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    color: #000;
    border-radius: 10px;
    padding: 60px;
}

.customer_btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
}

.customer_btn img {
    width: 100%;
}

.text_center {
    text-align: center;
}

.cont_text_wrap {
    margin: 20px 0;
}

.input_wrap {
    margin: 10px 0;
}

.input_text_wrap label {
    position: relative;
    display: block;
}

.input_text_wrap input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.input_text_wrap span {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input_text_wrap input:focus + span,
.input_text_wrap input:not(:placeholder-shown) + span {
    top: -10px;
    font-size: 12px;
    color: #110035;
    background: #fff;
    padding: 0 5px;
}

.select_wrap {
    display: flex;
    gap: 10px;
}

.select_wrap .input_select_wrap {
    flex: 3;
}

.select_wrap .input_text_wrap:nth-child(2) {
    flex: 3.5;
}

.select_wrap .input_text_wrap:nth-child(3) {
    flex: 3.5;
}

.input_select_wrap select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.checkbox_wrap {
    margin: 20px 0;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.check_mark_box {
    position: relative;
}

.check_mark_box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

.checkbox_text {
    font-size: 14px;
}

.underline {
    text-decoration: underline;
    color: #110035;
}

.popup_close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #110035;
}

/* 신청 섹션 스타일 */
.application-section {
    background-color: #e5f0d6;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.application-section .db_wrap {
    background: transparent;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

/* 푸터 스타일 */
.footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.company-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #f5f5f5;
    margin-bottom: 10px;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.4;
}

.company-details p {
    margin: 0;
    font-size: 14px;
    color: #d0d0d0;
}

@media screen and (max-width: 1024px) {
    .db_wrap {
        padding: 25px;
    }
    
    .db_wrap .cont_text_title {
        font-size: 1.6em;
    }
    
    .customer_box {
        padding: 25px;
    }
    
    .footer {
        padding: 30px 15px;
    }
    
    .company-name {
        font-size: 1.3em;
    }
    
    .company-details p {
        font-size: 13px;
    }
    
    .application-section {
        padding: 40px 15px;
    }
}
