@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; font-family: 'Pretendard'; box-sizing: border-box; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }

html { scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar { display: none; }

body { line-height: 1; box-sizing: border-box; overflow-x: hidden; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; top: 0 !important; }
body::-webkit-scrollbar { display: none; }


div { -ms-overflow-style: none; scrollbar-width: none; }
div::-webkit-scrollbar { display: none; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
img { width: 100%; }
/* 여기 위로는 reset css 입니다 */

/* layout */
:root {
    --c209: #2097FF;
    --ce3e: #E3EEF9;
    --cfff: #ffffff;
    --cf8f: #f8f8f8;
    --c5c5: #c5c5c5;
    --c888: #888888;
    --c333: #333333;

    --size-large : 30px;
    --size-medium : 20px;
    --size-small : 16px;

    --maxwidth : 900px;
    --smallwidth : 750px;

    --weight100 : 100;
    --weight200 : 200;
    --weight300 : 300;
    --weight400 : 400;
    --weight500 : 500;
    --weight600 : 600;
    --weight700 : 700;
    --weight800 : 800;
    --weight900 : 900;

    --sectionMargin : 150px
}

.pc_none { display: none; }
.mo_none { display: block; }
.margintop-30 { margin-top: 30px; }
.base-box { margin: 150px auto 0; }
.max-width { max-width: var(--maxwidth); margin-left: auto; margin-right: auto; }
.sm-width { max-width: var(--smallwidth); margin-left: auto; margin-right: auto; }
.top_padding { padding-top: 100px; }

/* layout 900 (가로 사이즈 900)*/
#intro, #study_icon, #status_wrap { max-width: var(--maxwidth); }


/* layout 끝 */

body { box-sizing: border-box; overflow-x: hidden; }
section { width: 100vw; height: fit-content; }
video { width: 100%; height: 100%; object-fit: cover; }
#menu04 { padding-bottom: 100px; }

/* header */
header { position: fixed; top: 0; left: 0; width: 100vw; height: 80px; transition: 1s; z-index: 99; background-color: transparent; }
header.scrolled { background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); transition: 1s; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
header.scrolled nav .navi a, header.scrolled nav { color: #333; }
header.scrolled nav .logo { background-image: url(./img/logo_color.png); } 

header nav{ max-width: 1025px;  margin: 0 auto; height: 100%; display: flex;  align-items: center; justify-content: space-between; color: var(--cfff);}
header nav .logo{ width: 170px;  height: 45px;  margin-top: 10px;  background-repeat: no-repeat;  background-size: contain;  background-image: url(./img/logo.svg); cursor: pointer;} 
header nav .logo a { display: block; width: 100%; height: 100%;}
header nav .logo img{width: 100%;}
header nav .navi a{ display: inline-block; padding: 0 10px; text-decoration: none; color: var(--cfff);}

header nav .menu_wrap{display: flex; align-items: center; justify-content: end; width: 60%;}

/* main */
#main{width: 100vw;  height: 100vh; overflow: hidden; display: grid; align-items: center;}
#main div{text-align: center;}
#main div h1{color: var(--cfff); font-size: 50px; font-weight: var(--weight200);}
#main div h1 span{font-weight: var(--weight600);}
#main div p{color: var(--cfff); font-size: var(--size-medium); font-weight: var(--weight100); }
#main .main_text{color: var(--cfff); font-size: var(--size-medium); font-weight: var(--weight100); padding-top: 30px; }

/* 비디오 백그라운드 */
#main .video-background{position: absolute; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1;}
/* .video-background { position: relative; width: 100%; height: 100vh; overflow: hidden; } */
.video-background iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 120vh; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; object-fit: cover; }


#main .main_contents{position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%;}
#main .main_contents > div {width: 100%; max-width: 800px; margin: 0 auto; padding-top: 30px;}

#main .main_btn{display: flex; align-items: center; justify-content: center; margin-top: 100px;}
#main .main_btn > span{border-radius: 100px; height: 85px; margin: 0 15px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between;}
#main .main_btn > span > div:nth-child(1){width: 40px; height: 40px;}
#main .main_btn > span > div:nth-child(2){text-align: left; margin-left: 15px;}
#main .main_btn > span > div span{color: var(--cfff); font-size: 14px; font-weight: var(--weight200);}
#main .main_btn > span > div p{color: var(--cfff); font-size: 16px; margin-top: 5px; font-weight: var(--weight500);}

/* 스토어 버튼 스타일링 */
.store-buttons{ display: flex; gap: 16px; justify-content: center; margin-top: 24px; width: 100%; max-width: 800px; margin-left: auto; margin-right: auto;}
.store-button { display: flex; align-items: center; padding: 12px 20px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 12px; text-decoration: none; transition: all 0.3s ease; flex: 1; max-width: 240px;}
.store-button:hover { background: rgba(255, 255, 255, 0.2);}
.store-button img { width: 28px; height: 28px; margin-right: 12px; object-fit: contain;}
.store-button .button-text {text-align: left; flex: 1;}
.store-button .button-text span { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.8); margin-bottom: 4px;}
.store-button .button-text p { font-size: 16px !important; font-weight: 600; color: #FFFFFF;}

/* text-class */
.text_wrap .gray_text{color: var(--c5c5); font-size: var(--size-medium); font-weight: var(--weight600);}
.text_wrap .main_text{color: var(--c333); font-size: var(--size-large); font-weight: var(--weight600); margin: 20px 0 35px; line-height: 1.5;}
.text_wrap .main_text span{color: var(--c209);}
.text_wrap .description{color: var(--c888); font-size: var(--size-medium); font-weight: var(--weight400); line-height: 1.5;}
.text_tag{display: flex; align-items: center; justify-content: center;}
.text_tag li{font-size: var(--size-small); cursor: pointer; background-color: var(--ce3e); color: var(--c209); margin: 0 5px; font-weight: var(--weight500); border-radius: 100px; padding: 10px 15px;}


/* #intro */
#intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: 50px;}
#intro .text_wrap { width: 100%; max-width: 600px; margin-bottom: 60px;}
#intro .text_wrap .main_text { font-size: 40px; margin: 16px 0;}
#intro .text_wrap .description { font-size: 20px; line-height: 1.6;}

/*#intro .persona-cards */
.persona-cards { width: 100%; display: flex; gap: 24px; margin-top: 0; padding: 0 20px; }
.persona-card { flex: 1; background: #FFFFFF; border-radius: 24px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease; display: flex; flex-direction: column; min-width: 280px; }
.persona-card:hover { transform: translateY(-8px); box-shadow: 0 8px 30px rgba(32, 151, 255, 0.15); }
.persona-image { position: relative; padding: 40px 20px; background: linear-gradient(45deg, var(--ce3e), #f5f9fd); display: flex; justify-content: center; align-items: center; min-height: 180px; }
.emoji-placeholder { font-size: 64px; text-align: center; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1)); }
.persona-tag { position: absolute; top: 20px; right: 20px; background: var(--c209); color: #FFFFFF; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; box-shadow: 0 2px 8px rgba(32, 151, 255, 0.2); }
.persona-content { padding: 24px; text-align: center; display: flex; flex-direction: column; flex: 1; background: #FFFFFF; }
.persona-content h3 { color: var(--c333); font-size: 18px; font-weight: 600; margin-bottom: 16px; line-height: 1.6; min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; word-break: keep-all; }
.persona-content p { color: var(--c888); font-size: 15px; line-height: 1.6; margin-top: auto; padding-top: 20px; border-top: 1px solid #f0f0f0; word-break: keep-all; }

/*#study_icon */
#study_icon { margin: 0 auto; padding: 60px 20px; border-radius: 40px;}
#study_icon .text_wrap{ text-align: center; padding: 30px; margin-bottom: 40px;}
.feature-section { display: flex; flex-direction: column; gap: 40px;}

/*#study_icon .basic-features */
.basic-features { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding: 0 20px;}
.feature-pill { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: white; border-radius: 100px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); transition: all 0.3s ease;}
.feature-pill:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(32, 151, 255, 0.15);}
.feature-pill .feature-icon { font-size: 24px;}
.feature-pill span { font-size: 16px; font-weight: 500; color: var(--c333); white-space: nowrap;}
.feature-icon { font-size: 40px;  margin-bottom: 16px;}

/* 스마트 기능 스타일 수정 */
.smart-features { margin-top: 20px;}
.smart-feature { background: white; padding: 28px 24px; border-radius: 24px; text-align: center; width: 280px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); transition: all 0.3s ease;}
.smart-feature:hover { transform: translateY(-8px);}
.smart-feature.highlight { background: linear-gradient(135deg, var(--c209), #6eb4ff); color: white;}
.smart-feature.highlight h3,
.smart-feature.highlight p {color: white;}
.smart-feature h3 { color: var(--c333); font-size: 18px; font-weight: 600; margin-bottom: 12px;}
.smart-feature p { color: var(--c888); font-size: 15px; line-height: 1.6;}

/* .review_wrap */
.review_wrap { background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%); padding: 60px 20px; border-radius: 40px; margin: 0 auto;}
.review_wrap .text_wrap {  text-align: center;  padding: 30px;  margin-bottom: 40px;}
.review-content { max-width: 900px; margin: 0 auto;}

.rating-box {text-align: center; margin-bottom: 40px; background: white; padding: 24px; border-radius: 24px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);}
.star-score { margin-bottom: 12px;}
.star-score .score { font-size: 48px; font-weight: 700; color: var(--c209);}
.star-score .total { font-size: 24px; color: var(--c888);}
.star-icons { font-size: 28px; letter-spacing: 4px; color: #FFD600;}

/* 태그 스크롤 */
.tag-scroll { overflow: hidden; margin: 40px 0; padding: 20px 0; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);-webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);}
.tag-container { display: flex;animation: tagScroll 30s linear infinite;padding: 0 20px;}
.tag-container:hover {animation-play-state: paused;}
.tag-group {display: flex; gap: 16px;padding: 0 20px; flex-shrink: 0;}
.tag { display: inline-block; padding: 12px 24px; background: white; color: var(--c209); border-radius: 100px; font-size: 16px; font-weight: 500; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); transition: all 0.3s ease;}
.tag:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(32, 151, 255, 0.15);}

/* 리뷰 슬라이더 스타일 수정 */
.review-slider { margin-top: 40px; overflow: hidden; position: relative;}
.review-swiper { width: 100%; padding: 20px 0;}
.review-card { background: white; padding: 28px 24px; border-radius: 24px; text-align: left; height: 280px; display: flex; flex-direction: column; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); transition: all 0.3s ease; margin: 0 auto; width: 320px; /* 카드 너비 고정 */}
.review-card:hover { transform: translateY(-8px);}
.review-text { font-size: 16px; line-height: 1.6; color: var(--c333); flex: 1; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; word-break: keep-all;}
.reviewer { margin-top: auto; padding-top: 20px; border-top: 1px solid #f0f0f0; text-align: right; color: var(--c888); font-size: 14px;}

/* #status_wrap */
#status_wrap { max-width: 900px; margin: 0 auto; padding: 40px 20px;}
#status_wrap ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;}
#status_wrap li { background: white; border-radius: 24px; padding: 32px 24px; text-align: center; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); transition: all 0.3s ease;}
#status_wrap li div { text-align: center;}
#status_wrap li:hover { transform: translateY(-8px); box-shadow: 0 8px 24px rgba(32, 151, 255, 0.15);}

#status_wrap div p { color: var(--c888); font-size: var(--size-small); margin-bottom: 8px; font-weight: var(--weight700);}
#status_wrap div h3 { color: var(--c209); font-size: var(--size-small); font-weight: var(--weight500); margin-bottom: 8px;}
#status_wrap div h3 span { font-weight: var(--weight800); font-size: 40px; padding-right: 3px;}
#status_wrap div > span { color: var(--c888); font-size: 12px; font-weight: var(--weight300); margin-top: 15px; display: block;}

/* #back_gradation */
.back_gradation{width: 100vw; height: fit-content; text-align: center; background: linear-gradient(#fff, #F0F4FA);}
.back_gradation > div:nth-child(2){margin-top: 80px;}

/* 로고 섹션 */
#with_mymerci_logo .logo-scroll-container {overflow:hidden; position:relative; padding:30px 0;}
#with_mymerci_logo .logo-scroll {display:block; animation:scroll 30s linear infinite; width:fit-content;}
#with_mymerci_logo .logo-group {display:flex; gap:30px; padding:0 30px;}
#with_mymerci_logo .logo-group img {height:60px; object-fit:contain;}
#with_mymerci_logo > .with_logo_slide{overflow: hidden;}
#with_mymerci_logo > .with_logo_slide > ul > li > a img{width: 100%;}

/* GIF 섹션 */
.gif-section { width: 100vw; height: fit-content; text-align: center;}
.device-images { position: relative;  width: 100%; max-width: 800px;  margin: 0 auto 30px; }
.tablet-img { width: 100%; height: auto; display: block; }
.guide-gif { width: 50%; height: auto; border-radius: 20px; object-fit: cover; }

/* CTA 섹션 스타일 */
.cta-section { margin-top: 80px; text-align: center;}
.cta-content { background: #FFF; border-radius: 20px;  padding: 40px;  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); display: flex; flex-direction: column; align-items: center; gap: 24px;}
.cta-icon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;}
.cta-icon img { border-radius: 30px; width: 100%; height: 100%; object-fit: contain;}
.cta-text h3 { font-size: 24px; font-weight: 600; color: #333; margin-bottom: 8px;}
.cta-text p { font-size: 16px; color: #666; line-height: 1.5;}
.cta-button { display: inline-flex; align-items: center; justify-content: center; padding: 16px 32px; background: #FEE500; color: #333; font-size: 16px; font-weight: 600; border-radius: 12px; text-decoration: none; transition: background 0.2s ease;}
.cta-button:hover { background: #FDD835;}

/* 상태 표시 섹션 스타일 */
#status_wrap { max-width: 900px; margin: 0 auto; padding: 40px 20px;}
#status_wrap ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;}
#status_wrap li { background: white; border-radius: 24px; padding: 32px 24px; text-align: center; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); transition: all 0.3s ease;}
#status_wrap li:hover { transform: translateY(-8px); box-shadow: 0 8px 24px rgba(32, 151, 255, 0.15);}
#status_wrap div p {color: var(--c888); font-size: var(--size-small); margin-bottom: 8px; font-weight: var(--weight700);}
#status_wrap div h3 { color: var(--c209); font-size: var(--size-small); font-weight: var(--weight500); margin-bottom: 8px;}
#status_wrap div h3 span { font-weight: var(--weight800); font-size: 40px; padding-right: 3px;}
#status_wrap div > span { color: var(--c888); font-size: 12px; font-weight: var(--weight300); margin-top: 15px; display: block;}

/* 푸터 스타일 */
footer { background: #f8f9ff; padding: 20px 0; margin-top: 100px;}
.footer-content { max-width: var(--maxwidth); margin: 0 auto; padding: 0 20px;}
.footer-logo {font-size: 18px; font-weight: bold; margin-bottom: 15px; color: var(--c333);}
.footer-info { color: #666; font-size: 14px; line-height: 1.6;}
.footer-info p {margin-bottom: 4px;}
.footer-copyright {margin-top: 20px; font-size: 12px; color: #999;}
.footer-details { margin-top: 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out;}
.footer-details.active { max-height: 500px; /* 충분한 높이 설정 */ margin-top: 20px;}

.company-info-button {  text-align: center;  align-items: center;  margin: 0 auto;  width: fit-content;  cursor: pointer; padding: 10px 20px; background-color: #fff; border-radius: 8px; font-size: 14px; color: #666; transition: all 0.3s ease;}
.company-info-button:hover { background-color: #f5f5f5;}
.company-info-button .arrow { margin-left: 8px; font-size: 12px; transition: transform 0.3s ease;}
.company-info-button.active .arrow {  transform: rotate(180deg);}

.info-row {display: flex; margin-bottom: 8px;}
.info-row span:first-child { width: 140px; color: #999;}

/* faq */
#faq_sections .faq-tag-section {margin-top: 40px; padding-top: 20px;}
#faq_sections .faq-tag-section .faq-tag-title {font-size: 20px; font-weight: bold; margin-bottom: 20px; display: flex; align-items: center; color: #2097FF;}
#faq_sections .faq-tag-section .faq-tag-title::after {content: ""; flex-grow: 1; height: 2px; background-color: #f1f1f1; margin-left: 10px;}
#faq_sections .faq-tag-section .faq-item {background-color: #f1f1f1; padding: 20px 30px; border-radius: 10px; margin-top: 20px; cursor: pointer;}
#faq_sections .faq-tag-section .faq-item h3 {font-size: 16px; line-height: 1.5;}
#faq_sections .faq-tag-section .faq-answer {display: none; font-size: 16px; line-height: 180%; color: #808080; margin-top: 10px; overflow: hidden; max-height: 0; transition: max-height 0.4s ease;}
#faq_sections .faq-tag-section .faq-item.active .faq-answer {display: block;}
#faq_sections .help-section {margin-top: 40px; text-align: center;}
#faq_sections .help-section h2 {font-size: 20px; font-weight: bold;}
#faq_sections .help-section button {background-color: #fff; color: #333; padding: 10px 20px; margin: 20px auto 0; cursor: pointer; border-radius: 50px; transition: background-color 0.3s ease; display: flex; align-items: center; justify-content: center; border: 1px solid #E2E8EF;}
#faq_sections .help-section button:hover {background-color: #f1f1f1;}
#faq_sections .help-section button img {margin-right: 8px;}

/* 언어 선택기 개선된 스타일 */
.language-selector { position: relative; margin-left: 20px; z-index: 1000; cursor: pointer; }
.language-selector * { pointer-events: auto; }
.selected-language { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255, 255, 255, 0.1); border-radius: 8px; cursor: pointer; color: var(--cfff); font-size: 14px; transition: all 0.3s ease; user-select: none; }
header.scrolled .selected-language { color: var(--c333); background: rgba(0, 0, 0, 0.05); }
.selected-language:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-1px); }
header.scrolled .selected-language:hover { background: rgba(0, 0, 0, 0.1); }
.selected-language:active { transform: translateY(0); }
.selected-language .flag { font-size: 16px; transition: transform 0.2s ease; }
.selected-language:hover .flag { transform: scale(1.1); }
.selected-language .arrow { font-size: 10px; transition: transform 0.3s ease; }
.selected-language.active .arrow { transform: rotate(180deg); }
.language-options { 
    position: absolute; 
    top: calc(100% + 8px); 
    right: 0; 
    background: white; 
    border-radius: 12px; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); 
    padding: 8px 0; 
    min-width: 160px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(-10px) scale(0.95); 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1003;
    touch-action: manipulation;
    pointer-events: none;
}

.language-options.active { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0) scale(1); 
    pointer-events: all;
    z-index: 1004;
}
.language-options li { display: flex; align-items: center; gap: 8px; padding: 12px 16px; color: var(--c333); font-size: 14px; cursor: pointer; transition: all 0.2s ease; position: relative; overflow: hidden; }
.language-options li::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); transition: left 0.5s ease; }
.language-options li:hover::before { left: 100%; }
.language-options li:hover { background: var(--cf8f); transform: translateX(4px); }
.language-options li.active { background: var(--ce3e); color: var(--c209); font-weight: 600; position: relative; }
.language-options li.active::after { content: '✓'; position: absolute; right: 16px; font-size: 12px; color: var(--c209); }
.language-options li .flag { font-size: 16px; transition: transform 0.2s ease; }
.language-options li:hover .flag { transform: scale(1.2); }

/* 언어 전환 로딩 효과 */
.language-switching { position: relative; }
.language-switching::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, transparent, rgba(32, 151, 255, 0.1), transparent); animation: langSwitch 0.5s ease-in-out; }

@keyframes langSwitch { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* 데스크톱에서는 전체 언어명 표시 - 미디어쿼리는 파일 하단으로 이동 */

/* 번역된 텍스트 레이아웃 보호 */
[data-translate] { word-break: keep-all; overflow-wrap: break-word; max-width: 100%; }

.text_wrap .main_text[data-translate] { min-height: 2.4em; }
.text_wrap .description[data-translate] { min-height: 3em; }
.feature-pill span[data-translate] { min-width: 80px; }

/* 애니메이션 키프레임 수정 */
@keyframes tagScroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 20px)); } }

/* Google 번역 위젯 숨기기 개선 */
.goog-te-banner-frame, .skiptranslate, .goog-te-gadget { display: none !important; }

body { top: 0 !important; }

@keyframes tagScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@keyframes fadeIn { from {opacity: 0; transform: translateY(-10px);} to {opacity: 1; transform: translateY(0);} }

@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@keyframes arrowBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@keyframes scroll { 0% {transform:translateX(0);} 100% {transform:translateX(-50%);} }

@keyframes gradientAnimation { 0% {background-position: 0% 50%;} 100% {background-position: 100% 50%;} }

.start-button-wrapper { margin-top: 30px; text-align: center; }
.start-button { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; background: #2097FF; color: white; border: none; border-radius: 100px; font-size: 18px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; animation: bounce 2s infinite; }
.start-button:hover { background: #1884e6; animation: none; transform: translateY(-4px); }
.start-button .arrow-up { font-size: 20px; transition: transform 0.3s ease; animation: arrowBounce 2s infinite; }
.start-button:hover .arrow-up { animation: none; transform: translateY(-4px); }

/* 언어 로딩 방지 - JavaScript 로드 전까지 번역 요소 숨김 */
[data-translate] { opacity: 0; transition: opacity 0.1s ease-in-out; }

/* JavaScript가 언어를 설정한 후 표시 */
.lang-loaded [data-translate] { opacity: 1; }

/* 중요한 요소들은 레이아웃 유지를 위해 visibility 사용 */
[data-translate="main_subtitle"], [data-translate="main_description"], [data-translate="menu1"], [data-translate="menu2"], [data-translate="menu4"] { visibility: hidden; }

.lang-loaded [data-translate="main_subtitle"], .lang-loaded [data-translate="main_description"], .lang-loaded [data-translate="menu1"], .lang-loaded [data-translate="menu2"], .lang-loaded [data-translate="menu4"] { visibility: visible; opacity: 1; }

/* 모바일 컨트롤 영역 */
.mobile-controls { display: none; align-items: center; gap: 12px; position: relative; z-index: 100; }

/* 모바일 언어 선택기 */
.mobile-language-selector { position: relative; }
.mobile-language-selector .selected-language { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(255, 255, 255, 0.1); border-radius: 8px; cursor: pointer; color: var(--cfff); font-size: 12px; transition: all 0.3s ease; }
.mobile-language-selector .selected-language .flag { font-size: 14px; }
.mobile-language-selector .selected-language .arrow { font-size: 8px; }
.mobile-language-selector .language-options { position: absolute; top: calc(100% + 4px); right: 0; background: white; border-radius: 8px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); padding: 4px 0; min-width: 80px; opacity: 0; visibility: hidden; transform: translateY(-5px); transition: all 0.2s ease; z-index: 1002; }
.mobile-language-selector .language-options.active { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-language-selector .language-options li { display: flex; align-items: center; gap: 6px; padding: 8px 12px; color: #333; font-size: 12px; cursor: pointer; transition: all 0.2s ease; }
.mobile-language-selector .language-options li:hover { background: #f0f0f0; }

/* 햄버거 메뉴 애니메이션 */
.mobile_menu { display: none; flex-direction: column; justify-content: space-between; cursor: pointer; transition: transform 0.3s ease; width: 20px; height: 14px; color: #fff; }
.mobile_menu span { display: block; background-color: #fff; transition: all 0.3s ease; transform-origin: center; height: 2px; border-radius: 1px; }
.mobile_menu.active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.mobile_menu.active span:nth-child(2) { opacity: 0; transform: scale(0); }
.mobile_menu.active span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 스크롤된 헤더에서의 색상 */
header.scrolled .mobile_menu { color: #333; }
header.scrolled .mobile_menu span { background-color: #333; }
header.scrolled .mobile-language-selector .selected-language { background: rgba(0, 0, 0, 0.05); color: #333; }

/* PC에서는 모바일 컨트롤 완전히 숨김 */
@media (min-width: 1025px) {
    .mobile-controls { display: none !important; }
}

/* ==========================================================================
   MEDIA QUERIES - 모든 미디어쿼리 통합
   ========================================================================== */

/* 데스크톱 - 언어 선택기 */
@media (min-width: 769px) {
    .selected-language .lang-short, .language-options li .lang-short { display: none; }
    .selected-language .lang-text, .language-options li .lang-text { display: inline; }
}

/* 모바일 세로 모드 최적화 */
@media screen and (max-width: 768px) and (orientation: portrait) {
    #main .video-background { height: 100vh; }
    #main .video-background iframe { width: auto; height: 100vh; min-width: 100%; }
}

/* 태블릿 */
@media screen and (max-width: 1024px) { 
    :root { --size-large: 26px; --size-medium: 18px; --size-small: 16px; --maxwidth: 900px; --sectionMargin: 150px; --maxwidth: 750px; --smallwidth: 600px; }
    .menu_wrap { width: 100%; height: auto; background: transparent; position: static; padding: 0; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; display: flex; align-items: center; }
    .menu_wrap::-webkit-scrollbar { display: none; }
    .menu_wrap .navi { display: flex; flex-direction: row; gap: 12px; padding: 0 20px; }
    .menu_wrap .navi a { color: var(--cfff); font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 16px; height: auto; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); transition: all 0.3s ease; white-space: nowrap; }
    .menu_wrap .navi a:hover, .menu_wrap .navi a.active { background: var(--cfff); color: var(--c333); border-color: var(--cfff); }
    header nav { max-width: 100%; width: 100%; padding: 0 20px; height: 60px; }
    header.scrolled .menu_wrap .navi a { color: var(--c333); background: rgba(0, 0, 0, 0.05); }
    header.scrolled .menu_wrap .navi a:hover, header.scrolled .menu_wrap .navi a.active { background: var(--c209); color: var(--cfff); border-color: var(--c209); }
    .mobile_menu { display: none; }
    
    /* 태블릿에서 언어 선택기 강화 */
    .language-selector { 
        position: relative; 
        z-index: 1003; 
        cursor: pointer; 
        touch-action: manipulation; 
    }
    .language-selector .selected-language { 
        cursor: pointer; 
        touch-action: manipulation; 
        user-select: none; 
        -webkit-user-select: none; 
        -webkit-touch-callout: none; 
    }
    .language-options li { 
        cursor: pointer; 
        touch-action: manipulation; 
        user-select: none; 
        -webkit-user-select: none; 
        -webkit-touch-callout: none; 
    }
}

/* 아이패드 세로 화면 (769px ~ 1024px) */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    #intro { padding: 40px 20px; }
    #intro .text_wrap { margin-bottom: 50px; }
    #intro .text_wrap .main_text { font-size: 36px; }
    #intro .text_wrap .description { font-size: 18px; }
    
    .persona-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 700px; margin: 0 auto; padding: 0 20px; }
    .persona-card { min-width: auto; width: 100%; max-width: none; }
    .persona-card:nth-child(3) { grid-column: 1 / -1; max-width: 340px; margin: 0 auto;}
    
    /* 아이패드에서 언어 선택기는 이미 상위에서 설정됨 */
}


/* 태블릿 세로 모드 (481px ~ 768px) - PC 언어 선택기 유지 */
@media screen and (min-width: 481px) and (max-width: 768px) {
    /* 기본 모바일 스타일 적용 */
    :root { --size-large: 1.5rem; --size-medium: 1rem; --size-small: .7rem; --maxwidth: 100vw; --sectionMargin: 60px; --mobileSide: 10%; --maxwidth: 100vw; --smallwidth: 80vw; }
    .pc_none { display: block; }
    .mo_none { display: none; }
    header { position: fixed; height: 70px; top: 0; left: 0; right: 0; z-index: 99; }
    header nav { max-width: 100%; padding: 0 15px; }
    header nav .logo { width: 140px; height: 35px; margin-top: 5px; }
    header nav .menu_wrap { display: none; }
    
    /* 태블릿 세로 모드에서는 PC 언어 선택기 유지 */
    .language-selector { 
        display: block !important; 
        position: relative; 
        margin-left: 15px; 
        z-index: 1003; 
    }
    .mobile-controls { display: none; }
    .mobile_menu { display: flex; width: 20px; height: 14px; }
    
    /* 언어 선택기 터치 최적화 */
    .language-selector .selected-language { 
        padding: 10px 14px;
        font-size: 14px;
        touch-action: manipulation;
        cursor: pointer;
    }
    .language-options { 
        min-width: 140px;
        z-index: 1004;
        touch-action: manipulation;
    }
    .language-options li { 
        padding: 12px 16px;
        touch-action: manipulation;
        cursor: pointer;
    }
    
    /* 메뉴 랩 설정 */
    .menu_wrap { position: absolute; top: 100%; right: 10px; left: auto; width: 280px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); border-radius: 20px; border: 1px solid rgba(0, 0, 0, 0.05); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 1000; max-height: 0; overflow: hidden; }
    .menu_wrap.on { opacity: 1; visibility: visible; transform: translateY(0); max-height: 280px; }
    .menu_wrap .navi { justify-content: center; padding: 24px 0 24px; display: flex; flex-direction: column; gap: 12px; }
    .menu_wrap .navi a { font-size: 16px; padding: 14px 24px; color: #333; text-decoration: none; border-radius: 12px; margin: 0 20px; transition: all 0.3s ease; text-align: center; font-weight: 600; background: rgba(248, 249, 255, 0.8); border: 1px solid rgba(32, 151, 255, 0.1); }
    .menu_wrap .navi a:hover { background: linear-gradient(135deg, #2097FF, #4dabff); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(32, 151, 255, 0.3); }
}

/* 모바일 - 480px 이하만 모바일 언어 선택기 사용 */
@media screen and (max-width: 480px) { 
    :root { --size-large: 1.5rem; --size-medium: 1rem; --size-small: .7rem; --maxwidth: 100vw; --sectionMargin: 60px; --mobileSide: 10%; --maxwidth: 100vw; --smallwidth: 80vw; }
    .pc_none { display: block; }
    .mo_none { display: none; }
    .base-box { margin: 100px auto 0; }
    #intro, #study_icon, #status_wrap { padding: 40px var(--mobileSide); }
    #intro { padding-bottom: 60px; }
    .text_wrap .main_text { margin: 10px 0 25px; }
    .order { order: inherit; }
    header { position: fixed; height: 70px; top: 0; left: 0; right: 0; z-index: 99; }
    header nav { max-width: 100%; padding: 0 15px; }
    header nav .logo { width: 140px; height: 35px; margin-top: 5px; }
    header nav .menu_wrap { display: none; }
    .mobile-controls { display: flex; }
    .language-selector { display: none; }
    .mobile_menu { display: flex; width: 20px; height: 14px; }
    .menu_wrap { position: absolute; top: 100%; right: 10px; left: auto; width: 280px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); border-radius: 20px; border: 1px solid rgba(0, 0, 0, 0.05); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 1000; max-height: 0; overflow: hidden; }
    .menu_wrap.on { opacity: 1; visibility: visible; transform: translateY(0); max-height: 280px; }
    .menu_wrap .navi { justify-content: center; padding: 24px 0 24px; display: flex; flex-direction: column; gap: 12px; }
    .menu_wrap .navi a { font-size: 16px; padding: 14px 24px; color: #333; text-decoration: none; border-radius: 12px; margin: 0 20px; transition: all 0.3s ease; text-align: center; font-weight: 600; background: rgba(248, 249, 255, 0.8); border: 1px solid rgba(32, 151, 255, 0.1); }
    .menu_wrap .navi a:hover { background: linear-gradient(135deg, #2097FF, #4dabff); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(32, 151, 255, 0.3); }
    .menu_wrap .language-selector { display: none; }
    #main { min-height: 100vh; padding: 80px 20px 40px; display: flex; flex-direction: column; justify-content: center; }
    #main .video-background { position: absolute; height: 100%; width: 100%; }
    #main .video-background iframe { position: absolute; top: 37%; left: 50%; width: 100vw; height: 100vh; transform: translate(-50%, -50%); object-fit: cover; }
    #main .main_contents { position: relative; z-index: 1; padding: 0; height: auto; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
    #main .main_contents > div { margin-top: 100px; }
    #main div h1 { font-size: 32px; line-height: 1.3; margin-bottom: 12px; }
    #main .main_text { font-size: 16px; padding-top: 12px; }
    .store-buttons { flex-direction: column; gap: 12px; padding: 0 16px; margin-top: 20px; align-items: center; }
    .store-button { width: 100%; max-width: 280px; margin: 0 auto; padding: 12px 16px; height: auto; flex: none; }
    .store-button img { width: 24px; height: 24px; margin-right: 12px; }
    .store-button .button-text { text-align: left; }
    .store-button .button-text span { font-size: 12px; margin-bottom: 2px; }
    .store-button .button-text p { font-size: 16px; margin-top: 0; }
    #intro { display: block; }
    #intro .card_wrap { width: 100%; margin-top: 50px; }
    #intro .card_wrap ul li img { width: 100%; }
    #intro .text_wrap { margin-bottom: 40px; }
    #intro .text_wrap .main_text { font-size: 32px; }
    #intro .text_wrap .description { font-size: 18px; }
    #status_wrap { padding: 30px 20px; }
    #status_wrap ul { width: 70vw; margin: 0 auto; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    #status_wrap ul li { width: 100%; padding: 25px; display: grid; align-items: center; justify-content: center; }
    #status_wrap ul li > div h3 span { font-size: 2rem; }
    #status_wrap ul li > span img { padding: 5px; }
    #status_wrap li { padding: 24px 16px; display: flex; align-items: center; text-align: left; gap: 16px; }
    #status_wrap span { flex-shrink: 0; }
    #status_wrap div { flex: 1; }
    #status_wrap div p { font-size: 13px; margin-bottom: 4px; }
    #status_wrap div h3 { font-size: 18px; margin-bottom: 4px; }
    #status_wrap div h3 span { font-size: 24px; }
    #status_wrap div > span { font-size: 11px; }
    .add_service > .add_card div { width: 100%; margin: 0 auto; }
    [class^="service_"], .service_02 > div { display: grid; height: fit-content; justify-content: center; align-items: center; }
    [class^="service_"] .contents_gif { width: 100%; height: fit-content; margin-top: 30px; }
    [class^="service_"] .contents_gif img { width: 100%; height: fit-content; margin: 0 auto; }
    [class^="service_"] .text_wrap { width: 100%; margin: 0 auto; text-align: center; }
    [class^="service_"] .text_wrap > .text_tag { justify-content: center; margin: 15px 0 0 0; }
    [class^="service_"] { display: flex; flex-direction: column; }
    .box1 { order: 1; margin-top: 0; }
    .box2 { order: 3; }
    .box3 { order: 2; }
    .box4 { order: 4; }
    .box4.text_wrap .description { width: 100%; display: block; margin: 0 auto; }
    #review_mymerci { width: 90vw; }
    .back_gradation > div:nth-child(2) { margin-top: 40px; }
    .select-wrap { display: block; gap: 16px; padding: 0 16px; }
    .select-wrap > div { width: 100%; margin-bottom: 30px; }
    .select-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .select-list li { width: calc(50% - 5px); }
    #with_mymerci_logo .logo-scroll-container { width: 90vw; }
    .cta-section { margin-top: 60px; padding: 0 20px; }
    .cta-content { padding: 32px 24px; }
    .cta-icon { width: 48px; height: 48px; }
    .cta-text h3 { font-size: 20px; }
    .cta-text p { font-size: 14px; }
    .cta-button { width: 100%; padding: 14px 24px; font-size: 15px; }
    .start-button { padding: 14px 28px; font-size: 16px; }
    @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
    .guide-gif { width: 65%; }
    footer { padding: 40px 0 30px; margin-top: 60px; }
    .footer-logo { font-size: 18px; margin-bottom: 20px; }
    .footer-info { font-size: 13px; }
    .footer-copyright { margin-top: 20px; font-size: 12px; }
    .info-row { flex-direction: column; }
    .info-row span:first-child { width: auto; margin-bottom: 4px; }
    .language-options { right: auto; left: 0; }
    .persona-cards { flex-direction: column; gap: 16px; }
    .persona-card { width: 300px; margin: 0 auto; }
    .feature-cards { flex-direction: column; gap: 16px; }
    .feature-card { width: 300px; margin: 0 auto; }
    .feature-image { min-height: 150px; }
    .feature-content h3 { font-size: 18px; }
}

/* 모바일 - 480px */
@media (max-width: 480px) {
    header { height: 50px; position: fixed; top: 0; left: 0; right: 0; z-index: 99; }
    header nav { padding: 0 16px; height: 50px; }
    header nav .logo { height: 30px; }
    .mobile_menu { display: flex; width: 18px; height: 13px; }
    .mobile_menu span { margin: 2px 0; height: 2px; border-radius: 1px; }
    .menu_wrap { position: absolute; top: 100%; right: 8px; left: auto; width: 260px; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); border-radius: 18px; border: 1px solid rgba(0, 0, 0, 0.05); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; z-index: 1000; max-height: 0; overflow: hidden; }
    .menu_wrap.on { opacity: 1; visibility: visible; transform: translateY(0); max-height: 260px; }
    .menu_wrap .navi { justify-content: center; padding: 20px 0 20px; display: flex; flex-direction: column; gap: 10px; }
    .menu_wrap .navi a { font-size: 15px; padding: 12px 20px; color: #333; text-decoration: none; border-radius: 10px; margin: 0 16px; transition: all 0.3s ease; text-align: center; font-weight: 600; background: rgba(248, 249, 255, 0.8); border: 1px solid rgba(32, 151, 255, 0.1); }
    .menu_wrap .navi a:hover { background: linear-gradient(135deg, #2097FF, #4dabff); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(32, 151, 255, 0.3); }
    .menu_wrap .language-selector { display: none; }
    #main { padding: 60px 16px 32px; }
    #main div h1 { font-size: 28px; height: 60px; }
    #main .main_text { font-size: 14px; }
    #intro .text_wrap .main_text { font-size: 28px; }
    #intro .text_wrap .description { font-size: 16px; }
    #with_mymerci_logo .logo-group img { height: 35px; }
    .store-button { max-width: 240px; padding: 10px 14px; }
    .store-button img { width: 20px; height: 20px; }
    .store-button .button-text p { font-size: 16px; }
    .store-button .button-text span { font-size: 10px; }
    #faq > .container { margin: 30px auto 50px; padding: 0 30px; }
    #faq_sections .faq-tag-section { margin-top: 20px; padding-top: 20px; }
    .feature-image .emoji-placeholder { font-size: 48px; }
    .feature-tag { padding: 4px 10px; font-size: 12px; }
    .feature-content h3 { font-size: 16px; }
    .feature-content p { font-size: 13px; }
    #status_wrap { padding: 24px 16px; }
    #status_wrap ul { grid-template-columns: repeat(1, 1fr); gap: 16px; }
    #status_wrap ul li { width: 260px; margin: 0 auto; }
    #status_wrap ul { gap: 12px; }
    #status_wrap li { padding: 16px; gap: 12px; }
    #status_wrap div p { font-size: 12px; }
    #status_wrap div h3 { font-size: 16px; }
    #status_wrap div h3 span { font-size: 20px; }
    #status_wrap div > span { font-size: 10px; }
    .box4.text_wrap .description { width: 100%; }
    .emoji-placeholder { font-size: 48px; }
    .persona-tag { padding: 4px 10px; font-size: 12px; }
    .persona-content h3 { font-size: 15px; }
    .persona-content p { font-size: 13px; }
}