
.pc-only { display: block; }
.mo-only { display: none; }

.product-hero {
    position: relative;
    width: 100%;
    height: 450px; 
    display: flex;
    align-items: flex-end;

    padding: 80px 120px; /* 웹용 축소 */

    background: 
        url('/img/controller_hero.jpg');
    
    background-size: cover;
    background-repeat: no-repeat;

 
    background-position: center;
        
}

.drive-hero {
    position: relative;
    width: 100%;
    height: 450px; 
    display: flex;
    align-items: flex-end;

    padding: 80px 120px; /*웹용 축소 */

    background: 
        url('/img/drive_hero.jpg');
    
    background-size: cover;
    background-repeat: no-repeat;


    background-position: center;
        
}

.hmi-hero {
    position: relative;
    width: 100%;
    height: 450px; 
    display: flex;
    align-items: flex-end;

    padding: 80px 120px; /*웹용 축소 */

    background: 
        url('/img/hmi_hero.png');
    
    background-size: cover;
    background-repeat: no-repeat;

  
    background-position: center;
        
}

.io-hero {
    position: relative;
    width: 100%;
    height: 450px; 
    display: flex;
    align-items: flex-end;

    padding: 80px 120px; /* 웹용 축소 */

    background: 
        url('/img/io_hero.jpg');
    
    background-size: cover;
    background-repeat: no-repeat;

    /*  핵심 */
    background-position: center;
        
}

.product-inner {
    max-width: 1920px; 
    margin: 0 auto;
    padding: 0 120px;
    font-family: Pretendard;
}




.hmi-desc1{
	padding-top: 120px;
	text-align: center;
}


.hmi-circle img{
	width: 80%;

}

.controller-intro {
    padding-top: 120px;
	
}


.controller-intro h2 {
	
	
    font-size: 32px;
    font-style:SemiBold;
    font-weight: 600;
    color:rgba(93, 19, 234, 1);
}


.controller-intro p {
    margin-top: 20px;
    color: rgba(51, 51, 51, 1);
    max-width: 600px;
    font-weight:400;
    font-size:14px;
    letter-spacing: 0%;
    font-style: Regular;
 
}


.io-intro {
    padding-top: 120px;
	
}


.io-intro h2 {
	
	
    font-size: 24px;
    font-style: Bold;
    font-weight: 700;
    color:rgba(0, 0, 0, 1);
}


.io-intro p {
    margin-top: 20px;
    color: rgba(51, 51, 51, 1);
    max-width: 600px;
    font-weight:400;
    font-size:18px;
    letter-spacing: 0%;
    font-style: Regular;
 
}





.controller-feature {
    position: relative;
    height: 800px;
    overflow: hidden;
}



.feature-bg {
    position: absolute;
    inset: 0;   

    background: url('/img/controller_featurebg.jpg') center center / cover no-repeat;

    z-index: 0;
}

.feature-content{
    position:relative;
    z-index:5;

    /* max-width:1600px; */
    height:100%;

    margin:0 80px;

    display:flex;
    justify-content:space-between;

    padding:80px 140px;
}

.feature-list{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.feature-list.left{
    align-self:flex-start;
}

.feature-list.right{
    align-self:flex-end;
    margin-bottom:100px;
}
.feature-bottom{
    display:none;
}


.feature-item{
    display:flex;
    align-items:center;
    gap:18px;
}

.feature-item .num{
    /* font-size:40px; */
    font-size: clamp(1.2vw, 1.5vw, 2vw);
    font-weight:700;
    line-height:1;
    color:rgba(79,54,150,0.18);
    flex-shrink:0;
}

.feature-item .txt{
    /* font-size:30px; */
    font-size: clamp(1vw, 1.2vw, 1.5vw);
    font-weight:600;
    color:#3c2879;
    line-height:1.2;
}
  

@media (max-width:1600px){

    .feature-content{
        padding:60px 40px;
    }

    .feature-item .num{
        font-size:22px;
    }

    .feature-item .txt{
        font-size:14px;
    }
}





@media (max-width:1400px){

    .feature-item .num{
        font-size:16px;
    }

    .feature-item .txt{
        font-size:10px;
    }

    .feature-list{
        gap:28px;
    }
}








/*drive*/
.drive-feature {
    position: relative;
    height: 1080px;
    overflow: hidden;
}
.drivefeature-bg {
    position: absolute;
    inset: 0;   	

    background: url('/img/drive_featurebg.jpg') center 100px / cover no-repeat;

    z-index: 0;
}

.drive-overlay {
    position: absolute;

    top: 80px;     /*  위쪽 여백 */
    left: 120px;   /*  좌측 정렬 */

    z-index: 2;

    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}
.drive-overlay img {
    width: 700px;     /*   크기로 위치 느낌  */
    /*opacity: 0.65;*/    /* 흐리게 */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.feature-svg {
    position: absolute;
    inset: 0;
    z-index: 3;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 120px;

    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.feature-svg img {
    width: 100%;
    max-width: 1200px;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up.active {
    transform: translateY(0);
    opacity: 1;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
    PRODUCT SECTION
========================= */

.product-section {
    position: relative;
    height: 900px;
    overflow: hidden;
}


/*drive-product*/
.drive-section {
    position: relative;
    height: 900px;
    overflow: hidden;
}


/* 배경 */
.product-bg {
    position: absolute;
    inset: 0;
    background: url('/img/product_rockbg.jpg') center / cover no-repeat;
    z-index: 0;
}


.product-bg2 {
    position: absolute;
    inset: 0;
    background: url('/img/product_rockbg2.jpg') center / cover no-repeat;
    z-index: 0;
}


.product-bg3 {
    position: absolute;
    inset: 0;
    background: url('/img/product_rockbg3.jpg') center / cover no-repeat;
    z-index: 0;
}

.product-bg4 {
    position: absolute;
    inset: 0;
    background: url('/img/product_rockbg4.jpg') center / cover no-repeat;
    z-index: 0;
}
.product-bg5 {
    position: absolute;
    inset: 0;
    background: url('/img/product_rockbg5.jpg') center / cover no-repeat;
    z-index: 0;
}
/*drive product section*/
.driveproduct-bg1 {
    position: absolute;
    inset: 0;
    background: url('/img/driveproduct1_bg.jpg') center / cover no-repeat;
         background-position: center;
    z-index: 0;
}


.driveproduct-bg2 {
    position: absolute;
    inset: 0;
    background: url('/img/driveproduct2_bg.jpg') center / cover no-repeat;
         background-position: center;
    z-index: 0;
}

.driveproduct-bg3 {
    position: absolute;
    inset: 0;
    background: url('/img/driveproduct3_bg.jpg') center / cover no-repeat;
         background-position: center;
    z-index: 0;
}
.driveproduct-bg4 {
    position: absolute;
    inset: 0;
    background: url('/img/driveproduct4_bg.jpg') center / cover no-repeat;
         background-position: center;
    z-index: 0;
}

.driveproduct-bg5 {
    position: absolute;
    inset: 0;
    background: url('/img/driveproduct5_bg.jpg') center / cover no-repeat;
         background-position: center;
    z-index: 0;
}
.driveproduct-bg6 {
    position: absolute;
    inset: 0;
    background: url('/img/driveproduct6_bg.jpg') center / cover no-repeat;
         background-position: center;
    z-index: 0;
}


/* 내부 정렬 */
.product-section .product-inner {
    position: relative;
    z-index: 3;

    max-width: 1400px;
    margin: 0 auto;
    padding: 0 120px;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.drive-section .product-inner {
    position: relative;
    z-index: 3;

    max-width: 1400px;
    margin: 0 auto;
    padding: 0 120px;

    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}


/* 제품 이미지 */
.product-center {
    position: absolute;
    left: 35%;
    top: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
}


.product-left {
    position: absolute;
    left: 30%;
    top: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
}


.product-img {
    width: 130%; /* 🔥 기존 520 → 확대 */
    height:110%;
}

/* 설명 이미지 */
.product-desc {
    width: 320px;
}


/*driveproduct~~ desc*/

.driveproduct-desc {
	margin-top:6%;
    width: 100%;
}

.driveproduct-desc2 {
	margin-top:6%;
	

    width: 100%;
}
.driveproduct-inner {
	
    position: relative;
    height: 100%;
}


.driveproductright-inner {
position: relative;
    height: 100%;
    width: 100%;
    max-width: 1400px; /* 중앙 정렬 폭 */
    margin: 0 auto;
    padding: 0 120px;
    
    /*  플렉스 박스 활성화 */
    display: flex; 
    align-items: center; /* 세로 중앙 */
}


.driveproduct-inner.type-right {
	display: flex !important; /* 플렉스 강제 적용 */
    justify-content: flex-end !important; /* 우측 정렬 강제 */
    align-items: center; 
    height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    
    z-index: 5;    
}




.driveproductver2-desc {
    /* width: 100% 로 되어있으면 부모를 다 채워서 우측 정렬이 티가 안 납니다. */
   width: 54% !important; 
    max-width: 850px;
    height: auto;
      top: 200px; 
    /* 2. 기존 다른 클래스(driveproduct-desc)의 영향을 차단 */
    margin-left: auto; /* 왼쪽 마진을 최대로 밀어 우측으로 이동 */
    display: block;
    
    /* 3. absolute가 걸려있으면 flex가 안 먹으므로 확인 */
    position: relative !important;
}

/* reveal.active 시 transform 초기화 (기존 코드와 호환) */
.driveproductver2-desc.active {
    transform: translateY(0);
}

.driveproduct-desctitle {
    position: absolute;

    right:28%;
    top: 160px;   /* 🔥 핵심 */

    width: 300px;

    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}



/* =========================
    등장 애니메이션 (통합)
========================= */

.reveal,
.fade-in,
.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

/* 활성화 */
.reveal.active,
.fade-in.active,
.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* 딜레이 */
.reveal.delay {
    transition-delay: 0.3s;
}

/*rotating section*/
.rotating-section {
    position: relative;
    height: 900px;
    overflow: hidden;
}



.rotating-bg {
    position: absolute;
    inset: 0;
    background: url('/img/rotating-bg.png') center / cover no-repeat;
    z-index: 0;
}

.rotating-bg2 {
    position: absolute;
    inset: 0;
    background: url('/img/rotating-bg2.png') center / cover no-repeat;
    z-index: 0;
}


.rotating-bg3 {
    position: absolute;
    inset: 0;
    background: url('/img/rotating-bg3.png') center / cover no-repeat;
    z-index: 0;
}
.rotating-inner {
    position: relative;
    z-index: 2;

    height: 100%;
    max-width: 1600px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 120px;
}

/* 각각 크기 */
.rotating-item {
    width: 30%;
    max-width: 420px;
}


.rotating-item {
    opacity: 0;
    transform: translateY(80px);
    transition: all 0.8s ease;
}

/* 활성화 */
.rotating-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* 딜레이 핵심 */
.rotating-item.center {
    transition-delay: 0.3s;
}


.rotating-item.right {
    transition-delay: 0.6s;
}

/*HMI~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
.torus-section {
    padding: 140px 0;
    
}

.torus-inner {
    max-width: 1600px;
    margin: 0 auto;
    font-family:pretendard;
    padding-right:70px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap:80px;
}

/* reverse */
.torus-section.reverse .torus-inner {
    flex-direction: row-reverse;
    padding-right:0;
    padding-left:70px;
    gap:10px;
}




/* 이미지 */
.torus-img img {
	padding:0;
	margin:0;
    width: 100%;
    max-width: 860px;
}


/* 텍스트 */
.torus-text {
    max-width: 1100px;
}

.torus-text h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.brand {
    color: #6b4eff;
    font-weight: 700;
}

.brand img{
	width:30%;
	
}


.torus-text ul {
	list-style : none;
    padding: 0;
}

.torus-text li {
	 position: relative;
    padding-left: 18px; /* 아이콘 공간 확보 */
    
    margin-bottom: 12px;
    font-size: 14px;
    color: #555;
}

/* 점 */
.torus-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;

    width: 6px;
    height: 6px;
    border-radius: 10%;

    background: rgba(51, 51, 51, 1); /* 포인트 컬러 */
}

/*hmi animation*/
/* 공통 */
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 0;
    transition: all 0.8s ease;
}

/* 방향별 */
.reveal-left {
    transform: translateX(-80px);
}

.reveal-right {
    transform: translateX(80px);
}

.reveal-up {
    transform: translateY(40px);
}

/* 활성화 */
.reveal-left.active,
.reveal-right.active,
.reveal-up.active {
    opacity: 1;
    transform: translate(0,0);
}


/*io ~~~~~~~~~~~~~*/
.io-desc {
	padding-top:80px;
    position: relative;
    /* height: 900px; */
    overflow: hidden;
}

/* 배경 */
.iodesc-bg img{
  width:100%;
    
}


/* IO 제품 영역 */
.io-products {
    padding: 100px 0 10px;
}

.io-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 120px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 제품 카드 */
.io-item {
    text-align: center;
    margin:0 60px;
}

/* 이미지 */
.io-item img {
    width: 100%;
    max-width: 520px;
  
 
}

/* 이름 */
.io-item p {
    margin-top: 20px;
    font-size: 16px;
    font-style: bold;
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
}


.io-desc2 {
    padding: 10px 0 100px;
}

.io-desc-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 100px;
}

.io-desc-inner img {
    width: 100%;
}

/*mobile product (controller) ~~~~~~~~~ section */
@media (max-width: 1200px) {


	.product-section {
    position: relative;
    height: 500px;
    overflow: hidden;
	}
	.blackbg{
	background: black;
	}
	
	.product-inner{
	padding: 0 50px !important;
	}
	
	.controller-intro h2 {
	
	
    font-size: 15px;
    font-style:SemiBold;
    font-weight: 600;
    color:rgba(93, 19, 234, 1);
}
	.controller-intro h2 img{
	width:110px;
	}

.controller-intro p {
    margin-top: 20px;
    color: rgba(51, 51, 51, 1);
    max-width: 400px;
    font-weight:400;
    font-size:14px;
    letter-spacing: 0%;
    font-style: Regular;

}
	
.controller-intro p br {
  display: none;
}	

/*~~~~~~~~~*/
	
	.io-intro h2 {
	
	
    font-size: 15px;
    font-style:SemiBold;
    font-weight: 600;
    color:black;
}
	.io-intro h2 img{
	width:110px;
	}

.io-intro p {
    margin-top: 20px;
    color: rgba(51, 51, 51, 1);
    max-width: 400px;
    font-weight:400;
    font-size:14px;
    letter-spacing: 0%;
    font-style: Regular;

}
	

	
	

	/*모바일 위치조정*/
.feature-bg {
    position: absolute;
    inset: 0;   
   
    background: url('/img/mobcontroller_featurebg.jpg') top / cover no-repeat;

    z-index: 0;
}


.feature-svg {
	
	display :none !important;
    position: absolute;
    inset: 0;
    z-index: 3;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 10px;
	
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.feature-svg img {
    width: 100%;
    max-width: 1200px;
    
 	margin-bottom:500px;
}


	.product-center {
		width : 70%;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
}


.product-left {
	width : 50%;
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
}
	
	.product-desc {
    width: 500px;
    padding-left:140px;
     
}
	
.rotating-section {
   
    height: auto;
  
}



    .driveproduct-bg1{
        background-position:15% center;
    }

	  .driveproduct-bg2{
        background-position:30% center;
    }
	  .driveproduct-bg3{
        background-position:30% center;
    }
	
	  .driveproduct-bg4{
        background-position:30% center;
    }
	  .driveproduct-bg5{
        background-position:30% center;
    }
    
      .driveproduct-bg6{
        background-position:30% center;
    }
    
    .driveproduct-desc{
    width:100%;
    position:relative;
    left:70px;
    top:40px;
    }

	.driveproduct-desc2{
        width:100%;
        position:relative;
    left:70px;
    top:120px;
    }
    
	.driveproduct-desctitle{
	    right:calc(28% - 70px);
	    
	}
    
    .driveproductver2-desc{
    	  width:100%;
    position:relative;
    left:70px;
   
    	
    	
    }
    
}





@media (max-width:978px){

	


      .feature-content{
        display:none;
    }

    /* 새 레이아웃 출력 */
    .feature-bottom{
        display:flex;
        justify-content:center;
        gap:80px;
		
        position:absolute;
        bottom:20px;
        left:50%;
        transform:translateX(-50%);

        width:100%;
        z-index:10;
    }
    
    
    
}



@media (max-width:768px){

    .pc-only{
        display:none;
    }

    .mo-only{
        display:block;
        width:100%;
        position:relative;
    }

    .mo-only img{
        width:100%;
        height:auto;
        display:block;
    }

    .mo-only .mo-bg{
        width:100%;
        height:auto;
        display:block;
    }

    .mo-only .mo-desc{
        position:absolute;
        width:90%;
        left:5%;
        top:30%;
        z-index:10;
    }


  .drive-section {
    position: relative;
       height:auto;
    overflow: hidden;
}
	
	
    .blackbg{
        background:black;
    }

    .product-inner{
        padding:0 50px !important;
    }

    .product-center{
        width:70%;
        left:10%;
    }

    .product-left{
        width:50%;
        left:10%;
    }

    .product-desc{
        width:300px;
        padding-left:140px;
    }

    .rotating-section{
        height:auto;
    }

}




@media (max-width:660px){

	

      .feature-content{
        display:none;
    }

    /* 새 레이아웃 출력 */
    .feature-bottom{
        display:flex;
        justify-content:center;
        gap:10px;
		
        position:absolute;
        bottom:200px;
        left:50%;
        transform:translateX(-50%);

        width:100%;
        z-index:10;
        
        padding-right: 10px;
    }
    

	.product-desc {
    width: 300px;
    padding-left:140px;
     
}
    
}

