/* ========================================
   청담이지함 피부과 - Main Stylesheet
   Last Updated: 2026-01-02 23:59
   Language Switcher: HORIZONTAL LAYOUT (ALL DEVICES)
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #8B0000;
    --secondary-color: #A52A2A;
    --accent-color: #C85A54;
    --dark-color: #1a1a1a;
    --dark-blue: #1e3a5f;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(139,0,0,0.3);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
    font-size: 16px;
    letter-spacing: -0.02em;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--dark-color);
}

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.3rem; }
h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
h4 { font-size: 1.25rem; margin-bottom: 1rem; }

p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

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

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.btn-link i {
    transition: var(--transition);
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: sticky;
    top: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo h1 {
    font-size: 2.1rem;
    color: var(--dark-blue);
    margin: 0;
    line-height: 1.2;
}

/* 일본어 버전: 로고가 한 줄로 표시되도록 */
html[lang="ja"] .logo h1 {
    white-space: nowrap;
    letter-spacing: -0.03em;
}

/* 중국어 버전: 로고가 한 줄로 표시되도록 */
html[lang="zh"],
html[lang="zh-CN"] .logo h1 {
    white-space: nowrap;
    letter-spacing: -0.03em;
}

/* 러시아어 버전: 로고가 한 줄로 표시되도록 */
html[lang="ru"] .logo h1 {
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.logo .tagline {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-top: 4px;
    margin-bottom: 10px;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main-nav ul {
    display: flex;
    gap: 20px;
    align-items: center;
}

.main-nav > ul > li {
    position: relative;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 0;
    display: block;
    white-space: nowrap;
}

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

.cta-menu a {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 25px;
}

.cta-menu a:hover {
    background: var(--secondary-color);
}

/* Language Switcher - 2 Row Layout */
.logo .language-switchers,
.language-switchers {
    display: grid !important;
    grid-template-columns: repeat(3, auto);
    gap: 8px 12px;
    align-items: center;
    margin-top: 10px;
    max-width: 300px;
}

.logo .language-switcher,
.language-switcher {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    background: transparent;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.language-switcher:hover {
    transform: translateY(-2px);
}

.logo .language-switcher .flag-icon,
.language-switcher .flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
    display: block;
}

.logo .language-switcher span,
.language-switcher span {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dark-blue);
    transition: var(--transition);
    display: inline-block;
}

.language-switcher:hover span {
    color: var(--secondary-color);
}
/* Submenu - Horizontal Multi-Column Layout */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    box-shadow: var(--shadow-hover);
    min-width: 600px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-radius: 12px;
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.submenu li {
    padding: 0;
}

.submenu a {
    padding: 12px 18px;
    font-size: 0.9rem;
    border-radius: 8px;
    display: block;
    white-space: nowrap;
}

.submenu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO SECTION WITH SLIDER
   ======================================== */
.hero {
    position: relative;
    height: 700px;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

/* Slider Controls */
.hero-slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: 2px solid rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: rgba(255,255,255,0.6);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--white);
    width: 40px;
    border-radius: 10px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.3);
    border: 2px solid rgba(255,255,255,0.9);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--white);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--white);
    text-shadow: 3px 3px 12px rgba(0,0,0,0.8), 1px 1px 4px rgba(0,0,0,0.9);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 1px 1px 4px rgba(0,0,0,0.9);
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 500;
}

.hero-subtitle strong {
    color: var(--white);
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 1px 1px 5px rgba(0,0,0,1);
}

.hero-subcopy {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: rgba(255,255,255,0.98);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 1px 1px 4px rgba(0,0,0,0.9);
    font-weight: 500;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-subcopy strong {
    color: var(--white);
    font-weight: 800;
    font-size: 1.2rem;
    text-shadow: 3px 3px 12px rgba(0,0,0,1), 1px 1px 6px rgba(0,0,0,1);
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

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

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    gap: 50px;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-card:nth-child(even) {
    direction: rtl;
}

.service-card:nth-child(even) > * {
    direction: ltr;
}

.service-image {
    height: 100%;
    min-height: 400px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-content h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.service-content > p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.service-list {
    margin-bottom: 30px;
}

.service-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ========================================
   RESEARCH SECTION
   ======================================== */
.research {
    padding: 100px 0;
    background: var(--dark-color);
    color: var(--white);
}

.research-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.research-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 700;
}

.research-text .lead {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    opacity: 1;
    line-height: 1.8;
    font-weight: 500;
}

.research-text p {
    color: rgba(255,255,255,0.95);
    opacity: 1;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.research-stats {
    display: grid;
    gap: 30px;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.95;
}

/* ========================================
   INSIGHT SECTION
   ======================================== */
.insight {
    padding: 100px 0;
    background: var(--white);
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.insight-card {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.insight-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
}

.insight-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.insight-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.process-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ========================================
   REVIEWS SECTION
   ======================================== */
.reviews-section {
    padding: 100px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.review-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.review-rating {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 25px;
}

.review-author strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.review-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

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

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139,0,0,0.9), rgba(165,42,42,0.85));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--white);
    opacity: 1;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-section .btn-primary:hover {
    background: var(--bg-light);
}

.cta-section .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

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

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 600;
}

.footer-col p {
    color: var(--white);
    opacity: 1;
    margin-bottom: 10px;
    line-height: 1.7;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--white);
    opacity: 1;
    transition: var(--transition);
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--white);
    opacity: 1;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--white);
    opacity: 1;
}

.footer-links a:hover {
    opacity: 1;
}

/* ========================================
   FLOATING BUTTON
   ======================================== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.fab-btn {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.fab-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--text-light);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* 버건디/다크 배경 위 텍스트 강제 흰색 */
.hero,
.hero-content,
.hero-content h1,
.hero-content h2,
.hero-content p,
.hero-content .hero-badge,
.cta-section,
.cta-content,
.cta-content h2,
.cta-content h3,
.cta-content p,
.research,
.research-content,
.research-text h2,
.research-text p,
.research-text .lead,
.stat-card,
.stat-number,
.stat-label,
.page-hero,
.page-hero h1,
.page-hero h2,
.page-hero p,
.breadcrumb,
.breadcrumb a,
.timeline-year,
.step-number,
[style*="background: linear-gradient"][style*="primary-color"] *,
[style*="background-color"][style*="primary-color"] * {
    color: var(--white) !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .logo h1 {
        font-size: 1.9rem;
    }
    
    /* 일본어/중국어/러시아어 태블릿: 로고 한 줄 표시 */
    html[lang="ja"] .logo h1,
    html[lang="zh"] .logo h1,
    html[lang="zh-CN"] .logo h1,
    html[lang="ru"] .logo h1 {
        white-space: nowrap;
        letter-spacing: -0.03em;
        font-size: 1.7rem;
    }
    
    .logo .tagline {
        font-size: 0.8rem;
    }
    
    .research-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    /* Typography */
    body {
        font-size: 15px;
    }
    
    h1 { font-size: 2rem; line-height: 1.3; }
    h2 { font-size: 1.6rem; line-height: 1.4; }
    h3 { font-size: 1.3rem; line-height: 1.4; }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Header */
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo {
        flex: 1;
        min-width: 200px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .logo h1 {
        font-size: 1.7rem;
        margin: 0;
        line-height: 1.2;
    }
    
    /* 일본어/중국어/러시아어 모바일: 로고 한 줄 표시 */
    html[lang="ja"] .logo h1,
    html[lang="zh"] .logo h1,
    html[lang="zh-CN"] .logo h1,
    html[lang="ru"] .logo h1 {
        white-space: nowrap;
        letter-spacing: -0.03em;
        font-size: 1.5rem;
    }
    
    .logo .tagline {
        font-size: 0.75rem;
        display: block;
        margin: 5px 0 8px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: var(--shadow);
    }
    
    .main-nav.active {
        max-height: 500px;
        overflow-y: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
    }
    
    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .main-nav a {
        padding: 15px 0;
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        max-height: 0;
        overflow: hidden;
        display: block;
        min-width: auto;
    }
    
    .has-submenu.active .submenu {
        max-height: 500px;
        padding: 10px 0 10px 20px;
    }
    
    /* Language Switcher Mobile - 2 Row Grid */
    .logo .language-switchers,
    .header .language-switchers,
    .language-switchers {
        display: grid !important;
        grid-template-columns: repeat(3, auto);
        gap: 8px 10px;
        margin-top: 8px;
        justify-content: flex-start;
        max-width: 280px;
    }
    
    .logo .language-switcher,
    .header .language-switcher,
    .language-switcher {
        padding: 6px 10px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 5px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        white-space: nowrap;
    }
    
    .logo .language-switcher .flag-icon,
    .header .language-switcher .flag-icon,
    .language-switcher .flag-icon {
        width: 18px;
        height: auto;
        display: block;
    }
    
    .logo .language-switcher span,
    .header .language-switcher span,
    .language-switcher span {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--primary-color);
        display: inline-block;
    }

    
    /* Hero */
    .hero {
        height: 600px;
    }
    
    .hero-slider-controls {
        bottom: 30px;
        gap: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 30px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        text-shadow: 3px 3px 12px rgba(0,0,0,0.9), 1px 1px 6px rgba(0,0,0,1);
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 1px 1px 5px rgba(0,0,0,1);
    }
    
    .hero-subcopy {
        font-size: 1rem;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 1px 1px 5px rgba(0,0,0,1);
    }
    
    .hero-subcopy strong {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Service Cards */
    .service-card {
        grid-template-columns: 1fr;
    }
    
    .service-card:nth-child(even) {
        direction: ltr;
    }
    
    .service-image {
        min-height: 250px;
    }
    
    .service-content {
        padding: 30px 20px;
    }
    
    /* Features & Other Grids */
    .features-grid,
    .insight-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Process */
    .process-steps {
        flex-direction: column;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Floating Button */
    .floating-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .scroll-top {
        bottom: 80px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 500px;
    }
    
    .hero-slider-controls {
        bottom: 20px;
        gap: 8px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    .slider-dot.active {
        width: 24px;
    }
    
    .hero-content {
        padding: 0;
    }
    
    .hero-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
        margin-bottom: 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        text-shadow: 3px 3px 12px rgba(0,0,0,0.9), 1px 1px 6px rgba(0,0,0,1);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 1px 1px 5px rgba(0,0,0,1);
    }
    
    .hero-subcopy {
        font-size: 0.9rem;
        text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 1px 1px 5px rgba(0,0,0,1);
        margin-bottom: 30px;
    }
    
    .hero-subcopy strong {
        font-size: 0.95rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .insight-card {
        padding: 30px 20px;
    }
    
    .service-content {
        padding: 25px 15px;
    }
    
    /* Language Switcher - Extra Small Mobile - 2 Row Grid */
    .logo .language-switchers,
    .header .language-switchers,
    .language-switchers {
        display: grid !important;
        grid-template-columns: repeat(3, auto);
        gap: 6px 8px;
        margin-top: 6px;
        justify-content: flex-start;
        max-width: 260px;
    }
    
    .logo .language-switcher,
    .header .language-switcher,
    .language-switcher {
        padding: 6px 10px;
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 5px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 6px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        white-space: nowrap;
    }
    
    .logo .language-switcher .flag-icon,
    .header .language-switcher .flag-icon,
    .language-switcher .flag-icon {
        width: 16px;
        height: auto;
        display: block;
    }
    
    .logo .language-switcher span,
    .header .language-switcher span,
    .language-switcher span {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--primary-color);
        display: inline-block;
    }
}