/* 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;
    padding-bottom: 118px;
}

.sticky-stacking-body ::selection {
    background: #110f0f;
    color: #fff;
}

.sticky-stacking-body ::-moz-selection {
    background: #110f0f;
    color: #fff;
}

#sticky-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.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;
}

#section-2 .section-bg-image.kids-open-modal-trigger {
    pointer-events: auto;
}

.kids-custom-cursor {
    width: 20px;
    height: 20px;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: #a0bcca;
    box-shadow: 0 0 15px #a0bccab3;
    pointer-events: none;
    z-index: 9999;
    display: none;
    display: flex;
    align-items: center;
    justify-content: center;
    --cursor-scale: 1;
    transform: translate(-50%, -50%) scale(var(--cursor-scale));
    transition: width 0.32s ease-out, height 0.32s ease-out, transform 0.12s ease-out, box-shadow 0.32s ease-out, background-color 0.32s ease-out;
}

.kids-custom-cursor::after {
    content: 'Click';
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.kids-custom-cursor.is-active {
    display: flex;
}

.kids-custom-cursor.is-hover {
    width: 76px;
    height: 76px;
    opacity: 0.55;
}

.kids-custom-cursor.is-hover::after {
    opacity: 1;
    transform: scale(1);
}

.sticky-stacking-body.kids-cursor-enabled,
.sticky-stacking-body.kids-cursor-enabled a,
.sticky-stacking-body.kids-cursor-enabled button,
.sticky-stacking-body.kids-cursor-enabled input,
.sticky-stacking-body.kids-cursor-enabled select,
.sticky-stacking-body.kids-cursor-enabled textarea,
.sticky-stacking-body.kids-cursor-enabled label {
    cursor: none !important;
}


/* 투명 버튼 스타일 */
.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-area {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: linear-gradient(to top, #fff 72%, rgba(255, 255, 255, 0) 100%);
    padding: 44px 0 20px;
    display: flex;
    justify-content: center;
}

.kids-floating-area-inner {
    width: 100%;
    max-width: 800px;
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.kids-floating-button {
    width: 84%;
    max-width: 100%;
    min-height: 86px;
    border: none;
    border-radius: 999px;
    background: #FF3A78;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
    padding: 0 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;    
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.kids-floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(255, 58, 120, 0.38);
}

.kids-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.52);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

.kids-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.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;
    transform: translateY(0);
    transition: transform 0.34s ease;
}

.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: #110f0f;
}

.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: #110f0f;
    font-weight: 600;
}

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

.kids-form-group input:focus,
.kids-form-group select:focus {
    outline: none;
    border-color: #ff3a78;
    box-shadow: 0 0 0 3px #ff3a7829;
}

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

.kids-privacy-consent-row {
    width: 100%;
    min-height: 48px;    
    border-radius: 10px;
    padding: 10px 12px;    
    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: #110f0f;
    margin: 0;
    cursor: pointer;
}

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

.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: #fff;
}

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

.kids-accordion-content ol {
    margin: 0;
    padding-left: 18px;
    color: #110f0f;
    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: #ff3a78;
}

.kids-submit-button {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 12px;
    background: #ff3a78;
    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: #ff5f95;
}

.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: 6px;
    padding: 34px;
}

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

.kids-complete-headline {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #110f0f;
    text-align: center;
}

.kids-complete-subline {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
    color: #110f0f;
    text-align: center;
    font-weight: 500;
}

.kids-complete-button {
    width: 100%;
    max-width: none;
    min-height: 72px;
    margin-top: 20px;
    border: none;
    border-radius: 12px;
    background: #ff3a78;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.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: #ff3a78;
    border-radius: 10px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .sticky-stacking-body {
        padding-bottom: 94px;
    }

    .kids-floating-area {
        padding: 34px 0 14px;
    }

    .kids-floating-area-inner {
        padding: 0 14px;
    }

    .kids-floating-button {
        min-height: 72px;
        font-size: 18px;
    }

    .kids-modal-overlay {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .kids-modal {
        max-width: 100%;
        max-height: calc(100vh - 12px);
        border-radius: 18px 18px 0 0;
        border-bottom: none;
        transform: translateY(110%);
    }

    .kids-modal-overlay.is-open .kids-modal {
        transform: translateY(0);
    }

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

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

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

    .kids-complete-view {
        padding: 28px 16px 18px;
        gap: 4px;
    }

    .kids-complete-headline {
        font-size: 24px;
    }

    .kids-complete-subline {
        font-size: 19px;
    }

    .kids-complete-button {
        min-height: 54px;
        font-size: 18px;
        margin-top: 14px;
    }

    /* 모바일 투명 버튼 스타일 - 기본 (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 (hover: none), (pointer: coarse) {
    .kids-custom-cursor {
        display: none !important;
    }

    .sticky-stacking-body.kids-cursor-enabled,
    .sticky-stacking-body.kids-cursor-enabled a,
    .sticky-stacking-body.kids-cursor-enabled button,
    .sticky-stacking-body.kids-cursor-enabled input,
    .sticky-stacking-body.kids-cursor-enabled select,
    .sticky-stacking-body.kids-cursor-enabled textarea,
    .sticky-stacking-body.kids-cursor-enabled label {
        cursor: auto !important;
    }
}

@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: #ff3a78;
    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;
    }
}

