/* 기본 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    background-color: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 컨테이너 */
.container {
    max-width: 100%;
    margin: 0 auto;
    background-color: #000000;
}

/* 섹션 스타일 */
section {
    width: 100%;
    overflow: hidden;
}

/* 애니메이션 오버레이 */
.intro-section {
    position: relative;
    overflow: hidden;
    display: block;
    contain: layout;
}

/* 최상단 동영상 섹션 */
.top-section-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 비율 */
    overflow: hidden;
    background-color: #000000;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* PC 화면에서 동영상 크기 조정 */
@media (min-width: 1025px) {
    .top-section-video {
        max-width: 480px;
        margin: 0 auto;
    }
}

.section-wrapper {
    position: relative;
    width: 100%;
    display: block;
    line-height: 0;
}

.section-wrapper .section-image {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
}

.section-wrapper > div {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.animated-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-20%);
    transition: opacity 1.2s ease, transform 1.2s ease;
    z-index: 1;
}

.animated-overlay.show {
    opacity: 1;
    transform: translateX(0);
}

/* 두 번째 애니메이션 오버레이 (줌인) */
.animated-overlay-zoom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: scale(1.5);
    transition: opacity 1.2s ease, transform 1.2s ease;
    z-index: 2;
}

.animated-overlay-zoom.show {
    opacity: 1;
    transform: scale(1);
}

/* 다섯 번째 섹션 애니메이션 (위→아래) */
.faq-section {
    position: relative;
    overflow: hidden;
    display: block;
    contain: layout;
}

.animated-overlay-slide-down {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-15%);
    transition: opacity 1.2s ease, transform 1.2s ease;
    z-index: 1;
}

.animated-overlay-slide-down.show {
    opacity: 1;
    transform: translateY(0);
}

/* 두 번째 슬라이드 다운 애니메이션 (50px 이동) */
.animated-overlay-slide-down-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 2;
}

.animated-overlay-slide-down-2.show {
    opacity: 1;
    transform: translateY(0);
}

/* 세 번째 페이드인 애니메이션 (움직임 없음) */
.animated-overlay-fade-3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 3;
}

.animated-overlay-fade-3.show {
    opacity: 1;
}

/* 네 번째 페이드인 애니메이션 */
.animated-overlay-fade-4 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 4;
}

.animated-overlay-fade-4.show {
    opacity: 1;
}

/* 다섯 번째 슬라이드 다운 애니메이션 (50px 이동) */
.animated-overlay-slide-down-5 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 5;
}

.animated-overlay-slide-down-5.show {
    opacity: 1;
    transform: translateY(0);
}

/* 여섯 번째 페이드인 애니메이션 */
.animated-overlay-fade-6 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 6;
}

.animated-overlay-fade-6.show {
    opacity: 1;
}

/* 일곱 번째 페이드인 애니메이션 */
.animated-overlay-fade-7 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 7;
}

.animated-overlay-fade-7.show {
    opacity: 1;
}

.overlay-png {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 열다섯 번째 섹션 (고객 후기) */
.section-15 {
    position: relative;
    overflow: hidden;
    display: block;
    contain: layout;
}

/* 열다섯 번째 섹션 - 첫 번째 하이퍼링크 PNG */
.animated-link-section15-1 {
    position: absolute;
    top: 223px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 10;
    display: block;
}

/* 열다섯 번째 섹션 - 두 번째 하이퍼링크 PNG */
.animated-link-section15-2 {
    position: absolute;
    top: 857px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 11;
    display: block;
}

/* 열다섯 번째 섹션 - 세 번째 하이퍼링크 PNG */
.animated-link-section15-3 {
    position: absolute;
    top: 1491px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 12;
    display: block;
}

/* 열다섯 번째 섹션 - 네 번째 하이퍼링크 PNG */
.animated-link-section15-4 {
    position: absolute;
    top: 2125px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 13;
    display: block;
}

/* 열다섯 번째 섹션 - 다섯 번째 하이퍼링크 PNG */
.animated-link-section15-5 {
    position: absolute;
    top: 2759px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 14;
    display: block;
}

/* 열다섯 번째 섹션 - 여섯 번째 하이퍼링크 PNG */
.animated-link-section15-6 {
    position: absolute;
    top: 3393px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 15;
    display: block;
}

/* 열다섯 번째 섹션 - 일곱 번째 하이퍼링크 PNG */
.animated-link-section15-7 {
    position: absolute;
    top: 4027px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 16;
    display: block;
}

/* 열다섯 번째 섹션 - 여덟 번째 하이퍼링크 PNG */
.animated-link-section15-8 {
    position: absolute;
    top: 4661px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 17;
    display: block;
}

/* 열다섯 번째 섹션 - 아홉 번째 하이퍼링크 PNG */
.animated-link-section15-9 {
    position: absolute;
    top: 5295px;
    left: 50%;
    width: 80%;
    pointer-events: auto;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    z-index: 18;
    display: block;
}

.link-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

/* 호버/터치 효과 */
.animated-link-section15-1:hover .link-image,
.animated-link-section15-1:active .link-image,
.animated-link-section15-2:hover .link-image,
.animated-link-section15-2:active .link-image,
.animated-link-section15-3:hover .link-image,
.animated-link-section15-3:active .link-image,
.animated-link-section15-4:hover .link-image,
.animated-link-section15-4:active .link-image,
.animated-link-section15-5:hover .link-image,
.animated-link-section15-5:active .link-image,
.animated-link-section15-6:hover .link-image,
.animated-link-section15-6:active .link-image,
.animated-link-section15-7:hover .link-image,
.animated-link-section15-7:active .link-image,
.animated-link-section15-8:hover .link-image,
.animated-link-section15-8:active .link-image,
.animated-link-section15-9:hover .link-image,
.animated-link-section15-9:active .link-image {
    transform: scale(1.05);
    box-shadow: 0 0 20px 5px rgba(74, 144, 226, 0.6);
    border-radius: 10px;
}

/* 이미지 스타일 */
.section-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 모바일 최적화 (기본 스타일이 이미 모바일 우선) */
@media (max-width: 768px) {
    .section-image {
        width: 100%;
    }
}

/* 태블릿 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 768px;
    }
}

/* 데스크톱 */
@media (min-width: 1025px) {
    .container {
        max-width: 480px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }
}

/* 이미지 로딩 최적화 */
.section-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* 부드러운 스크롤 */
html {
    scroll-behavior: smooth;
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    body {
        -webkit-tap-highlight-color: transparent;
    }
}

/* CTA 섹션 스타일 */
.cta-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.cta-content {
    max-width: 100%;
}

.cta-title {
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.countdown-wrapper {
    margin-bottom: 20px;
}

.countdown-label {
    color: #666666;
    font-size: 13px;
    margin-bottom: 10px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f0f4ff;
    padding: 10px 15px;
    border-radius: 8px;
    min-width: 60px;
    border: 2px solid #4a90e2;
}

.time-value {
    color: #4a90e2;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.time-label {
    color: #666666;
    font-size: 10px;
    margin-top: 3px;
}

.time-separator {
    color: #4a90e2;
    font-size: 20px;
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 35px;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(74, 144, 226, 0.5);
    background: linear-gradient(135deg, #357abd 0%, #2868a8 100%);
}

.cta-button:active {
    transform: translateY(0);
}

/* 플로팅 CTA 버튼 */
.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.floating-cta.show {
    transform: translateY(0);
}

.floating-cta .mini-countdown {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.floating-cta .mini-time {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 5px;
    font-weight: bold;
}

.floating-cta .floating-button {
    background: #ffffff;
    color: #4a90e2;
    font-size: 15px;
    font-weight: bold;
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.floating-cta .floating-button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.floating-cta .floating-button:active {
    transform: scale(0.98);
}

/* 상담 신청 폼 섹션 */
.consultation-form-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.form-title {
    color: #333333;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

.form-subtitle {
    color: #666666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 35px;
}

/* 구글 폼 버튼 */
.form-button-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.google-form-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #4a90e2;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 40px;
    border: 3px solid #4a90e2;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.google-form-button:hover {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.google-form-button:active {
    transform: translateY(-1px);
}

.google-form-button svg {
    width: 24px;
    height: 24px;
}

/* 기능 아이템 */
.form-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 32px;
}

.feature-text {
    color: #666666;
    font-size: 14px;
    font-weight: 600;
}

.form-notice {
    margin-top: 20px;
    text-align: center;
}

.form-notice p {
    color: #999999;
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 5px;
}

/* 연락처 정보 섹션 */
.contact-info-section {
    background: #ffffff;
    padding: 50px 20px;
    border-top: 1px solid #e0e0e0;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    color: #333333;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.contact-phone {
    margin-bottom: 35px;
}

.phone-label {
    color: #666666;
    font-size: 14px;
    margin-bottom: 10px;
}

.phone-number {
    display: inline-block;
    color: #4a90e2;
    font-size: 32px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-number:hover {
    color: #357abd;
    transform: scale(1.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

.social-link span {
    font-size: 13px;
    font-weight: 600;
}

.social-link.youtube {
    color: #FF0000;
}

.social-link.youtube:hover {
    background: #FF0000;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

.social-link.instagram {
    color: #E4405F;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(228, 64, 95, 0.3);
}

.social-link.naver {
    color: #03C75A;
}

.social-link.naver:hover {
    background: #03C75A;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(3, 199, 90, 0.3);
}

/* 푸터 */
.footer {
    background: #2d2d2d;
    color: #cccccc;
    padding: 50px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section {
    line-height: 1.8;
}

.footer-section.full-width {
    grid-column: 1 / -1;
}

.footer-logo {
    color: #4a90e2;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-slogan {
    color: #999999;
    font-size: 14px;
}

.footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-section a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #357abd;
}

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444444;
}

.footer-bottom p {
    color: #999999;
    font-size: 13px;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .contact-phone-number {
        font-size: 28px;
    }

    .social-links {
        gap: 15px;
    }

    .social-link {
        min-width: 100px;
        padding: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-section.full-width {
        grid-column: 1;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .google-form-button {
        font-size: 16px;
        padding: 16px 30px;
    }

    .form-features {
        gap: 20px;
    }

    .feature-icon {
        font-size: 28px;
    }
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .cta-title {
        font-size: 18px;
    }

    .time-unit {
        padding: 8px 12px;
        min-width: 55px;
    }

    .time-value {
        font-size: 20px;
    }

    .cta-button {
        font-size: 15px;
        padding: 10px 30px;
    }

    .floating-cta {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }

    .floating-cta .mini-countdown {
        font-size: 12px;
    }

    .floating-cta .floating-button {
        font-size: 14px;
        padding: 8px 20px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 24px;
    }
}
