/* ===========================================
   WANIFELT Common Styles
   공통 스타일 모듈
   =========================================== */

/* CSS Variables */
:root {
    --primary: #304F91;
    --primary-light: #52A2D7;
    --primary-dark: #203560;
    --accent: #52A2D7;
    --dark: #1a1a1a;
    --gray: #666;
    --light: #f8f9fa;
    --light-gray: #f8f9fa;
    --white: #ffffff;

    /* Extended Gray Scale */
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #666;
    --gray-700: #444;
    --gray-800: #1a1a1a;
    --gray-900: #212529;

    /* Status Colors */
    --success: #2E7D32;
    --error: #C62828;

    /* Product Colors */
    --pink: #FF69B4;
    --green: #32CD32;
    --yellow: #FFD700;

    /* Navigation */
    --nav-font-size: 1.125rem;
    --nav-font-weight: 400;
    --nav-color: var(--dark);
    --nav-active-color: var(--primary);

    /* Shadows */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.06);
    --shadow-blue: 0 4px 15px rgba(82, 162, 215, 0.15);
}

/* ===========================================
   Global Base Styles
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

/* ===========================================
   Common Utility Styles
   =========================================== */
.highlight-underline {
    background: linear-gradient(to top, rgba(82, 162, 215, 0.4) 30%, transparent 30%);
    padding: 0 4px;
}

.highlight-underline-thin {
    background: linear-gradient(to top, rgba(82, 162, 215, 0.4) 20%, transparent 20%);
    padding: 0 4px;
}

/* Text Color Utilities */
.text-primary {
    color: var(--primary) !important;
}

.text-primary-light {
    color: var(--primary-light) !important;
}

/* Button Outline Primary */
.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

/* Brand Divider - 파란색 구분선 */
.brand-divider {
    width: 120px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 30px;
}

/* Section Divider - 회색 구분선 */
.section-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 0 0 80px 0;
}

/* Philosophy Quote - 인용문 스타일 */
.philosophy {
    text-align: center;
    margin-bottom: 80px;
}

.philosophy-main {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
}

/* Company Info Text - 기업정보 본문 텍스트 */
.company-info-text {
    font-size: 18px;
    color: #333;
    font-weight: 500;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
    word-break: keep-all;
}

/* ===========================================
   Header Styles
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 50px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: background 0.3s;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
}

.logo {
    height: 45px;
}

.logo img {
    height: 100%;
    width: auto;
}

/* ===========================================
   Language Selector
   =========================================== */
.lang-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 40px;
}

.lang-selector a {
    color: var(--gray);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color 0.3s;
}

.lang-selector a.active {
    color: var(--dark);
    font-weight: 600;
}

.lang-selector a:hover {
    color: var(--primary);
}

.lang-selector .divider {
    color: #ddd;
    font-size: 12px;
}

/* ===========================================
   Navigation Styles
   =========================================== */
.nav {
    display: flex;
    gap: 40px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    color: var(--nav-color);
    text-decoration: none;
    font-size: var(--nav-font-size);
    font-weight: var(--nav-font-weight);
    transition: color 0.3s;
    position: relative;
    padding: 10px 0;
    display: block;
}

.nav-item > a:hover,
.nav-item > a.active {
    color: var(--nav-active-color);
}

.nav-item > a.active::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nav-active-color);
}

/* ===========================================
   Mega Menu Styles
   =========================================== */
.nav-item.has-mega {
    position: static;
}

.nav-item.has-mega > a {
    padding-bottom: 30px;
    margin-bottom: -30px;
}

.mega-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 40px 100px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    border-top: 1px solid #eee;
}

.nav-item.has-mega:hover .mega-menu,
.mega-menu:hover {
    opacity: 1;
    visibility: visible;
}

.mega-menu-left {
    padding-right: 60px;
    border-right: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 30px;
}

.mega-menu-left .mega-image {
    width: 280px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.mega-menu-left .mega-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-menu-left h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.mega-menu-left p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    min-width: 280px;
}

.mega-menu-subtitle {
    font-size: 12px !important;
    color: var(--primary-light) !important;
    letter-spacing: 1px;
    margin-top: 20px;
}

.mega-menu-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Full mega menu for Home */
.mega-menu-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.mega-menu-column h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.mega-menu-column a {
    display: block;
    padding: 8px 0;
    color: var(--gray);
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    transition: all 0.3s;
}

.mega-menu-column a:hover {
    color: var(--primary);
}

.mega-menu-column a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================
   Page Hero (Common Banner)
   =========================================== */
.page-hero {
    height: 300px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero::before {
    display: none;
}

.page-hero > div {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.page-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* ===========================================
   Sub Navigation (Common)
   =========================================== */
.sub-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    background: var(--white);
    position: sticky;
    top: 80px;
    z-index: 100;
}

.sub-nav a {
    color: var(--nav-color);
    text-decoration: none;
    font-size: var(--nav-font-size);
    font-weight: var(--nav-font-weight);
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.sub-nav a::after {
    content: '|';
    position: absolute;
    right: -27px;
    color: #ddd;
    font-weight: var(--nav-font-weight);
}

.sub-nav a:last-child::after {
    content: none;
}

.sub-nav a.active {
    color: var(--nav-active-color);
    border-bottom: 3px solid var(--nav-active-color);
}

.sub-nav a:hover {
    color: var(--nav-active-color);
}

/* ===========================================
   Common Section Styles
   =========================================== */
.section {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-download-section {
    padding-bottom: 40px;
}

.section-text-left {
    padding-top: 40px;
}

.section-text-left .sub-section-title {
    text-align: left;
}

.section-text-left .section-header-desc {
    text-align: left;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

/* Section header title - applied to h2 inside .section-header */
.section-header-title {
    font-size: 50px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Auto divider after section header title */
.section-header-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: var(--primary);
    margin: 30px auto 0;
}

/* Section header description - applied to p inside .section-header */
.section-header-desc {
    font-size: 22px;
    color: #333;
    line-height: 1.8;
    max-width: 800px;
    margin: 30px auto 0;
    text-align: center;
}

/* Section header subtitle - small uppercase text */
.section-header-subtitle {
    font-size: 16px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Sub-section title - for dividing content within a section */
.sub-section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    padding-top: 80px;
    margin-bottom: 30px;
    border-top: 1px solid #e0e0e0;
}

/* Sub-section divider - 구분선만 필요할 때 (텍스트 없음) */
.sub-section-divider {
    padding-top: 80px;
    margin-bottom: 80px;
    border-top: 1px solid #e0e0e0;
}

/* Tab Content - for tab navigation content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

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

/* Company Header - for centered header with logo and slogan */
.company-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive Section Styles */
@media (max-width: 1024px) {
    .section {
        padding: 80px 40px;
    }

    .section-header-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }

    .section-header-title {
        font-size: 32px;
    }

    .company-header {
        flex-direction: column;
        gap: 30px;
    }

    .company-info-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .section-divider {
        margin: 0 0 60px 0;
    }

    /* Philosophy Quote - 반응형 */
    .philosophy {
        margin-bottom: 60px;
    }

    .philosophy-main {
        font-size: 24px;
    }

    /* Sub-section title/divider - 반응형 */
    .sub-section-title {
        padding-top: 60px;
        margin-bottom: 25px;
    }

    .sub-section-divider {
        padding-top: 60px;
        margin-bottom: 60px;
    }
}

/* ===========================================
   Footer Styles
   =========================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 35px 100px 25px;
}

.footer-inner {
    width: 100%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.footer-logo img {
    height: 85px;
    margin-left: -22px;
    margin-top: -12px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: -10px;
}

.footer-contact {
    text-align: left;
    margin-right: -22px;
}

.footer-contact h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-contact p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin: 0;
}

.footer-contact a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-divider-text {
    color: rgba(255,255,255,0.3);
    font-size: 14px;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: left;
}

.footer-info-text {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-info-text a {
    color: var(--accent);
    text-decoration: none;
}

.footer-info-text a:hover {
    color: var(--white);
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* Copyable elements */
.copyable {
    cursor: pointer;
    transition: color 0.2s;
}

.copyable:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ===========================================
   Responsive - Mobile
   =========================================== */
@media (max-width: 1024px) {
    .header {
        padding: 0 15px;
        flex-wrap: nowrap;
    }

    .logo {
        flex-shrink: 0;
    }

    .mobile-menu-btn {
        display: flex;
        flex-shrink: 0;
    }

    .nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .nav-item {
        display: block;
        margin-bottom: 5px;
        position: relative;
        overflow: hidden;
    }

    .nav-item > a {
        display: block;
        padding: 15px 20px;
        border-radius: 8px;
        transition: all 0.2s;
        background: transparent;
    }

    .nav-item > a:hover {
        background: var(--gray-100);
    }

    .nav-item > a.active {
        background: var(--primary);
        color: var(--white);
    }

    .nav-item > a.active::after {
        display: none;
    }

    .mega-menu {
        display: none;
    }

    .logo {
        order: 1;
    }

    .logo img {
        height: 35px;
    }

    .mobile-menu-btn {
        order: 2;
        margin-left: auto;
    }

    .lang-selector {
        order: 3;
        margin-left: 15px;
        flex-shrink: 0;
    }

    .lang-selector a {
        font-size: 0.8rem;
    }

    .footer {
        padding: 40px 30px 30px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .footer-links {
        gap: 30px;
        margin-top: -10px;
    }

    .footer-links a {
        font-size: 16px;
    }
}

@media (max-width: 768px) {

    /* Page Hero Mobile */
    .page-hero {
        height: 200px;
        margin-top: 60px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    /* Sub Navigation Mobile */
    .sub-nav {
        gap: 20px;
        padding: 15px 15px;
        top: 60px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sub-nav a {
        font-size: 14px;
        padding-bottom: 8px;
    }

    .sub-nav a::after {
        right: -12px;
    }

    .section-header-desc {
        font-size: 18px;
    }
}

/* ===========================================
   Extra Small Devices (480px and below)
   =========================================== */
@media (max-width: 480px) {
    .header {
        height: 60px;
        padding: 0 10px;
    }

    .logo img {
        height: 28px;
    }

    .nav {
        top: 60px;
    }

    .page-hero {
        height: 150px;
        margin-top: 60px;
    }

    .page-hero h1 {
        font-size: 24px;
    }

    .section {
        padding: 40px 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header-title {
        font-size: 24px;
    }

    .section-header-desc {
        font-size: 16px;
    }

    /* Philosophy Quote - 반응형 (480px) */
    .philosophy {
        margin-bottom: 40px;
    }

    .philosophy-main {
        font-size: 18px;
    }

    /* Sub-section title/divider - 반응형 (480px) */
    .sub-section-title {
        padding-top: 40px;
        margin-bottom: 20px;
    }

    .sub-section-divider {
        padding-top: 40px;
        margin-bottom: 40px;
    }

    .sub-nav {
        gap: 15px;
        padding: 12px 10px;
    }

    .sub-nav a {
        font-size: 13px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .stat-card {
        padding: 25px 15px;
    }

    .stat-card .value {
        font-size: 32px;
    }

    .stat-card .title {
        font-size: 13px;
    }

    .cta-section {
        padding: 30px 15px;
        border-radius: 10px;
    }

    .cta-section h2 {
        font-size: 20px;
    }

    .cta-section p {
        font-size: 14px;
    }

    .footer {
        padding: 30px 15px;
    }

    .footer-info img {
        height: 50px;
    }

    .footer-info p,
    .footer-links ul li a,
    .footer-contact p {
        font-size: 12px;
    }

    .neumorphic-card {
        padding: 30px 20px;
    }

    .neumorphic-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .neumorphic-card h4 {
        font-size: 18px;
    }

    .neumorphic-card p {
        font-size: 14px;
    }
}

/* ===========================================
   Intro Text Styles
   재사용 가능한 인트로 텍스트 스타일
   =========================================== */
.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text .intro-main {
    font-size: 28px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .intro-text .intro-main {
        font-size: 22px;
    }
}

/* ===========================================
   Common Button Styles
   =========================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

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

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

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

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

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

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

.btn-accent {
    background: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background: #d4b06a;
    transform: translateY(-2px);
}

.btn-group {
    display: flex;
    gap: 15px;
}

@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
}

/* ===========================================
   Common Card Styles
   =========================================== */
.card {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

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

/* Neumorphic Card Style */
.neumorphic-card {
    text-align: center;
    background: #f7f7f9;
    padding: 50px 40px;
    border-radius: 30px;
    border: 1px solid #ebebeb;
    box-shadow:
        8px 8px 16px rgba(0, 0, 0, 0.15),
        -8px -8px 16px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.neumorphic-card:hover {
    transform: translateY(-5px);
    box-shadow:
        12px 12px 24px rgba(0, 0, 0, 0.15),
        -12px -12px 24px rgba(255, 255, 255, 0.8);
}

/* Neumorphic Icon Style */
.neumorphic-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #f0f0f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.7);
}

.neumorphic-icon svg {
    stroke: var(--primary-light);
}

.neumorphic-card h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.neumorphic-card p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

/* ===========================================
   Common Grid Layouts
   =========================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   Common CTA Section
   =========================================== */
.cta-section {
    text-align: center;
    padding: 60px;
    background: var(--primary);
    border-radius: 15px;
    color: var(--white);
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

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

@media (max-width: 768px) {
    .cta-section {
        padding: 40px 20px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===========================================
   Common Stat Card
   =========================================== */
.stat-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background: var(--light-gray);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-card .icon {
    margin-bottom: 20px;
    color: var(--primary);
}

.stat-card .icon svg {
    stroke: var(--primary);
}

.stat-card .value {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-card .title {
    font-size: 15px;
    color: var(--gray);
    font-weight: 500;
}

/* ===========================================
   Common Form Styles
   =========================================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group label .required {
    color: var(--error);
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--white);
}

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

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23495057' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Error Message */
.error-message {
    display: none;
    font-size: 13px;
    color: var(--primary-light);
    margin-top: 6px;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: var(--primary-light);
}

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

/* Email Input Group */
.email-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.email-input-group .email-local {
    flex: 1;
    min-width: 0;
}

.email-input-group .email-at {
    color: var(--gray-600);
    font-size: 15px;
    flex-shrink: 0;
}

.email-input-group .email-domain-input {
    flex: 1;
    min-width: 0;
}

.email-input-group .email-domain-select {
    width: 140px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .email-input-group {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 8px;
    }

    .email-input-group .email-local {
        grid-column: 1;
    }

    .email-input-group .email-at {
        grid-column: 2;
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    .email-input-group .email-domain-input {
        grid-column: 1;
    }

    .email-input-group .email-domain-select {
        grid-column: 2;
        width: auto;
    }
}

/* ===========================================
   Brand Intro Section (브랜드/탭 인트로)
   회사소개, 제품소개 공통 사용
   =========================================== */
.brand-intro {
    text-align: center;
    padding: 100px 80px 0;
    background: var(--white);
    position: relative;
}

.brand-intro > * {
    position: relative;
    z-index: 1;
}

.brand-intro h2 {
    font-size: 52px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.brand-intro p {
    font-size: 22px;
    color: #333;
    line-height: 1.8;
}

/* Brand Intro - Title Color Variants */
.brand-intro .corporate {
    color: var(--primary);
}

.brand-intro .identity {
    color: var(--primary-light);
}

/* Brand Intro - Responsive (768px) */
@media (max-width: 768px) {
    .brand-intro {
        padding: 60px 20px 0;
    }

    .brand-intro h2 {
        font-size: 36px;
    }

    .brand-intro p {
        font-size: 18px;
    }
}

/* Brand Intro - Responsive (480px) */
@media (max-width: 480px) {
    .brand-intro {
        padding: 40px 15px 0;
    }

    .brand-intro h2 {
        font-size: 28px;
    }

    .brand-intro p {
        font-size: 16px;
    }
}

/* ===========================================
   Policy Section (경영방침)
   =========================================== */
.policy-section {
    background: #ffffff;
    padding: 100px 50px;
}

.policy-header {
    text-align: center;
    margin-bottom: 80px;
}

.policy-title {
    font-size: 52px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
}

.policy-title .title-dark {
    color: var(--primary);
}

.policy-title .title-light {
    color: var(--primary-light);
}

.policy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.policy-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: #f0f0f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.7);
}

.policy-icon svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-light);
}

.policy-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.policy-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.policy-card-sub {
    margin-bottom: 20px;
}

.policy-card-desc {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.8;
}

/* Policy Section - Responsive (768px) */
@media (max-width: 768px) {
    .policy-section {
        padding: 60px 20px;
    }

    .policy-header {
        margin-bottom: 50px;
    }

    .policy-title {
        font-size: 36px;
    }

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

    .policy-card {
        padding: 40px 30px;
    }

    .policy-icon {
        width: 80px;
        height: 80px;
    }

    .policy-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* Policy Section - Responsive (480px) */
@media (max-width: 480px) {
    .policy-section {
        padding: 40px 15px;
    }

    .policy-title {
        font-size: 28px;
    }

    .policy-card {
        padding: 30px 20px;
    }
}

/* ===========================================
   Company Table (회사 정보 테이블)
   =========================================== */
.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid #eee;
}

.company-table tr:first-child {
    border-top: 2px solid var(--primary);
}

.company-table td {
    padding: 28px 20px;
    font-size: 18px;
    vertical-align: middle;
}

.company-table td:first-child {
    width: 150px;
    font-weight: 600;
    color: var(--primary);
    font-size: 17px;
}

.company-table td:last-child {
    color: #333;
    font-weight: 400;
}

/* Company Table - Responsive (768px) */
@media (max-width: 768px) {
    .company-table td {
        padding: 20px 15px;
        font-size: 16px;
    }

    .company-table td:first-child {
        width: 100px;
        font-size: 15px;
    }
}

/* Company Table - Responsive (480px) */
@media (max-width: 480px) {
    .company-table td {
        padding: 16px 10px;
        font-size: 14px;
    }

    .company-table td:first-child {
        width: 80px;
        font-size: 13px;
    }
}

/* ===========================================
   Mobile Submenu Styles (기본)
   모바일에서는 1024px 미디어쿼리에서 재정의됨
   =========================================== */
.mobile-submenu {
    display: none;
}

/* ===========================================
   Company Page Styles (회사소개)
   =========================================== */

/* Brand Intro Inner Elements */
.brand-intro > * {
    position: relative;
    z-index: 1;
}

/* Company Intro Text */
.company-intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.company-intro-text .intro-main {
    font-size: 28px;
    color: var(--gray-800);
    font-weight: 700;
    line-height: 1.6;
}

/* Company Overview Section */
.company-overview-section {
    position: relative;
    padding-bottom: 80px;
}

.company-overview {
    display: flex;
    gap: 60px;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.company-overview-image {
    flex: 0.9;
    min-width: 0;
}

.company-overview-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 10px;
}

.company-overview-text {
    flex: 1.1;
    min-width: 0;
}

.company-overview-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
}

.company-info-text:last-child {
    margin-bottom: 0;
}

/* CI Section */
.ci-content {
    max-width: 1000px;
    margin: 0 auto;
}

.logo-showcase {
    background: var(--light-gray);
    padding: 80px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 60px;
}

.logo-showcase img {
    height: 140px;
    margin-bottom: 50px;
}

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

.download-btn {
    padding: 15px 35px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #ddd;
}

.download-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Company Page Responsive */
@media (max-width: 768px) {
    .company-intro-text .intro-main {
        font-size: 22px;
    }

    .company-overview {
        flex-direction: column;
        gap: 40px;
    }

    .company-overview-image {
        width: 100%;
    }

    .company-overview-image img {
        width: 100%;
        max-height: none;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        object-position: center;
    }

    .company-overview-text h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .logo-showcase {
        padding: 40px 20px;
    }

    .logo-showcase img {
        height: 80px;
    }

    .download-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .download-btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .card-sub-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .company-overview-text h3 {
        font-size: 20px;
    }

    .company-intro-text .intro-main {
        font-size: 18px;
    }

    .card-sub-title {
        font-size: 16px;
    }
}

/* ===========================================
   Product Page Styles (제품소개)
   =========================================== */

/* Product Hero */
.product-hero {
    text-align: center;
    margin-bottom: 80px;
}

.product-main-image {
    margin: 40px 0;
}

.product-main-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* Product Specs */
.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.spec-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
}

.card-sub-title {
    font-size: 22px;
    font-weight: 700;
    color: #000 !important;
    margin-bottom: 15px;
}

.spec-card .card-sub-title {
    color: var(--primary) !important;
}

.spec-card .value {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

/* Product Page Responsive */
@media (max-width: 768px) {
    .product-specs {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .spec-card {
        padding: 25px 15px;
    }

    .card-sub-title {
        font-size: 18px !important;
    }

    .spec-card .card-sub-title {
        font-size: 18px !important;
        margin-bottom: 12px;
    }

    .spec-card .value {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .spec-card {
        padding: 20px 12px;
    }

    .card-sub-title {
        font-size: 16px !important;
    }

    .spec-card .card-sub-title {
        font-size: 16px !important;
        margin-bottom: 10px;
    }

    .spec-card .value {
        font-size: 14px !important;
    }
}

/* ===========================================
   Inquiry Page Styles (고객지원)
   =========================================== */

/* Contact Section */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    margin-bottom: 100px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-700);
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 59, 111, 0.3);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--gray-200);
}

.info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent);
}

.contact-info-sidebar .info-item .value {
    font-weight: 700;
}

.contact-info-sidebar .info-item .value a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info-sidebar .info-item .value a:hover {
    text-decoration: underline;
}

/* Inquiry Page Responsive */
@media (max-width: 1024px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

/* ===========================================
   Location Page Styles (오시는 길)
   =========================================== */

/* Location Section */
.section.location-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    padding: 100px 20px;
}

/* Map Container */
.map-container {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 400px;
}

/* Company Info */
.company-info {
    display: flex;
    flex-direction: column;
}

.company-info h2 {
    display: none;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.location-section .info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 8px 0;
}

.location-section .info-item .icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-section .info-item .icon svg {
    stroke: var(--white);
}

.location-section .info-item .content {
    flex: 1;
}

.location-section .info-item .label {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.location-section .info-item .value {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
}

.location-section .info-item .value a {
    color: var(--primary);
    text-decoration: none;
}

.location-section .info-item .value a:hover {
    text-decoration: underline;
}

/* Location Page Responsive */
@media (max-width: 1024px) {
    .section.location-section {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   Usage Section (Product Page)
   =========================================== */
.usage-section-new {
    padding: 80px 80px;
}

.usage-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.usage-left {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.usage-splash-image {
    text-align: center;
    padding: 40px;
}

.usage-splash-image img {
    max-width: 350px;
    height: auto;
}

.usage-info-card {
    background: var(--gray-100);
    padding: 40px;
    border-radius: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.usage-info-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 30px;
}

.usage-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.usage-info-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.usage-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    min-width: 55px;
    flex-shrink: 0;
}

.usage-info-list .usage-desc {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.7;
}

.usage-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.usage-header {
    padding-left: 20px;
}

.usage-main-title {
    font-size: 52px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -1px;
}

.usage-sub-title {
    font-size: 22px;
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 15px;
}

.usage-title-bar {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 20px;
}

.usage-header .usage-desc {
    font-size: 18px;
    color: var(--dark);
    line-height: 1.8;
}

.usage-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
}

.usage-image-item {
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.usage-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

/* Usage Section Responsive */
@media (max-width: 1024px) {
    .usage-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .usage-left {
        flex-direction: row;
        align-items: stretch;
    }

    .usage-splash-image {
        flex: 0 0 40%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .usage-info-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .usage-section-new {
        padding: 60px 20px;
    }

    .usage-layout {
        gap: 50px;
    }

    .usage-left {
        flex-direction: column;
        order: 2;
    }

    .usage-right {
        order: 1;
    }

    .usage-splash-image {
        display: none;
    }

    .usage-info-card {
        padding: 30px 20px;
    }

    .usage-info-card h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .usage-header {
        padding-left: 0;
    }

    .usage-main-title {
        font-size: 36px;
    }

    .usage-sub-title {
        font-size: 18px;
    }

    .usage-label {
        font-size: 17px;
    }

    .usage-info-list .usage-desc,
    .usage-header .usage-desc {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .usage-section-new {
        padding: 40px 15px;
    }

    .usage-info-card h3 {
        font-size: 18px;
    }

    .usage-info-item {
        flex-direction: column;
        gap: 5px;
    }

    .usage-label {
        font-size: 16px;
    }

    .usage-main-title {
        font-size: 28px;
    }

    .usage-sub-title {
        font-size: 16px;
    }

    .usage-info-list .usage-desc,
    .usage-header .usage-desc {
        font-size: 16px;
    }

    .usage-image-grid {
        gap: 10px;
    }
}

/* ===========================================
   Galaxy Fold Unfolded (717px ~ 884px)
   펼친 폴드 전용 최적화 스타일
   =========================================== */
@media (min-width: 717px) and (max-width: 884px) {
    /* Header */
    .header {
        padding: 0 20px;
    }

    /* Page Hero - 폴드 비율에 맞게 조정 */
    .page-hero {
        height: 220px;
    }

    /* Section padding 조정 */
    .section {
        padding: 70px 30px;
    }

    /* Brand Intro */
    .brand-intro {
        padding: 70px 30px 0;
    }

    .brand-intro h2 {
        font-size: 40px;
    }

    .brand-intro p {
        font-size: 19px;
    }

    /* Sub Navigation - 폴드에서 더 컴팩트하게 */
    .sub-nav {
        gap: 30px;
        padding: 15px 20px;
    }

    .sub-nav a {
        font-size: 15px;
    }

    .sub-nav a::after {
        right: -17px;
    }

    /* Section Header */
    .section-header-title {
        font-size: 34px;
    }

    .section-header-desc {
        font-size: 19px;
    }

    /* Grid layouts - 폴드에서 2열 유지 */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Policy Cards - 2열 */
    .policy-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .policy-title {
        font-size: 40px;
    }

    /* Contact Section - 1열로 변경 */
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    /* Location Section - 1열로 변경 */
    .section.location-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #map {
        height: 350px;
    }

    /* Usage Section */
    .usage-section-new {
        padding: 70px 30px;
    }

    .usage-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .usage-main-title {
        font-size: 40px;
    }

    .usage-sub-title {
        font-size: 19px;
    }

    /* Footer */
    .footer {
        padding: 35px 30px 25px;
    }

    .footer-links a {
        font-size: 15px;
    }

    /* Company Overview */
    .company-overview {
        flex-direction: column;
        gap: 40px;
    }

    .company-overview-text h3 {
        font-size: 26px;
    }

    /* Product Specs - 3열 유지하되 간격 조정 */
    .product-specs {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .spec-card {
        padding: 25px 15px;
    }

    /* Form row - 1열로 변경 */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 30px;
    }

    .cta-section h2 {
        font-size: 26px;
    }
}
