@charset "utf-8";

/* ========== 메인 페이지 ========== */
.title-indicator-line {
    width: 26px;
    height: 2px;
    background-color: #087DE7;
    margin: 0 auto 12px auto;
}

@media (min-width: 1024px) {
    .title-indicator-line {
        margin-bottom: 16px;
    }
}

.idx-main-hero .hero-slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease-in-out;
    z-index: 1;
    pointer-events: none;
}

.idx-main-hero .hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10 !important;
    pointer-events: auto;
}

.idx-main-hero .hero-slide .hero-text-content {
    transform: translateY(8px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.6s ease-out 0.1s;
}

.idx-main-hero .hero-slide.active .hero-text-content {
    transform: translateY(0);
    opacity: 1;
}

@keyframes heroKenBurns1 {
    0% { transform: scale(1) translate3d(0, 0, 0); }
    50% { transform: scale(1.06) translate3d(-1%, -0.8%, 0); }
    100% { transform: scale(1) translate3d(0, 0, 0); }
}

@keyframes heroKenBurns2 {
    0% { transform: scale(1.06) translate3d(0.8%, 0.5%, 0); }
    50% { transform: scale(1) translate3d(0, 0, 0); }
    100% { transform: scale(1.06) translate3d(0.8%, 0.5%, 0); }
}

.idx-main-hero .hero-slide.active .hero-zoom-pan-1 {
    animation: heroKenBurns1 14s ease-in-out infinite alternate;
    will-change: transform;
}

.idx-main-hero .hero-slide.active .hero-zoom-pan-2 {
    animation: heroKenBurns2 14s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes techGlowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(1.08); }
}

.idx-main-hero .hero-tech-glow {
    animation: techGlowPulse 7s ease-in-out infinite;
    will-change: transform, opacity;
}

.product-tab-btn.active {
    color: #087DE7;
}

.product-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 2.5px;
    background-color: #087DE7;
}

@media (min-width: 768px) {
    .product-tab-btn.active::after {
        width: 72px;
    }
}

@media (min-width: 1024px) {
    .product-tab-btn.active::after {
        width: 90px;
    }
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.idx-product-swiper .swiper-slide {
    opacity: 0.15;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.idx-product-swiper .swiper-slide-active {
    opacity: 1;
}

/* 제품 슬라이더 네비: Swiper 기본 absolute/직사각 버튼 스타일 무력화 */
.idx-product-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    position: relative;
}

.idx-product-nav-btn,
.idx-product-nav .swiper-button-prev,
.idx-product-nav .swiper-button-next {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    width: 2.25rem !important;
    height: 2.25rem !important;
    min-width: 2.25rem;
    min-height: 2.25rem;
    flex-shrink: 0;
    border-radius: 9999px !important;
    background-color: #fff !important;
    border: 1px solid #e2e8f0;
    color: #334155;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.idx-product-nav-btn::after,
.idx-product-nav .swiper-button-prev::after,
.idx-product-nav .swiper-button-next::after {
    display: none !important;
    content: none !important;
}

.idx-product-nav-btn i {
    font-size: 1.125rem;
    line-height: 1;
}

.idx-product-nav-btn:hover,
.idx-product-nav .swiper-button-prev:hover,
.idx-product-nav .swiper-button-next:hover {
    background-color: #087DE7 !important;
    border-color: #087DE7;
    color: #fff;
}

.idx-product-nav-btn.swiper-button-disabled,
.idx-product-nav .swiper-button-disabled {
    opacity: 1;
    pointer-events: auto;
}

.idx-product-pagination {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto !important;
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
}

.idx-product-pagination .product-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin: 0 !important;
    border-radius: 9999px;
    background-color: #cbd5e1;
    opacity: 1 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.idx-product-pagination .product-dot-active {
    width: 0.625rem;
    height: 0.625rem;
    background-color: #087DE7;
}

@keyframes marqueeLeft {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeRight {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.animate-marquee-left {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeLeft 42s linear infinite;
    will-change: transform;
}

.animate-marquee-right {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeRight 42s linear infinite;
    will-change: transform;
}

.marquee-container:hover .animate-marquee-left,
.marquee-container:hover .animate-marquee-right {
    animation-play-state: paused;
}

.idx-main-cta {
    background-image: url('../img/main-cta-banner.png');
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
}
