/* 20260228_kids 랜딩 전용 스타일 */

/* 기본 설정 */
.sticky-stacking-body {
    margin: 0;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #fff;
    background-color: #fff;
}

#sticky-wrapper {
    position: relative;
    width: 100%;
}

.section-panel {
    position: relative;
    width: 100%;
    overflow: visible;
    box-sizing: border-box;
    padding: 0;
    background-color: #fff;
}

.section-bg-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    pointer-events: none;
}


/* 투명 버튼 스타일 */
.transparent-button {
    position: absolute;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;    
    box-sizing: border-box;
}

/* 키즈 랜딩 플로팅 버튼 + 모달 */
.kids-floating-button {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 2000;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #462cc5 0%, #7d65f2 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(70, 44, 197, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kids-floating-button:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 16px 28px rgba(70, 44, 197, 0.32);
}

.kids-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.52);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.kids-modal-overlay.is-open {
    display: flex;
}

.kids-modal {
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #f8f9fa;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.kids-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 14px;
    border-bottom: 1px solid #f8f9fa;
}

.kids-modal-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.kids-modal-close {
    border: none;
    background: transparent;
    color: #666;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kids-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 20px;
}

.kids-hidden {
    display: none !important;
}

.kids-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kids-form-group label {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.kids-form-group input,
.kids-form-group select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #f8f9fa;
    background: #fff;
    color: #333;
    font-size: 15px;
    box-sizing: border-box;
}

.kids-form-group input:focus,
.kids-form-group select:focus {
    outline: none;
    border-color: #462cc5;
    box-shadow: 0 0 0 3px rgba(70, 44, 197, 0.16);
}

.kids-form-group input::placeholder {
    color: #666;
}

.kids-privacy-consent-row {
    width: 100%;
    min-height: 48px;
    border: 1px solid #f8f9fa;
    border-radius: 10px;
    padding: 10px 12px;
    background: #f6f5ff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
}

.kids-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    margin: 0;
    cursor: pointer;
}

.kids-checkbox-label input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #462cc5;
}

.kids-accordion-toggle {
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.kids-accordion-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
}

.kids-accordion-content {
    display: none;
    border: 1px solid #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    background: #f5f5f5;
}

.kids-accordion-content.is-open {
    display: block;
}

.kids-accordion-content ol {
    margin: 0;
    padding-left: 18px;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kids-accordion-content li {
    font-size: 13px;
    line-height: 1.5;
}

.kids-accordion-content p {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #666;
}

.kids-form-message {
    min-height: 20px;
    margin: 0;
    font-size: 13px;
    color: #666;
}

.kids-form-message.is-error {
    color: #e14444;
}

.kids-form-message.is-success {
    color: #462cc5;
}

.kids-submit-button {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 12px;
    background: #462cc5;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.kids-submit-button:hover {
    background: #7d65f2;
}

.kids-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.kids-complete-view {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px 32px;
}

.kids-complete-view.is-open {
    display: flex;
}

.kids-complete-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f6f5ff;
    color: #462cc5;
    font-size: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kids-complete-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.kids-complete-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

.kids-complete-button {
    width: 100%;
    max-width: 220px;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    background: #462cc5;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kids-complete-button:hover {
    background: #7d65f2;
}

.kids-modal-open {
    overflow: hidden;
}

/* 첫 번째 섹션 버튼 위치 - 데스크탑 */
#section-1 .transparent-button-top-left {
    top: 83%;
    left: 43%;
    width: 236px;
    height: 75px;
    transform: translateX(-50%);
}

#section-1 .transparent-button-top-right {
    top: 83%;
    right: 43%;
    width: 236px;
    height: 75px;
    transform: translateX(50%);
}

/* 세 번째 섹션 버튼 위치 - 데스크탑 */
#section-3 .transparent-button-bottom-left {
    bottom: 17%;
    left: 36%;
    width: 235px;
    height: 70px;
}

#section-3 .transparent-button-bottom-right {
    bottom: 17%;
    right: 36%;
    width: 235px;
    height: 70px;
}

/* 스크롤바 꾸미기 */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #462cc5;
    border-radius: 10px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .kids-floating-button {
        left: 50%;
        right: auto;
        bottom: 14px;
        width: calc(100% - 28px);
        max-width: 360px;
        font-size: 15px;
        transform: translateX(-50%);
    }

    .kids-modal-overlay {
        padding: 12px;
    }

    .kids-modal {
        max-height: calc(100vh - 24px);
        border-radius: 14px;
    }

    .kids-modal-header {
        padding: 16px 16px 12px;
    }

    .kids-modal-header h2 {
        font-size: 18px;
    }

    .kids-form {
        padding: 14px 16px 16px;
    }

    /* 모바일 투명 버튼 스타일 - 기본 (768px 이하) */
    #section-1 .transparent-button-top-left,
    #section-1 .transparent-button-top-right {
        width: calc(50vw - 29px);
        max-width: 195px;
        min-width: 140px;
        height: 105px;
        top: 83%;
    }

    #section-1 .transparent-button-top-left {
        left: 7%;
        transform: translateX(0);
    }

    #section-1 .transparent-button-top-right {
        right: 7%;
        transform: translateX(0);
    }
    
    #section-3 .transparent-button-bottom-left,
    #section-3 .transparent-button-bottom-right {
        width: calc(50vw - 20px);
        max-width: 195px;
        min-width: 140px;
        height: 105px;
        bottom: 17%;
    }

    #section-3 .transparent-button-bottom-left {
        left: 5%;
    }

    #section-3 .transparent-button-bottom-right {
        right: 5%;
    }
}

@media (max-width: 400px) {
    #section-1 .transparent-button-top-left,
    #section-1 .transparent-button-top-right {
        width: calc(50vw - 15px);
        min-width: 120px;
        height: 125px;
        top: 78%;        
    }

    #section-1 .transparent-button-top-left {
        left: 3%;
    }

    #section-1 .transparent-button-top-right {
        right: 3%;
    }

    #section-3 .transparent-button-bottom-left,
    #section-3 .transparent-button-bottom-right {
        width: calc(50vw - 15px);
        min-width: 120px;
        height: 105px;
        bottom: 18%;
    }

    #section-3 .transparent-button-bottom-left {
        left: 5%;
    }

    #section-3 .transparent-button-bottom-right {
        right: 5%;
    }
}
/* 작은 모바일 (480px 이하) */
@media (max-width: 360px) {
    #section-1 .transparent-button-top-left,
    #section-1 .transparent-button-top-right {
        top: 75%;
    }
    #section-3 .transparent-button-bottom-left,
    #section-3 .transparent-button-bottom-right {
        bottom: 24%;
    }
}
@media (min-width: 400px) and (max-width: 430px) {
    #section-1 .transparent-button-top-left,
    #section-1 .transparent-button-top-right {
        top: 81%;
    }
    #section-3 .transparent-button-bottom-left,
    #section-3 .transparent-button-bottom-right {
        bottom: 18%;
    }
    #section-3 .transparent-button-bottom-left {
        left: 2%;
    }
    #section-3 .transparent-button-bottom-right {
        right: 2%;
    }
}
@media (min-width: 430px) and (max-width: 480px) {
    #section-1 .transparent-button-top-left,
    #section-1 .transparent-button-top-right {
        top: 82%;
    }
    #section-3 .transparent-button-bottom-left,
    #section-3 .transparent-button-bottom-right {
        bottom: 15%;
    }
}

/* 큰 모바일 / 작은 태블릿 (481px ~ 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    #section-1 .transparent-button-top-left {
        left: 8%;
    }

    #section-1 .transparent-button-top-right {
        right: 8%;
    }

    #section-3 .transparent-button-bottom-left {
        left: 3%;
    }

    #section-3 .transparent-button-bottom-right {
        right: 3%;
    }
}

/* 태블릿 (769px ~ 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    #section-1 .transparent-button-top-left {
        left: 30%;
        transform: translateX(-50%);
    }

    #section-1 .transparent-button-top-right {
        right: 30%;
        transform: translateX(50%);
    }

    #section-3 .transparent-button-bottom-left {
        left: 8%;
    }

    #section-3 .transparent-button-bottom-right {
        right: 8%;
    }
}

/* 푸터 스타일 */
.main-footer {
    background: #2f2e3b;    
    padding: 40px 0 20px;
    position: relative;
    z-index: 5;
}

.footer-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 32px;
}

.footer-link {
    color: #f6f5ff69;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #462cc5;
    text-decoration: none;
}

.footer-company-info ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    padding: 0;
}

.footer-company-info li {
    font-size: 14px;
    color: #f6f5ff69;
}

.footer-additional-company-info {    
    padding-top: 15px;
    border-top: 1px solid #fdfdfd1f;
}

.footer-additional-company-info ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
    padding: 0;
}

.footer-additional-company-info li {
    font-size: 14px;
    color: #f6f5ff69;
}

.footer-keywords {
    font-size: 11px;
    color: #f6f5ff69;
    line-height: 1.4;
}

.social-channels {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.footer-contact-link {
    color: #f6f5ff69;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;    
    border-radius: 6px;
    transition: all 0.3s ease;
}

.footer-bottom-section {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright span {
    font-size: 12px;
    color: #f6f5ff69;
}

.footer-contact-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-badge img {
    height: 40px;
}

.footer-badge.first-mark {
    transform: scale(1.5);
}

@media (max-width: 768px) {
    .main-footer {
        padding: 30px 0 15px;
    }

    .footer-container {
        padding: 0 15px 15px;
    }

    .footer-links {
        gap: 15px;
    }

    .footer-company-info ul {
        gap: 5px;
        flex-direction: column;
    }

    .footer-additional-company-info ul {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-company-info li,
    .footer-additional-company-info li {
        font-size: 12px;
    }

    .footer-bottom-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

