/* Hide app download teaser at the very bottom to prevent stray emoji icons */
.app-download-section { display: none; }

/* Page4·Page5·Page6 순서에 맞춰 FAQ 앞만 노출; 상관없는 기존 CTA 블록 숨김 */
.cta-section { display: none; }

/* page6만 노출: B2B Services(services 그림 1~3)만 사용. 흰색 서비스 카드 블록 숨김 */
.services-white-section { display: none; }

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Color Variables */
:root {
    --color-black: #000000;
    --color-dark-black: #1a1a1a;
    --color-blue-primary: #11489E;
    --color-blue-light: #2E5B9D;
    --color-blue-dark: #1a3d6b;
    --color-green-logo: #2E8B57;
    --color-icon-primary: #11489E;
    --color-icon-secondary: #ACBAD2;
    --color-text-dark: #2C3E50;
    --color-text-gray: #555555;
    --color-text-light: #777777;
    --color-bg-white: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-bg-gray: #F5F5F5;
    --color-bg-light-blue: #F0F4F8;
    
    /* Typography Variables - Based on design spec */
    --font-h1-size: 50px;
    --font-h2-size: 20px;
    --font-body-size: 16px;
    --font-small-size: 14px;
    --font-button-size: 16px;
    --section-title-size: 2rem;
    --section-title-size-mobile: 1.6rem;
}

body {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-size: var(--font-body-size);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

/* Language-specific font families */
body[data-lang="ko"],
body[data-lang="zh"],
body[data-lang="ja"],
body[data-lang="th"] {
    font-family: 'Noto Sans KR', 'Noto Sans', sans-serif;
}

body[data-lang="en"],
body[data-lang="ru"],
body[data-lang="de"],
body[data-lang="fr"],
body[data-lang="es"],
body[data-lang="it"],
body[data-lang="pt"],
body[data-lang="pl"],
body[data-lang="nl"],
body[data-lang="sv"],
body[data-lang="no"],
body[data-lang="da"],
body[data-lang="fi"],
body[data-lang="cs"],
body[data-lang="hu"],
body[data-lang="ro"],
body[data-lang="bg"],
body[data-lang="hr"],
body[data-lang="sk"],
body[data-lang="sl"],
body[data-lang="et"],
body[data-lang="lv"],
body[data-lang="lt"],
body[data-lang="el"],
body[data-lang="uk"],
body[data-lang="be"],
body[data-lang="sr"],
body[data-lang="mk"],
body[data-lang="sq"],
body[data-lang="is"] {
    font-family: 'Inter', sans-serif;
}

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

/* Header Styles */
.header {
    background-color: #D4DDED !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: none;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo:active {
    opacity: 0.6;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: nowrap;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--color-text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list a:hover {
    color: var(--color-blue-primary);
}

.language-selector {
    cursor: pointer;
    z-index: 1001;
    position: relative;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.globe-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.language-selector:hover {
    transform: scale(1.1);
}

.language-selector:active {
    transform: scale(0.95);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(46, 91, 157, 0.05);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--color-blue-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    display: block;
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* 메뉴가 닫혀 있을 때 터치/클릭이 아래 콘텐츠로 전달되도록 (모바일 버튼 비작동 방지) */
    pointer-events: none;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero-section {
    background-color: #D4DDED;
    padding: 100px 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    max-width: 100%;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-main {
    display: inline;
}

.title-sub {
    display: inline;
    margin-left: 0.5rem;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-blue-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.hero-quote {
    font-size: 1.2rem;
    color: var(--color-text-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-button-size);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: var(--color-blue-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #1e4a7a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: var(--color-blue-primary);
    border: 2px solid var(--color-blue-primary);
}

.btn-secondary:hover {
    background-color: var(--color-blue-primary);
    color: white;
    border-color: var(--color-blue-primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background-color: transparent;
}

.hero-main-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background-color: transparent;
}

.app-mockups {
    position: relative;
    width: 100%;
    height: 100%;
}

.mockup-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    background-color: var(--color-blue-primary);
    color: white;
    padding: 20px;
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mockup-phone {
    position: absolute;
    width: 120px;
    height: 200px;
    background-color: #333;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mockup-left {
    top: 20%;
    left: 10%;
    transform: rotate(-15deg);
    z-index: 1;
}

.mockup-center {
    top: 30%;
    right: 20%;
    transform: rotate(10deg);
    z-index: 2;
}

.mockup-right {
    bottom: 20%;
    right: 10%;
    transform: rotate(-10deg);
    z-index: 1;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    border-radius: 15px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.screen-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.app-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 10px;
}

.category {
    background-color: #f0f0f0;
    padding: 5px;
    border-radius: 5px;
    font-size: 0.7rem;
}

.consult-btn {
    background-color: var(--color-blue-primary);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.7rem;
    cursor: pointer;
}

.chat-interface {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.chat-bubble {
    background-color: var(--color-blue-primary);
    color: white;
    padding: 8px;
    border-radius: 10px;
    font-size: 0.7rem;
}

.team-photo {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.team-text {
    font-size: 0.8rem;
    color: var(--color-blue-primary);
    font-weight: 600;
}

/* Partners Section */
.partners-section {
    padding: 60px 0;
    text-align: center;
    background-color: white;
    overflow: hidden;
}

.partners-text {
    font-size: var(--font-body-size);
    color: var(--color-text-dark);
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 400;
    /* 세로 글자 높이 균일: 한 줄 높이를 동일하게 */
    min-height: 1.5em;
    display: block;
    letter-spacing: 0.01em;
}

.partners-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 2rem;
    padding: 20px 0;
}

.partners-slider {
    display: flex;
    gap: 40px;
    align-items: center;
    will-change: transform;
}

.partner-logo-item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.partner-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.partner-logo-item:hover .partner-logo-img {
    filter: grayscale(0%);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

/* Top Section: Centered */
.about-top-section {
    text-align: center;
    margin-bottom: 80px;
}

.about-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 3rem;
    line-height: 1.2;
}

.about-label-left {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    text-align: left;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-black);
    display: inline-block;
    line-height: 1;
}

.stat-suffix {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-black);
    display: inline-block;
    line-height: 1;
    margin-left: 0;
}

.stat-icon {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.stat-icon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.stat-description {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
    text-align: center;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 80px;
    align-items: flex-start;
    text-align: left;
    padding: 0;
}

.about-info-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
}

.about-info-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.budi-character {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.budi-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
}

.about-logo-large {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.about-logo-image {
    width: 100%;
    max-width: 280px; /* reduced ~30% from 400px */
    height: auto;
    object-fit: contain;
}

.about-logo-text-large {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-logo-main-large {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.logo-medi {
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--color-blue-primary);
    font-family: 'Kalam', 'Caveat', cursive, sans-serif;
    letter-spacing: -2px;
    line-height: 0.85;
    display: block;
    transform: rotate(-1deg);
    margin-left: -3px;
}

.logo-caddy {
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--color-blue-primary);
    font-family: 'Kalam', 'Caveat', cursive, sans-serif;
    letter-spacing: -2px;
    margin-top: -20px;
    line-height: 0.85;
    display: block;
    transform: rotate(1deg);
    margin-left: 5px;
}

.about-logo-sub-large {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-blue-light);
    letter-spacing: 3px;
    margin-top: 15px;
    text-transform: uppercase;
    font-family: 'Noto Sans KR', sans-serif;
}

.about-info-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-info-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.75rem;
    text-align: left;
}

.about-info-paragraph {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    text-align: left;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.mission-item,
.vision-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mission-title,
.vision-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    margin-bottom: 0.75rem;
}

.mission-text,
.vision-text {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* Services (White Cards + Learn More) - 첨부 이미지 상단 */
.services-white-section {
    padding: 80px 0;
    background-color: var(--color-bg-light-blue);
}

.services-white-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-white-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-white-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-white-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.service-white-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    margin-bottom: 0.5rem;
}

.service-white-line {
    font-size: 0.85rem;
    color: var(--color-text-gray);
    margin-bottom: 1rem;
}

.service-white-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

.service-white-features li {
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.4;
}

.service-white-btn {
    display: block;
    text-align: center;
    background: var(--color-blue-primary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.service-white-btn:hover {
    background: #1e4a7a;
}

/* App Section */
.app-section {
    padding: 100px 0;
    background-color: #F8F8FB;
}

.app-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 80px;
    padding: 60px 0;
    background-color: #F8F8FB;
    border-radius: 0;
}

.app-hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 2rem;
}

.app-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.app-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.app-hero-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-download-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.app-download-btn:hover {
    transform: scale(1.05);
}

.app-download-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.app-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.app-matching-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

/* App Mockup (폰 2대 + 배지 + SNS + QR) */
.app-mockup-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.app-mockup-badge {
    background: var(--color-blue-primary);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    max-width: 280px;
}

.app-mockup-phones {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.app-phone-wrap {
    width: 140px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.app-phone-wrap.app-phone-left {
    transform: rotate(-8deg);
}

.app-phone-wrap.app-phone-right {
    transform: rotate(8deg);
}

.app-phone-img {
    width: 100%;
    height: auto;
    display: block;
}

.app-mockup-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.app-social-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #333;
}

.app-social-kakao {
    background: #FEE500;
}

.app-social-naver {
    background: #03C75A;
    color: white;
}

.app-social-insta {
    background: #E4405F;
    color: white;
}

.app-social-xiaohongshu {
    background: #FF2442;
    color: white;
}

.app-mockup-qr {
    width: 56px;
    height: 56px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--color-text-gray);
}

/* APP 섹션 오른쪽: matching.png 단일 이미지만 표시 */
.app-mockup-block.app-mockup-matching-only {
    width: 100%;
    max-width: 100%;
    display: block;
}
.app-matching-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 3-Column Feature Highlights */
.app-features-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 60px;
    padding: 0 1rem;
}

.app-highlight-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.app-highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.app-highlight-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.app-highlight-desc {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.5;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin-top: 60px;
}

.app-feature-card {
    background-color: var(--color-bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.app-feature-thumbnail {
    width: 100%;
    max-width: 80px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.app-feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.5rem;
}

.app-feature-description {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* Services Section (B2B) */
.services-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.services-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 0;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* B2B 카드: 그림 영역(위) + 글자 영역(아래) 분리, 원형 불릿 */
.service-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
}

/* 위쪽: 그림 영역 (색 배경) */
.service-card-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    min-height: 180px;
}

.service-card-domestic .service-card-image {
    background-color: #EBF0F6;
}

.service-card-global .service-card-image {
    background-color: #CCD6E2;
}

.service-card-foreign .service-card-image {
    background-color: #003399;
}

.service-card-img {
    max-width: 180px;
    max-height: 140px;
    object-fit: contain;
}

/* 아래쪽: 글자 영역 (흰 배경) */
.service-card-body {
    background-color: #fff;
    padding: 1.5rem 1.5rem 2rem;
    text-align: left;
}

.service-card .card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 1rem;
}

/* 각 줄 앞 원형 점 기호 */
.card-features {
    list-style-type: disc;
    list-style-position: outside;
    margin: 0;
    padding-left: 1.35rem;
}

.card-features li {
    padding: 0.35rem 0;
    color: #444444;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* App Features Section */
.app-features-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.app-features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-features-title {
    font-size: var(--font-h2-size);
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.app-features-subtitle {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.app-download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.app-download-buttons .download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--color-bg-white);
    border: 2px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text-dark);
    transition: all 0.3s ease;
}

.app-download-buttons .download-btn:hover {
    border-color: var(--color-icon-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.app-download-buttons .download-icon {
    font-size: 1.5rem;
}

.app-download-buttons .download-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-download-buttons .download-label {
    font-size: 0.7rem;
    color: var(--color-text-gray);
}

.app-download-buttons .download-store {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.app-features-visual {
    position: relative;
    height: 500px;
}

.app-mockup-large {
    position: relative;
    width: 100%;
    height: 100%;
}

.mockup-background {
    background-color: var(--color-bg-light);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.caddy-text {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-blue-primary);
    text-align: center;
    margin-bottom: 2rem;
}

.phone-mockup {
    position: absolute;
    width: 150px;
    height: 250px;
    background-color: #333;
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.phone-left {
    top: 20%;
    left: 10%;
    transform: rotate(-10deg);
}

.phone-right {
    top: 20%;
    right: 10%;
    transform: rotate(10deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-white);
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.search-bar input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.package-tour {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.package-tour h4 {
    font-size: 0.9rem;
    color: var(--color-blue-primary);
    margin-bottom: 5px;
}

.package-tour p {
    font-size: 0.8rem;
    color: var(--color-text-gray);
}

.consult-button {
    background-color: var(--color-blue-primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.nav-item {
    font-size: 1.2rem;
}

.user-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.user-avatar {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5rem;
}

.app-name {
    text-align: center;
    font-size: 1rem;
    color: var(--color-blue-primary);
    font-weight: 600;
}

.certification-badge {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-blue-primary);
    border-radius: 10px;
    padding: 10px 15px;
    text-align: center;
}

.badge-content {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--color-blue-primary);
}

.korea-badge {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-bg-white);
    color: var(--color-blue-primary);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.qr-code {
    position: absolute;
    bottom: 10%;
    right: 10%;
    background-color: var(--color-bg-white);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.qr-placeholder {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--color-text-gray);
}

.social-platforms {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.platform-icon.kakao {
    background-color: #FEE500;
    color: #3C1E1E;
}

.platform-icon.naver {
    background-color: #03C75A;
}

.platform-icon.instagram {
    background-color: #E4405F;
}

.platform-icon.xiaohongshu {
    background-color: #FF2442;
}

/* Features Grid Section */
.features-grid-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: var(--font-h2-size);
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.feature-description {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* Moments Section */
/* Reviews Section */
.reviews-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
    text-align: center;
}

.reviews-header {
    margin-bottom: 3rem;
}

/* page4 스타일: 제목·설명 왼쪽, 좌우 화살표 오른쪽(그림 위쪽) */
.reviews-header-with-arrows {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reviews-header-text {
    flex: 1;
    min-width: 0;
}

.reviews-header-arrows {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.carousel-btn-top {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
}

.reviews-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.reviews-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.reviews-subtitle {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    line-height: 1.6;
}

.reviews-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    cursor: grab;
}

.reviews-carousel:active {
    cursor: grabbing;
}

.review-card {
    flex: 0 0 350px;
    min-height: 200px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.review-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.review-comment {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.review-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: 50%;
    color: var(--color-text-gray);
}

.review-avatar-icon {
    width: 22px;
    height: 22px;
}

.review-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-name {
    font-weight: 600;
    color: var(--color-text-dark);
}

.review-country {
    font-size: 0.9rem;
    color: var(--color-text-gray);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--color-icon-primary);
    color: white;
    border-color: var(--color-icon-primary);
}

.carousel-btn-prev {
    left: 20px;
    background: #f0f0f0;
    border-color: #ddd;
    color: var(--color-blue-primary);
}

.carousel-btn-next {
    right: 20px;
    background: var(--color-blue-primary);
    border-color: var(--color-blue-primary);
    color: white;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
}

.moments-section {
    padding: 80px 0;
    background-color: var(--color-bg-white);
    text-align: center;
}

.moments-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.moments-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.moments-subtitle {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.moments-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.moment-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.moment-item:hover {
    transform: translateY(-5px);
}

.moment-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.moment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.moment-item:hover .moment-img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.medical-treatment {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facial-treatment {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.male-treatment {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.wellness-care {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--color-bg-light-blue);
}

.faq-header {
    margin-bottom: 3rem;
    text-align: center;
}

.faq-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.faq-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.faq-subtitle {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    text-align: center;
    line-height: 1.6;
}

.faq-cta-top {
    margin-bottom: 2rem;
}

.btn-contact-us {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-list-two-column {
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .faq-list-two-column {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--color-text-dark);
    transition: background-color 0.3s ease;
}

.faq-question span:first-child {
    font-size: var(--font-body-size);
    line-height: 1.5;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--color-blue-primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
}

.faq-cta .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background-color: var(--color-bg-white);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-avatars {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-title {
    font-size: var(--font-h2-size);
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    background-color: var(--color-blue-primary);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-button-size);
    transition: background-color 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #1e4a7a;
}

/* Contact Section */
.contact-section {
    /* let the section height follow its content */
    min-height: auto;
    display: flex;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    /* auto height: match the taller column only, not force full viewport */
    min-height: auto;
    align-items: stretch;
}

.contact-left {
    background-color: #1A3A72;
    background: linear-gradient(135deg, #1A3A72 0%, #1e4a85 100%);
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50% 0 0 0;
    transform: translate(50%, 50%);
}

.contact-left::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-30%, 40%);
}

.contact-brand {
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.contact-title-line1,
.contact-title-line2 {
    display: block;
}

.contact-title-line1 {
    font-size: 2.5rem;
}

.contact-title-line2 {
    font-size: 2.5rem;
}

.contact-subtitle {
    font-size: var(--font-body-size);
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.contact-response-time {
    font-size: var(--font-body-size);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: white;
}

.contact-rating {
    margin-bottom: 2rem;
}

.stars {
    font-size: 1.5rem;
}

.contact-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-bg-white);
    padding: 10px;
}

.contact-logo-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.contact-logo-main {
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-logo-sub {
    font-size: 1rem;
    opacity: 0.8;
}

.contact-phone {
    margin-top: 2rem;
    text-align: center;
}

.contact-phone-number {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-top: 1rem;
}

.contact-right {
    background-color: var(--color-bg-white);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-blue-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.form-subtitle {
    font-size: var(--font-body-size);
    color: var(--color-text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-name {
    display: inline-block;
    width: calc(50% - 0.5rem);
}

.form-group-name:first-of-type {
    margin-right: 1rem;
}

.contact-response-time {
    font-size: 1rem;
    color: white;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.form-group label {
    font-size: var(--font-body-size);
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: var(--font-body-size);
    font-weight: 400;
    transition: border-color 0.3s ease;
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-blue-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background-color: var(--color-blue-primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: var(--font-button-size);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(26, 61, 107, 0.3);
    width: 100%;
}

.form-submit:hover {
    background-color: #153054;
    box-shadow: 0 6px 16px rgba(26, 61, 107, 0.4);
    transform: translateY(-2px);
}

.form-submit:active {
    transform: translateY(0);
}

/* Country Select Styles */
.country-select-wrapper {
    position: relative;
    width: 100%;
}

#country-search {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    background-color: var(--color-bg-white);
}

#country-search:focus {
    outline: none;
    border-color: var(--color-blue-primary);
    box-shadow: 0 0 0 3px rgba(46, 91, 157, 0.1);
}

.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    margin-top: 4px;
}

.country-dropdown.active {
    display: block;
}

.country-option {
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.country-option:last-child {
    border-bottom: none;
}

.country-option:hover {
    background-color: rgba(46, 91, 157, 0.08);
}

.country-option.selected {
    background-color: rgba(46, 91, 157, 0.15);
    font-weight: 600;
}

.country-option.highlight {
    background-color: rgba(46, 91, 157, 0.12);
}

/* Footer */
.footer {
    background-color: var(--color-bg-gray);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-gray);
}

.footer-description {
    font-size: var(--font-small-size);
    color: var(--color-text-gray);
    line-height: 1.6;
}

.social-media {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.instagram {
    background-color: #E4405F;
}

.social-icon.facebook {
    background-color: #1877F2;
}

.social-icon.youtube {
    background-color: #FF0000;
}

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

.social-icon.xiaohongshu {
    background-color: #FF2442;
}

.social-icon.weibo {
    background-color: #E6162D;
}

.social-icon.other {
    background-color: #6C757D;
}

.social-icon.whatsapp {
    background-color: #25D366;
}

.social-icon.wechat {
    background-color: #09B83E;
}

.social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.social-icon-img:hover {
    transform: scale(1.1);
}

.footer-sns-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: var(--color-text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-blue-primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.footer-mission {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* App Download Section */
.app-download-section {
    padding: 2rem 0;
    background-color: var(--color-bg-white);
    text-align: center;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.download-btn.app-store {
    background-color: var(--color-blue-primary);
    color: white;
}

.download-btn.google-play {
    background-color: var(--color-blue-light);
    color: white;
}

.download-icon {
    font-size: 1.5rem;
}

.download-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.download-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.download-store {
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .app-features-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-info {
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .logo-medi,
    .logo-caddy {
        font-size: 4rem;
    }
    
    .contact-left {
        padding: 2rem;
    }
    
    .contact-right {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .header-content {
        gap: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
        order: 3;
    }
    
    .language-selector {
        z-index: 1002;
        position: relative;
        order: 2;
        margin-right: 0;
    }
    
    .nav {
        order: 1;
    }
    
    /* 모바일: 메뉴가 열렸을 때만 오버레이 표시 (닫혀 있을 땐 display 없음 → base의 none 유지). 버튼 터치 차단 방지 */
    .menu-overlay.active {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(235, 242, 249, 0.98) 100%);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
        padding: 0 1.5rem;
        max-width: 600px;
    }
    
    .nav-list li {
        width: 100%;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav.active .nav-list li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav.active .nav-list li:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .nav.active .nav-list li:nth-child(2) {
        transition-delay: 0.15s;
    }
    
    .nav.active .nav-list li:nth-child(3) {
        transition-delay: 0.2s;
    }
    
    .nav.active .nav-list li:nth-child(4) {
        transition-delay: 0.25s;
    }
    
    .nav.active .nav-list li:nth-child(5) {
        transition-delay: 0.3s;
    }
    
    .nav-list a {
        font-size: 1.3rem;
        font-weight: 600;
        padding: 1.2rem 2rem;
        display: block;
        width: 100%;
        color: var(--color-text-dark);
        border-radius: 12px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .nav-list a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(46, 91, 157, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-list a:hover::before,
    .nav-list a:active::before {
        left: 100%;
    }
    
    .nav-list a:hover {
        background-color: rgba(46, 91, 157, 0.08);
        color: var(--color-blue-primary);
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(46, 91, 157, 0.15);
    }
    
    .nav-list a:active {
        transform: translateX(2px);
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background-color: var(--color-blue-primary);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
        background-color: var(--color-blue-primary);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle,
    .hero-quote {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-info {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .about-info-left {
        justify-content: center;
        align-items: center;
    }
    
    .about-logo-large {
        align-items: center;
    }
    
    .about-logo-image {
        max-width: 210px; /* reduced ~30% from 300px */
    }
    
    .about-logo-text-large {
        align-items: center;
    }
    
    .about-logo-main-large {
        align-items: center;
    }
    
    .logo-medi,
    .logo-caddy {
        font-size: 3.5rem;
        transform: rotate(0deg);
        margin-left: 0;
    }
    
    .about-logo-sub-large {
        font-size: 1.5rem;
    }
    
    .about-info {
        padding: 0 1rem;
        gap: 3rem;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
    }
    
    /* App Section Mobile */
    .services-white-cards {
        grid-template-columns: 1fr;
    }

    .app-features-highlights {
        grid-template-columns: 1fr;
    }

    .app-mockup-phones {
        flex-direction: column;
    }

    .app-phone-wrap.app-phone-left,
    .app-phone-wrap.app-phone-right {
        transform: none;
    }

    .app-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 40px 1rem;
    }
    
    .app-hero-left {
        padding: 0;
        text-align: center;
    }
    
    .app-hero-title {
        font-size: 1.75rem;
    }
    
    .app-hero-subtitle {
        font-size: 0.9rem;
    }
    
    .app-download-buttons {
        justify-content: center;
    }
    
    .app-download-img {
        height: 45px;
    }
    
    .app-hero-right {
        padding: 0;
    }
    
    .app-matching-image {
        max-width: 100%;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .app-feature-card {
        padding: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .moments-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-image {
        max-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn {
        width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle,
    .hero-quote {
        font-size: 0.9rem;
    }
    
    .about-title,
    .services-title,
    .app-features-title,
    .moments-title,
    .faq-title,
    .form-title,
    .contact-title-line1,
    .contact-title-line2 {
        font-size: 2rem;
    }
    
    .moments-gallery {
        grid-template-columns: 1fr;
    }
    
    .logo-medi,
    .logo-caddy {
        font-size: 2.5rem;
        transform: rotate(0deg);
        margin-left: 0;
    }
    
    .about-logo-sub-large {
        font-size: 1.2rem;
    }
    
    .about-logo-image {
        max-width: 175px; /* reduced ~30% from 250px */
    }
    
    .about-info-title {
        font-size: 1.5rem;
    }
    
    .about-info {
        padding: 0 0.5rem;
        gap: 2rem;
    }
    
    .contact-left,
    .contact-right {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .social-media {
        justify-content: center;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Language Selector Modal */
.language-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.language-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.language-modal.active .language-modal-content {
    transform: scale(1);
}

.language-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--color-blue-primary) 0%, var(--color-blue-light) 100%);
    color: white;
}

.language-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.language-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.language-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.language-modal-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.language-modal-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.language-modal-search input:focus {
    outline: none;
    border-color: var(--color-blue-primary);
}

.language-list {
    overflow-y: auto;
    flex: 1;
    padding: 0.5rem 0;
}

.language-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.language-item:hover {
    background-color: #f9fafb;
}

.language-item:last-child {
    border-bottom: none;
}

.language-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text-dark);
}

.language-name-en {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    margin-left: 0.5rem;
}

.language-check {
    color: var(--color-blue-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.language-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--color-text-gray);
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top-color: var(--color-blue-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.language-loader p {
    margin: 0;
    font-size: 0.9rem;
}
