/* 기본 테마 설정 */
:root {
    --navy: #081526;
    --navy2: #0B1F3A;
    --gold: #D4AF37;
    --gold2: #F0C75E;
    --silver: #C0C7D1;
    --white: #ffffff;
    --black: #101010;
    --bg-main: #0b0c10; /* 깊은 다크 블랙 */
    --bg-surface: #12141c; /* 카드 및 내비 배경 */
    --bg-card: #1a1d29; /* 요소 배경 */
    --color-accent: #00e5ff; /* 한성이지스 스타일의 밝은 일렉트릭 시안/블루 */
    --color-gradient-start: #00e5ff;
    --color-gradient-end: #0077ff;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --color-egion: #ff9f1c; /* 강인하고 시인성 높은 오렌지 골드 */
}

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

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

    a:hover {
        color: var(--text-primary);
    }

body {
    background: var(--navy);
    font-family: 'Segoe UI',sans-serif;
    color: white;
    overflow-x: hidden;
}

/* 1. 로딩 오버레이 전체 배경 */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 12, 16, 0.8); /* 다크 모드 배경과 동기화된 투명도 */
    backdrop-filter: blur(4px); /* 뒷 배경 살짝 흐리게 처리하여 고급스러운 무드 연출 */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none; /* 평소에는 클릭 방해 금지 */
    transition: opacity 0.3s ease;
}

    /* 로딩 활성화 상태 클래스 */
    #page-loader.active {
        opacity: 1;
        pointer-events: auto; /* 로딩 중에는 다른 요소 클릭 막기 (더블 클릭 방지) */
    }

/* 2. 회전하는 원형 스피너 라인 */
.circle-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.05); /* 기본 배경 베이스 링 */
    border-top: 3px solid var(--color-accent); /* 포인트 광채 라인 (#00e5ff) */

    border-radius: 50%;
    animation: spinCircle 0.8s linear infinite;
}

/* 무한 회전 애니메이션 */
@keyframes spinCircle {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 네비게이션 바 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(180deg,#06111d 0%,#081526 100%);
    border-bottom: 1px solid rgba(212,175,55,0.5);
}

    .navbar .logo {
        font-size: 1.3rem;
        font-weight: bold;
        color: var(--color-accent);
    }

    .navbar nav a {
        color: var(--text-secondary);
        text-decoration: none;
        transition: color 0.2s;
    }

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

    .navbar .brand > a {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .navbar .brand img {
        height: 70px;
    }

    .navbar .brand h2 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 0;
    }

    .navbar .brand h4 {
        color: var(--gold);
        font-size: 20px;
        margin-bottom: 0;
    }

    .navbar .brand p {
        font-size: 12px;
        color: #cccccc;
    }

    .navbar nav a.catalog-btn {
        color: black;
    }

.catalog-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--gold);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

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

.dropdown {
    position: relative;
    display: inline-block;
}

/* 2차 메뉴 박스 (초기엔 숨김) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 60%;
    transform: translateX(-50%);
    background-color: rgba(30, 30, 30, 0.95); /* 반투명 다크 그레이 */
    backdrop-filter: blur(8px);
    min-width: 160px;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 100;
    padding: 0.5rem 0;
}

    /* 2차 메뉴 내부 링크 */
    .dropdown-menu a {
        display: block;
        color: var(--text-secondary) !important;
        padding: 0.7rem 1.2rem;
        margin: 0 !important;
        font-size: 0.9rem;
        white-space: nowrap;
        transition: background 0.2s, color 0.2s;
    }

        .dropdown-menu a:hover {
            background-color: #2c2c2c;
            color: var(--text-primary) !important;
        }

/* 호버 시 2차 메뉴 노출 */
.dropdown:hover .dropdown-menu {
    display: block;
}


/* 기존 제공해주신 CSS 스타일에 아래 내용을 이어서 붙여넣으세요 */

/* [추가] 햄버거 버튼 기본 스타일 (PC에서는 숨김) */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

    .hamburger-btn span {
        width: 100%;
        height: 3px;
        background-color: var(--text-primary, #ffffff);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* 햄버거 버튼 활성화 상태 (X 모양 변신 효과) */
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }


/* ==========================================================
   모바일 반응형 스타일 (화면 너비 768px 이하일 때 적용)
   ========================================================== */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        padding: 1rem 1.5rem;
    }

        .navbar .brand img {
            height: 50px; /* 모바일에서 로고 크기 축소 */
        }

        .navbar .brand h2 {
            font-size: 16px;
        }

        .navbar .brand h4 {
            font-size: 16px;
        }

    /* 햄버거 버튼 표시 */
    .hamburger-btn {
        display: flex;
    }

    /* [추가] 모바일 배경 흐리게(딤처리) 기본 상태 */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5); /* 반투명 블랙 */
        backdrop-filter: blur(4px); /* 뒤쪽 배경 흐리게 */
        z-index: 98; /* 메뉴(99)보다는 아래, 본문보다는 위 */
    }

        /* 활성화 시 노출 */
        .nav-overlay.active {
            display: block;
        }

    /* [변경] 네비게이션 메뉴 애니메이션 적용 */
    .nav-container {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #081526;
        border-top: 1px solid rgba(212,175,55,0.3);
        border-bottom: 1px solid rgba(212,175,55,0.5);
        padding: 0;
        z-index: 99;
        /* 부드러운 슬라이드 효과를 위한 설정 */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease;
        opacity: 0;
    }

        /* [변경] 활성화 상태 (열렸을 때) */
        .nav-container.active {
            max-height: 100vh; /* 메뉴 내용만큼 가득 열림 */
            padding: 1rem 0;
            opacity: 1;
        }

    /* 모바일 메뉴 내부 링크 스타일 조정 */
    .navbar nav a {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    /* 카탈로그 다운로드 버튼 모바일 스타일 */
    .catalog-btn {
        display: block;
        width: 80% !important;
        margin: 1rem auto 0 auto;
        text-align: center;
    }

    /* 모바일 드롭다운 (PRODUCTS) 설정 */
    .dropdown {
        width: 100%;
        text-align: center;
    }

    /* 모바일에서는 호버 대신 기본적으로 메뉴가 보이거나 
       터치하기 쉽게 하기 위해 absolute 해제 및 스타일 재정의 */
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border: none;
        width: 100%;
        padding: 0;
    }

    /* 모바일에서 PRODUCTS에 호버했을 때 2차 메뉴 펼침 */
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        text-align: center;
        padding: 0.8rem 0;
        background: transparent !important;
    }
}

/* 메인 콘텐츠 영역 */
#app {
    flex: 1;
    padding: 0;
    width: 100%;
}





.hero {
    background: linear-gradient( rgba(0,0,0,.3), rgba(0,0,0,.5) ), url("../assets/hero/world-bg.jpg");
    background-size: cover;
    background-position: center;
    padding-top: 60px;
    padding-bottom: 40px;
}

.hero-left {
    padding-top: 100px;
}

    .hero-left h1 {
        font-size: 80px;
        line-height: 1.0;
        font-weight: 300;
    }

        .hero-left h1 span {
            display: block;
            color: var(--gold);
            font-weight: 700;
        }

    .hero-left p {
        font-size: 22px;
        margin-top: 30px;
        max-width: 500px;
    }

.discover-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 30px;
    border: 1px solid var(--gold);
    color: white;
    cursor: pointer;
    transition: .3s;
}

    .discover-btn:hover {
        background: var(--gold);
        color: black;
    }

.shield {
    width: 90%;
    max-width: 550px;
    filter: drop-shadow( 0 0 20px rgba( 212, 175, 55, .5 ) );
}

.hero-right {
    padding-top: 120px;
}

    .hero-right h2 {
        font-size: 42px;
        margin-bottom: 40px;
    }

.stats {
    display: flex;
    justify-content: space-between;
}

    .stats h3 {
        color: var(--gold);
        font-size: 36px;
        font-weight: 700;
    }

    .stats p {
        font-size: 14px;
    }

/* PRODUCTS */

.products {
    background: linear-gradient( 180deg, #081526, #06101a );
    padding: 40px 20px;
}

.product-card {
    height: 230px;
    padding: 25px;
    background: linear-gradient(180deg,#0d2038,#081526);
    border: 1px solid rgba(212,175,55,0.4);
    transition: .3s;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .product-card:hover {
        transform: translateY(-5px);
        border-color: var(--gold);
        box-shadow: 0 0 25px rgba( 212, 175, 55, 0.3 );
    }

    .product-card img {
        height: 120px;
        object-fit: contain;
        margin-bottom: 15px;
    }

    .product-card h3 {
        font-size: 34px;
        color: white;
    }

    .product-card p {
        color: #cccccc;
    }

/* FEATURE GRID */

.feature-grid {
    padding: 30px;
    background: #06111d;
}

.feature-box {
    height: 300px;
    padding: 25px;
    background: linear-gradient( 180deg, #0c1f37, #07111e );
    border: 1px solid rgba( 212, 175, 55, 0.3 );
    position: relative;
    overflow: hidden;
}

    .feature-box:hover {
        border-color: var(--gold);
    }

    .feature-box h2 {
        font-size: 34px;
        margin-bottom: 20px;
    }

    .feature-box ul {
        padding-left: 18px;
    }

    .feature-box li {
        margin-bottom: 10px;
    }

    .feature-box img {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 60%;
        opacity: .9;
    }


/* About US */
/* 폰트 미세 조정 (방산/기술 기업 스타일의 넓은 자간) */
#app .about-stats {
    width: 96%;
    max-width: 1900px;
    margin: auto;
}

#app .about-intro {
    width: 96%;
    max-width: 1200px;
    margin: auto;
}

#app .about-values {
    width: 96%;
    max-width: 1900px;
    margin: auto;
}


h1, h2, h3 {
    letter-spacing: -0.02em;
}

.sub-title {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

/* 1. Hero Section 스타일 */
.about-hero {
    position: relative;
    padding: 8rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.08), transparent 40%), radial-gradient(circle at bottom left, rgba(0, 119, 255, 0.05), transparent 50%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .about-hero h1 {
        font-size: 3.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        font-weight: 800;
    }

.text-gradient {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.about-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* 2. Stats 수치 영역 스타일 */
.about-stats {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* 3. Who We Are 소개 영역 스타일 */
.about-intro {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.section-title-left {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 500;
}

.intro-right p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

/* 4. Core Values 카드 영역 스타일 */
.about-values {
    padding: 6rem 0;
}

.section-title-center {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

.card-value {
    background-color: var(--bg-surface);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

    .card-value:hover {
        transform: translateY(-8px);
        background-color: var(--bg-card);
        border-color: rgba(0, 229, 255, 0.2);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }

.icon-wrap {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card-value h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card-value p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 모바일 반응형 처리 */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 비지니스 */
/* 1. Biz Hero Section */
.biz-hero {
    padding: 8rem 2rem 5rem 2rem;
    text-align: center;
    background: radial-gradient(circle at bottom, rgba(0, 119, 255, 0.05), transparent 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .biz-hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
    }

    .biz-hero p {
        font-size: 1.15rem;
        color: var(--text-secondary);
        max-width: 680px;
        margin: 0 auto;
    }

/* 2. Business Sectors (지그재그 레이아웃) */
.biz-sectors {
    padding: 6rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.sector-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 8rem;
}

    .sector-row.reverse {
        flex-direction: row-reverse;
    }

.sector-image-box, .sector-text-box {
    flex: 1;
}

/* 한성이지스 스타일의 묵직한 하이테크 느낌을 주는 이미지 박스 대용 가이드 */
.biz-mock-image {
    width: 100%;
    height: 380px;
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

    .biz-mock-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(to bottom, var(--color-accent), transparent);
    }

/* 섹터 텍스트 스타일 */
.sector-num {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.5rem;
    font-family: monospace;
}

.sector-text-box h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.sector-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.sector-list {
    list-style: none;
}

    .sector-list li {
        position: relative;
        padding-left: 1.5rem;
        margin-bottom: 0.8rem;
        color: #e2e8f0;
        font-size: 0.95rem;
    }

        .sector-list li::before {
            content: '▪';
            position: absolute;
            left: 0;
            color: var(--color-accent);
        }

/* 3. Global Network 3단 영역 */
.biz-network {
    background-color: var(--bg-surface);
    padding: 6rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 4rem;
}

.network-sub {
    text-align: center;
    color: var(--text-secondary);
    margin-top: -3rem;
    margin-bottom: 4rem;
}

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

.network-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    transition: border-color 0.3s;
}

    .network-card:hover {
        border-color: var(--color-accent);
    }

    .network-card h4 {
        font-size: 1.1rem;
        letter-spacing: 0.05em;
        color: #ffffff;
        margin-bottom: 1rem;
    }

    .network-card p {
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.6;
    }

/* 모바일 반응형 처리 */
@media (max-width: 968px) {
    .sector-row, .sector-row.reverse {
        flex-direction: column;
        gap: 2.5rem;
        margin-bottom: 5rem;
    }

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

    .biz-mock-image {
        height: 260px;
    }
}



/* 1. Tech Hero Section */
.tech-hero {
    padding: 8rem 2rem 5rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top left, rgba(0, 229, 255, 0.05), transparent 50%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .tech-hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
    }

    .tech-hero p {
        font-size: 1.15rem;
        color: var(--text-secondary);
        max-width: 680px;
        margin: 0 auto;
    }

.tech-sub-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-top: -2.5rem;
    margin-bottom: 4rem;
    font-size: 1.05rem;
}

/* 2. Core Tech Grid */
.tech-cores {
    padding: 6rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

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

.tech-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3.5rem 3rem;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

    .tech-card:hover {
        border-color: rgba(0, 229, 255, 0.3);
        background-color: rgba(26, 29, 41, 0.6);
        transform: translateY(-5px);
    }

.tech-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-accent);
    font-family: monospace;
    margin-bottom: 1.5rem;
}

.tech-card h3 {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

    .tech-card h3 .en-sub {
        font-size: 1rem;
        color: var(--text-secondary);
        font-weight: 500;
        display: block;
        margin-top: 0.3rem;
        letter-spacing: 0.05em;
    }

.tech-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.tech-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background-color: rgba(0, 229, 255, 0.03);
}

/* 3. Global Certifications Section */
.tech-certs {
    background-color: var(--bg-surface);
    padding: 6rem 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 6rem;
}

.certs-flex {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-box {
    flex: 1;
    text-align: center;
    padding: 2rem;
}

.cert-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    letter-spacing: 0.05em;
    box-shadow: inset 0 4px 12px rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.cert-box:hover .cert-badge {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
}

.cert-box h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cert-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 모바일 반응형 처리 */
@media (max-width: 868px) {
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .certs-flex {
        flex-direction: column;
        gap: 3rem;
    }

    .tech-card {
        padding: 2.5rem 2rem;
    }
}


/* ESG */
/* ESG 전용 그라데이션 및 컬러 추가 */
.text-gradient-esg {
    background: linear-gradient(135deg, #00e5ff, #00ff88); /* 청록~연두 친환경 느낌의 네온 그라데이션 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 1. ESG Hero Section */
.esg-hero {
    padding: 8rem 2rem 5rem 2rem;
    text-align: center;
    background: radial-gradient(circle at bottom, rgba(0, 255, 136, 0.04), transparent 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .esg-hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .esg-hero p {
        font-size: 1.15rem;
        color: var(--text-secondary);
        max-width: 680px;
        margin: 0 auto;
    }

/* 2. ESG Pillars (3단 카드) */
.esg-pillars {
    padding: 6rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

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

.esg-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .esg-card:hover {
        transform: translateY(-8px);
        border-color: rgba(0, 255, 136, 0.2);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }

/* 거대한 배경 알파벳 이펙트 */
.esg-letter {
    position: absolute;
    right: -10px;
    top: 10px;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.015);
    user-select: none;
    line-height: 1;
}

/* ESG 각각의 상단 미니 태그 */
.esg-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 2rem;
}

    .esg-tag.green {
        background-color: rgba(0, 255, 136, 0.1);
        color: #00ff88;
    }

    .esg-tag.blue {
        background-color: rgba(0, 229, 255, 0.1);
        color: #00e5ff;
    }

    .esg-tag.purple {
        background-color: rgba(157, 78, 221, 0.1);
        color: #9d4ede;
    }

.esg-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.esg-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    height: 3rem; /* 텍스트 높이 균등 정렬 */
}

.esg-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

    .esg-list li {
        position: relative;
        padding-left: 1.2rem;
        margin-bottom: 0.8rem;
        color: #cbd5e1;
        font-size: 0.9rem;
        line-height: 1.5;
    }

        .esg-list li::before {
            content: '•';
            position: absolute;
            left: 0;
            color: #00ff88;
        }

/* 3. 하단 강조 배너 */
.esg-footer-banner {
    background: linear-gradient(135deg, rgba(18, 20, 28, 0.8), rgba(11, 12, 16, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 6rem;
}

    .esg-footer-banner h4 {
        font-size: 1.2rem;
        letter-spacing: 0.1em;
        color: #00ff88;
        text-transform: uppercase;
        margin-bottom: 0.8rem;
    }

    .esg-footer-banner p {
        color: var(--text-secondary);
        font-size: 1rem;
    }

/* 반응형 모바일 */
@media (max-width: 968px) {
    .esg-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .esg-desc {
        height: auto;
        margin-bottom: 1.5rem;
    }
}



/* EGION */

/* 1. EGION Hero */
.egion-hero {
    padding: 10rem 2rem 6rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(255, 159, 28, 0.05), transparent 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.egion-brand-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 40px rgba(255, 159, 28, 0.2);
}

.egion-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
}

/* 2. Brand Statement */
.egion-statement {
    padding: 5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

    .egion-statement blockquote {
        font-size: 1.25rem;
        line-height: 1.8;
        color: #e2e8f0;
        font-weight: 400;
        word-break: keep-all;
    }

/* 3. Product Lineup Grid */
.egion-products {
    padding: 4rem 0 8rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.egion-sub-desc {
    text-align: center;
    color: var(--text-secondary);
    margin-top: -2.5rem;
    margin-bottom: 4rem;
}

.egion-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.egion-item {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}
/* 이미지 들어갈 자리 기본 박스 템플릿 */
.egion-img-placeholder {
    background-color: #161922;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    transition: border-color 0.3s ease;
}

.egion-item:hover .egion-img-placeholder {
    border-color: rgba(255, 159, 28, 0.3);
}

/* 제품 상세 안내 우측 텍스트 영역 */
.item-cat {
    color: var(--color-egion);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.egion-info h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.2rem;
}

.egion-info p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* 테크니컬 스펙 테이블 레이아웃 */
.spec-table {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.95rem;
}

    .spec-row span {
        color: var(--text-secondary);
    }

    .spec-row strong {
        color: #ffffff;
        font-weight: 600;
    }

/* 반응형 화면 분기 처리 */
@media (max-width: 968px) {
    .egion-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .egion-brand-title {
        font-size: 3.5rem;
    }

    .egion-grid {
        gap: 4rem;
    }
}

/* news */
/* 1. News Hero */
.news-hero {
    padding: 8rem 2rem 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at top right, rgba(0, 229, 255, 0.03), transparent 40%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .news-hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1.2rem;
    }

/* 배지 공통 스타일 */
.news-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

    .news-badge.press {
        background-color: rgba(0, 229, 255, 0.1);
        color: #00e5ff;
    }

    .news-badge.notice {
        background-color: rgba(255, 159, 28, 0.1);
        color: #ff9f1c;
    }

    .news-badge.media {
        background-color: rgba(0, 255, 136, 0.1);
        color: #00ff88;
    }

.news-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: monospace;
}

/* 2. Featured News Section */
.news-featured {
    max-width: 1200px;
    margin: 5rem auto 4rem auto;
    padding: 0 2rem;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    align-items: center;
}

.featured-img-placeholder {
    background-color: #1a1d29;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.featured-info {
    padding: 3rem;
}

    .featured-info .news-date {
        display: inline-block;
        margin-left: 0.8rem;
    }

    .featured-info h3 {
        font-size: 1.8rem;
        font-weight: 700;
        line-height: 1.4;
        margin: 1.2rem 0;
        color: #ffffff;
    }

    .featured-info p {
        color: var(--text-secondary);
        line-height: 1.7;
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

.read-more-btn {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: letter-spacing 0.2s ease;
}

    .read-more-btn:hover {
        letter-spacing: 0.05em;
    }

/* 3. News Feed Grid */
.news-feed-section {
    max-width: 1200px;
    margin: 0 auto 8rem auto;
    padding: 0 2rem;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 4rem;
}

.feed-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .feed-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255, 255, 255, 0.08);
    }

.feed-img-placeholder {
    background-color: #1a1d29;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.feed-info {
    padding: 2rem;
}

.feed-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.feed-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 0.8rem;
    /* 두 줄 말줄임 처리 필요시 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feed-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 페이징 */
.news-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 5rem;
}

.page-num {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .page-num.active, .page-num:hover {
        background-color: #ffffff;
        color: #0b0c10;
        border-color: #ffffff;
        font-weight: 600;
    }

/* 반응형 */
@media (max-width: 968px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .featured-info {
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .feed-grid {
        grid-template-columns: 1fr;
    }

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

/* contact */
/* 1. Contact Hero */
.contact-hero {
    padding: 8rem 2rem 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at bottom right, rgba(0, 229, 255, 0.02), transparent 50%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .contact-hero h1 {
        font-size: 3.5rem;
        font-weight: 800;
        margin-bottom: 1.2rem;
    }

/* 2. Main Content Layout */
.contact-main {
    padding: 6rem 0 8rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    padding: 0 2rem;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-sub-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

/* 좌측 정보 영역 스타일 */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.3rem;
    background-color: rgba(255,255,255,0.03);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
}

.info-text strong {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.4rem;
}

.info-text p {
    color: #ffffff;
    font-size: 1.05rem;
    word-break: keep-all;
}

.contact-map-mock {
}

/* 우측 다크 폼 스타일 */
.custom-dark-form .form-group-row {
    display: flex;
    gap: 1.5rem;
}

.custom-dark-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.8rem;
    flex: 1;
}

.custom-dark-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.6rem;
}

    .custom-dark-form label span {
        color: var(--color-accent);
    }


/* [수정] input 뒤에 :not([type="checkbox"]) 를 추가하여 체크박스는 이 스타일에서 제외시킵니다 */
.custom-dark-form input:not([type="checkbox"]),
.custom-dark-form select,
.custom-dark-form textarea {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

    /* [수정] focus 상태도 마찬가지로 체크박스는 제외합니다 */
    .custom-dark-form input:not([type="checkbox"]):focus,
    .custom-dark-form select:focus,
    .custom-dark-form textarea:focus {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
        background-color: rgba(26, 29, 41, 0.4);
    }

.custom-dark-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

/* 동의 체크박스 */
.form-privacy-agree {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* 전송 버튼 */
.submit-btn {
    background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
    color: #0b0c10;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    width: 100%;
}

    .submit-btn:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

/* 반응형 */
@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .custom-dark-form .form-group-row {
        flex-direction: column;
        gap: 0;
    }

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

/* Contact 완료 페이지 컴포넌트 */
.contact-success-section {
    padding: 10rem 2rem 10rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card-container {
    max-width: 580px;
    width: 100%;
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 네온 글로우 아이콘 링 */
.success-visual-zone {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.success-circle-glow {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 229, 255, 0.05);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    animation: pulseGlow 2s infinite;
}

/* 타이포그래피 */
.success-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.success-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2.5rem;
}

/* 본문 설명 정보 블록 */
.success-body-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1.8rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    text-align: left;
}

    .success-body-box p {
        color: #cbd5e1;
        font-size: 1rem;
        line-height: 1.75;
        margin-bottom: 1.2rem;
        word-break: keep-all;
    }

    .success-body-box .notice-info {
        font-size: 0.85rem;
        color: var(--text-secondary);
        line-height: 1.5;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 1rem;
    }

/* 하단 버튼 레이아웃 */
.success-action-row {
    display: flex;
    gap: 1rem;
}

    .success-action-row a {
        flex: 1;
        text-decoration: none;
        padding: 1.1rem 0;
        font-size: 1rem;
        font-weight: 700;
        border-radius: 8px;
        transition: all 0.25s ease;
        box-sizing: border-box;
        text-align: center;
    }

    .success-action-row .btn-primary {
        background-color: var(--color-accent);
        color: #0b0c10;
    }

        .success-action-row .btn-primary:hover {
            opacity: 0.9;
            box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
        }

    .success-action-row .btn-secondary {
        background-color: transparent;
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }

        .success-action-row .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.03);
            border-color: rgba(255, 255, 255, 0.3);
        }

/* 애니메이션 */
@keyframes pulseGlow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    }
}

/* 반응형 스마트폰 분기 */
@media (max-width: 580px) {
    .success-card-container {
        padding: 3rem 1.5rem;
        border-radius: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }

    .success-action-row {
        flex-direction: column-reverse;
    }

    .success-title {
        font-size: 1.8rem;
    }
}


/* product main */
/* 1. Products Hero */
.products-hero {
    padding: 8rem 2rem 4rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.02), transparent 60%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .products-hero h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem); /* 브라우저 크기에 맞춰 폰트 유연하게 조절 */
        font-weight: 800;
        margin-bottom: 1.2rem;
        line-height: 1.2;
    }

    .products-hero p {
        font-size: 1.05rem;
        color: var(--text-secondary);
        max-width: 600px;
        margin: 0 auto;
        word-break: keep-all; /* 한글 단어 단위 개행 */
    }

/* 2. Category Filter Tabs */
.products-filter-section {
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.filter-tabs {
    display: inline-flex;
    flex-wrap: wrap; /* 모바일에서 탭이 넘치면 자연스럽게 아래로 떨어지게 설정 */
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--bg-surface);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}

    .filter-btn:hover {
        color: #ffffff;
    }

    .filter-btn.active {
        background-color: rgba(255, 255, 255, 0.07);
        color: var(--color-accent);
    }

/* 3. Products Grid */
.products-grid-section {
    max-width: 1200px;
    margin: 4rem auto 8rem auto;
    padding: 0 1.5rem;
}

.products-grid {
    display: grid;
    /* 화면 크기에 맞춰 열 개수 자동 조절 (깨짐 원천 차단) */
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* 카드 내부 전체 균등 정렬 (Flex 정렬 모델 적용) */
.product-card {
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* 격자 안에서 모든 카드 높이 균일화 */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        border-color: rgba(0, 229, 255, 0.25);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

/* 유연한 이미지 비율 박스 */
.prod-img-box {
    position: relative;
    width: 100%;
    padding-top: 62.5%; /* 16:10 비율 유지 법칙 */
    background-color: #161922;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.prod-img-inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 1rem;
    text-align: center;
}

.prod-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #ff9f1c;
    color: #0b0c10;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
    z-index: 2;
}

/* 텍스트 영역 유연 바인딩 */
.prod-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 설명 영역이 남은 공간을 꽉 채우도록 설정 */
}

.prod-cat {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.prod-info h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.prod-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    word-break: keep-all;
    flex-grow: 1; /* 설명 텍스트가 짧아도 버튼 위치가 하단에 고정되게 만듦 */
}

.prod-link {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: auto; /* 하단 밀착 효과 */
    transition: letter-spacing 0.2s ease;
}

    .prod-link:hover {
        letter-spacing: 0.05em;
    }

/* 모바일 및 소형 해상도 최적화 대응 */
@media (max-width: 480px) {
    .products-grid-section {
        padding: 0 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
    /* 완전한 1열 배치 */
    .filter-tabs {
        display: flex;
        width: 100%;
    }

    .filter-btn {
        flex: 1;
        text-align: center;
        padding: 0.6rem 0.5rem;
        font-size: 0.85rem;
    }

    .prod-info {
        padding: 1.5rem;
    }
}

/* new 상세 */
/* 뉴스 상세 레이아웃 스펙 */
.news-detail-section {
    padding: 8rem 2rem 8rem 2rem;
    max-width: 900px; /* 본문 집중을 위해 가로폭을 살짝 좁게 세팅 */
    margin: 0 auto;
}

/* 상단 뒤로가기 */
.news-detail-nav {
    margin-bottom: 2.5rem;
}

.back-to-list-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .back-to-list-btn:hover {
        color: var(--color-accent);
    }

    .back-to-list-btn .arrow {
        display: inline-block;
        transition: transform 0.2s ease;
    }

    .back-to-list-btn:hover .arrow {
        transform: translateX(-4px);
    }

/* 1. 헤더 영역 */
.detail-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.detail-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.detail-title {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    word-break: keep-all;
}

.detail-author-row {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

    .detail-author-row .divider {
        margin: 0 0.5rem;
        opacity: 0.3;
    }

/* 2. 본문 텍스트 영역 */
.detail-main-image-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #161922;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.detail-body-content p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #cbd5e1; /* 장문 읽기에 가장 눈이 편한 그레이 화이트 */
    margin-bottom: 2rem;
    word-break: keep-all;
}

.detail-body-content blockquote {
    border-left: 3px solid var(--color-accent);
    background-color: var(--bg-surface);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #e2e8f0;
    margin: 3rem 0;
    word-break: keep-all;
}

/* 3. 하단 이전글/다음글 네비게이션 */
.detail-footer-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 5rem;
    padding-top: 1.5rem;
}

.nav-row {
    display: flex;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
    align-items: center;
}

    .nav-row .label {
        width: 80px;
        color: var(--text-secondary);
        font-weight: 600;
        flex-shrink: 0;
    }

    .nav-row .nav-link {
        color: #ffffff;
        text-decoration: none;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis; /* 제목 길면 말줄임 */
        transition: color 0.2s ease;
    }

        .nav-row .nav-link:hover:not(.disabled) {
            color: var(--color-accent);
        }

        .nav-row .nav-link.disabled {
            color: rgba(255,255,255,0.2);
            cursor: not-allowed;
        }

/* 하단 큰 버튼 */
.bottom-action-row {
    text-align: center;
    margin-top: 4rem;
}

.action-list-btn {
    display: inline-block;
    background-color: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
    padding: 0.9rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .action-list-btn:hover {
        background-color: #ffffff;
        color: #0b0c10;
        border-color: #ffffff;
    }

/* 모바일 분기 */
@media (max-width: 640px) {
    .news-detail-section {
        padding: 6rem 1rem 4rem 1rem;
    }

    .detail-title {
        font-size: 1.6rem;
    }

    .detail-body-content p {
        font-size: 1.05rem;
    }
}

.product-detail-section {
    padding: 8rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-back {
    margin-bottom: 2rem;
}

.back-to-list {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: .95rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
    gap: 4rem;
    align-items: start;
}

.detail-layout-margin {
    margin-top: 100px;
}

.detail-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-image {
    width: 420px;
    height: 420px;
    object-fit: contain;
}

.product-category {
    display: block;
    margin-bottom: .5rem;
    color: var(--color-accent);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.product-title {
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.product-description {
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    word-break: keep-all;
}

.product-spec {
    width: 100%;
    margin-top: 2rem;
    border-collapse: collapse;
    border-top: 2px solid rgba(255,255,255,.1);
}

    .product-spec tr {
        border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .product-spec td {
        padding: 1rem 0;
    }

        .product-spec td:first-child {
            width: 30%;
            color: var(--text-secondary);
            font-weight: 600;
        }

        .product-spec td:last-child {
            color: #fff;
        }

.cart-action-zone {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2.5rem;
}

.qty-box {
    display: flex;
    align-items: center;
    height: 48px;
    padding: .3rem;
    box-sizing: border-box;
    background: var(--bg-surface);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
}

    .qty-box button {
        width: 32px;
        height: 100%;
        border: none;
        background: none;
        color: #fff;
        cursor: pointer;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .qty-box input {
        width: 40px;
        border: none;
        background: none;
        color: #fff;
        text-align: center;
        font-size: 1rem;
        font-family: monospace;
        font-weight: 700;
    }

.wishlist-btn {
    flex: 1;
    height: 48px;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    background: transparent;
    color: var(--color-accent);
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

    .wishlist-btn:hover {
        background: rgba(0,229,255,.08);
    }

@media (max-width:768px) {

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-image {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .product-title {
        font-size: 2rem;
    }
}

/* 카드 컴포넌트 스타일 (서비스/상품용) */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #2d2d2d;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
        background-color: #2c2c2c;
        border-color: var(--color-accent);
    }

    .card h3 {
        margin-bottom: 1rem;
        color: var(--text-primary);
    }

    .card p {
        color: var(--text-secondary);
        line-height: 1.6;
    }


/* 장바구니 */
/* 장바구니 메인 레이아웃 (PC는 2열 배정, 모바일은 1열 자동 가변) */
.cart-page-wrapper {
    padding: 40px 16px;
    background-color: #0b0c10;
    color: #ffffff;
}
.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 2px solid #1f2330;
    padding-bottom: 12px;
}
.cart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.cart-items-section {
    flex: 1;
    min-width: 320px;
}
.cart-summary-section {
    width: 360px;
}

/* 개별 상품 카드 */
.cart-item-card {
    display: flex;
    align-items: center;
    background-color: #161922;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    gap: 15px;
}

/* 체크박스 커스텀 */
.item-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #00e5ff;
}

/* 옵션 배지 스타일 */
.item-info-col { flex: 1; }
.item-name { font-size: 1.05rem; font-weight: 600; margin: 0 0 8px 0; }
.item-options-spec {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.option-badge {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 4px;
}

/* 수량 스텝퍼 조절기 */
.qty-stepper {
    display: flex;
    border: 1px solid #2d3243;
    border-radius: 6px;
    overflow: hidden;
}
.qty-stepper button {
    background-color: #1f2330;
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-weight: bold;
}
.qty-stepper button:hover { background-color: #2d3243; }
.qty-input {
    background-color: #12141c;
    color: #ffffff;
    border: none;
    width: 45px;
    text-align: center;
    font-size: 0.9rem;
}
/* 인풋 스핀 버튼 제거 */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* 가격 및 우측 배정 */
.item-price-col {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 120px;
    justify-content: flex-end;
}
.item-total-price { font-weight: 700; color: #00e5ff; font-size: 1.1rem; }
.btn-item-delete {
    background: none; border: none; color: #64748b; font-size: 1.5rem; cursor: pointer;
}
.btn-item-delete:hover { color: #ef4444; }

/* 최종 계산 우측 스티키 박스 */
.summary-sticky-box {
    position: sticky; top: 100px;
    background-color: #161922;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
}
.summary-sticky-box h3 { margin-top: 0; font-size: 1.2rem; margin-bottom: 20px; }
.summary-row {
    display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; color: #94a3b8;
}
.summary-divider { border: 0; border-top: 1px solid #2d3243; margin: 16px 0; }
.total-row { color: #ffffff; font-weight: 700; font-size: 1.15rem; }
.total-row span:last-child { color: #00ff88; } /* 최종 액수는 그린네온 강조 */
.btn-checkout {
    width: 100%; background: linear-gradient(135deg, #00e5ff, #00ff88); color: #0b0c10;
    border: none; padding: 14px 0; font-weight: 700; border-radius: 8px; cursor: pointer; margin-top: 15px;
}

/* 📱 모바일 터치 대응 스크린 쿼리 (important 제거 정석화 반영) */
@media (max-width: 968px) {
    .cart-summary-section { width: 100%; }
    .cart-item-card {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
    .item-select-col { position: absolute; top: 20px; left: 20px; }
    .item-info-col { padding-left: 30px; width: 100%; }
    .item-qty-col { padding-left: 30px; }
    .item-price-col {
        width: 100%; justify-content: space-between; border-top: 1px solid #1f2330; padding-top: 12px; padding-left: 30px;
    }
}

/* 푸터 */

footer {
    background: linear-gradient( 180deg, #06111d, #03070c );
    padding: 60px 30px;
    border-top: 1px solid rgba( 212, 175, 55, 0.4 );
}

    footer h3,
    footer h4 {
        color: var(--gold);
        margin-bottom: 20px;
    }

    footer p,
    footer li {
        color: #cccccc;
        font-size: 14px;
    }

    footer ul {
        list-style: none;
        padding-left: 0;
    }
