
:root {
    --soft-beige: #F9F7F2;   
    --soft-yellow: #FFF9E3;  
    --weca-mint: #2fb8a8;    
    --point-orange: #FF8E42; 
    --text-main: #444444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Pretendard', -apple-system, sans-serif; 
    background-color: var(--soft-beige); 
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}  
section { 
    position: relative;
    min-height: 110vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 150px 20px;
    text-align: center;
}  
h2 { font-size: 3.2rem; font-weight: 800; margin-bottom: 40px; color: #222; word-break: keep-all;line-height: 1.2 }
p { font-size: 1.4rem; color: #666; 
    max-width: 850px; margin-bottom: 50px; word-break: keep-all;
margin-left: auto;  
    margin-right: auto;  }
@media (max-width: 768px) {
    
    h2 {font-size: 2rem; font-weight: 800; margin-bottom: 20px; color: #222;line-height:1.2em; word-break: keep-all;}
    p {font-size: 1rem; color: #666; max-width: 700px; margin-bottom: 30px; line-height:1.2em;}
}


/* [0] 상단 헤더 & 로고 스타일 */
.main-header {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px; 
    z-index: 1100; 
    display: flex;
    justify-content: flex-start; 
}

.logo img {
    height: 50px; 
    width: auto;
    display: block;   
}

/* 모바일 */
@media (max-width: 768px) {
    .main-header {
        padding: 20px;
    }
    .logo img {
        height: 35px; 
    }
}  
/*-----------------hero section------------*/

.hero { background-image : url('./img/bg_section1.jpg'); background-size: cover;
  background-position: center;}    
.hero-title-img {margin-bottom: 15px;}
.hero-title-img img {width: 500px; height: auto;} 
.hero h1 {
    font-size: 4.2rem;
    color: var(--weca-mint);
    margin-top: 0;
    margin-bottom: 30px; 
    line-height: 1.1;   
    letter-spacing: -0.05em;
}
.hero .sub {
    font-size: 1.6rem;
    color: var(--point-orange);
    font-weight: 600;
    margin-bottom: 5px; /* h1과의 간격을 확 줄임 */
    letter-spacing: -0.02em; 
}   

/* 행동버튼 */
.ddiyong-btn {margin-top: 40px;} 
.main-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    background-color: var(--point-orange);
    border-radius: 80px;
    text-decoration: none; 
    z-index: 1;
    transition: transform 0.2s ease;
}
.main-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--point-orange);
    border-radius: 50px;
    z-index: -1;         
    animation: box-glow 2s infinite;
} 
/* SVG 아이콘 스타일 */
.btn-svg {
    width: 28px;
    height: 28px;
    stroke: white; /* 텍스트와 동일한 흰색으로 설정 */
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}
/* 마우스 올렸을 때 아이콘만 살짝 콩닥거리는 효과 추가 */
.main-cta:hover .btn-svg {transform: scale(1.2) rotate(10deg);}  

/* 번지는 애니메이션 정의 */
@keyframes box-glow {
    0% {transform: scale(1);opacity: 0.8;}
    70% {transform: scale(1.15, 1.3);opacity: 0;}
    100% {transform: scale(1);opacity: 0;}
}  
.main-cta:hover {transform: scale(1.03);background-color: #ff7d26;}
.main-cta:active {transform: scale(0.95);}

@media (max-width: 768px) {  
    .hero {
        background-size: 100% auto; 
        background-repeat: no-repeat;        
        padding: 40px 20px; text-align: center; display: flex; 
        flex-direction: column; align-items: center;
    }
    .hero .sub {font-size: 1.1rem; margin-bottom: 8px; word-break: keep-all; }
    .hero h1 {font-size: 2.2rem; line-height: 1.2; margin-bottom: 24px; word-break: keep-all;}
    .child-img {width: 100%; height: auto;  margin-bottom: 20px;}    
    .main-cta:active {transform: scale(0.96);}
    .btn-text {
        font-size: 1.2rem;
        font-weight: 700;
        color: #fff;
    }
        .btn-svg { width: 24px;
        height: 24px;
        stroke: #fff;
    }
    .main-cta {
        padding: 15px 35px;
        font-size: 1.2rem;
    }
}

.story { background-color: var(--soft-yellow); }
.child-img { width: 100%; max-width: 650px; margin-top: 50px; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.1)); }

/*--------------------- [Section] Video:------------------- */
.video-section {
    padding: 60px 0;
    background-color: var(--soft-beige);
    text-align: center;
}
.video-container {
    max-width: 900px; 
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    /*box-shadow: 0 10px 30px rgba(0,0,0,0.1);*/
    background: #000; 
}
.main-video {
    width: 100%;
    display: block; 
}
/* 🔘 재생 버튼 오버레이 */
.play-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /*background: rgba(0,0,0,0.2);*/ 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
    z-index: 5;
}
.play-btn {
    width: 80px;
    height: 80px;
    background: #00C7B1; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 199, 177, 0.4);
    transition: transform 0.3s;
}
.play-btn svg {
    width: 40px; height: 40px;
    color: white;
    margin-left: 5px; 
}
.video-container.is-playing .play-overlay {
    opacity: 0;
    pointer-events: none; 
}
.video-container:hover .play-btn {
    transform: scale(1.1);
}

@media (max-width: 768px) { 
    .video-section {         
        min-height: auto; 
        padding: 40px 20px;         
        background-color: var(--soft-beige);
    }
    .video-container { 
        border-radius: 15px;        
        width: 100%;
        max-width: 100%; 
    }
    .video-desc {
        margin-top: 20px;
        font-size: 1rem;
        word-break: keep-all; /* 가독성을 위한 줄바꿈 */
    }
}


/*------- 섹션2 -------*/
.problem-report { padding: 120px 20px; background-image:url('./img/bg_section2.jpg'); }
.solution-intro { text-align: center; margin-bottom: 60px; }
.sub-badge {font-size: 1.3em; text-decoration-line: underline;}
.report-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 100px; 
}
.report-card {
    flex: 1;
    background: #fff;
    padding: 40px 30px;
    border-radius: 30px;
    border: 1px solid #eee;
    transition: 0.4s ease-in-out;
}
.report-card.featured { border-color: var(--weca-mint); border-width: 2px; }
.report-card:hover { transform: translateY(-10px); border-color:var(--weca-mint); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.report-card h3 { font-size: 1.3rem; color: var(--weca-mint); margin-bottom: 20px; font-weight: 800; }
.report-card p { font-size: 1.05rem; color: var(--text-gray); line-height: 1.7; text-align: left; }
.report-card cite { font-size: 0.85rem; color: #bbb; display: block; margin-top: 15px; font-style: normal; }
.report-img {
    position: absolute;
    left: 8%;   
    top: 0;  
    width: 20%; 
    
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/*숨김*/
.info-grid { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.info-text {
    display: block;      
    width: auto;
    max-width: 100%;
    height: auto;       
    margin: 0 auto;       
    margin-bottom: 10px; 
}
.info-box { 
    display: flex; align-items: center; gap: 40px; 
    opacity: 0; transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative; padding: 20px 0;
}
.problem-report.active .info-box { opacity: 1; transform: translateX(0); }
.info-box:nth-child(1) { transition-delay: 0.2s; }
.info-box:nth-child(2) { transition-delay: 0.4s; }
.info-box:nth-child(3) { transition-delay: 0.6s; }
.info-rank { 
    font-size: 5.5rem; font-weight: 900; color: var(--weca-mint); 
    opacity: 0.1; position: absolute; left: 0; z-index: 1;
}
.info-content { flex: 1; position: relative; z-index: 2; padding-left: 140px; text-align: left; }
.info-bar { 
    width: 0; height: 4px; background: var(--weca-mint); 
    margin-bottom: 20px; transition: width 1.2s ease-in-out;
}
.problem-report.active .info-bar { width: 100px; }
.info-content h3 { font-size: 1.6rem; color: var(--text-black); margin-bottom: 12px; font-weight: 800; letter-spacing: -0.05em; }
.info-content p { font-size: 1.1rem; color: var(--text-gray); line-height: 1.7; }
.mobile-report-content { display: none; }


/* 모바일 대응 */
@media (max-width: 768px) {
    
    .problem-report {
        height: auto !important; 
        padding: 0 !important; /* 좌우, 위 여백 제거 */
        margin: 0 !important;
        overflow: hidden; 
        background-color:#fff;
    }  
    .pc-report-content { display: none !important; }
    .mobile-report-content {
        display: block;
        width: 100%;
        line-height: 0;
        margin: 0;
        padding: 0;
    }
    .m-report-img {
        width: 100vw; 
        height: auto;
        display: block;
        margin: 0;
        padding: 0;
        border: none;
    }   
    .mobile-spacer {display: block;
        height: 60px;}
}
/*---- 섹션2 끝 ----*/


/* [Section 3] Solution: 카드 디자인 */
.solution { background-color: white; }
.mobile-view { display: none; }
.card-container { display: flex; gap: 35px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.card { 
    background: var(--soft-beige); 
    padding: 30px 40px; 
    border-radius: 50px; 
    width: 340px; 
    transition: 0.3s;
    border: 2px solid transparent;
}
.card:hover { transform: translateY(-15px); border-color: var(--weca-mint); background: white; }
.card h3 { font-size: 2rem; color: var(--weca-mint); margin-bottom: 5px; }
.card p { margin-bottom: 20px;   line-height: 1.4;  }
.card-svg {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
    stroke: var(--weca-mint); /* 기본은 민트 */
    transition: transform 0.3s ease;
}
.card.featured .card-svg {
    stroke: var(--weca-mint);
}
.card:hover .card-svg {
    transform: scale(1.2) rotate(-5deg);
}
.card img {
    width: calc(100% + 80px); 
    max-width: none;          
    margin-left: -40px;       
    margin-right: -40px;              
    margin-bottom: -30px;   
    display: block;
    height: auto;
    border-radius: 0 0 50px 50px; 
}
.solution-img {
    position: absolute;
    left: 9%;   
    top: 10%;  
    width: 280px; 
    height: auto;
    z-index: 1;
}
.solution-img2 {
    position: absolute;
    right: 20%;   
    bottom: 2%;  
    width: 280px; 
    height: auto;
    z-index: 1;
}
@media (max-width: 768px) {
    .solution-intro {display:none;}
    .solution {
        height: auto !important;   
        min-height: auto !important; 
        padding: 0 !important;      
    }
    .pc-view {display: none !important;}
    .card img {
        width: calc(100% + 20px); 
        margin-left: -10px;
        margin-right: -10px;
        margin-bottom: -20px;     
        border-radius: 0 0 15px 15px;
    }
    .mobile-view {
        display: block;
        padding: 0; 
        margin: 0;
        line-height: 0; /* 인라인 여백 방지 */    
    }
    .full-img {
        display:block;
        width: 100%;    
        height: auto;
        margin:0         
    }
}

/* [Section 4] Trust: 민트색 강조 */
.trust { 
    background-color: #F0FAF9; 
    position: relative; 
    overflow: hidden;     
    min-height: auto !important;     
    /* 2. 상하 여백을 150px -> 80px 정도로 확 줄입니다 */
    padding: 200px 20px !important; 
    text-align: center;
}
.insta-img {width:40%;}
/* [Trust] 섹션 하단 버튼 스타일 */
.trust-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px; 
}
/* 공통 버튼 베이스 */
.btn-trust {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    word-break: keep-all; 
}
.btn-trust.weca-mint {
    background-color: white; 
    color: var(--weca-mint);
    border: 2px solid var(--weca-mint);
    box-shadow: 0 4px 0 #28a89a, 0 8px 15px rgba(47, 184, 168, 0.15); 
}
.btn-trust.weca-mint:hover {
    transform: translateY(-5px);
    background-color: var(--weca-mint);
    color: white;
    box-shadow: 0 8px 0 #28a89a, 0 12px 20px rgba(47, 184, 168, 0.2);
}
/* 2. 인스타 그램 버튼 */
.btn-trust.insta-gram {    
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    box-shadow: 0 4px 0 #b3147e, 0 8px 15px rgba(220, 39, 67, 0.2);
}
.btn-trust.insta-gram:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 0 #b3147e, 0 12px 20px rgba(220, 39, 67, 0.25);
}
/* 클릭했을 때 꾹! */
.btn-trust:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 currentColor, 0 5px 10px rgba(0,0,0,0.1); 
}
.apng-child {
    position: absolute; 
    bottom: 0;          
    left: 1%;            
    width: 35%;         
    max-width: 450px;  
    min-width: 220px;
    height: auto;
    z-index: 1;         
    pointer-events: none; 
    transition: all 0.3s ease-out;       
}
.sns-img {

}

/* 모바일 대응 */
@media (max-width: 768px) {
    /*.trust {
        min-height: auto !important;
        padding: 60px 20px !important; 
    }
    .apng-child {
        width: 180px;   
        bottom: 0px;
    }
    .trust-btn-group {
        flex-direction: column; 
        flex-wrap: wrap;    
        gap: 10px;          
        width: 100%;
        max-width: none;    
        margin: 30px auto 0;
    }
    .btn-trust {
        padding: 10px 20px; 
        font-size: 0.9rem; 
        flex: 1;            
        min-width: 140px;   
        justify-content: center; 
    }*/
    .trust {
        min-height: auto !important;
        padding: 60px 20px !important; 
    }
    /* 기존 텍스트와 개별 이미지들은 숨기기 */
    .trust h2, .trust p, .trust .insta-img, .trust .apng-child {
        display: none;
    }
    
    .sns-img {
        display: block;
        width: 100%;
        height: auto;
        content: url('./img/mtrust.png'); /* 모바일용 이미지 경로 */
    }
}


/*-------- [Section 5] Gallery---------*/
.gallery {
    padding: 100px 0;
    background-color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gallery-grid {
    display: flex;
    justify-content: center; 
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.gallery-item {
    flex: 0 1 380px; 
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}
.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.6s; 
}
.gallery-item img:hover { transform: scale(1.1); }
.gall-img {
    position: absolute;
    left: 3%;   
    bottom: 0;  
    width: 320px; 
    height: auto;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .gallery {        
        padding: 50px 0; 
    }
    .gallery h2 {
        margin-bottom: 10px; 
        font-size: 2rem;   
    }
    .gallery p {
        margin-bottom: 20px; 
    }
    .gallery-grid {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;       
        padding: 0px 10% !important; 
        gap: 15px;
        scrollbar-width: none;        
        scroll-padding: 0 10%; 
    }
    .gallery-grid::-webkit-scrollbar { display: none; }
    .gallery-item {
        flex: 0 0 80% !important; 
        min-width: auto;        
        height: 250px; 
        scroll-snap-align: center;
    }    
    .gall-img { 
        display: block; 
        width: 110px; 
        left: 1%;
        bottom: 0px;        
        z-index: 1;
    }
}

/* ----------[Floating Banner] 우측 중앙 고정 -------*/
.floating-banner {
    position: fixed;
    right: 2%;
    bottom: 20%;
    transform: translateY(-50%);
    z-index: 1000;
    transition: 0.3s;
}
.floating-banner:hover { transform: translateY(-45%) scale(1); }
.floating-banner img { width: 149px; height: 152px; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }

@media (max-width: 700px) {
    .floating-banner { display:none; }   
} 
@media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: 1fr; }
    h2 { font-size: 2.5rem; }
    section { min-height: 80vh; }
} 

/* ------------[Footer] 하단 정보 영역------------ */
.main-footer {
    background-color: #f4f4f2; 
    padding: 60px 20px;
    border-top: 1px solid #e5e5e0;
    color: #888;
    text-align: left; 
}
.footer-content {max-width: 1200px; margin: 0 auto;}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e0;
}
.footer-logo {height: 40px; filter: grayscale(100%); opacity: 0.7;}    
.footer-sns a {
    margin-left: 15px;
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
    font-weight: bold;
}
.footer-info p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 5px;
    max-width: 100%; 
}
.copyright {margin-top: 20px;font-size: 0.8rem;letter-spacing: 0.05em;}
.footer-links {margin-top: 30px;}
.footer-links a {
    margin-right: 20px;        
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #666;
}

@media (max-width: 768px) {
    .footer-logo{float:left;}
    .main-footer { text-align: left; padding: 40px 20px; }
    .footer-top { flex-direction: column; gap: 20px; }
    .footer-sns { margin-left: 0; }
    .footer-links a { display: inline-block; margin: 5px 10px; }
}