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

html, body {
    width: 100%;
    color: #000;
    background: #fff;
}

/* 메인비주얼 ---------------------------------------*/
img {
    display: block;
    width: 100%;
    height: auto;
}

main {
    width: 100%;
    overflow: hidden;
}

.section-hero {
    position: relative;
    width: calc(100% - 40px);
    height: calc(100vh - 100px); 
    max-height: 920px;  
    border-radius: 40px;
    overflow: hidden;
    margin: 0 auto;  
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-dim {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 80px;
    color: #fff;
    z-index: 2;
}

.hero-subtitle {
    color: #FFF;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    margin-bottom: 32px;
}

.hero-title {
    color: #FFF;
    font-family: Poppins;
    font-size: 72px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -3px;
    text-transform: capitalize;
    margin: 0 0 48px 0;
}

.scroll-btn {
    display: flex;
    align-items: center;
    gap: 32px;

    height: 56px;
    padding: 0 18px;
    background: transparent;

    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 48px;

    color: #FFF;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 160% */
}

.scroll-btn {
    outline: none !important;
}

.scroll-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.scroll-icon {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-icon img {
    object-fit: contain;
}

@media (max-width: 768px) {

    /* 전체 히어로 박스 */
    .section-hero {
        width: 100%;
        height: 560px;      /* 모바일 히어로 높이 */
        max-height: none;
        border-radius: 0;   /* 모바일은 라운드 제거 (원하면 유지 가능) */
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-dim {
        background: rgba(0,0,0,0.45);
    }

    .hero-content {
        bottom: 40px;   /* 80 → 40 */
        left: 24px;     /* 80 → 24 */
        right: 24px;    /* 양쪽 여백 */
    }

    .hero-subtitle {
        font-size: 16px;  
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 36px;      /* 72 → 36 */
        line-height: 130%;
        letter-spacing: -1.5px;
        margin-bottom: 28px;
    }


    .scroll-btn {
        gap: 16px;
        height: 44px;
        padding: 0 16px;
        font-size: 13px;
        border-radius: 32px;
    }

    .scroll-icon {
        width: 20px;
        height: 20px;
    }

    .scroll-icon img {
        width: 20px;
        height: 20px;
    }
}


/* 어바웃 섹션 ---------------------------------------*/

.fade-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.15, 0, 1),
                transform 0.9s cubic-bezier(0.25, 0.15, 0, 1);
}

.fade-item.show {
    opacity: 1;
    transform: translateY(0);
}

.about-section {
    position: relative;
    width: 100%;
    height: 1160px;
    /* background: url("/images/common/about_bg.png") no-repeat center/cover; */
    padding: 160px 0;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    top: -60px;
    left: 50%;
    width: 100%;
    height: 140%; 
    transform: translateX(-50%);
    will-change: transform;
}

.about-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.about-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
}

.about-visual {
    width: 820px;            
    margin-right: -80px;  
    margin-top: -80px;  
    position: relative;
    mix-blend-mode: darken;
}

.about-video {
    width: 1016px;
    height: auto;
    display: block;
    object-fit: cover;  
}

.about-text {
    position: relative;
    margin-top: 160px;
}

.about-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 140px;
}

.about-label img {
    width: 24px;
    height: auto;
}

.about-label span {
    color: #A7A8A8;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -0.4px;
}

.about-title {
    color: #000;
    font-family: Poppins;
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 67.2px */
    letter-spacing: -1.68px;
    margin-bottom: 32px;
}

.about-desc {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 32px;
}

.about-desc-small {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #777;
    opacity: 0.8;
    margin-bottom: 56px;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: 1px solid #93D500;
    border-radius: 40px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight:500;
    color: #000;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.about-btn:hover {
    background: #93D500;
    color: #fff;
}

.about-btn .icon {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    transition: transform 0.25s ease;
    background: url("/images/common/icon_arrow_green.png") no-repeat center/contain;
}

.about-btn:hover .icon {
    transform: translateX(6px);
    background-image: url("/images/common/icon_arrow_white.png");
}

@media (max-width: 768px) {

    .about-section {
        height: auto;
        padding: 40px 24px 80px;
    }

    .about-bg {
        display: none;
    }

    .about-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .about-visual {
        width: 100%;
        margin: 0;
        mix-blend-mode: normal;
    }

    .about-video {
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
    }

    .about-text {
        margin-top: 0;
        width: 100%;
    }

    .about-label {
        margin-bottom: 24px;
    }

    .about-label span {
        font-size: 14px;
    }

    .about-label img {
        width: 20px;
    }

    .about-title {
        font-size: 32px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .about-desc {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .about-desc-small {
        font-size: 13px;
        margin-bottom: 32px;
    }

    .about-btn {
        font-size: 13px;
        padding: 12px 24px;
        border-radius: 32px;
    }

    .about-btn .icon {
        width: 20px;
        height: 20px;
    }
}


/* 프로덕트 섹션 ---------------------------------------*/

.product-section.fade-item {
    opacity: 0;
    transform: translateY(60px);
}

.product-section.fade-item.show {
    opacity: 1;
    transform: translateY(0);
}

.product-section {
    width: 100%;
    display: flex;
}

.product-item {
    width: 33.333%;
    height: 760px;
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
}

/* .product-inner {
    position: relative;
    padding: 80px;
    height: 100%;
    color: #fff;
    z-index: 2;
} */

.inner-product {
    position: relative;
    padding: 80px;
    height: 100%;
    color: #fff;
    z-index: 2;
}

.product-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);  
    transition: background 0.5s ease;
    z-index: 1;                
}

.product-item:hover::after {
    background: rgba(0,0,0,0.08);
}


.item-1 {
    background: url("/images/common/main_p_bg_1.png") no-repeat center/cover;
}

.item-2 {
    background: url("/images/common/main_p_bg_2.png") no-repeat center/cover;
}

.item-3 {
    background: url("/images/common/main_p_bg_3.png") no-repeat center/cover;
}

.product-number {
    position: absolute;
    top: 40px;
    right: 40px;
    font-family: Poppins, sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.36px;
    opacity: 0.9;
}

.product-title {
    font-family: Poppins, sans-serif;
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -1.04px;
}

.product-sub {
    font-family: Poppins, sans-serif;
    font-weight: 400;
    line-height: 140%; /* 28px */
    margin-bottom: 40px;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 16px 32px;
    border-radius: 40px;

    border: 1px solid #FFF;
    background: transparent;

    color: #FFF;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.product-btn .icon {
    width: 24px;
    height: 24px;
    display: flex;
    background: url("/images/common/icon_arrow_trans.png") no-repeat center/contain;
    transition:
        transform 0.3s ease,
        background-image 0.3s ease;
}

.item-1:hover .product-btn {
    background: #FFF;
    color: #14BD99;
    border-color: #FFF;
}
.item-1:hover .product-btn .icon {
    transform: translateX(6px);
    background-image: url("/images/common/icon_arrow_mint.png");
}

.item-2:hover .product-btn {
    background: #FFF;
    color: #00A2C3;
    border-color: #FFF;
}
.item-2:hover .product-btn .icon {
    transform: translateX(6px);
    background-image: url("/images/common/icon_arrow_blue.png");
}

.item-3:hover .product-btn {
    background: #FFF;
    color: #93D500;
    border-color: #FFF;
}
.item-3:hover .product-btn .icon {
    transform: translateX(6px);
    background-image: url("/images/common/icon_arrow_green.png");
}


.product-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: hidden; 
}

.img-parallax {
    width: auto;
    height: 100%; /* 여기서 이미지 크기 기준조절됨 */
    transition: transform 0.6s cubic-bezier(0.25, 0.15, 0, 1);
    will-change: transform;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.img-parallax img {
    height: 100%;   /* 제품이 세로에 맞춰 꽉 차게 */
    width: auto;
    object-fit: contain;
}

.product-item:hover .img-parallax {
    transform: translateY(-20px);
}

@media (max-width: 768px) {

    /* 3단 → 1단 */
    .product-section {
        flex-direction: column;
    }

    .product-item {
        width: 100%;
        height: auto;
        min-height: 480px;
    }

    /* 내부 패딩 축소 */
    .inner-product {
        padding: 40px 28px;
        height: auto;
    }

    /* 번호 위치 조정 */
    .product-number {
        top: 24px;
        right: 24px;
        font-size: 18px;
    }

    /* 제목 */
    .product-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    /* 서브텍스트 */
    .product-sub {
        font-size: 15px;
        margin-bottom: 28px;
    }

    /* 버튼 축소 */
    .product-btn {
        padding: 12px 24px;
        gap: 6px;
        font-size: 15px;
        border-radius: 32px;
    }

    .product-btn .icon {
        width: 20px;
        height: 20px;
    }


    .item-1 .img-parallax img {
      content: url("/images/common/main_p_1_m.png");
    }

    .item-2 .img-parallax img {
       content: url("/images/common/main_p_2_m.png");
    }

    .item-3 .img-parallax img {
        content: url("/images/common/main_p_3_m.png");
    }

    .product-img {
      position: relative;
      margin-top: -80px; 
      width: 100%;
      height: auto;
      overflow: visible;
      display: flex;
      justify-content: center; /* 이미지 중앙 배치 */
    }

    .img-parallax {
      width: auto;
      height: auto;
      transform: none !important;
      transition: none !important;
    }

    .product-item:hover .img-parallax {
        transform: none !important; 
    }

    .img-parallax img {
      width: auto;          /* 자동 축소 방지 */
      max-width: 100%;      /* 화면보다 커지면 줄어들게 */
      height: auto;         /* 비율 유지 */
      object-fit: contain;  /* 이미지 잘림 방지 */
    }
}


/* 메인 컨택트 섹션 ---------------------------------------*/
.main-contact-section {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
    padding: 160px 0;
}

.main-contact-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 960px;     
    height: auto;      
    transform: translate(-50%, -50%);
    object-fit: contain;
    z-index: 1;
}

.main-contact-bg-dim {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

.main-contact-gradient {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 320px;
    background: url("/images/common/final_grad.png") no-repeat center bottom / cover;
    z-index: 3;
    pointer-events: none;
}

.main-contact-inner {
    position: relative;
    z-index: 4;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.main-contact-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.main-contact-label img {
    width: 20px;
    height: 20px;
}

.main-contact-title {
    font-family: Poppins, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 160px;
}

.main-contact-card-wrap {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.main-contact-card {
    max-width: 840px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(20px);

    padding: 48px 56px;
    display: flex;
    align-items: center;
    gap: 32px;

    text-decoration: none;
    color: #fff;

    transition: 
        background 0.55s cubic-bezier(0.25, 0.15, 0, 1),
        border-color 0.55s cubic-bezier(0.25, 0.15, 0, 1),
        box-shadow 0.55s cubic-bezier(0.25, 0.15, 0, 1);
}

.main-contact-card-icon img {
    width: 104px;
    height: 104px;
}

.main-contact-card-text h3 {
    font-size: 32px;
    font-weight: 600;
    line-height: 56px;
    text-align: left;

    margin-bottom: 8px;
}

.main-contact-card-text p {
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: -0.27px;
    text-align: left;
    opacity: 0.8;
}

.main-contact-card-arrow {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: url("/images/common/icon_line_arrow_white_80.png") no-repeat center / contain;
    margin-left: auto;
    transition: transform .35s;
}

.main-contact-card:hover .main-contact-card-arrow {
    transform: translateX(10px);
}

@media (max-width: 768px) {

    .main-contact-section {
        padding: 100px 0;
    }

    .main-contact-bg-video {
        width: 130vw;      /* 화면보다 크게 → 더 immersive */
        height: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

    .main-contact-label {
        margin-bottom: 16px;
    }

    .main-contact-label img {
        width: 16px;
        height: 16px;
    }

    .main-contact-label span {
        font-size: 14px;
    }

    .main-contact-title {
        font-size: 28px;
        line-height: 1.4;
        margin-bottom: 80px;
        padding: 0 20px;
    }

    .main-contact-card-wrap {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding: 0 20px;
    }

    .main-contact-card {
        width: 100%;
        padding: 32px 28px;
        gap: 20px;
        border-radius: 20px;
    }

    /* 아이콘 크기 축소 */
    .main-contact-card-icon img {
        width: 64px;
        height: 64px;
    }

    /* 텍스트 영역 */
    .main-contact-card-text h3 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .main-contact-card-text p {
        font-size: 14px;
        line-height: 20px;
    }

    /* 오른쪽 화살표 */
    .main-contact-card-arrow {
        width: 40px;
        height: 40px;
        background-size: contain;
    }
}
