/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 색상 변수 */
    --primary-color: #003399;
    --secondary-color: #009944;
    --accent-color: #003399;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --white: #ffffff;
    
    /* Z-index 계층 관리 */
    --z-background: -1;
    --z-base: 0;
    --z-timeline-line: 1;
    --z-content: 2;
    --z-filters: 900;
    --z-navbar: 1000;
    --z-modal: 1100;
    --z-tooltip: 1200;
    --z-drawer-toggle: 1300;
    
    /* 간격 시스템 */
    --spacing-xs: 0.25rem;    /* 4px */
    --spacing-sm: 0.5rem;     /* 8px */
    --spacing-md: 1rem;       /* 16px */
    --spacing-lg: 1.5rem;     /* 24px */
    --spacing-xl: 2rem;       /* 32px */
    --spacing-xxl: 3rem;      /* 48px */
    
    /* 그림자 시스템 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);
    
    /* Hero 텍스트 반응형 변수 */
    --hero-text-scale: 3vw;              /* 기본 스케일링 비율 */
    --hero-text-min: 0.875rem;           /* 최소 크기 (14px) */
    --hero-text-max: 1.5rem;             /* 최대 크기 (24px) */
    --hero-desc-scale: 2.2vw;            /* description 스케일링 비율 */
    --hero-desc-min: 0.625rem;           /* description 최소 크기 (10px) */
    --hero-desc-max: 1.1rem;             /* description 최대 크기 (17.6px) */
    --hero-logo-multiplier: 3.2;         /* 로고 배율 */
    --hero-padding-scale: 1.5vw;         /* 패딩 스케일링 */
    --hero-padding-min: 0.5rem;          /* 최소 패딩 */
    --hero-padding-max: 2rem;            /* 최대 패딩 */
    --hero-letter-spacing-scale: 0.3vw;  /* 자간 스케일링 */
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* 스무스 스크롤 전역 설정 */
html {
    scroll-behavior: smooth;
}


/* 네비게이션 바 스타일 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 40px;
    width: auto;
    display: block;
}

.logo-svg text {
    fill: #333;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* 투명 배경이 있는 헤더의 로고 */
.header-transparent .logo-e {
    fill: #003399;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.header-transparent .logo-m {
    fill: #009944;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    font-weight: 700;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.nav-links a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* 드롭다운 메뉴 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    margin-top: 0;
}

/* 데스크톱에서 호버 시 표시 */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* 모바일에서 open 클래스로 제어 */
.dropdown.open .dropdown-content {
    display: block;
}

.dropdown-content li {
    list-style: none;
}

.dropdown-content a {
    color: var(--dark-color);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: var(--light-color);
    color: var(--secondary-color);
}

/* 드롭다운 토글 화살표 */
.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    background: linear-gradient(135deg, #003366 0%, #006666 100%);
    color: white;
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

/* 메인 페이지 hero 스타일 */
body:not(.subpage) .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

/* 서브 페이지 hero 스타일 */
body.subpage .hero {
    min-height: 20vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 80px;
    background: linear-gradient(135deg, #003366 0%, #006666 100%);
}

body.subpage .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

body.subpage .hero p {
    font-size: 1.1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

/* 서브 페이지 hero 반응형 */
@media (max-width: 900px) {
    body.subpage .hero {
        padding: 60px 20px 30px;
    }
    
    body.subpage .hero h1 {
        font-size: 2rem;
    }
    
    body.subpage .hero p {
        font-size: 1rem;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2rem);
    animation: fadeIn 1.5s ease-out;
}

/* Hero 텍스트 요소 너비 통일 */
.hero-content > * {
    width: clamp(300px, 60vw, 600px);  /* 동일한 너비 설정 */
    display: flex;
    justify-content: center;            /* flexbox로 중앙 정렬 */
}

.hero-slogan {
    font-size: clamp(var(--hero-text-min), var(--hero-text-scale), var(--hero-text-max));
    font-weight: 200;
    letter-spacing: clamp(0.05rem, var(--hero-letter-spacing-scale), 0.2rem);
    margin-bottom: clamp(0.2rem, 1vw, 0.3rem);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    padding: 0 clamp(var(--hero-padding-min), var(--hero-padding-scale), var(--hero-padding-max));
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-logo {
    font-size: clamp(calc(var(--hero-text-min) * var(--hero-logo-multiplier)), calc(var(--hero-text-scale) * var(--hero-logo-multiplier)), calc(var(--hero-text-max) * var(--hero-logo-multiplier)));
    font-weight: 700;
    margin-bottom: clamp(1.2rem, 3vw, 2.5rem);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    letter-spacing: clamp(0.02em, calc(var(--hero-letter-spacing-scale) * 0.15), 0.04em);
    padding: 0 clamp(var(--hero-padding-min), var(--hero-padding-scale), var(--hero-padding-max));
    max-width: 100%;
    white-space: nowrap;
    overflow: visible;  /* hidden → visible로 변경 */
}

.highlight-e {
    color: #003399;
    transition: all 0.3s ease;
    text-shadow: 0 0 1px #ffffff, 0 0 3px rgba(0, 0, 0, 0.4);
}

.highlight-m {
    color: #009944;
    transition: all 0.3s ease;
    text-shadow: 0 0 1px #ffffff, 0 0 3px rgba(0, 0, 0, 0.4);
}

.highlight-e:hover, .highlight-m:hover {
    transform: scale(1.1);
    text-decoration: underline;
}

.hero-description {
    margin-top: 0;
    font-size: clamp(var(--hero-desc-min), var(--hero-desc-scale), var(--hero-desc-max));  /* 작은 크기 유지 */
    color: #F0F0F0;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
    letter-spacing: clamp(0.08em, 0.25vw, 0.15em);  /* 자간을 늘려서 시각적 길이 보정 */
    padding: 0 clamp(var(--hero-padding-min), var(--hero-padding-scale), var(--hero-padding-max));
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-description p {
    margin: 0;
    line-height: 1.4;
}

.hero-description .highlight-e {
    color: #003399;
    font-weight: 700;
    text-shadow: 0 0 1px #ffffff, 0 0 3px rgba(0, 0, 0, 0.4);
}

.hero-description .highlight-m {
    color: #009944;
    font-weight: 700;
    text-shadow: 0 0 1px #ffffff, 0 0 3px rgba(0, 0, 0, 0.4);
}

.hero-slogan .highlight-nature {
    color: #003399;
    font-weight: 500;
    text-shadow: 0 0 1px #ffffff, 0 0 3px rgba(0, 0, 0, 0.4);
}

.hero-slogan .highlight-company {
    color: #009944;
    font-weight: 500;
    text-shadow: 0 0 1px #ffffff, 0 0 3px rgba(0, 0, 0, 0.4);
}

.hero-slogan-en {
    font-size: clamp(0.7rem, 2.2vw, 1.12rem);
    font-weight: 300;
    letter-spacing: clamp(0.1rem, 0.4vw, 0.18rem);
    margin-bottom: clamp(0.2rem, 1vw, 0.4rem);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    padding: 0 clamp(0.5rem, 1vw, 2rem);
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-slogan-en .highlight-nature {
    color: #003399;
    font-weight: 500;
    text-shadow: 0 0 1px #ffffff, 0 0 3px rgba(0, 0, 0, 0.4);
}

.hero-slogan-en .highlight-innovation {
    color: #009944;
    font-weight: 500;
    text-shadow: 0 0 1px #ffffff, 0 0 3px rgba(0, 0, 0, 0.4);
}


/* 사업분야 섹션 */
.business-areas {
    padding: 8rem 5%;
    background-color: var(--light-color);
}

.business-areas h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.business-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.business-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.business-card p {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

/* 푸터 스타일 */
footer {
    background: linear-gradient(to right, #004d4d, #008f6f);
    color: #e0e0e0;
    padding: 4rem 5% 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px; /* 레이아웃 안정성을 위한 최소 높이 */
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 800px; /* 1200px에서 800px로 축소하여 중앙 정렬 강화 */
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.footer-info {
    flex: 1;
    padding-right: 2rem;
    text-align: right; /* 오른쪽 정렬로 중앙에 더 가깝게 */
}

.footer-info h4 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(0.9rem, 3vw, 1.5rem); /* 반응형 크기: 1.5rem → 0.9rem (더 작게) */
    font-weight: 600;
    transition: font-size 0.3s ease;
    text-align: center; /* h4는 중앙 정렬 유지 */
}

.footer-info p {
    margin-bottom: 0.75em;
    color: #ccc;
    font-size: clamp(0.7rem, 2vw, 1rem); /* 반응형 크기: 1rem → 0.7rem (더 작게) */
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 1rem;
}

.footer-info .label {
    min-width: clamp(2.5rem, 6vw, 4rem); /* 반응형 최소 너비 (더 작게) */
    text-align: right;
    flex-shrink: 0;
}

.footer-info .content {
    flex: 1;
    text-align: left;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* footer-links 스타일은 기본값 사용 (패딩 제거) */

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: clamp(0.9rem, 3vw, 1.5rem); /* 반응형 크기: 1.5rem → 0.9rem (더 작게) */
    color: #e0e0e0;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    transition: font-size 0.3s ease;
}

.footer-links ul {
    list-style: none;
    text-align: left; /* center에서 left로 변경 */
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: clamp(0.7rem, 2vw, 1rem); /* 반응형 크기: 더 작게 조정 */
    line-height: 2.5;
    transition: all 0.3s ease;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: clamp(0.65rem, 1.8vw, 0.95rem); /* 반응형 크기: 더 작게 조정 */
    margin: 0;
}

/* 반응형 디자인 */
@media (max-width: 900px) {
    /* .navbar 스타일은 2277번 줄에서 처리
    .navbar {
        padding: 1rem;
    }
    */

    /* 드롭다운 스타일 주석 처리 - 슬라이드 메뉴 사용 (2274번 줄)
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .nav-links a {
        font-size: 1rem;
    }
    */

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .hamburger {
        display: block;
    }

    /* 900px 이하에서는 clamp이 이미 적용되므로 제거 */
    /* 모바일 최소값 조정만 필요한 경우 추가 */

    .business-areas {
        padding: 4rem 1rem;
    }

    .business-card {
        padding: 1.5rem 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-info {
        padding-right: 0;
    }

    .footer-info p {
        justify-content: center;
        padding-left: 0;
        display: flex;
        gap: 1rem; /* label과 content 사이 간격 */
    }

    .footer-info .label {
        flex: 0 0 40%; /* 40% 고정 너비 */
        text-align: right; /* 오른쪽 정렬 */
        min-width: auto; /* 기존 min-width 제거 */
    }

    .footer-info .content {
        flex: 1; /* 남은 공간 모두 차지 */
        text-align: left; /* 왼쪽 정렬 */
    }

    .logo-svg {
        height: 32px;
    }
    
    .logo-svg text {
        font-size: 24px;
        letter-spacing: -0.02em;
    }
}

/* 문의 페이지 스타일 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-form-section,
.contact-info-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form-section h2,
.contact-info-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-color);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.map-container {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.company-info {
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 8px;
}

.company-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.company-info ul {
    list-style: none;
    padding: 0;
}

.company-info li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.company-info strong {
    color: var(--dark-color);
    margin-right: 0.5rem;
}

/* 반응형 스타일 */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        gap: 2rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 2rem;
    }

    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }

    .company-info {
        padding: 1.2rem;
    }

    .company-info li {
        font-size: 1rem;
    }
}

/* 이온교환막 기술 페이지 스타일 */
.business-hero {
    background: linear-gradient(rgba(26, 95, 122, 0.85), rgba(26, 95, 122, 0.85)), url('../images/ion-exchange-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
    margin-top: 0;
}

.business-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.business-hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.business-content {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.business-section {
    margin-bottom: 5rem;
}

.business-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
}

.business-section p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.business-section ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.business-section ul li {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.business-section ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.application-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.application-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.application-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-item p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

@media (max-width: 900px) {
    .business-hero {
        height: 40vh;
    }

    .business-hero h1 {
        font-size: 2.5rem;
    }

    .business-hero p {
        font-size: 1.2rem;
    }

    .business-content {
        padding: 3rem 1rem;
    }

    .business-section h2 {
        font-size: 2rem;
    }

    .business-section p {
        font-size: 1.1rem;
    }

    .business-section ul li {
        padding: 1.5rem;
        font-size: 1rem;
    }

    .application-card,
    .advantage-item {
        padding: 2rem;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 제품 하이라이트 섹션 */
.product-highlight {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 20px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* 모바일 줄바꿈 - 기본적으로 숨김 */
.mobile-br {
    display: none;
}

.product-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,51,153,0.05) 0%, transparent 70%);
    animation: subtle-rotate 20s linear infinite;
}

@keyframes subtle-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.highlight-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* 정부조달 혁신제품 배지 */
.innovation-badge {
    display: inline-block;
    margin-bottom: 30px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0,51,153,0.3);
    animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 메인 헤딩 */
.highlight-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: var(--dark-color);
    line-height: 1.2;
}

.highlight-title .highlight-accent {
    color: var(--primary-color);
    position: relative;
}

.highlight-title .highlight-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 핵심 가치 제안 */
.highlight-description {
    margin: 0 0 50px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-description p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.highlight-description .eco-text {
    color: var(--secondary-color);
    font-weight: 600;
}

/* 성과 지표 그리드 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,51,153,0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.stat-unit {
    font-size: 2rem;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA 버튼 */
.highlight-cta {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 8px 25px rgba(0,51,153,0.3);
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,51,153,0.4);
}

.cta-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,51,153,0.3);
}

/* ===== R&D 성과 및 기업 인증 통합 섹션 스타일 (2025-06-11 추가) ===== */

/* 기술 페이지 통합 섹션: 메인페이지 스타일 완전 재사용 */
.tech-stats-section.product-highlight {
    /* 메인페이지 .product-highlight 스타일 완전 상속 */
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 80px 20px;
    margin: 0;
    position: relative;
    overflow: hidden;
    /* 히어로 섹션과 자연스럽게 연결 */
    border-top: 1px solid rgba(0,0,0,0.05);
}

.tech-stats-section.product-highlight::before {
    /* 메인페이지 배경 애니메이션 효과 상속 */
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,51,153,0.05) 0%, transparent 70%);
    animation: subtle-rotate 20s linear infinite;
}

/* 2단 레이아웃 컴테이너 */
.tech-stats-section .stats-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 메인 섹션: R&D 성과 지표 (4개, 더 큰 크기) */
.main-stats-section {
    text-align: center;
}

.main-stats-section .achievements-header {
    margin-bottom: 40px;
}

.main-stats-section .achievements-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 15px 0;
}

.main-stats-section .stats-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0;
}

.main-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto;
    justify-content: center;
    max-width: 1200px;
}

.main-stat-item {
    background: white;
    padding: 40px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* main-stat-item::before 제거 - stat-item의 호버 효과를 상속받아 사용 */

.main-stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,51,153,0.2);
}

.main-stat-item .stat-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.main-stat-item .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.main-stat-item .stat-unit {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 5px 0;
}

.main-stat-item .stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
    margin: 0;
}

/* sub-certs-section 스타일은 tech-page-stats.css로 이동됨 */

/* sub-certs-grid 스타일은 tech-page-stats.css로 이동됨 */

/* sub-cert-item 스타일은 tech-page-stats.css로 이동됨 */

/* 통합 섹션 내 메인페이지 스타일 요소들 재정의 */
.tech-stats-section.product-highlight .innovation-badge,
.tech-stats-section.product-highlight .highlight-title,
.tech-stats-section.product-highlight .highlight-description {
    /* 메인페이지와 동일한 스타일 유지 */
    position: relative;
    z-index: 2;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.tech-stats-section.product-highlight .highlight-title {
    font-size: 3.2rem;
    margin-bottom: 25px;
}

.tech-stats-section.product-highlight .highlight-description {
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 700px;
}
/* 반응형 스타일 */
@media (max-width: 900px) {
    .product-highlight {
        padding: 60px 15px;
    }
    
    .highlight-title {
        font-size: 2.5rem;
    }
    
    .highlight-description p {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin: 40px 0;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-unit {
        font-size: 1.5rem;
    }
    
    .highlight-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-primary, .cta-secondary {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 200px;
        text-align: center;
    }
    
    /* 통합 섹션 반응형 디자인 - 태블릿 (900px 이하) */
    .tech-stats-section.product-highlight {
        padding: 60px 15px;
    }
    
    .tech-stats-section .stats-container {
        gap: 50px;
    }
    
    .main-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .main-stat-item {
        padding: 30px 15px;
    }
    
    .main-stat-item .stat-number {
        font-size: 2.8rem;
    }
    
    .main-stat-item .stat-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    /* sub-certs-grid 스타일은 tech-page-stats.css로 이동됨 */
    
    /* sub-cert-item 스타일은 tech-page-stats.css로 이동됨 */
    
    .tech-stats-section.product-highlight .highlight-title {
        font-size: 2.5rem;
    }
    
    .tech-stats-section.product-highlight .highlight-description {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }
    }
    
    /* 530px 이하에서 줄바꿈 표시 */
    @media (max-width: 530px) {
        .mobile-br {
            display: inline;
        }
    }
    
    @media (max-width: 600px) {
    .highlight-title {
        font-size: 2rem;
    }
    
    .highlight-description p {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .innovation-badge {
        font-size: 0.8rem;
        padding: 10px 20px;
    }
    
    /* 통합 섹션 반응형 디자인 - 모바일 (600px 이하) */
    .tech-stats-section.product-highlight {
        padding: 40px 15px;
    }
    
    .tech-stats-section .stats-container {
        gap: 40px;
    }
    
    .main-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .main-stat-item {
        padding: 25px 15px;
    }
    
    .main-stat-item .stat-number {
        font-size: 2.2rem;
    }
    
    .main-stat-item .stat-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    /* sub-certs-grid 스타일은 tech-page-stats.css로 이동됨 */
    
    /* sub-cert-item 스타일은 tech-page-stats.css로 이동됨 */
    
    .tech-stats-section.product-highlight .highlight-title {
        font-size: 1.4rem;
    }
    
    .tech-stats-section.product-highlight .highlight-description {
        font-size: 0.75rem;
        margin-bottom: 30px;
    }
}


/* 섹션 링크 */
.section-links {
    padding: 6rem 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.section-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
}

.section-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0,153,255,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    border-radius: 50%;
    pointer-events: none;
}

.section-card:hover .section-icon::before {
    transform: translate(-50%, -50%) scale(1);
}

.section-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.section-card:hover .section-icon {
    transform: translateY(-5px);
    filter: drop-shadow(0 5px 15px rgba(0,51,153,0.3));
}

.section-card:hover .section-icon img {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.section-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 3.2em; /* 2줄 높이 확보 */
    text-align: center;
}

.section-card .card-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.section-card .card-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 900px) {
    .section-links {
        grid-template-columns: 1fr;
        padding: 4rem 1rem;
        gap: 1.5rem;
    }

    .section-card {
        padding: 2rem 1.5rem;
    }

    .section-card h4 {
        font-size: 1.3rem;
    }

    .section-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 900px) {
    .logo-svg {
        height: 32px;
    }
    
    .logo-svg text {
        font-size: 24px;
        letter-spacing: -0.02em;
    }

    .header-transparent .logo-e,
    .header-transparent .logo-m {
        text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
    }
}

/* 사업 소개 페이지 스타일 */
.business-nav {
    position: sticky;
    top: 80px;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.business-nav ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.business-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.business-nav a:hover {
    background: #f0f0f0;
    color: #006666;
}

.business-section {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.business-section:last-child {
    border-bottom: none;
}

.business-section h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 2rem;
    text-align: center;
}

/* 기술 발전 스토리 섹션 헤더 스타일 (2025-06-12 추가) */
.section-header-main {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.section-header-main::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,51,153,0.05) 0%, transparent 70%);
    animation: subtle-rotate 20s linear infinite;
}

.section-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-main-subtitle {
    font-size: 1.3rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* 반응형 디자인 */
@media (max-width: 900px) {
    .section-header-main {
        padding: 40px 15px 30px;
    }
    
    .section-main-title {
        font-size: 2rem;
    }
    
    .section-main-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .section-main-title {
        font-size: 1.4rem;
    }
    
    .section-main-subtitle {
        font-size: 0.75rem;
    }
}

/* 기존 기술 타임라인 섹션과 자연스럽게 연결 */
.tech-timeline {
    padding-top: 0; /* 원래 padding 제거 */
}


    font-size: 1.8rem;
    color: #006666;
    margin: 2rem 0 1rem;
}

.business-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.5rem;
}

.business-section ul {
    list-style: none;
    padding-left: 1.5rem;
}

.business-section ul li {
    position: relative;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

.business-section ul li:before {
    content: "•";
    color: #006666;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* 반응형 스타일 */
@media (max-width: 900px) {
    .business-nav {
        top: 60px;
        padding: 0.5rem 0;
    }

    .business-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .business-section {
        padding: 2rem 0;
    }

    .business-section h2 {
        font-size: 2rem;
    }

    .business-section h3 {
        font-size: 1.5rem;
    }

    .business-section p,
    .business-section ul li {
        font-size: 1rem;
    }
}

/* 사업 소개 페이지 스타일 */
.business-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    padding: 0 2rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button.active {
    color: #007bff;
}

.tab-button.active::after {
    transform: scaleX(1);
}

.business-swiper {
    width: 100%;
    height: calc(100vh - 200px);
    margin-top: 50px;
}

.business-swiper .swiper-slide {
    overflow-y: auto;
    padding: 40px;
}

.business-swiper .slide-content {
    max-width: 1200px;
    margin: 0 auto;
}

.business-swiper h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.business-swiper .section {
    margin-bottom: 60px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.business-swiper .section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.business-swiper .section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.business-swiper .section ul {
    list-style: none;
    padding: 0;
}

.business-swiper .section ul li {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.business-swiper .section ul li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Swiper 네비게이션 버튼 스타일 */
.business-swiper .swiper-button-next,
.business-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.business-swiper .swiper-button-next:hover,
.business-swiper .swiper-button-prev:hover {
    background: #3498db;
    color: #fff;
    transform: scale(1.1);
}

.business-swiper .swiper-button-next:after,
.business-swiper .swiper-button-prev:after {
    font-size: 20px;
}

/* Swiper 페이지네이션 스타일 */
.business-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.business-swiper .swiper-pagination-bullet-active {
    background: #3498db;
    opacity: 1;
    transform: scale(1.2);
}

/* 반응형 스타일 */
@media (max-width: 900px) {
    .business-swiper {
        height: calc(100vh - 150px);
    }

    .business-swiper .swiper-slide {
        padding: 20px;
    }

    .business-swiper h2 {
        font-size: 2rem;
    }

    .business-swiper .section {
        padding: 20px;
    }

    .business-swiper .section h3 {
        font-size: 1.5rem;
    }

    .business-swiper .swiper-button-next,
    .business-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

/* 반응형 스타일 */
@media (max-width: 900px) {
    .business-tabs {
        flex-direction: column;
        gap: 1rem;
    }

    .tab-button {
        width: 100%;
        text-align: center;
    }

    .business-swiper {
        height: calc(100vh - 250px);
    }

    .slide-content {
        padding: 1rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .slide-content li {
        font-size: 1rem;
    }
}

/* 이용약관 및 개인정보처리방침 페이지 스타일 */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}

.legal-section h3 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section ul li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-section ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* 반응형 스타일 */
@media (max-width: 900px) {
    .legal-container {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.6rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section p,
    .legal-section ul li {
        font-size: 1rem;
    }
}

/* 연구 공간 갤러리 스타일 */
.research-space {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.research-space h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 900px) {
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 250px;
    }
}

/* 언어 전환 버튼 스타일 */
.lang-switch {
    font-size: 14px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
}

.lang-switch a:hover {
    color: #2ecc71;
    border-bottom: 1px solid #2ecc71;
}

.lang-switch a.active {
    color: #003399;
    font-weight: bold;
    border-bottom: 2px solid #003399;
}

.lang-switch .divider {
    color: #ccc;
}

/* 모바일/데스크톱 전용 요소 */
.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

/* 모바일 대응 */
@media (max-width: 900px) {
    .mobile-only {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .lang-switch {
        margin-right: 10px;
        justify-content: flex-end;
    }
}

/* 햄버거 메뉴 버튼 */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* 메뉴가 열렸을 때 햄버거 버튼 위치 조정 */
@media (max-width: 900px) {
    .hamburger.active {
        position: fixed;
        right: 1rem;
        top: 1rem;
        z-index: 10000; /* nav-links보다 높게 설정 */
    }
    
    /* X 모양일 때 span의 색상을 조금 더 진하게 */
    .hamburger.active span {
        background-color: var(--dark-color); /* 햄버거 메뉴와 동일한 색상 사용 */
    }
}

@media screen and (max-width: 900px) {
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .logo {
        flex: 0 0 auto;
    }

    .nav-controls {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .lang-switch {
        display: flex;
        align-items: center;
        margin-right: 0;
    }

    .hamburger {
        display: block;
        margin-left: 0;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 50%;
        min-width: 280px; /* 최소 너비 보장 */
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        padding: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        background-image: radial-gradient(#f5f5f5 1px, transparent 1px);
        background-size: 20px 20px;
        background-position: -10px -10px;
        z-index: 9999; /* 높은 z-index로 다른 요소들 위에 표시 */
    }

    .nav-links::before {
        content: 'MENU';
        display: block;
        padding: 2rem;
        font-size: 0.9rem;
        font-weight: 600;
        color: var(--primary-color);
        letter-spacing: 0.1em;
        border-bottom: 1px solid #eee;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .nav-links a:hover {
        background-color: rgba(0, 153, 68, 0.05);
        color: var(--secondary-color);
    }

    .nav-links .dropdown-content {
        position: static;
        background: rgba(245, 245, 245, 0.5);
        box-shadow: none;
        padding: 0;
    }

    .nav-links .dropdown-content a {
        padding: 1rem 3rem;
        font-size: 0.95rem;
        color: #666;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .nav-links .lang-switch.desktop-only {
        margin: 0;
        padding: 1.2rem 2rem;
        border-top: 1px solid #eee;
    }
}

.nav-links .lang-switch.desktop-only {
    margin-left: 1rem;
    padding-left: 1rem;
    border-left: 1px solid #e0e0e0;
}

.nav-links .lang-switch.desktop-only a {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links .lang-switch.desktop-only .divider {
    color: #e0e0e0;
    margin: 0 4px;
}

@media (max-width: 900px) {
    .nav-links .lang-switch.desktop-only {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
} 

/* 자동 슬라이더 컨테이너: 카드들이 한 줄에 정렬되도록 함 */
.auto-slider {
    position: relative;
}
.slider-wrapper {
  display: flex;
  flex-wrap: nowrap;  /* 한 줄로 유지 */
  gap: 2rem;         /* 카드 간 간격 */
  overflow-x: auto;  /* 가로 스크롤 활성화 */
  scroll-behavior: smooth;
  /* 스크롤바 숨김 */
  -ms-overflow-style: none;  /* IE와 Edge */
  scrollbar-width: none;     /* Firefox */
}
.slider-wrapper::-webkit-scrollbar {
  display: none;  /* Chrome, Safari, Opera */
}

/* 슬라이더 버튼 스타일은 각 페이지별 CSS로 이동됨 */
/* footprints.php → footprints-page.css 참조 */

/* 각 카드 모듈에 고정된 폭과 축소 방지 설정 */
.promo-module {
  flex: 0 0 auto;  /* 카드가 축소되지 않도록 */
  width: 400px;    /* 원하는 카드 폭 */
  scroll-snap-align: start; /* 각 카드가 컨테이너 시작점에 스냅 */
}

/* About 페이지 스타일 */
.about-page .about-content {
  position: relative;
  min-height: 100vh;
  padding: 4rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.about-page .content-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  flex-direction: column;
}

.about-page .content-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: url('../assets/images/building-pilot-e.jpg') center/cover;
  filter: blur(8px);
  opacity: 0.3;
}

.about-page .content-background::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: url('../assets/images/nextenm-lab-b415.jpg') center/cover;
  filter: blur(8px);
  opacity: 0.3;
}

.about-page .content-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 4rem;
  flex-wrap: wrap;
  align-items: flex-start;
  will-change: unset;
}

/* 좌측 영역 스타일 */
.about-page .about-left {
  flex: 1;
  position: sticky;
  top: 2rem;
  height: auto;
  overflow-y: visible;
  padding-right: 2rem;
}

.about-page .company-overview {
  background: rgba(255, 255, 255, 0.5);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.about-page .company-values {
  background: rgba(255, 255, 255, 0.5);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.about-page .values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about-page .value-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.about-page .value-card:hover {
  transform: translateY(-5px);
}

.about-page .value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* 우측 영역 스타일 */
.about-page .about-right {
  flex: 1;
  padding: 2rem;
  position: relative;
  contain: layout paint;
  transform: translateZ(0);
}

.about-page .about-right h2 {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.about-page .timeline {
  position: relative;
  margin-top: 2rem;
  padding: 2rem 0;
  padding-left: 60px; /* Increased space for line, markers, and item padding */
}

.about-page .timeline::before { /* The vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 30px; /* Fixed position for the line */
  transform: none;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
}

.about-page .timeline::after { /* Dot at the very end of the timeline */
  content: '';
  position: absolute;
  bottom: 0;
  left: 30px; /* Align with the line */
  transform: translateX(-50%); /* Center the dot on the line */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

/* 타임라인 제목 중앙 정렬 */
.about-page .timeline-title {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1.5rem;
  border-radius: 5px;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  z-index: 1;
  display: block; /* Or inline-block if preferred for centering */
  margin-left: auto;
  margin-right: auto;
  max-width: fit-content;
}

.about-page .timeline-item {
  position: relative;
  margin-bottom: 3rem;
  /* Removed padding-left, relying on .timeline's padding */
  opacity: 0; 
  transform: translateY(20px); 
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-page .timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-page .year {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.5rem;
  padding-left: 15px; /* Space to clear the marker */
}

.about-page .year::after { /* The circular marker */
  content: '';
  position: absolute;
  top: 50%; /* Vertically center with the year text line */
  left: -30px; /* Timeline's left padding is 60px. Line is at 30px from timeline's edge.
     .year starts at 60px from timeline's edge (content box of .timeline-item).
     Marker needs its center to be -30px from .year's starting edge to align with the line (30px - 60px = -30px).
     translateX(-50%) then centers the marker itself on this -30px point. */
  transform: translateX(-50%) translateY(-50%); /* Center the marker on the line */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
  z-index: 1;
}

.about-page .timeline-content {
  /* flex, specific margins for odd/even REMOVED */
  flex: 1; /* Allow it to take space if .timeline-item becomes flex again */
  padding: 1.5rem;
  position: relative;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-left: 15px; /* Align with year's text padding */
}

.about-page .ceo-message {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 4rem auto;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.about-page .message-content {
  flex: 1;
  padding-right: 4rem;
}

.about-page .message-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 2rem 0;
}

.about-page .ceo-signature {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 2rem;
}

.about-page .ceo-image {
  flex: 0 0 250px;
  align-self: flex-end;
  padding-bottom: 2rem;
}

.about-page .ceo-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  opacity: 0.6;
  filter: contrast(0.95) brightness(1.02) blur(0.5px);
}

/* About 페이지 반응형 스타일 */
@media (max-width: 1024px) {
  .about-page .content-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .about-page .about-left {
    position: relative;
    height: auto;
    padding-right: 0;
  }

  .about-page .values-grid {
    grid-template-columns: 1fr;
  }
  
  /* 회사 연혁 타임라인만 적용 (horizontal-timeline 제외) */
  .about-page .timeline:not(.horizontal-timeline)::before {
    left: 20px;
  }
  
  .about-page .timeline:not(.horizontal-timeline)::after {
    left: 20px;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .timeline-item {
    flex-direction: row !important;
    margin-left: 30px;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .year {
    flex: 0 0 100px;
    text-align: left !important;
    padding-right: 0 !important;
    padding-left: 25px !important;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .year::after {
    right: auto;
    left: -40px;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .timeline-content {
    flex: 1;
    padding-left: 1rem !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .about-page .about-hero {
    height: 30vh;
  }

  .about-page .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-page .hero-slogan {
    font-size: 1.2rem;
  }

  .about-page .ceo-message {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .about-page .message-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .about-page .ceo-image {
    flex: 0 0 auto;
    width: 180px;
    margin: 0 auto;
  }
  
  /* 회사 연혁 타임라인만 적용 (horizontal-timeline 제외) */
  .about-page .timeline:not(.horizontal-timeline)::before {
    left: 5px;
  }
  
  .about-page .timeline:not(.horizontal-timeline)::after {
    left: 5px;
  }

  .about-page .timeline:not(.horizontal-timeline) .timeline-title {
    left: 8px;
    transform: none;
    margin-bottom: 2rem;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .timeline-item {
    margin-left: 8px;
    flex-direction: row !important;
    margin-bottom: 2rem;
    position: relative;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .year {
    flex: 0 0 80px;
    text-align: left !important;
    padding-right: 1rem !important;
    padding-left: 25px !important;
    position: relative;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .year::after {
    left: 0;
    width: 16px;
    height: 16px;
    transform: translateX(-50%) translateY(-50%);
  }
  
  .about-page .timeline:not(.horizontal-timeline) .timeline-content {
    flex: 1;
    padding: 1rem;
    margin-left: 1rem;
  }
}

@media (max-width: 480px) {
  /* 회사 연혁 타임라인만 적용 (horizontal-timeline 제외) */
  .about-page .timeline:not(.horizontal-timeline) .timeline-item {
    margin-left: 30px;
  }

  .about-page .timeline:not(.horizontal-timeline) .year {
    flex: 0 0 70px;
    font-size: 1.2rem;
    padding-left: 25px !important;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .year::after {
    left: 0;
    width: 14px;
    height: 14px;
  }
  
  .about-page .timeline:not(.horizontal-timeline) .timeline-content {
    padding: 0.8rem;
  }

  .about-page .values-grid {
    grid-template-columns: 1fr;
  }
}

/* 뉴스 페이지 스타일 */
.news-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-info {
  padding: 20px;
}

.news-date {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.news-title {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #333;
}

.news-excerpt {
  color: #666;
  font-size: 0.9em;
  line-height: 1.5;
}

.news-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.popup-content {
  background: #fff;
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 8px;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.popup-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 20px;
}

.popup-date {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.popup-title {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #333;
}

.popup-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .popup-content {
    margin: 20px;
    padding: 20px;
  }
}

/* 도로날림먼지 자동포집 시스템 스타일 */
.product-hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/dust-collection.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.product-hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.product-hero h1 {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: #003399;
    color: white;
}

.cta-button.secondary {
    background: #009944;
    color: white;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Certification Section */
.certification-section {
    padding: 4rem 5%;
    background: #f8f9fa;
}

.certification-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.certification-badge {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 250px;
}

.certification-badge img {
    width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge-label {
    color: #666;
    font-size: 0.9rem;
}

.badge-value {
    font-weight: 700;
    color: #003399;
}

.certification-details {
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
}

/* Common Section Title Style */
.section-title {
    font-size: clamp(1.4rem, 4vw, 1.8rem); /* Responsive font size */
    color: #021233;    /* Consistent color */
    font-weight: 600;   /* Consistent font weight */
    margin-bottom: 2rem; /* Adjusted margin for better spacing */
    text-align: center;   /* Ensure center alignment */
    padding-left: 0;    /* Ensure no extra padding is pushing it */
}

/* Product Overview */
.product-overview {
    padding: 4rem 5%;
    background: white;
    width: 100%;
}

.overview-content {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-text {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
}

.overview-text .section-title {
    margin: 0 0 1.5rem 0;
    text-align: left;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
}

.overview-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
}

.overview-image {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overview-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.application-tags {
    display: flex;
    gap: clamp(0.4rem, 2vw, 1rem);
    margin-top: clamp(0.8rem, 3vw, 1.5rem);
    flex-wrap: wrap;
    justify-content: center;
}

.application-tags .tag {
    display: inline-block !important;
    background: #f0f0f0;
    padding: clamp(0.3rem, 1vw, 0.5rem) clamp(0.6rem, 2vw, 1rem);
    border-radius: 50px;
    font-size: clamp(0.7rem, 1.5vw, 0.85rem);
    color: #333;
}

/* Key Features */
.key-features {
    padding: 2rem 5% 3rem;
    background: #f8f9fa;
    width: 100%;
    margin-top: -2rem; /* overview 섹션에 가깝게 */
    overflow: visible; /* 툴팁이 보이도록 명시적 설정 */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
    overflow: visible; /* 툴팁이 보이도록 명시적 설정 */
}

.feature-card {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: visible; /* 툴팁이 보이도록 명시적 설정 */
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.feature-card.active {
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.2);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.feature-card h3 {
    color: #003399;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    display: none; /* 기본적으로 숨김 */
}

/* 툴팁 스타일 */
.feature-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0); /* 시작 위치를 더 가깝게 */
    background: #333;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.4;
    width: 200px;
    max-width: 90vw;
    opacity: 0;
    visibility: hidden;
    transition: none; /* 기본적으로 transition 없음 */
    z-index: 99999; /* z-index 값을 매우 높게 설정 */
    pointer-events: none;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* 더 뚜렷한 그림자 */
}

/* 그리드 첫 번째 줄의 툴팁은 아래로 표시 */
.features-grid .feature-card:nth-child(-n+4) .feature-tooltip {
    bottom: auto;
    top: 100%;
    transform: translateX(-50%) translateY(0); /* 시작 위치를 더 가깝게 */
}

.features-grid .feature-card:nth-child(-n+4) .feature-tooltip::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #333;
}

/* 화면 왼쪽 끝 카드의 툴팁 위치 조정 */
.features-grid .feature-card:nth-child(4n+1) .feature-tooltip {
    left: 0;
    transform: translateX(0) translateY(-10px);
}

/* 화면 오른쪽 끝 카드의 툴팁 위치 조정 */
.features-grid .feature-card:nth-child(4n) .feature-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0) translateY(-10px);
}

.feature-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

/* 활성화된 카드는 더 높은 z-index를 갖도록 */
.feature-card.active {
    z-index: 100000;
    position: relative;
}

.feature-card.active .feature-tooltip {
    opacity: 1;
    visibility: visible;
    z-index: 100001; /* 활성화된 툴팁은 가장 위에 */
    /* 나타날 때만 애니메이션 적용 */
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

/* 호버 상태에서도 z-index 유지 */
.feature-card.active:hover {
    z-index: 100000;
}

.feature-card.active:hover .feature-tooltip {
    z-index: 100001;
}

/* 활성화된 상태에서 위치 이동 (위쪽 툴팁) */
.feature-card.active:not(:nth-child(-n+4)) .feature-tooltip {
    transform: translateX(-50%) translateY(-10px);
}

/* 활성화된 상태에서 위치 이동 (아래쪽 툴팁) */
.feature-card.active:nth-child(-n+4) .feature-tooltip {
    transform: translateX(-50%) translateY(10px);
}

.feature-card.active:nth-child(4n+1) .feature-tooltip {
    transform: translateX(0) translateY(-10px);
}

.feature-card.active:nth-child(4n) .feature-tooltip {
    transform: translateX(0) translateY(-10px);
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .key-features {
        padding: 1.5rem 5% 2rem;
        margin-top: -1rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1rem 0.75rem;
    }
    
    .feature-icon {
        font-size: 1.3rem;
    }
    
    .feature-card h3 {
        font-size: 0.9rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    /* 모바일에서 툴팁 위치 조정 */
    .feature-tooltip {
        width: 150px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* 모바일 2열 배열에서 첫 번째 줄 툴팁 z-index 처리 */
    .features-grid .feature-card:nth-child(-n+2).active {
        z-index: 100000;
    }
    
    .features-grid .feature-card:nth-child(-n+2).active .feature-tooltip {
        z-index: 100001;
    }
    
    .features-grid .feature-card:nth-child(-n+2).active:hover {
        z-index: 100000;
    }
    
    .features-grid .feature-card:nth-child(-n+2).active:hover .feature-tooltip {
        z-index: 100001;
    }
    
    /* 모바일에서 첫 번째 줄 툴팁은 아래로 표시 */
    .features-grid .feature-card:nth-child(-n+2) .feature-tooltip {
        bottom: auto;
        top: 100%;
        transform: translateX(-50%) translateY(0);
    }
    
    .features-grid .feature-card:nth-child(-n+2).active .feature-tooltip {
        transform: translateX(-50%) translateY(10px);
    }
    
    /* 모바일에서 왼쪽 카드의 툴팁 위치 조정 */
    .features-grid .feature-card:nth-child(2n+1).active .feature-tooltip {
        left: 0;
        transform: translateX(0) translateY(-10px);
    }
    
    .features-grid .feature-card:nth-child(2n+1):nth-child(-n+2).active .feature-tooltip {
        transform: translateX(0) translateY(10px);
    }
    
    /* 모바일에서 오른쪽 카드의 툴팁 위치 조정 */
    .features-grid .feature-card:nth-child(2n).active .feature-tooltip {
        left: auto;
        right: 0;
        transform: translateX(0) translateY(-10px);
    }
    
    .features-grid .feature-card:nth-child(2n):nth-child(-n+2).active .feature-tooltip {
        transform: translateX(0) translateY(10px);
    }
}

@media (max-width: 480px) {
    .key-features {
        padding: 1rem 5% 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .feature-card {
        padding: 1rem 0.5rem;
        border-radius: 6px;
    }
    
    .feature-icon {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .feature-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .feature-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

/* Performance Section */
.performance-section {
    padding: 4rem 5%;
    background: white;
}

.performance-container {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px; /* overview-content와 동일하게 설정 */
    margin: 0 auto;
}

/* 오른쪽 영역의 charts-secondary가 전체 높이 사용 */
.performance-right .charts-secondary {
    height: 100%;
}

/* 2x2 그리드 레이아웃 - 비활성화됨 (원래 레이아웃 사용 중) */
/*
.performance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.performance-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.performance-item .chart-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.performance-item .canvas-holder {
    flex: 1;
    position: relative;
    min-height: 200px;
    max-height: 250px;
}

.performance-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.performance-item .chart-description {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.performance-item .performance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.performance-item .performance-list li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.performance-item .performance-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #003399;
    font-weight: bold;
}

.performance-item.table-item .comparison-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.performance-item.table-item .comparison-table {
    flex: 1;
    overflow: auto;
    max-height: 250px;
}

.performance-item.table-item table {
    width: 100%;
    font-size: 0.85rem;
}

.performance-item.table-item th,
.performance-item.table-item td {
    padding: 0.6rem 0.8rem;
}

.performance-item.table-item .table-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

@media (max-width: 768px) {
    .performance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .performance-item {
        min-height: 350px;
        padding: 1.5rem;
    }
    
    .performance-item h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .performance-item .canvas-holder {
        min-height: 180px;
    }
    
    .performance-item.table-item table {
        font-size: 0.8rem;
    }
    
    .performance-item.table-item th,
    .performance-item.table-item td {
        padding: 0.5rem 0.6rem;
    }
}
*/

.performance-left,
.performance-right {
    display: flex;
    flex-direction: column;
}

.performance-left {
    flex: 0.5;
}

.performance-right {
    flex: 0.5;
}

.chart-main {
    width: 100%;
}

.charts-secondary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.charts-secondary .chart-container {
    flex: 1;
}

.chart-container {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.chart-container h3 {
    margin-bottom: 0.6rem; /* 통일된 여백 */
    color: #003399;
    font-size: 1rem; /* 통일된 폰트 크기 */
}

.chart-description {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
    width: calc(100% - 3rem);
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.performance-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.performance-list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 0.76rem;
    line-height: 1.4;
    color: #666;
}

.performance-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #003399;
}

.comparison-container,
.charts-area-container { 
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem; 
    flex-grow: 1;
}

/* 테이블 컨테이너 높이 조정 및 수직 가운데 정렬 */
.comparison-container {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 3rem; /* 간격을 3rem으로 설정 */
    margin-bottom: 0; /* 하단 여백 제거 */
    padding: 0.8rem; /* 패딩 더 축소 */
    background-color: #fff; /* 배경색 통일 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* 그림자 추가 */
}

.comparison-container h3,
.charts-area-container h3 {
    color: #003399;
    font-size: 1rem; /* 모든 차트 제목 통일 */
    margin-bottom: 0.6rem; /* 여백도 통일 */
    text-align: center;
}

.comparison-table {
    max-width: 90%; /* 테이블 최대 너비를 90%로 설정 */
    margin: 0 auto; /* 중앙 정렬 */
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.5rem;
    font-size: 0.75rem; /* 폰트 크기 적당히 증가 */
    table-layout: fixed; /* 고정 레이아웃 */
}

/* 열 너비 최적화 - 각 열 개별 조정 */
.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 15%; /* 첫 번째 열 (구분) */
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
    width: 20%; /* 두 번째 열 (청소차) */
}

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) {
    width: 25%; /* 세 번째 열 (클린로드 시스템) */
}

.comparison-table th:nth-child(4),
.comparison-table td:nth-child(4) {
    width: 40%; /* 네 번째 열 (그린도로 배수시스템 - 자사제품) */
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 0.35rem 0.25rem; /* 패딩 약간 증가 */
    text-align: center;
    line-height: 1.3; /* 행 높이 증가 */
    white-space: normal; /* 필요시 줄바꿈 허용 */
    word-break: keep-all; /* 한글 단어 단위 줄바꿈 */
}

.comparison-table th {
    background: #dff2e3;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.7rem; /* 헤더 폰트 증가 */
}

.comparison-table td:first-child {
    background: #dff2e3;
    font-weight: 600;
    color: #2c3e50;
    text-align: center; /* 가운데 정렬로 복원 */
}

.table-note {
    font-size: 0.65rem; /* 폰트 크기 약간 증가 */
    color: #666;
    line-height: 1.4;
    margin-top: 0.5rem;
    padding: 0.6rem;
    background: #f8f9fa;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .comparison-table {
        max-width: 100%; /* 모바일에서는 전체 너비 사용 */
    }
}

@media (max-width: 1024px) {
    .performance-container {
        flex-direction: column;
    }

    .performance-left,
    .performance-right {
        width: 100%;
    }

    .charts-secondary {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
}

.case-studies {
    margin-top: 4rem;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.case-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-card h4 {
    padding: 1rem;
    margin: 0;
}

.case-card p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #666;
}

/* Download Section */
.download-section {
    padding: 4rem 5%;
    background: #f8f9fa;
}

.download-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.download-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.download-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #003399;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
}

.download-button:hover {
    background: #002266;
}

.faq-section {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.faq-answer {
    display: none;
    padding: 1rem;
    background: white;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Final CTA */
.final-cta {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #003399, #009944);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* 태블릿 전환 시 태그 2x2 그리드 */
@media (max-width: 972px) and (min-width: 769px) {
    .application-tags {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(0.5rem, 2vw, 1rem);
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .application-tags .tag {
        width: 100%;
        text-align: center;
        margin: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .overview-content {
        flex-direction: column;
        gap: clamp(1.5rem, 4vw, 3rem);
    }
    
    .overview-text .section-title {
        margin: 0 0 1rem 0;
        text-align: left;
    }

    .performance-content {
        flex-direction: column;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* 모바일에서 더욱 컴팩트하게 */
@media (max-width: 480px) {
    .overview-content {
        gap: clamp(1rem, 3vw, 1.5rem);
    }
    
    .application-tags {
        /* Grid 레이아웃 제거 - flexbox 유지 */
        /* max-width와 auto margin 제거 - 부모 요소 전체 너비 사용 */
        justify-content: center;
    }
    
    .application-tags .tag {
        /* 모바일에서도 inline-block 유지 */
        display: inline-block !important;
        text-align: center;
    }
}

.certification-text {
    font-style: italic;
    color: #003399;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 51, 153, 0.05);
    border-left: 4px solid #003399;
    font-size: clamp(1rem, 2.5vw, 1.15rem);
}

/* Product Detail Page - Performance Chart Styles */
.performance-section .chart-block {
    margin-bottom: 2rem; /* Space between chart blocks */
    border-radius: 8px; /* Overall rounded corners */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* 통일된 그림자 */
    background-color: #fff; /* 배경색 명시 */
}

/* charts-secondary 내부의 chart-block은 스타일 제거 */
.charts-secondary .chart-block {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0; /* 마지막 차트는 margin 불필요 */
}

.charts-secondary .chart-block:not(:last-child) {
    margin-bottom: 2rem; /* 차트 사이 간격만 유지 */
}

/* 차트 블록 페이드인 애니메이션 - 제거됨 (진동 문제 해결) */
.performance-section .chart-container {
    width: 100%;
    background-color: #ffffff; /* White background for title and chart area */
    padding: 2rem 2.5rem; /* Increased internal padding */
    border-top-left-radius: 8px; /* Rounded top-left corner */
    border-top-right-radius: 8px; /* Rounded top-right corner */
    border-bottom-left-radius: 0; /* Sharp bottom-left for connection */
    border-bottom-right-radius: 0; /* Sharp bottom-right for connection */
    box-sizing: border-box;
}

.performance-section .chart-container h3 {
    margin-bottom: 0.5rem; /* Space below the title */
    text-align: center;
}

/* Styles for the canvas holder */
.performance-section .canvas-holder {
    position: relative; 
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Main chart gets larger max-width */
.chart-main .canvas-holder {
    max-width: 600px;
}

/* Secondary charts - 차트2의 max-width를 차트1과 동일하게 설정 */
.charts-secondary .canvas-holder {
    max-width: 600px; /* 차트1과 동일한 너비 */
}

/* 차트3은 원래 크기 유지 */
.charts-secondary .chart-block:last-child .canvas-holder {
    max-width: 400px;
}

.performance-section .canvas-holder canvas {
    display: block; /* inline-block 대신 block으로 변경 */
    max-width: 100%;
    height: auto;
}
.performance-section .chart-description {
    background-color: #f9f9f9; 
    padding: 1.5rem; 
    margin-top: 0; 
    margin-left: 1.5rem; 
    margin-right: 1.5rem; 
    margin-bottom: 1.5rem; 
    width: calc(100% - 3rem); 
    border-bottom-left-radius: 8px; 
    border-bottom-right-radius: 8px; 
    border-top-left-radius: 0; 
    border-top-right-radius: 0; 
    box-sizing: border-box; 
}

/* 반응형: 화면이 작아질 때 차트 크기 조절 */
@media (max-width: 768px) {
    .performance-section .chart-container {
        padding: 1.5rem 1rem; /* 모바일에서는 패딩을 줄임 */
    }
    
    .performance-section .canvas-holder {
        max-width: 100%; /* 모바일에서는 전체 너비 사용 */
    }
    
    .chart-main .canvas-holder,
    .charts-secondary .canvas-holder {
        max-width: 100%; /* 모바일에서는 전체 너비 사용 */
    }
}

/* Styles for the new left-side wrapper, similar to comparison-container */
.charts-area-container {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem; /* Consistent spacing */
}

/* Override .chart-block styles when inside .charts-area-container */
.charts-area-container .chart-block {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0; /* Parent provides padding */
    /* margin-bottom is kept from original .chart-block for spacing between multiple blocks if needed */
    overflow: visible; /* Was 'hidden' for border-radius clipping */
}

/* Override .chart-container styles when inside .charts-area-container */
.charts-area-container .chart-container {
    padding: 1rem 0 1rem 0; /* Top/bottom padding for title and canvas */
    /* border-bottom: none; /* Remove if previously set */
}

/* Override .chart-description styles when inside .charts-area-container */
/* This needs to be specific enough or placed after the general rule for .performance-section .chart-description */
.performance-section .charts-area-container .chart-block .chart-description {
    background-color: transparent;
    padding: 1rem 0 0 0; /* Top padding, other padding/margins handled by parent or reset */
    margin: 0; /* 하단 마진 제거 - 차트2와 동일 */
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #eee; /* Optional: light separator from chart above */
}

.performance-section .charts-secondary .chart-block .chart-description {
    background-color: transparent;
    padding: 1rem 0 0 0; /* Top padding, other padding/margins handled by parent or reset */
    margin: 0;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    border-top: 1px solid #eee; /* Optional: light separator from chart above */
}

/* On wider screens (e.g., desktops), explicitly set .case-grid to 2 columns */
@media (min-width: 992px) {
    .comparison-container .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Add top margin to subsequent h3 elements in .comparison-container for better spacing */
.comparison-container h3:not(:first-child) {
    margin-top: 2.5rem; /* Space above '적용 사례' title */
}

/* Chart Block Styling - 중복 제거됨 (위에서 이미 정의) */

/* Performance section 내의 case-grid (performance-container 밖) */
.performance-section > .case-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6개 카드를 1줄로 나열 */
    gap: 1rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Case cards in performance section */
.performance-section > .case-grid .case-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.performance-section > .case-grid .case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.performance-section > .case-grid .case-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* 반응형 스타일 for performance section case-grid */
@media (max-width: 1200px) {
    .performance-section > .case-grid {
        grid-template-columns: repeat(3, 1fr); /* 중간 화면: 3열 */
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .performance-section > .case-grid {
        grid-template-columns: repeat(2, 1fr); /* 태블릿: 2열 */
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .performance-section > .case-grid .case-card img {
        height: 180px; /* 태블릿에서 적절한 크기 */
    }
}

@media (max-width: 480px) {
    .performance-section > .case-grid {
        grid-template-columns: 1fr; /* 모바일: 1열 */
        gap: 1rem;
    }
    
    .performance-section > .case-grid .case-card img {
        height: 250px; /* 모바일에서 더 큰 이미지 */
    }
}

/* ==========================================
   통합 자료 그리드 시스템 (R&D 및 기술 성과)
   ========================================== */

/* R&D 성과 지표 섹션 */
.rd-achievements-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.rd-achievements-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,51,153,0.03) 0%, transparent 70%);
    animation: subtle-rotate 30s linear infinite;
}

.rd-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rd-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.rd-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* R&D 성과 통계 그리드 */
.rd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.rd-stat-item {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rd-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,51,153,0.05), transparent);
    transition: left 0.6s ease;
}

.rd-stat-item:hover::before {
    left: 100%;
}

.rd-stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.rd-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.rd-stat-unit {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.rd-stat-label {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rd-stat-sublabel {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    font-weight: 400;
}

/* 3차원 필터링 시스템 */
.materials-filters {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    position: sticky;
    top: 100px;
    z-index: 10;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--light-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0,51,153,0.3);
    transform: translateY(-2px);
}

.search-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0,51,153,0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 1.1rem;
    pointer-events: none;
}

.active-filters {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.active-filter-tag {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.remove-filter {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.remove-filter:hover {
    background: rgba(255,255,255,0.2);
}

.clear-all-filters {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.clear-all-filters:hover {
    background: #c82333;
}

/* 수직 타임라인 */
.vertical-timeline {
    position: relative;
    padding: 40px 0;
    margin: 40px 0;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* 타임라인 관련 스타일은 tech-page-timeline.css로 완전 이전됨 */

/* 통합 자료 그리드 스타일은 tech-page-grid.css로 이동됨 */

/* 검색 결과 상태 */
.search-results-info {
    margin: 20px 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.no-results p {
    font-size: 1rem;
    line-height: 1.6;
}

/* 로딩 애니메이션 */
.loading {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .rd-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
}

@media (max-width: 900px) {
    .rd-achievements-section {
        padding: 60px 15px;
    }
    
    .rd-title {
        font-size: 2rem;
    }
    
    .rd-subtitle {
        font-size: 1.1rem;
    }
    
    .rd-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .rd-stat-item {
        padding: 25px 15px;
    }
    
    .rd-stat-number {
        font-size: 2rem;
    }
    
    .rd-stat-unit {
        font-size: 1.2rem;
    }
    
    .materials-filters {
        padding: 20px;
        position: static;
        margin-bottom: 30px;
    }
    
    .filter-group {
        justify-content: center;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
    
    .vertical-timeline::before {
        left: 30px;
    }
    
    /* 타임라인 스타일은 tech-page-timeline.css 참조 */
    
}

@media (max-width: 600px) {
    .rd-title {
        font-size: 1.8rem;
    }
    
    .rd-stat-number {
        font-size: 1.8rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .material-title {
        font-size: 1.1rem;
    }
    
    .material-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .material-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .view-detail {
        text-align: center;
    }
}

/* 다크모드 대응 (옵션) */
@media (prefers-color-scheme: dark) {
    .rd-achievements-section {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    }
    
    .rd-title {
        color: #e2e8f0;
    }
    
    .rd-subtitle {
        color: #a0aec0;
    }
    
    .rd-stat-item {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .materials-filters {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .material-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .search-input {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
    
    .filter-btn {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
        }
        }
        
        /* ====================================== */
        /* 기술 페이지 타임라인 시각적 피드백 스타일 */
        /* ====================================== */
        
        /* 타임라인 기본 구조 */
        .tech-timeline {
        padding: 60px 0;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        position: relative;
        }
        
        .timeline-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        }
        
        .timeline-header {
        text-align: center;
        margin-bottom: 40px;
        }
        
        .timeline-header h2 {
        font-size: 2.5rem;
        color: var(--dark-color);
        margin-bottom: 10px;
        }
        
        .timeline-subtitle {
        font-size: 1.1rem;
        color: #64748b;
        margin: 0;
        }
        
        /* 타임라인 스타일은 모두 tech-page-timeline.css로 이전 완료 */
        /* 타임라인 마커 - 원형 디자인 */
        .timeline-marker {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 140px;
        text-align: center;
        position: relative;
        z-index: 2;
        }
        
        /* 마커 원형 배경 */
        .timeline-marker::before {
        content: '';
        position: absolute;
        top: 50%;
        left: -82px;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        border: 4px solid white;
        box-shadow: 0 4px 12px rgba(0, 51, 153, 0.4);
        z-index: 3;
        transition: all 0.3s ease;
        }
        
        /* .timeline-year 스타일은 tech-page-timeline.css 참조 */
        
        .timeline-count {
        font-size: 0.75rem;
        color: white;
        background: var(--secondary-color);
        padding: 2px 8px;
        border-radius: 12px;
        font-weight: 600;
        margin-top: 6px;
        text-align: center;
        min-width: 24px;
        box-shadow: 0 2px 6px rgba(0, 153, 68, 0.3);
        }
        
        /* 타임라인 콘텐츠 - 항상 표시 방식 */
        .timeline-content-box {
        position: relative;
        margin-left: 40px;
        min-width: 150px;
        max-width: 280px;
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 2px solid #e2e8f0;
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        transition: all 0.3s ease;
        z-index: 2;
        }
        
        /* timeline-content-box 관련 스타일은 tech-page-timeline.css로 이동됨 */
        
        .timeline-content-box h3 {
        font-size: 1.3rem;
        color: var(--dark-color);
        margin: 0 0 8px 0;
        }
        
        .timeline-content-box p {
        font-size: 1rem;
        color: #64748b;
        margin: 0;
        line-height: 1.5;
        }
        
        /* 시각적 피드백 상태 스타일은 모두 tech-page-timeline.css로 이전됨 */
        
        @keyframes timelineFadeIn {
        from {
        opacity: 0.8;
        transform: translateY(20px) translateX(-10px);
        }
        to {
        opacity: 1;
        transform: translateY(0) translateX(0);
        }
        }
        
        @keyframes timelineFadeOut {
        from {
        opacity: 1;
        transform: translateY(0) translateX(0);
        }
        to {
        opacity: 0;
        transform: translateY(-10px) translateX(-20px);
        }
        }
        
        /* ====================================== */
        /* 반응형 디자인 */
        /* ====================================== */
        
        @media (max-width: 900px) {
        /* 모바일에서 연결선 - tech-page-timeline.css에서 관리 */
        
        
        .timeline-marker {
        min-width: auto;
        }
        
        /* 모바일에서 마커 원형 비활성화 */
        .timeline-marker::before {
        display: none;
        }
        
        /* 타임라인 폰트 크기는 tech-page-timeline.css 참조 */
        
        .timeline-content-box h3 {
        font-size: 1.2rem;
        }
        
        }
        
        @media (max-width: 600px) {
        .tech-timeline {
        padding: 40px 0;
        }
        
        .timeline-container {
        padding: 0 15px;
        }
        
        .timeline-header h2 {
        font-size: 1.4rem;
        }
        
        
        /* 타임라인 폰트 크기는 tech-page-timeline.css 참조 */
        
        .timeline-content-box h3 {
        font-size: 1.1rem;
        }
        }