/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.header.scrolled::before {
    opacity: 1;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 60px;
}

.header__logo img {
    height: 54px;
    width: auto;
}

.header__nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 90px;
}

.header__menu {
    display: flex;
    gap: 90px;
}

.header__menu li a {
    font-family: 'GMarketSans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.3s ease;
}

.header__menu li a:hover {
    opacity: 0.7;
}

.header__cart img {
    width: 24px;
    height: auto;
    transition: opacity 0.3s ease;
}

.header__cart:hover img {
    opacity: 0.7;
}

/* Hamburger Button (Hidden on Desktop) */
.header__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.header__hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.header__hamburger-line:nth-child(2) {
    width: 16px;
}

/* Hamburger to X Animation */
.header__hamburger.active .header__hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.header__hamburger.active .header__hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active .header__hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu (Hidden by default) */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

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

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu__item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.mobile-menu.active .mobile-menu__item {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu__item:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu__item:nth-child(2) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-menu__item:nth-child(3) { transition-delay: 0.35s; }
.mobile-menu.active .mobile-menu__item:nth-child(4) { transition-delay: 0.45s; }

/* 메뉴 닫힐 때 역순 애니메이션 */
.mobile-menu .mobile-menu__item:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu .mobile-menu__item:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu .mobile-menu__item:nth-child(3) { transition-delay: 0.05s; }
.mobile-menu .mobile-menu__item:nth-child(4) { transition-delay: 0s; }

.mobile-menu__item a {
    font-family: 'GMarketSans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.3s ease;
}

.mobile-menu__item a:hover {
    opacity: 0.7;
}

.mobile-menu__contact {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: 0s;
}

.mobile-menu.active .mobile-menu__contact {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.55s;
}

.mobile-menu__contact-label {
    font-family: 'GMarketSans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #173076;
    padding: 3px 10px 0px;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
}

.mobile-menu__contact-phone {
    font-family: 'GMarketSans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

/* Header Responsive */
@media screen and (max-width: 768px) {
    .header__inner {
        padding: 15px 20px;
    }

    .header__logo img {
        height: 24px;
    }

    /* Hide desktop navigation and cart */
    .header__nav,
    .header__cart {
        display: none;
    }

    /* Show hamburger button */
    .header__hamburger {
        display: flex;
    }
}

/* ===================================
   Section 1: Hero Slider
   =================================== */
#section1.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

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

.hero-slider__bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.8s ease;
}

.hero-slider__bg-layer:first-child {
    z-index: 1;
}

.hero-slider__bg-layer:last-child {
    z-index: 0;
}

.hero-slider__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.hero-slider__slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
}

.hero-slider__content {
    color: #fff;
}

.hero-slider__title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slider__desc {
    font-family: 'GMarketSans', sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 2;
    color: #d7d7d7;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slider__slide.active .hero-slider__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.hero-slider__slide.active .hero-slider__desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

/* Learn More Button */
.hero-slider__btn {
    display: inline-block;
    margin-top: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slider__btn img {
    display: block;
    height: auto;
}

.hero-slider__slide.active .hero-slider__btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Navigation Arrows */
.hero-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider__nav--prev {
    left: 30px;
}

.hero-slider__nav--next {
    right: 30px;
}

.hero-slider__nav img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.hero-slider__nav:hover img {
    opacity: 0.7;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hero-slider__slide {
        padding: 0 50px;
    }

    .hero-slider__title {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .hero-slider__desc {
        font-size: 12px;
        line-height: 1.8;
    }

    .hero-slider__btn {
        margin-top: 20px;
    }

    .hero-slider__btn img {
        height: 35px;
        width: auto;
    }

    .hero-slider__nav {
        width: 30px;
        height: 30px;
    }

    .hero-slider__nav--prev {
        left: 10px;
    }

    .hero-slider__nav--next {
        right: 10px;
    }

}

/* ===================================
   Section 2: Solution
   =================================== */
#section2.solution-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.solution-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

.solution-section__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.solution-section__inner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
}

.solution-section__title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 39px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.3;
    margin-top: 100px;
    margin-bottom: 50px;
    width: 100%;
    text-align: left;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.solution-section__title.animate {
    opacity: 1;
    transform: translateY(0);
}

.solution-section__title span {
    display: inline;
}

/* PC: 1줄 - 고객의 산업분야, 연구목적, 설비 환경에 맞춘 / 2줄 - 맞춤형 솔루션을 제공합니다. */
.solution-section__title-line3::before {
    content: '\A';
    white-space: pre;
}

.solution-section__list {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.solution-section__item {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.solution-section__item.animate {
    opacity: 1;
    transform: translateY(0);
}

.solution-section__item.animate:hover {
    transform: scale(1.05);
}

.solution-section__item span {
    font-family: 'GMarketSans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    line-height: 1.4;
}

.solution-section__item--gray {
    background-color: #363636;
}

.solution-section__item--blue {
    background-color: #143665;
}

/* Section 2 Responsive */
@media screen and (max-width: 1200px) {
    .solution-section__list {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .solution-section__item {
        width: 120px;
        height: 120px;
    }

    .solution-section__item span {
        font-size: 12px;
    }
}

@media screen and (max-width: 768px) {
    .solution-section__inner {
        padding: 0 20px 20%;
        align-items: flex-start;
    }

    .solution-section__title {
        font-size: 18px;
        margin-bottom: 25px;
        text-align: left;
    }

    /* 모바일: 1줄 - 고객의 산업분야, 연구목적, / 2줄 - 설비 환경에 맞춘 맞춤형 솔루션을 / 3줄 - 제공합니다. */
    .solution-section__title span {
        display: inline;
    }

    .solution-section__title-line1::after {
        content: '\A';
        white-space: pre;
    }

    .solution-section__title-line3::before {
        content: none;
    }

    .solution-section__title-line3::after {
        content: '\A';
        white-space: pre;
    }

    .solution-section__list {
        gap: 10px;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
    }

    .solution-section__item {
        width: calc((100% - 20px) / 3);
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .solution-section__item:first-child {
        margin-right: calc(100% - calc((100% - 20px) / 3));
    }

    .solution-section__item span {
        font-size: 10px;
    }
}

/* ===================================
   Section 3: Value
   =================================== */
#section3.value-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #171a21;
}

.value-section__inner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 200px 60px 100px;
}

.value-section__title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 33px;
    font-weight: 500;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.value-section__title.animate {
    opacity: 1;
    transform: translateY(0);
}

.value-section__list {
    display: flex;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.value-section__item {
    flex: 1;
    max-width: 25%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.value-section__item.animate {
    opacity: 1;
    transform: translateY(0);
}

.value-section__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 25px;
}

.value-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.value-section__item:hover .value-section__image img {
    transform: scale(1.05);
}

.value-section__content {
    padding: 0 5px;
}

.value-section__subtitle {
    font-family: 'GMarketSans', sans-serif;
    font-size: 23px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.value-section__desc {
    font-family: 'GMarketSans', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #a1a1a1;
    line-height: 1.6;
}

/* Section 3 Responsive */
@media screen and (max-width: 1200px) {
    .value-section__list {
        flex-wrap: wrap;
        gap: 40px;
    }

    .value-section__item {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .value-section__inner {
        padding: 110px 5% 20px;
    }

    .value-section__title {
        font-size: 20px;
        margin-bottom: 70px;
    }

    .value-section__list {
        flex-direction: column;
        gap: 40px;
    }

    .value-section__item {
        flex: 1;
        max-width: 100%;
    }

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

    .value-section__subtitle {
        font-size: 14px;
    }

    .value-section__desc {
        font-size: 12px;
    }
}

/* ===================================
   Section 4: Product Slider
   =================================== */
#section4.product-section {
    position: relative;
    width: 100%;
    background-color: #171a21;
    padding: 0px 0 100px;
    overflow: hidden;
}

.product-section__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 62px;
    padding: 150px 200px 0 200px;
    margin-bottom: 60px;
}

.product-section__info {
    display: flex;
    flex-direction: column;
}

.product-section__brand {
    font-family: 'GMarketSans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.product-section__category {
    font-family: 'GMarketSans', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #a1a1a1;
}

.product-section__store-btn {
    display: inline-block;
    width: 280px;;
    transition: opacity 0.3s ease;
}

.product-section__store-btn:hover {
    opacity: 0.8;
}

.product-section__store-btn img {
    height: auto;
    width: auto;
}

/* Product Slider */
.product-section__slider {
    position: relative;
    width: 100%;
    overflow: visible;
    transition: height 0.4s ease;
}

.product-section__slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    transition: transform 0.5s ease;
}

.product-section__slide {
    flex: 0 0 70%;
    max-width: 70%;
    padding: 0 20px;
    transform: scaleY(0.7);
    opacity: 1;
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
}

.product-section__slide .product-section__table {
    opacity: 0.1;
    transition: opacity 0.5s ease;
}

.product-section__slide.active .product-section__table {
    opacity: 1;
}
.product-section__table > img {
    display: none; 
}
.product-section__slide.active {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

.product-section__slide-inner {
    background-color: #131518;
    border-radius: 20px;
    padding: 150px 40px;
    text-align: center;
}

.product-section__image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 0 80px 0;
}

.product-section__image img {
    width: 100%;
    height: auto;
}

.product-section__title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.product-section__subtitle {
    font-family: 'GMarketSans', sans-serif;
    font-size: 17px;
    font-weight: 400;
    color: #a1a1a1;
    margin-bottom: 30px;
}

.product-section__subtitle .divider {
    margin: 0 20px;
}

.product-section__subtitle strong {
    color: #d9d9d9;
    font-weight: 700;
    margin: 0 15px;
}

/* Product Table */
.product-section__table {
    width: 100%;
    overflow-x: auto;
    margin-top: 100px;
}

.product-section__table table {
    width: 100%;
    border-collapse: collapse;
}

.product-section__table tr {
    border-bottom: 1px solid #5d5d5d;
}

.product-section__table tr:first-child {
    border-top: 1px solid #5d5d5d;
}

.product-section__table th,
.product-section__table td {
    font-family: 'GMarketSans', sans-serif;
    font-size: 13px;
    padding: 5px 15px;
    text-align: left;
    vertical-align: middle;
    border-top: 1px solid #5d5d5d;
    border-bottom: 1px solid #5d5d5d;
}

.product-section__table th {
    font-weight: 500;
    color: #fff;
    width: 18%;
    background-color: #4e4e4e;
}

.product-section__table td {
    font-weight: 300;
    color: #fff;
    width: 32%;
    text-align: center;
}

/* Product Navigation */
.product-section__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-section__nav--prev {
    left: 30px;
}

.product-section__nav--next {
    right: 30px;
}

.product-section__nav img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.product-section__nav:hover img {
    opacity: 0.7;
}

/* Mobile Navigation (hidden by default) */
.product-section__nav-mobile {
    display: none;
}

/* Section 4 Responsive */
@media screen and (max-width: 1200px) {
    .product-section__slide {
        flex: 0 0 80%;
        max-width: 80%;
    }
}

@media screen and (max-width: 768px) {
    #section4.product-section {
        padding: 60px 0 20px;
    }

    .product-section__header {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
        gap: 20px;
        margin-bottom: 40px;
    }

    .product-section__brand {
        font-size: 18px;
    }

    .product-section__category {
        font-size: 14px;
    }

    .product-section__slider {
        padding: 0px 20px 0px;
        overflow: hidden;
    }

    .product-section__slide {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 0px;
    }

    /* 양옆 슬라이드 숨기기 - 애니메이션 포함 */
    .product-section__slide:not(.active) {
        opacity: 0;
        visibility: hidden;
        transform: scaleY(0.7) translateX(0);
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    }

    .product-section__slide.active {
        opacity: 1;
        visibility: visible;
        transform: scaleY(1) translateX(0);
        transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    }

    .product-section__slide-inner {
        padding: 20px;
    }

    .product-section__title {
        font-size: 14px;
    }

    .product-section__subtitle {
        font-size: 9px;
    }

    .product-section__subtitle .divider {
        margin: 0 5px;
    }

    /* INTAKE OR EXHAUST -> INTAKE/EXHAUST 변경 (여백 제거) */
    .product-section__subtitle strong {
        font-size: 0;
        margin: 0;
    }

    .product-section__subtitle strong::before {
        content: '/';
        font-size: 9px;
        font-weight: 300;
    }

    /* 모바일 이미지 크기 조정 */
    .product-section__image {
        padding: 50px 0 40px 0;
        max-width: 90%;
    }

    /* 모바일 테이블 2열로 변경 (Section 4 only) */
    #section4 .product-section__table {
        margin-top: 20px;
    }

    #section4 .product-section__table table {
        display: block;
    }

    #section4 .product-section__table tbody {
        display: block;
    }

    #section4 .product-section__table tr {
        display: flex;
        flex-wrap: wrap;
        border: none;
    }

    #section4 .product-section__table tr:first-child {
        border-top: none;
    }

    #section4 .product-section__table th,
    #section4 .product-section__table td {
        font-size: 9px;
        padding: 6px 8px;
        width: 50%;
        box-sizing: border-box;
        border: none;
        border-bottom: 1px solid #5d5d5d;
    }

    #section4 .product-section__table th {
        width: 35%;
        text-align: left;
    }

    #section4 .product-section__table td {
        width: 65%;
        text-align: left;
    }

    /* 기존 네비게이션 버튼 숨기기 */
    .product-section__nav {
        display: none;
    }

    /* 모바일 네비게이션 버튼 표시 - 양옆 배치 */
    .product-section__slider {
        position: relative;
    }

    .product-section__nav-mobile {
        display: block;
    }

    .product-section__nav-mobile-btn {
        position: absolute;
        top: 100px;
        width: 24px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        z-index: 100;
    }

    .product-section__nav-mobile-btn--prev {
        left: 10px;
    }

    .product-section__nav-mobile-btn--next {
        right: 10px;
    }

    .product-section__nav-mobile-btn img {
        width: 100%;
        height: auto;
    }
    .product-section__store-btn {
        display: inline-block;
        width: 220px;;
        transition: opacity 0.3s ease;
    }
}

/* ===================================
   Section 5: IBEX Product Slider (extends Section 4)
   =================================== */
#section5.product-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #171a21;
    padding: 0px 0 100px 0;
    overflow: hidden;
}

/* Section 5 Specific Styles */
.product-section__content-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 170px;
    margin-bottom: 80px;
    text-align: left;
    padding: 0px 55px;
}

.product-section__model {
    font-family: 'GMarketSans', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    text-align: center;
}

.product-section__features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.product-section__features li {
    font-family: 'GMarketSans', sans-serif;
    font-size: 17px;
    font-weight: 300;
    color: #fff;
    line-height: 1.8;
    padding-left: 15px;
    position: relative;
}

.product-section__features li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #fff;
}

.product-section__devices {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 0px 55px;
}

.product-section__device {
    flex: 1;
    text-align: center;
}

.product-section__device img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.product-section__device p {
    font-family: 'GMarketSans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.product-section__spec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-section__spec-title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    padding-left: 5px;
    margin-bottom: 0;
}

.product-section__spec-title::before {
    content: '·';
    margin-right: 8px;
    color: #fff;
}

.product-section__scroll-hint {
    display: none;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 14px;
}

/* Section 5 Slide Inner */
#section5 .product-section__slide-inner {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* IBEX Table Specific Styles - Section 5 Only */
#section5 .product-section__table--spec {
    margin-top: 0;
    border-radius: 20px;
    overflow: hidden;
    border: none;
}

#section5 .product-section__table--spec table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

#section5 .product-section__table--spec tr {
    border: none;
}

#section5 .product-section__table--spec tr:first-child {
    border: none;
}

#section5 .product-section__table--spec thead tr:first-child th:first-child {
    border-top-left-radius: 20px;
}

#section5 .product-section__table--spec thead tr:first-child th:last-child {
    border-top-right-radius: 20px;
}

/* #section5 .product-section__table--spec tbody tr:last-child th:first-child {
    border-bottom-left-radius: 20px;
} */

#section5 .product-section__table--spec tbody tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

/* Section 5 테이블 외곽 보더 제거 */
#section5 .product-section__table--spec thead th {
    font-family: 'GMarketSans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background-color: #4e4e4e;
    padding: 12px 20px;
    text-align: center;
    vertical-align: middle;
    border: none;
    border-top: none;
}

#section5 .product-section__table--spec thead th:first-child {
    border-left: none;
}

#section5 .product-section__table--spec thead th:last-child {
    border-right: none;
}

#section5 .product-section__table--spec tbody tr th:first-child {
    border-left: none;
}

#section5 .product-section__table--spec tbody tr td:last-child {
    border-right: none;
}

#section5 .product-section__table--spec tbody tr:last-child th,
#section5 .product-section__table--spec tbody tr:last-child td {
    border-bottom: none;
}

/* rowspan으로 인해 마지막 row까지 확장된 첫번째 th 하단 보더 제거 */
#section5 .product-section__table--spec tbody th[rowspan] {
    border-bottom: none;
}

#section5 .product-section__table--spec tbody th {
    font-family: 'GMarketSans', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    background-color: #1c1e22;
    padding: 10px 22.5px;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #5a5b5e;
    width: 100px;
}

#section5 .product-section__table--spec td {
    font-family: 'GMarketSans', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #fff;
    background-color: #1c1e22;
    padding: 10px 22.5px;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #5a5b5e;
    line-height: 1.6;
    width: auto;
}

#section5 .product-section__slide {
    padding-bottom: 0px;
}

/* Section 5 Responsive */
@media screen and (max-width: 768px) {
    #section5.product-section {
        padding: 60px 0 60px 0;
    }

    #section5 .product-section__brand {
        font-size: 18px;
    }

    #section5 .product-section__title {
        font-size: 14px;
    }

    #section5 .product-section__subtitle {
        font-size: 9px;
    }

    #section5 .product-section__slide-inner {
        padding: 30px 20px 20px 20px;
    }

    .product-section__content-top {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .product-section__model {
        font-size: 16px;
        text-align: left;
    }

    .product-section__features li {
        font-size: 10px;
    }

    .product-section__devices {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    #section5 .product-section__spec-title {
        font-size: 10px;
    }

    #section5 .product-section__spec-header {
        margin-bottom: 15px;
    }

    .product-section__scroll-hint {
        display: flex;
        color: #888;
        font-size: 12px;
        width: 112px;
    }
    .product-section__scroll-hint > button {
        width: 100%;
    }

    #section5 .product-section__table--spec {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    #section5 .product-section__table > img {
        display: block; 
    }
    #section5 .product-section__table > table {
        display: none;
    }

    #section5 .product-section__table--spec table {
        min-width: 500px;
    }

    #section5 .product-section__table--spec thead th {
        font-size: 10px;
        padding: 5px 8px;
    }

    #section5 .product-section__table--spec th,
    #section5 .product-section__table--spec td,
    #section5 .product-section__table--spec tbody th,
    #section5 .product-section__table--spec tbody td {
        font-size: 10px !important;
        padding: 5px 8px !important;
        white-space: nowrap;
    }

    /* Section 5 모바일 네비게이션 버튼 위치 */
    #section5 .product-section__nav-mobile-btn {
        top: 100px;
    }
}

/* ===================================
   Section 6: HellermannTyton Catalog
   =================================== */
#section6.catalog-section {
    position: relative;
    width: 100%;
    background-color: #171a21;
    padding: 100px 120px;
}

.catalog-section__header {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.catalog-section__header.animate {
    opacity: 1;
    transform: translateY(0);
}

.catalog-section__title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.catalog-section__subtitle {
    font-family: 'GMarketSans', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #a1a1a1;
}

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

.catalog-section__item {
    background-color: #212429;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 20px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.catalog-section__item.animate {
    opacity: 1;
    transform: translateY(0);
}

.catalog-section__item-header {
    text-align: center;
    height: 50px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
}

.catalog-section__item-title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.catalog-section__item-title > span {
    display: none;
}
.catalog-section__item-desc {
    font-family: 'GMarketSans', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #ffffff;
    margin-top: 8px;
}

.catalog-section__item-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 25px;
    margin-top: 0px;
}

.catalog-section__item-image {
    flex-shrink: 0;
    width: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-section__item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.catalog-section__item-features {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.catalog-section__item-features li {
    font-family: 'GMarketSans', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #fff;
    line-height: 1.6;
    padding-left: 12px;
    position: relative;
}

.catalog-section__item-features li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #a1a1a1;
}

/* Section 6 Responsive */
@media screen and (max-width: 1400px) {
    #section6.catalog-section {
        padding: 80px 60px;
    }

    .catalog-section__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .catalog-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    #section6.catalog-section {
        padding: 20px 20px 40px;
    }

    .catalog-section__header {
        margin-bottom: 20px;
    }

    .catalog-section__title {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .catalog-section__subtitle {
        font-size: 14px;
    }

    .catalog-section__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .catalog-section__item {
        padding: 10px;
    }

    .catalog-section__item-header {
        margin-bottom: 0;
        height: 25px;
        align-items: flex-start;
        margin-bottom: 5px;
    }
    .catalog-section__item-header > p {
        display: none;
    }

    .catalog-section__item-content {
        flex-direction: column;
        gap: 5px;
    }

    .catalog-section__item-desc {
        font-size: 10px;
        font-weight: 300;
        margin-top: 0px;
    }
    .catalog-section__item-image {
        width: 100%;
        height: auto;
        /* aspect-ratio: 4 / 3; */
        margin-bottom: 5px;
    }

    .catalog-section__item-title {
        font-size: 10px;
        margin-bottom: 3px;
        text-align: left;
    }
    .catalog-section__item-title > span {
        font-weight: 300; display: inline;
    }

    .catalog-section__item-features {
        gap: 2px;
    }

    .catalog-section__item-features li {
        font-size: 11px;
    }

    .product-section__slider-wrapper {
        align-items: flex-start;
    }
}

/* ===================================
   Section 7: Location
   =================================== */
#section7.location-section {
    position: relative;
    width: 100%;
    background-color: #171a21;
    padding-top: 100px;
}

.location-section__info {
    background-color: #171a21;
    padding: 80px 120px;
}

.location-section__info-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.location-section__info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.location-section__info-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.location-section__info-label {
    font-family: 'GMarketSans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.location-section__info-value {
    font-family: 'GMarketSans', sans-serif;
    font-size: 19px;
    font-weight: 300;
    color: #ffffff;
}

.location-section__map {
    width: 100%;
    height: 550px;
}

/* Kakao Map InfoWindow */
.kakao-infowindow {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 20px 25px;
    min-width: 280px;
}

.kakao-infowindow__title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.kakao-infowindow__address {
    font-family: 'GMarketSans', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #666;
    margin-bottom: 5px;
}

.kakao-infowindow__postal {
    font-family: 'GMarketSans', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #999;
}

/* Section 7 Responsive */
@media screen and (max-width: 1200px) {
    .location-section__info {
        padding: 60px 60px;
    }

    .location-section__info-inner {
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    #section7.location-section {
        padding-top: 0px;
    }

    .location-section__info {
        padding: 50px 20px;
    }

    .location-section__info-inner {
        gap: 5px;
    }

    .location-section__info-item {
        gap: 10px;
    }

    .location-section__info-label {
        font-size: 14px;
    }

    .location-section__info-value {
        font-size: 14px;
    }

    .location-section__map {
        height: 300px;
    }

    /* 카카오맵 Infowindow 모바일 간소화 */
    .kakao-infowindow {
        padding: 10px 12px;
        min-width: auto;
    }

    .kakao-infowindow__title {
        font-size: 12px;
        margin-bottom: 0;
    }

    .kakao-infowindow__address,
    .kakao-infowindow__postal {
        display: none;
    }
}

/* ===================================
   Footer
   =================================== */
#footer.footer {
    background-color: #1c1e24;
    padding: 100px 120px 40px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer__title {
    font-family: 'GMarketSans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0px;
}

.footer__director {
    font-family: 'GMarketSans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #c1c1c1;
}

.footer__address {
    font-family: 'GMarketSans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #c1c1c1;
}

.footer__contact {
    display: flex;
    gap: 10px;
}

.footer__contact span {
    font-family: 'GMarketSans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #c1c1c1;
}

.footer__contact span strong {
    font-weight: 700;
    color: #fff;
}

.footer__email {
    font-family: 'GMarketSans', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #c1c1c1;
}

/* Footer Responsive */
@media screen and (max-width: 768px) {
    #footer.footer {
        padding: 60px 20px;
    }

    .footer__inner {
        gap: 10px;
    }

    .footer__title {
        font-size: 13px;
    }

    .footer__contact {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .footer__director,
    .footer__address,
    .footer__contact span,
    .footer__email {
        font-size: 13px;
        text-align: center;
    }
}

/* ===================================
   Spec Image Popup
   =================================== */
.spec-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.spec-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.spec-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.spec-popup__content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.spec-popup.active .spec-popup__content {
    transform: scale(1);
}

.spec-popup__close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.spec-popup__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #fff;
}

.spec-popup__close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.spec-popup__close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.spec-popup__image-wrap {
    overflow: auto;
    max-height: 85vh;
}

.spec-popup__image {
    display: block;
    max-width: 1200px;
    height: auto;
}

/* Spec Popup Responsive */
@media screen and (max-width: 768px) {
    .spec-popup__content {
        max-width: 95%;
        max-height: 85%;
    }

    .spec-popup__close {
        top: -35px;
        right: 0;
    }
}
