html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #000000;
    --accent-color: #6C093E;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    --nav-height: 80px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    --transition-speed: 0.3s;
    /* Color tokens */
    --color-gray90: #262627;
    /* inactive subnav text */
    --color-gray70: #696C6F;
    /* secondary text */
    --color-gray15: #E6E9EC;
    /* divider lines */
    --color-gray20: #CFD3D7;
    /* card separator lines */
    --color-br50: #FFF0F5;
    /* tag background */
    --color-br900: #7C0B47;
    /* btn pressed */
    --color-br800: #A10F51;
    /* btn default */
    --color-br700: #B61255;
    /* btn hover */
    --color-gray05: #F8F9FB;
    /* table header background */
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    line-height: 1.6;
    letter-spacing: -0.03em;
    word-spacing: -0.05em;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
}

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: white;
}

.text-white {
    color: white !important;
}

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

.mobile-only {
    display: none !important;
}

.mobile-block {
    display: inline;
}




/* Header & GNB */
#gnb {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 99999;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 1); /* Increased opacity for clear visibility */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
}

#gnb.gnb-hidden {
    transform: translateY(-100%);
}

.gnb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gnb-left,
.gnb-right {
    flex: 0 0 200px;
    display: flex;
    align-items: center;
}

.gnb-right {
    justify-content: flex-end;
    gap: 20px;
}

.center-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    /* Reduced to 80% of current size (40px -> 32px) */
    width: auto;
    object-fit: contain;
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: #4b5563;
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile menu button (Hidden on PC by default) */
.mobile-menu-btn {
    display: none !important;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 10001;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Submenu Dropdown */
.has-submenu {
    position: relative;
}

.has-submenu>a i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform var(--transition-speed);
}

.has-submenu:hover>a i {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-speed);
    margin-top: 10px;
}

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

.submenu li {
    padding: 0;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 400;
    color: #4b5563;
    transition: all 0.2s;
}

.submenu a:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

.submenu a::after {
    display: none;
}

/* GNB Button Style */
.gnb-btn {
    font-family: var(--font-heading);
    background-color: var(--accent-color);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition-speed);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gnb-btn:hover {
    background-color: #4A062A;
    /* Darker version of #6C093E */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 9, 62, 0.2);
}

.gnb-btn.active {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
    margin-left: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    position: absolute;
    transition: all var(--transition-speed);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 60px 24px;
}

.hero-text {
    z-index: 1;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    /* Big impact */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-text h1 span {
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 10px;
}


.hero-text p {
    font-size: 1.125rem;
    color: #e5e7eb;
    margin-bottom: 0;
}

/* Hero Stats (Right Side) */
.hero-stats {
    display: grid;
    grid-template-columns: 1fr;
    /* Stack vertically by default, or 2x2 if preferred */
    gap: 40px;
    text-align: right;
    justify-content: end;
}

.stat-item {
    margin-bottom: 20px;
}

.stat-item h3 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-item p {
    font-size: 0.95rem;
    color: #e5e7eb;
    font-weight: 500;
}

/* Mission Section (3-Column Grid) */
#mission {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    background-image: linear-gradient(rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.88)), url("../images/mission_autonomy.png");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.mission-unfolded-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 120px 0 60px;
}

.mission-item-pillar {
    padding: 20px 0;
    background-color: transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: none;
}

.mission-header-group {
    margin-bottom: 24px;
}

.mission-pillar-sub {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-br900);
    margin-bottom: 4px;
}

.mission-pillar-en {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-br900);
    opacity: 0.8;
}

.mission-pillar-main {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 30px;
    color: #111;
    word-break: keep-all;
}

.mission-pillar-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
    min-height: 120px;
    /* Balance heights */
}

.mission-pillar-facts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.pillar-fact-capsule {
    display: inline-block;
    padding: 8px 24px;
    background-color: #fff;
    color: #111;
    border: 1px solid var(--color-gray15);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pillar-fact-capsule:hover {
    border-color: var(--color-br900);
    color: var(--color-br900);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .mission-unfolded-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .mission-pillar-desc {
        min-height: auto;
    }
}

/* Fit Check Banner */
.fit-check-static-banner {
    background: transparent;
    border-radius: 0;
    padding: 100px 0;
}

.fit-check-banner-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.fit-check-banner-text {
    flex: 1;
}

.fit-check-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-gray90);
    margin-bottom: 12px;
}

.fit-check-banner-text .subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-br900);
    margin-bottom: 24px;
}

.fit-check-desc {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.7;
    max-width: 800px;
    word-break: keep-all;
}

.fit-check-banner-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.fit-check-banner-cta .btn-primary {
    background: var(--color-br900);
}

.cta-subtext {
    font-size: 0.95rem;
    color: #888;
    font-weight: 500;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .fit-check-static-banner {
        padding: 40px;
    }

    .fit-check-banner-flex {
        flex-direction: column;
        text-align: center;
    }

    .fit-check-banner-cta {
        text-align: center;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .fit-check-static-banner {
        padding: 30px 20px;
        border-radius: 20px;
    }
}



/* Solution Strength (Levels) */
/* Solution Strength (Levels) - Scroll Expansion */
.expandable-section {
    padding-bottom: 100px;
}

.expandable-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    /* Base gap */
    position: relative;
    /* For connecting line */
}

/* Connecting Line */
.expandable-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
    /* Subtle line */
    transform: translateX(-50%);
    z-index: -1;
}

.expandable-card {
    width: 50%;
    /* Initial width adjusted to 50% */
    height: 400px;
    /* Initial height */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* position: sticky;  Removed for smoother bidirectional flow */
    /* top: 100px; */
    transition: all 0.1s ease-out;
    /* Smooth transition handled by JS mostly, but this helps */
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    will-change: width, height, border-radius;
    /* Optimize performance */
}

.card-content {
    max-width: 800px;
    padding: 0 20px;
    opacity: 0.9;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.level-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    /* Semi-transparent white */
    backdrop-filter: blur(5px);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expandable-card h3 {
    font-size: 2.5rem;
    /* Base size */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.expandable-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Backgrounds */
.level-3 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/level3-bg.jpg'), #4a0404;
    background-size: cover;
    background-position: center;
}

.level-2 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/level2-bg.jpg'), #630d16;
    background-size: cover;
    background-position: center;
}

.level-1 {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/level1-bg.jpg'), #800020;
    background-size: cover;
    background-position: center;
}

.level-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: #e5e7eb;
    transform: translateX(-50%);
    z-index: -1;
}

.level-row {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    width: 80%;
    margin: 0 auto;
}

.level-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.level-badge {
    display: inline-block;
    padding: 8px 16px;
    background: #f3f4f6;
    color: #4b5563;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.level-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.level-content p {
    color: var(--text-light);
}

.level-3 {
    border-color: #800020;
}

/* Burgundy for Business/Top */
.level-3 .level-badge {
    background: #fdf2f2;
    color: #800020;
}

/* Reference Section (2x2 Grid) */
.reference-grid-container {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 0;
}

.reference-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    width: 100%;
}

.use-case-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.use-case-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.case-img {
    height: 280px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.case-img i {
    font-size: 4rem;
    color: #cbd5e1;
    transition: transform 0.5s ease;
}

.use-case-card:hover .case-img i {
    transform: scale(1.1);
    color: var(--primary-color);
}

.category-tag {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: inline-block;
}

.case-info {
    padding: 30px;
    background: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
    line-height: 1.3;
}

.case-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
}

.case-customer-mini {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.case-customer-mini strong {
    color: var(--accent-color);
}

.case-highlights-micro {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 15px;
}

.case-highlights-micro span {
    font-size: 0.75rem;
    background: #f3f4f6;
    padding: 3px 10px;
    border-radius: 4px;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    font-weight: 500;
}

.pin-tooltip {
    font-size: 0.65rem;
}

.pin-tooltip strong {
    font-size: 0.75rem;
}

@keyframes highlight-fade {
    0% {
        background-color: #f8f8f8;
        border-color: var(--accent-color);
        box-shadow: 0 0 30px rgba(128, 0, 32, 0.1);
    }

    70% {
        background-color: #f8f8f8;
        border-color: var(--accent-color);
    }

    100% {
        background-color: white;
        border-color: #eee;
    }
}

.highlight-case {
    animation: highlight-fade 3s ease-in-out forwards !important;
}

/* --- Reference Horizontal Card Styles (Mockup Based) --- */
.case-card-horizontal {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    overflow: hidden;
    padding: 60px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-margin-top: 100px;
    border-bottom: 1px solid var(--color-gray20);
}

.case-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.case-card-image {
    flex: 0 0 450px;
    background: #d1d5db;
    /* Grey placeholder from image */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.case-card-image i {
    font-size: 5rem;
    color: white;
    opacity: 0.6;
}

.case-card-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-card-category {
    font-size: 1rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 12px;
}

.case-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
    line-height: 1.3;
}

.case-card-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 30px;
    word-break: keep-all;
}

.case-card-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.case-card-highlights li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.case-card-highlights li i {
    width: 22px;
    height: 22px;
    border: 1.5px solid #111;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 15px;
}

.case-card-footer {
    display: flex;
    justify-content: flex-end;
}

.case-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: var(--accent-color);
    /* #800020 */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
}

.case-card-btn:hover {
    background: #4A062A;
    /* Darker version of #6C093E */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 9, 62, 0.3);
}

.case-card-btn i {
    font-size: 0.9rem;
}

/* Reference */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.client-logo {
    height: 100px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #9ca3af;
    font-weight: 500;
    font-family: var(--font-heading);
}

/* Footer */
#contact {
    background-color: #888888;
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 60px;
}

.footer-info h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.footer-info p {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact {
    text-align: right;
}

.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.footer-contact p {
    color: #9ca3af;
    margin-bottom: 24px;
}

.contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: black;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #e5e7eb;
}

.copyright {
    margin-top: 40px;
    color: #fff;
    font-size: 0.85rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

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

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {

    .gnb-left,
    .gnb-right {
        flex: 0 0 auto;
    }

    .nav-menu.center-nav {
        display: none;
        /* Hide desktop menu on tablet/mobile */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

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

    .hero-stats {
        justify-content: center;
        text-align: center;
        grid-template-columns: repeat(2, 1fr);
        /* 2x2 grid on tablet */
        gap: 30px;
    }

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

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mission-content-container {
        min-height: 250px;
    }

    .mission-main {
        font-size: 1.8rem;
    }

    .level-row {
        width: 95%;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .stat-item h3 {
        font-size: 2.5rem;
    }

    .mission-main {
        font-size: 1.6rem;
    }

    .mission-desc {
        font-size: 1rem;
    }

    .mission-content-container {
        min-height: 300px;
    }
    /* Utility */
    .mobile-only {
        display: inline !important;
    }

    .mobile-block {
        display: block !important;
    }
    .nav-menu {
        display: block !important;
        /* Restore display for mobile menu */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        padding-top: 100px;
        transition: right var(--transition-speed) ease-in-out;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .nav-menu a {
        font-size: 20px;
    }

    .gnb-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .reference-slider {
        padding: 40px 0;
    }

    .reference-grid {
        grid-template-columns: 1fr;
    }

    .use-case-card {
        flex: 0 0 350px;
        /* Adjusted for mobile */
    }

    .case-img {
        height: 200px;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-card-horizontal {
        flex-direction: column;
    }

    .case-card-image {
        flex: 0 0 250px;
        min-height: 200px;
    }

    .case-card-content {
        padding: 30px;
    }

    .case-card-title {
        font-size: 1.5rem;
    }

    /* Detail Page Mobile */
    .case-detail-container {
        padding: 40px 20px !important;
        margin-top: -40px !important;
    }

    .case-detail-container>div:first-child {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .case-card-image {
        flex: 0 0 250px !important;
        min-height: 200px !important;
    }

    .story-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding-top: 40px !important;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }

    .footer-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-info .footer-addr {
        line-height: 1.6;
        margin-bottom: 24px;
        word-break: keep-all;
    }

    .footer-info .copyright {
        margin-top: 0;
    }

    .footer-contact {
        text-align: center;
        width: 100%;
    }
}

/* Secondary Menu (Sticky) */
.secondary-nav {
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: var(--nav-height);
    /* Stick below GNB */
    z-index: 900;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 50px;
}

body.scroll-down-mode .secondary-nav {
    top: 0;
}

.secondary-nav .container {
    display: flex;
    justify-content: center;
}

.secondary-nav ul {
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.secondary-nav li a {
    display: block;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: color 0.3s;
    text-decoration: none;
}

.secondary-nav li.active a,
.secondary-nav li a:hover {
    color: var(--primary-color);
}

.secondary-nav li.active a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

/* Solution Grid */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.solution-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    /* Changed to left for better readability with images */
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.card-image i {
    font-size: 3.5rem;
    color: var(--accent-color);
    opacity: 0.2;
    transition: all 0.3s ease;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .card-image i {
    opacity: 0.4;
    transform: scale(1.1);
}

.solution-card:hover .card-image img {
    transform: scale(1.05);
}

.solution-card .card-icon {
    display: none;
    /* Hide old large icons if we use images */
}

.solution-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
}

.solution-card .card-subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-card .card-desc {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
    word-break: keep-all;
}

/* Connecting Line Effect for Solution Grid */
.solution-card {
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .solution-card:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -45px;
        /* Adjust based on gap */
        width: 60px;
        /* Length of the connector */
        height: 2px;
        background: #e5e7eb;
        transform: translateY(-50%);
        z-index: 0;
    }

    .solution-card:not(:last-child)::before {
        content: '';
        position: absolute;
        top: 50%;
        right: -30px;
        /* Triangle position */
        width: 8px;
        height: 8px;
        border-top: 2px solid #e5e7eb;
        border-right: 2px solid #e5e7eb;
        transform: translateY(-50%) rotate(45deg);
        z-index: 0;
    }
}

/* Product Grid - 4 Columns, No Arrows */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Remove arrows for products */
.product-grid .solution-card::before,
.product-grid .solution-card::after {
    display: none !important;
}


.product-grid .card-image {
    background: #ffffff;
}

.product-grid .card-image img {
    object-fit: contain;
}

/* Solution Flow Diagram */
.solution-flow-section {
    background-color: white;
}

.solution-flow-section .section-header {
    margin-bottom: 60px !important;
}

.flow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: white;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    min-width: 200px;
}

.flow-step:hover {
    transform: translateY(-10px);
}

.flow-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.flow-step:hover .flow-icon {
    background: var(--accent-color);
    color: white;
}

.flow-step h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.flow-step p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.flow-arrow {
    font-size: 2rem;
    color: #d1d5db;
    animation: flowPulse 2s infinite;
}

@keyframes flowPulse {
    0% {
        transform: translateX(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(10px);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .flow-container {
        flex-direction: column;
        gap: 20px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
        animation: flowPulseVertical 2s infinite;
    }

    @keyframes flowPulseVertical {
        0% {
            transform: rotate(90deg) translateY(0);
            opacity: 0.5;
        }

        50% {
            transform: rotate(90deg) translateY(-10px);
            opacity: 1;
        }

        100% {
            transform: rotate(90deg) translateY(0);
            opacity: 0.5;
        }
    }
}

/* --- Product Page Redesign (Card Layout) --- */
.product-card-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-wide-card {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid var(--color-gray20);
    transition: background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    padding: 64px 0;
}

.product-wide-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--color-gray15);
    background: transparent;
}

.product-wide-card .card-content {
    flex: 1;
    padding: 0 60px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.product-wide-card .card-content h2 {
    /* font style controlled by .font-set-card-acronym */
    margin-bottom: 8px;
}

.card-subtitle-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.card-subtitle-row .font-set-card-ko-name,
.card-subtitle-row .font-set-card-en-name {
    margin-bottom: 0;
}


.product-wide-card .card-content h3 {
    /* font style controlled by font-set classes */
    margin-bottom: 20px;
}

.product-wide-card .card-content p {
    /* font style controlled by .font-set-card-* classes */
    max-width: 560px;
    word-break: keep-all;
    margin-bottom: 0;
}

.product-wide-card .card-arrow {
    /* uses .btn-primary styles below - keep for specificity */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    height: 40px;
    padding: 0 16px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-br800);
    border-radius: 4px;
    transition: background 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    letter-spacing: 0.01em;
}

.product-wide-card:hover .card-arrow {
    background: var(--color-br800);
}

.product-wide-card .card-arrow:hover {
    background: var(--color-br700);
}

.product-wide-card .card-arrow:active {
    background: var(--color-br900);
}

.product-wide-card .card-image-wrapper {
    flex: 0 0 420px;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-wide-card .card-image-wrapper img {
    width: 90%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-wide-card:hover .card-image-wrapper img {
    transform: scale(1.04);
}

/* Responsive */
@media (max-width: 992px) {
    .product-wide-card {
        flex-direction: column;
        padding: 48px 0;
    }

    .product-wide-card .card-content {
        padding: 0 0 32px 0;
        align-items: flex-start;
        text-align: left;
    }

    .product-wide-card .card-image-wrapper {
        flex: none;
        width: 100%;
        padding: 0;
    }

    .product-wide-card .card-content h2 {
        font-size: 48px;
    }
}

/* --- Solution Page Redesign (Centered Card Layout) --- */
.solution-card-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    /* Slightly narrower for centered focus */
    margin: 0 auto;
    padding: 20px 20px 100px;
    /* Bottom padding for spacing */
}

.solution-centered-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    min-height: 180px;
    border: 1px solid #f0f0f0;
}

.solution-centered-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.solution-centered-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111;
    line-height: 1.2;
}

.solution-centered-card h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.solution-centered-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
    max-width: 100%;
    word-break: keep-all;
}

/* Responsive */
@media (max-width: 768px) {
    .solution-centered-card {
        padding: 60px 30px;
        min-height: auto;
    }

    .solution-centered-card h2 {
        font-size: 3rem;
    }
}

/* --- Reference Page Filter (Tabs) --- */
.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.filter-tabs {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 60px;
    border: none;
    margin-bottom: 50px;
}

.filter-tab {
    padding: 10px 28px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    border: none;
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    white-space: nowrap;
}

.filter-tab:hover {
    color: #000;
}

.filter-tab.active {
    background: #7c0b47;
    color: #fff;
    box-shadow: 0 4px 12px rgba(124, 11, 71, 0.15);
}

@media (max-width: 768px) {
    .filter-tabs {
        width: 100%;
        border-radius: 12px;
        padding: 5px;
        gap: 5px;
    }

    .filter-tab {
        flex: 1;
        padding: 8px 12px;
        font-size: 0.85rem;
        text-align: center;
    }
}

/* --- Contact Page (Inquiry Form) --- */
.contact-layout {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.inquiry-form-container {
    flex: 2;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.contact-sidebar {
    flex: 1;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    height: fit-content;
}

.form-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.form-header p {
    font-size: 1rem;
    color: #666;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    width: 100%;
}

.form-group.half {
    width: 50%;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.form-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.form-check label {
    font-size: 0.95rem;
    color: #555;
    cursor: pointer;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Sidebar Styling */
.sidebar-item {
    margin-bottom: 30px;
}

.sidebar-item:last-child {
    margin-bottom: 0;
}

.sidebar-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.sidebar-item p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    padding-left: 14px;
}

.sidebar-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-item a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .form-group.half {
        width: 100%;
    }
}

/* --- Global Map Section --- */
.global-map-section {
    background-color: #f8f9fa;
    overflow: hidden;
}

.map-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.map-info h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

.map-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
    word-break: keep-all;
}

.map-stats {
    display: flex;
    gap: 40px;
}

.map-stats .stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1.2;
}

.map-stats .stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.world-map {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.map-base {
    width: 100%;
    height: auto;
    opacity: 0.1;
    /* High contrast map image would be better */
}

.map-pin {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
}

.map-pin::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    animation: pinPulse 2s infinite;
}

@keyframes pinPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Pin positions - Updated based on new Pacific-centered global map */
.pin-kr {
    top: 33.2%;
    left: 43.5%;
}

.pin-us {
    top: 35.5%;
    left: 81.5%;
}

.pin-br {
    top: 62.5%;
    left: 94%;
}

.pin-cn {
    top: 38.5%;
    left: 39.5%;
}

.pin-pl {
    top: 25.5%;
    left: 12.2%;
}

.pin-sa {
    top: 43%;
    left: 20%;
}

.pin-cz {
    top: 27.5%;
    left: 11.2%;
}

.pin-fr {
    top: 28.5%;
    left: 7.2%;
}

.pin-se {
    top: 15.8%;
    left: 11.2%;
}

.pin-tr {
    top: 32.8%;
    left: 16.8%;
}

.pin-in {
    top: 43.5%;
    left: 29.5%;
}

.pin-vn {
    top: 47.5%;
    left: 38.5%;
}

/* Map Pin Styles */
.map-pin {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--color-br900);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Robot Only (Dark) */
.map-pin.pin-robot {
    background: #5a0833;
}

/* SW Only (Light) */
.map-pin.pin-sw {
    background: #ff85c0;
}

/* Combined (Double Ring) */
.map-pin.pin-both {
    background: var(--color-br900);
}

.map-pin.pin-both::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border: 1px solid var(--color-br900);
    border-radius: 50%;
    opacity: 0.6;
}

.map-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250%;
    height: 250%;
    background: inherit;
    border-radius: 50%;
    opacity: 0.3;
    animation: ping 2s infinite;
}

@keyframes ping {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.map-pin:hover {
    transform: scale(1.5);
    z-index: 20;
}

/* Tooltip style - Updated for nested div */
.pin-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.6rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    line-height: 1.3;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 100;
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Bottom tooltip override */
.map-pin.tooltip-bottom .pin-tooltip {
    bottom: auto;
    top: calc(100% + 15px);
    transform: translateX(-50%) translateY(-10px);
}

.map-pin.tooltip-bottom:hover .pin-tooltip {
    transform: translateX(-50%) translateY(0);
}

.pin-tooltip strong {
    color: var(--color-br900);
    font-size: 0.7rem;
    display: block;
    margin-bottom: 0px;
}

@media (max-width: 992px) {
    .map-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .map-stats {
        justify-content: center;
        margin-bottom: 40px;
    }
}

/* ==========================================================================
   Reference (Case Study) Page Styles
   ========================================================================== */

/* Case Grid */
.case-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

/* Case Card (Horizontal) */
.case-card-horizontal {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    border: none;
    padding: 60px 0;
    min-height: auto;
    gap: 40px;
    border-bottom: 1px solid var(--color-gray20);
}

.case-card-horizontal:hover {
    transform: none;
    box-shadow: none;
}

.case-card-horizontal:last-child {
    border-bottom: none;
}

.case-card-image {
    width: 320px;
    height: 200px;
    background: #d9dee2;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.case-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.case-card-image i {
    font-size: 3rem;
    color: #fff;
}

.case-card-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-card-category {
    color: #7C0b47;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.case-card-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.3;
}

.case-tags {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.case-meta-tag {
    background: #f4eaee;
    color: #7C0b47;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.case-meta-tag:hover {
    background: #7C0b47;
    color: white;
    opacity: 1;
}

.case-meta-tag.active {
    background: #7C0b47;
    color: white;
    opacity: 1;
    box-shadow: 0 4px 12px rgba(124, 11, 71, 0.2);
}

.case-card-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 90%;
}

.case-card-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: none;
    background: transparent;
}

.case-card-highlights li {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.case-card-highlights li svg {
    flex-shrink: 0;
    margin-top: -1px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #444;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 10px;
}

.page-btn:hover:not(.disabled) {
    background: #f5f5f5;
}

.page-btn.active {
    background: #222;
    color: #fff;
}

.page-arrow {
    font-size: 0.95rem;
    font-weight: 500;
    color: #888;
    gap: 8px;
}

.next-page {
    border: 1px solid #eee !important;
    background: #fff;
    color: #555;
    padding: 0 20px;
}

.next-page:hover:not(.disabled) {
    background: #f9f9f9;
    border-color: #ddd;
}

.page-arrow i {
    font-size: 0.8rem;
}

.page-arrow.disabled {
    cursor: default;
    opacity: 0.3;
}

.case-card-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.case-tags {
    margin-top: 20px;
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    align-items: center;
}

.case-card-category {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.solution-tag {
    font-size: 0.75rem;
    font-weight: 700;
    background: #fff;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.case-card-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #111;
    line-height: 1.3;
}

.case-card-desc {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.case-card-highlights-row {
    margin-bottom: 25px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
}

.case-customer-label {
    display: block;
    font-size: 0.75rem;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.case-customer-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.case-card-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
}

.case-card-highlights li {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.case-card-highlights li i {
    color: var(--accent-color);
    font-size: 0.75rem;
}

.case-card-btn {
    text-decoration: none;
    color: #111;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.case-card-btn:hover {
    color: var(--accent-color);
}

.case-card-btn i {
    transition: transform 0.3s;
}

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

@media (max-width: 900px) {
    .case-card-horizontal {
        flex-direction: column;
    }

    .case-card-image {
        width: 100%;
        height: 240px;
        border-right: none;
        border-bottom: 1px solid #f5f5f5;
    }

    .case-card-content {
        padding: 40px 30px;
    }
}

/* Mission & Fit Combined styles */
.mission-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
}

.mission-content-container {
    width: 100%;
    min-height: 350px;
    display: flex;
    justify-content: center;
}

.mission-item {
    text-align: center;
    width: 100%;
}

.fit-check-static {
    width: 100%;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

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

.fit-check-header {
    text-align: left;
}

.fit-check-desc {
    text-align: left;
}

.fit-check-cta {
    text-align: center;
}


@media (max-width: 992px) {
    .mission-sticky-wrapper {
        height: auto;
        padding: 80px 0;
        display: block;
        overflow-y: visible;
    }

    .mission-scroll-area {
        height: auto !important;
    }

    .mission-item {
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        margin-bottom: 80px;
        pointer-events: auto;
    }
}

/* Solution Offering Grid (New) */
.offering-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.offering-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.offering-card.highlight {
    background: linear-gradient(135deg, #fff 0%, #fdf2f2 100%);
    border-color: rgba(108, 9, 62, 0.2);
}

.offering-card .card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 20px;
    width: fit-content;
    text-transform: uppercase;
}

.offering-card.highlight .card-tag {
    background: var(--accent-color);
    color: #fff;
}

.offering-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.offering-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
    line-height: 1.4;
    word-break: keep-all;
}

.offering-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
}

/* GNB Submenu */
.has-submenu {
    position: relative;
}

.has-submenu i {
    font-size: 0.75rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.has-submenu:hover i {
    transform: rotate(180deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 180px;
    padding: 15px 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.submenu li {
    margin: 0 !important;
}

.submenu li a {
    display: block;
    padding: 10px 25px;
    color: #444 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.submenu li a:hover {
    background: #fdf2f2;
    color: var(--accent-color) !important;
}

.submenu li a.active {
    color: var(--accent-color) !important;
    background: #fdf2f2;
}

/* Product Features List */
.product-features {
    margin-top: 25px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.product-features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    gap: 8px;
}

.product-features li strong {
    color: #111;
    min-width: 70px;
}

/* Offering Card Sizing Adjustments */
.offering-card h5 {
    font-weight: 500;
    margin-bottom: 15px;
}

/* Responsive adjustments for new grids */
@media (max-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .offering-grid {
        grid-template-columns: 1fr !important;
    }

    .industry-grid {
        grid-template-columns: 1fr !important;
    }

    .bubble-grid {
        flex-direction: column;
        align-items: center;
        gap: 40px !important;
    }

    .bubble-item {
        margin-top: 0 !important;
    }
}

/* ==============================================
   GLOBAL: Secondary Nav (Submenu)
   [preset: SubNav-RG32 / SubNav-SB32]
   font-size: 32pt ??2rem
   inactive: Regular(400), color: gray90 (#262627)
   active:   Semibold(600), color: #fff on #111 bg
   button area: 260??0px
   ============================================== */
.secondary-nav {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    position: sticky;
    top: var(--nav-height);
    z-index: 100;
}

.secondary-nav .container {
    display: flex;
    height: 60px;
    align-items: center;
    gap: 4px;
}

.secondary-nav ul {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    align-items: center;
}

/* SubNav-RG32: inactive tab */
.secondary-nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 60px;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    /* Regular */
    color: var(--color-gray90);
    /* gray90 = #262627 */
    border-radius: 0;
    transition: color 0.18s, background 0.18s;
    white-space: nowrap;
    letter-spacing: 0;
    text-decoration: none;
}

.secondary-nav ul li a:hover {
    color: #111;
}

/* SubNav-SB32: active tab */
.secondary-nav ul li.active a {
    background: #111;
    color: #fff;
    font-weight: 600;
    /* Semibold */
}

/* ==============================================
   GLOBAL: Dark Theme Hero (Header)
   Product, Control, Logistics, Total Solution ??
   ??類λ땹嶺뚮??????嶺뚮???????�곷?�嶺??��? ???�쾴??????�맠 ?????
   ============================================== */
.global-hero {
    background-color: #111;
    padding: calc(var(--nav-height) + 150px) 0 72px;
}

.global-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Category e.g., "Robot" */
.global-hero-category {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0;
    color: #fff;
    margin-bottom: 0;
}

/* Main Title e.g., "???�???????��??濡ル?? */
.global-hero-title {
    font-size: 2.375rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    letter-spacing: 0;
    margin-bottom: 14px;
}

/* Slogan/Tagline e.g., "Autonomy in Action" */
.global-hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
}

/* Row for title and tagline */
.hero-title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: -4px;
}

/* Subtext Korean */
.global-hero-sub-ko {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    max-width: 1200px;
}

/* Subtext English */
.global-hero-sub-en {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.778;
    max-width: 1200px;
}

/* ==============================================
   GLOBAL: Product Info Section Typography & Layout
   (ex. product.html Stats & Intro)
   ============================================== */

/* ??????꾩룄??�몭????깅턄??�곣�??*/
.stats-banner {
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px 15px;
    margin-bottom: 80px;
    justify-content: center;
}

.stat-block {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

.stat-divider {
    display: block;
    width: 1px;
    height: 120px;
    background-color: var(--color-gray15);
}

/* ????????�챶???????(40px Semibold / br900) */
.product-stats-num {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 600;
    /* Semibold */
    color: var(--color-br900);
    line-height: 1;
    margin-bottom: 8px;
    white-space: nowrap;
}

/* ????????�챶??????�츩??(18px Semibold / gray70) */
.product-stats-label {
    font-size: 18px;
    font-weight: 600;
    /* Semibold */
    color: var(--color-gray70);
    line-height: 1.3;
}

/* ?筌뤿굝諭?�슖??????: 36px / gray90 / Bold */
.font-set-intro-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-gray90);
    line-height: 1.4;
    margin-bottom: 24px;
    word-break: keep-all;
}

/* ?筌뤿굝諭?�슖??????곌랜�?���? 18px / gray90 / Regular */
.font-set-intro-ko {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-gray90);
    line-height: 1.6;
    margin-bottom: 14px;
    word-break: keep-all;
}

/* ?筌뤿굝諭?�슖???類λ땹 ?????: 20px / gray90 / SemiBold / Center */
.font-set-intro-sub {
    font-size: 20px;
    font-weight: 600;
    /* SemiBold */
    color: var(--color-gray90);
    text-align: center;
    line-height: 1.5;
    word-break: keep-all;
}

/* ?筌뤿굝諭?�슖????�줎??곌랜�?���? 16px / gray90 / Regular / Outfit */
.font-set-intro-en {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-gray90);
    line-height: 1.6;
    word-break: keep-all;
    letter-spacing: 0.02em;
}

/* ===================================================
   ???? ?곸궠?????�곣�?????�쥓�??筌뤿굝諭?(Product Card Font Sets)
   =================================================== */

/* ????�?????? (AFL / AMR / EPT) : 40px / Outfit / Medium */
.font-set-card-acronym {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    color: var(--color-gray90);
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

/* ???�줎??????깅엮 (Autonomous Mobile Robot ...) : 20px / Outfit / SemiBold */
.font-set-card-en-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray90);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

/* ??? 嶺뚮?�援?�눧?(???紐쏃????�筌?嶺뚮?�維?????β??��?? : 22px / Pretendard / SemiBold */
.font-set-card-ko-name {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-gray90);
    line-height: 1.2;
    margin-bottom: 20px;
    word-break: keep-all;
}

/* ??? ?곌랜�?���?: 17px / Pretendard / Light / ?????26px */
.font-set-card-ko-body {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 300;
    color: var(--color-gray90);
    line-height: 26px;
    word-break: keep-all;
    margin-bottom: 0;
}

/* ???�줎??곌랜�?���?: 17px / Outfit / Light / ?????26px */
.font-set-card-en-body {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 300;
    color: var(--color-gray90);
    line-height: 26px;
    letter-spacing: 0.01em;
}

/* ===================================================
   ??�곣�???�?�???????????�뺣�?(Button Component Sets)
   =================================================== */

/* Primary Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-br800);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--color-br700);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(161, 15, 81, 0.2);
    color: #fff;
}

.btn-primary:active {
    background: var(--color-br900);
    transform: translateY(0);
}

/* Outline Button */
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-outline:active {
    background: #f3f4f6;
    transform: translateY(0);
}

/* ===================================================
   ????�곣�?????�쥓�??筌뤿굝諭?(Table Font Sets)
   =================================================== */

/* Overview ???�뚮??: 22px / Pretendard / SemiBold / gray90 */
.font-set-overview-label {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-gray90);
    line-height: 1.3;
}

/* ????�맠 : 18px / Pretendard / SemiBold / ?????28px */
.font-set-table-header {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray90);
    line-height: 28px;
}

/* ??蹂λ윟???곌랜�?���?: 18px / Pretendard / Light / ?????30px */
.font-set-table-ko {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--color-gray90);
    line-height: 30px;
    word-break: keep-all;
    display: inline-block;
}

/* ?꾩룄??�몭????꾩씩 ?꾩룄??�몭???蹂λ윟????�룆�??: 17px / Pretendard / SemiBold / ?????1.6 / ???�?�돰 */
.font-set-table-ko-white {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
    word-break: keep-all;
}

/* ???�줎??곌랜�?���?: 16px / Outfit / Light / ?????30px */
.font-set-table-en {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 300;
    color: var(--color-gray70);
    line-height: 30px;
    letter-spacing: 0.01em;
    display: block;
}

/* ===================================================
   ???�쾹?????????�옇?????????(tech-table)
   =================================================== */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    outline: 1px solid var(--color-gray20);
    border-radius: 8px;
    overflow: hidden;
}

.tech-table thead tr {
    background: var(--color-gray05);
    border-bottom: 1px solid var(--color-gray20);
}

.tech-table th {
    text-align: left;
    vertical-align: middle;
    padding: 16px 24px;
}

.tech-table tbody tr {
    border-bottom: none;
}

.tech-table tbody tr:last-child td {
    border-bottom: none;
}

.tech-table td {
    text-align: left;
    vertical-align: middle;
    padding: 20px 24px;
}

.tech-table colgroup col:first-child {
    width: 8%;
}

.tech-table colgroup col:nth-child(2) {
    width: 18%;
}

.tech-table .td-en {
    display: block;
}

/* ===================================================
   ?롪퍔???????????(diff-table)
   =================================================== */
.diff-table {
    width: 100%;
    border-collapse: collapse;
    outline: 1px solid var(--color-gray20);
    border-radius: 8px;
    overflow: hidden;
}

.diff-table thead tr {
    background: var(--color-gray05);
    border-bottom: 1px solid var(--color-gray20);
}

.diff-table th {
    padding: 12px 16px;
    text-align: left;
}

.diff-table th.col-mobyus {
    background: var(--color-br900);
    color: #fff;
    text-align: center;
}

.diff-table th.col-competitor {
    text-align: center;
}

.diff-table th:last-child {
    text-align: center;
}

.diff-table td {
    padding: 12px 16px;
    vertical-align: middle;
}

.diff-table td:first-child {
    font-weight: 600;
}

.diff-table td.col-mobyus {
    background: rgba(124, 11, 71, 0.04);
    font-weight: 600;
    color: var(--color-br900);
    text-align: center;
}

.diff-table td.col-competitor {
    color: var(--color-gray70);
    text-align: center;
}

/* ===================================================
   ???�쾹??Overview ??????(Overview section from product pages)
   =================================================== */
.overview-section {
    padding: 96px 0;
    background: #fff;
}

.overview-section .section-center-title {
    text-align: center;
    margin-bottom: 64px;
}

.overview-items {
    display: flex;
    flex-direction: column;
}

.overview-item {
    display: grid;
    grid-template-columns: 240px 1fr;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-gray20);
}

.overview-item:first-child {
    padding-top: 0;
}

.overview-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.overview-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.overview-number {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: var(--color-br900);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-right p {
    margin-bottom: 8px;
}

.overview-right p:last-child {
    margin-bottom: 0;
}

/* Overview - Module Title Styling */
.module-overview-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gray90);
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.module-overview-title .module-en {
    font-family: var(--font-heading);
}

.module-overview-title .module-ko {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-gray90);
    display: block;
    text-align: center;
    margin-bottom: 64px;
}

/* ===================================================
   ??濡ル??3??????�룴?롪퍓?????꾩룄??�몭?(Bottom Nav Banner)
   =================================================== */
.bottom-nav-banner {
    padding: 48px 0;
    background: #fff;
}

.bnb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bnb-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 24px;
    border: 1px solid var(--color-gray20);
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.bnb-card:hover {
    border-color: var(--color-gray70);
}

.bnb-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bnb-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-gray70);
    line-height: 1;
}

.bnb-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray90);
    line-height: 1.4;
    word-break: keep-all;
}

.bnb-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-br900);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: 16px;
    transition: background 0.2s ease;
}

.bnb-card:hover .bnb-arrow {
    background: var(--color-br800);
}

/* ??�룆�???곸궠???(Fit Check) */
.bnb-card--accent {
    background: var(--color-br900);
    border-color: var(--color-br900);
}

.bnb-card--accent:hover {
    background: #6a0940;
    border-color: #6a0940;
}

.bnb-card--accent .bnb-label {
    color: rgba(255, 255, 255, 0.7);
}

.bnb-card--accent .bnb-title {
    color: #fff;
}

/* TAMS Upper System Integration (Base) */
.tams-upper-integration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 40px;
    border: 1px solid var(--color-gray20);
    border-radius: 999px;
    background: #fff;
    margin: 0 auto 24px auto;
    max-width: 800px;
}

/* TAMS Lower System Integration (Base) */
.tams-lower-integration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px 40px;
    border: 1px solid var(--color-gray20);
    border-radius: 999px;
    background: #fff;
    margin: 24px auto 0 auto;
    max-width: 800px;
}

.tams-upper-integration .ui-label,
.tams-lower-integration .ui-label {
    font-weight: 800;
    color: #7C0b47;
    font-size: 1.1rem;
    padding-right: 16px;
}

.tams-upper-integration .ui-systems,
.tams-lower-integration .ui-systems {
    display: flex;
    gap: 12px;
}

.tams-upper-integration .ui-system-badge,
.tams-lower-integration .ui-system-badge {
    background: #fdf2f8;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    color: #111;
    font-size: 0.95rem;
}

/* ===================================================
   Mobile Responsive Improvements (index.html)
   =================================================== */
@media (max-width: 768px) {
    /* GNB & Mobile Menu */
    .gnb-container {
        padding: 0 40px;
    }

    .center-nav {
        display: block !important; 
    }

    /* Force show hamburger removal for PC visibility */
    .mobile-menu-btn {
        z-index: 9999;
    }

    .nav-menu {

        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: #fff;
        padding: 60px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 999;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.4rem;
        padding: 20px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    /* Submenu for mobile */
    .submenu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        width: 100% !important;
        padding: 0 !important;
        background: #f9fafb !important;
        margin-top: 0 !important;
        display: block !important; /* Just show submenus on mobile for simplicity */
    }

    .submenu a {
        font-size: 1.1rem;
        padding: 15px 0;
        color: var(--text-light);
        border-bottom: 1px solid #eee;
    }

    .gnb-right .gnb-btn {
        margin-right: 15px;
        padding: 8px 20px;
        font-size: 13px;
    }

    /* General Spacing */
    .section-padding {

        padding: 60px 0;
    }

    .container {
        padding: 0 40px;
    }

    /* Global Hero Mobile */
    .global-hero-inner {
        padding: 0 40px;
    }

    .hero-title-row {
        gap: 0;
    }

    .global-hero-sub-ko {
        margin-top: 24px;
    }

    /* Hero Section */
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding-top: calc(var(--nav-height) + 40px);
        padding-bottom: 60px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        padding: 0 40px;
    }


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

    .hero-text h1 {
        font-size: 2.2rem;
        white-space: normal !important;
        line-height: 1.2;
    }

    .hero-text h1 span {
        display: block;
        margin-left: 0 !important;
        margin-top: 10px;
        font-size: 0.6em;
    }

    .hero-text p {
        font-size: 1rem;
        margin-top: 20px;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 24px;
        justify-content: center;
    }

    .stat-item h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .stat-item p {
        font-size: 0.85rem;
    }

    /* Mission Section Refinements */
    .mission-unfolded-grid {
        padding: 40px 0;
        gap: 60px;
    }

    .mission-pillar-main {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .mission-pillar-desc {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    /* Fit Check Section */
    .fit-check-static-banner {
        padding: 60px 0;
    }

    .fit-check-title {
        font-size: 2.2rem;
    }

    .fit-check-banner-text .subtitle {
        font-size: 1.2rem;
    }

    .fit-check-desc {
        font-size: 1rem;
    }

    /* tech-table to Card Layout Transformation */
    .sol-combo-table {
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
        background: #fff !important;
        overflow: hidden;
    }
    
    .tech-table, 
    .tech-table thead, 
    .tech-table tbody, 
    .tech-table th, 
    .tech-table td, 
    .tech-table tr {
        display: block;
        width: 100%;
    }

    .tech-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .tech-table tr {
        margin-bottom: 0 !important;
        border: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        border-radius: 0 !important;
        padding: 20px 24px;
        box-shadow: none !important;
    }
    
    .tech-table tr:last-child {
        border-bottom: none !important;
    }

    .tech-table td {
        border: none !important;
        padding: 8px 0;
        text-align: left !important;
        position: relative;
    }

    .tech-table td:first-child {
        font-size: 1.1rem;
        border-bottom: none;
        margin-bottom: 8px;
        padding-bottom: 0;
    }

    .tech-table td:last-child {
        color: var(--text-light);
        font-size: 0.95rem;
    }

    /* Reference Stats Banner */
    .stats-banner {
        flex-direction: column;
        gap: 35px;
        padding: 30px 20px;
    }

    .stat-divider {
        display: none;
    }

    .stat-block {
        width: 100%;
        flex: none;
    }

    .product-stats-num {
        font-size: 2rem;
    }

    .product-wide-card .card-content {
        align-items: center !important;
        text-align: center !important;
    }

    .product-wide-card .card-subtitle-row {
        justify-content: center !important;
    }

    /* Shared Tech, Why TAMS, & Core Competencies Tables (Mobile: card layout) */
    .shared-tech-section .tech-table,
    .why-tams-container .tech-table,
    .core-competencies-section .tech-table {
        display: block !important;
        width: 100% !important;
        border: none !important;
        outline: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .shared-tech-section .tech-table thead,
    .why-tams-container .tech-table thead,
    .core-competencies-section .tech-table thead {
        display: none !important;
        position: static !important;
    }

    .shared-tech-section .tech-table tbody,
    .why-tams-container .tech-table tbody,
    .core-competencies-section .tech-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .shared-tech-section .tech-table tr,
    .why-tams-container .tech-table tr,
    .core-competencies-section .tech-table tr {
        display: block !important;
        background: #fff !important;
        border: 1px solid #e5e7eb !important;
        border-bottom: 1px solid #e5e7eb !important;
        border-radius: 12px !important;
        padding: 18px 20px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
        margin-bottom: 0 !important;
    }

    .shared-tech-section .tech-table td:first-child,
    .why-tams-container .tech-table td:first-child,
    .core-competencies-section .tech-table td:first-child {
        display: inline !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        color: #111 !important;
        padding: 0 !important;
        border: none !important;
        margin-right: 6px !important;
        width: auto !important;
    }

    .shared-tech-section .tech-table td:nth-child(2),
    .why-tams-container .tech-table td:nth-child(2),
    .core-competencies-section .tech-table td:nth-child(2) {
        display: inline !important;
        font-weight: 700 !important;
        font-size: 1rem !important;
        color: #111 !important;
        padding: 0 !important;
        border: none !important;
        width: auto !important;
    }

    .shared-tech-section .tech-table td:nth-child(3),
    .why-tams-container .tech-table td:nth-child(3),
    .core-competencies-section .tech-table td:nth-child(3) {
        display: block !important;
        margin-top: 10px !important;
        font-size: 0.9rem !important;
        color: #374151 !important;
        line-height: 1.6 !important;
        padding: 0 !important;
        border: none !important;
        word-break: keep-all !important;
        width: 100% !important;
    }

        /* Bottom Nav Banner (Mobile Stacking) */
    .bnb-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bnb-card {
        padding: 24px 20px;
    }

    /* TAMS Upper & Lower System Integration (Mobile: Stacked, Rounded Rect) */
    .tams-upper-integration,
    .tams-lower-integration {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
        border-radius: 16px;
    }

    .tams-upper-integration .ui-label,
    .tams-lower-integration .ui-label {
        padding-right: 0;
        text-align: center;
    }

    .tams-upper-integration .ui-systems,
    .tams-lower-integration .ui-systems {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .tams-upper-integration .ui-system-badge,
    .tams-lower-integration .ui-system-badge {
        padding: 6px 16px;
        font-size: 0.9rem;
    }
}

/* --- Mobile Utility Classes --- */
.mobile-block {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-block {
        display: block !important;
    }

    /* Competitiveness Comparison Table - Mobile Font Reduction */
    .diff-table {
        display: table; /* Revert to standard table layout */
        table-layout: fixed;
    }
    
    .diff-table th, 
    .diff-table td {
        font-size: 13px !important;
        padding: 12px 6px !important;
        letter-spacing: -0.04em;
        line-height: 1.4 !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }

    .diff-table th.col-layer,
    .diff-table td:first-child {
        width: 8% !important;
        text-align: center !important;
    }

    .diff-table th.col-name {
        width: 28% !important;
    }

    .diff-table th.col-role {
        width: 29% !important;
    }

    .diff-table th.col-products,
    .diff-table td:last-child {
        width: 35% !important;
    }
}
/* --- Visibility Helpers --- */
.m-br { display: none; }
.m-show { display: none; }
.m-hide { display: table-cell; }
.mobile-only { display: none !important; }
.pc-only { display: block; }

/* Products-Solution Mobile Optimization */
@media (max-width: 768px) {
    /* Visibility Overrides */
    .m-br { display: inline; }
    .m-show { display: block !important; }
    .m-hide { display: none !important; }
    .mobile-only { display: block !important; }
    .pc-only { display: none !important; }

    /* Total Solution Mobile Cards */
    .sc-mobile-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        margin-top: 20px;
    }

    .module-block { margin-bottom: 60px !important; }
    .overview-items { padding: 16px !important; }
    
    .overview-item {
        display: block !important;
        margin-bottom: 24px !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .overview-item:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    .overview-left, .overview-right {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    .overview-left {
        margin-bottom: 12px !important;
        font-weight: 700 !important;
        color: #7c0b47 !important;
        font-size: 1rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    .overview-number {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .font-set-overview-label {
        display: inline-block !important;
    }

    /* 1. End-To-End Flow mobile refinements */
    .flow-zone-container {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: hidden;
        align-items: stretch !important;
    }

    .zone-box {
        min-width: 0 !important;
        padding: 24px 0 16px !important;
        border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    
    .zone-oms { flex: 2 !important; }
    .zone-wms { flex: 5 !important; }
    .zone-tms { flex: 3 !important; }

    .flow-circle {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.75rem !important;
        margin: 0 auto 6px !important;
    }

    .flow-step-label {
        font-size: 0.62rem !important;
        line-height: 1.1 !important;
        word-break: keep-all;
    }
    
    .flow-line { top: 12px !important; }
    
    .zone-box > div:last-child {
        margin-top: auto !important;
        padding-top: 16px !important;
    }

    /* 2. Software Details Table mobile refinements (Restored to Table Layout) */
    .sw-detail-table {
        table-layout: auto !important;
        font-size: 13px !important; /* Increased from 11px for better readability */
    }
    
    .sw-detail-table th, 
    .sw-detail-table td {
        padding: 10px 6px !important;
        word-break: keep-all;
    }

    .sw-idx { margin-right: 4px; }
    
    .sw-desc-ko {
        font-size: 13px !important;
        color: #111 !important;
        line-height: 1.4 !important;
    }
    
    .sw-content-en {
        color: #6b7280 !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
    }

    /* Final overrides to ensure m-hide/m-show work as intended globally */
    .m-hide { display: none !important; }
}

/* --- MAOP Platform Table Mobile Fix --- */
@media (max-width: 768px) {
    /* MAOP 플랫폼 테이블: 고정 픽셀 너비 해제 후 카드형으로 전환 */
    .maop-platform-section .tech-table colgroup,
    .maop-platform-section .tech-table col {
        width: auto !important;
    }

    .maop-platform-section .tech-table {
        display: block !important;
        width: 100% !important;
        border: none !important;
        table-layout: auto !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .maop-platform-section .tech-table thead {
        display: none !important;
    }

    .maop-platform-section .tech-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .maop-platform-section .tech-table tr {
        display: block !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid #e5e7eb !important;
        border-radius: 0 !important;
        padding: 40px 0 !important; /* 내부 마진(패딩) 대폭 증대 */
        box-shadow: none !important;
    }

    .maop-platform-section .tech-table tr:last-child {
        border-bottom: none !important;
    }

    .maop-platform-section .tech-table td {
        display: block !important;
        padding: 12px 0 !important;
        border: none !important;
        width: 100% !important;
        white-space: normal !important;
        word-break: keep-all !important;
        background: transparent !important;
    }

    .maop-platform-section .tech-table td:first-child {
        font-weight: 700 !important;
        font-size: 1rem !important;
        color: #111 !important;
        margin-bottom: 8px !important;
    }

    .maop-platform-section .tech-table td:not(:first-child) {
        font-size: 0.9rem !important;
        color: #374151 !important;
        line-height: 1.6 !important;
    }
}

/* --- Added for text visibility on PC --- */
.mobile-break {
    display: inline;
}

@media (max-width: 768px) {
    .mobile-break {
        display: block !important;
    }
}

/* --- GNB Language Toggle --- */
.gnb-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    margin-right: 15px;
}

.gnb-lang i {
    font-size: 14px;
    color: #4b5563;
    margin-right: 4px;
}

.gnb-lang .lang-toggle-btn {
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
    padding: 4px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.gnb-lang .lang-toggle-btn:hover {
    color: var(--color-br900);
    border-color: var(--color-br900);
}

@media (max-width: 768px) {
    .gnb-lang {
        font-size: 12px;
        margin-right: 8px;
        gap: 3px;
    }
    .gnb-lang i {
        display: none; /* Hide globe icon on small mobile to save space */
    }
    .gnb-lang .lang-toggle-btn {
        padding: 2px 6px;
    }
    .gnb-right {
        gap: 12px !important; 
    }
    .gnb-right .gnb-btn {
        margin-right: 0;
        padding: 6px 12px;
        font-size: 11px;
    }
    .mobile-menu-btn {
        margin-left: 5px;
    }
}

/* Mobile Layout Overrides */
@media (max-width: 768px) {
    .gnb-container,
    .container, 
    .global-hero-inner, 
    .hero-container {
        padding: 0 20px !important;
    }
    .gnb-left img {
        height: 24px !important;
        width: auto !important;
    }
    .mobile-menu-btn {
        display: block !important;
        z-index: 10001 !important;
        margin-left: 8px !important;
    }
    .mobile-menu-btn span {
        background-color: #111 !important;
    }
    .gnb-right {
        gap: 10px !important;
    }

    /* Reference Tags Mobile Stacking */
    .case-tags {
        margin-top: 20px;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }
} /* Closing media query from line 4610 */

/* Bilingual Support: Hide EN sub-texts in English mode to keep it clean */
html[lang="en"] [data-i18n$=".desc_en"] {
    display: none !important;
}

/* Global .ko / .en span language toggle */
html[lang="ko"] span.en { display: none !important; }
html[lang="en"] span.ko { display: none !important; }

