@charset "utf-8";
@import url('/resource/css/reset.css');
@import url('/resource/css/modal.css');
@import url('/resource/css/common.css');

/* 
 * 포미트 : POMIT
 * 파일명 : main.css
 * 작성자 : 김윤지
 * 작성일 : 2026.01.22
 * 사용처 : 메인 페이지 스타일
 */

/* GSAP 모션 */
body {
	overflow-x: clip;
	line-height: 1.4;
}

.panel {
	overflow: clip;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;

	word-break: keep-all;
}

.panel-2 {
	background-color: var(--gray-900);
	color: var(--gray-050);
	padding: 0 1rem;
	position: relative;
}

.panel-2::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;

	height: 1px;
	display: block;
	background-image: linear-gradient(to right,
			#1254D8 0%,
			#01C1C8 50%,
			#BFDC00 75%,
			#0A3463 100%);
}

.content-1 {
	width: 100%;
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
}

.content-2 {
	width: 100%;
	padding-top: 80px;
	padding-bottom: 40px;
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: center;
}

.content-3 {
	display: flex;
	flex-direction: column;
	align-items: center;

	width: 100%;
	padding-top: 80px;
	padding-bottom: 80px;
	position: relative;
}

.panel-1 .text-box {
	width: 100%;

	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	
	color: var(--white);

	gap: 24px 80px;
	padding: 1rem;

	position: absolute;
	bottom: 16vh;
	left: 0;
	z-index: 5;
}

.content-1 .text-box-inner {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.content-1 h2 {
	font-size: 28px;
}
.content-1 h3 {
	font-size: 16px;
	font-weight: 400;
}

.btn-technology {
	display: flex;
	justify-content: flex-end;
	align-items: center;

	padding: 20px 64px 20px 40px;
	border-radius: 40px;

	color: var(--white);
	font-weight: 700;
	position: relative;
}

.btn-technology:hover {
	color: var(--white);
}

.btn-technology::after {
	content: '';
	width: 24px;
	height: 24px;

	background-image: url(/resource/images/icon/arrow_forward-white.svg);
	background-position: center;
	background-size: 24px;
	background-repeat: no-repeat;

	position: absolute;
	top: 50%;
	right: 24px;
	transform: translateY(-50%);
}

.scroll-down {
	display: block;
	border-radius: 48px;

	position: absolute;
	z-index: 5;
	bottom: -32px;
	left: 50%;
	transform: translateX(-50%);

	width: 64px;
	height: 64px;
	border: 2px solid var(--white);

	background: 
	url(/resource/images/icon/arrow_cool_down-white.svg), 
	radial-gradient(
		ellipse at center,
		#059DD4 0%,
		#1882C4 45%,
		#0060CD 70%,
		#062563 100%
	);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px 24px, auto;

	display: none;
}

.video-wrapper {
	width: 100%;
	height: 100vh;
	display: block;
	z-index: 2;
	position: relative;
	overflow: hidden;

	border-radius: 0;
}
.video-wrapper::before {
	content: '';
	width: 100%;
	height: 100%;
	z-index: 2;

	position: absolute;
	top: 0;
	left: 0;
	display: block;
	background: linear-gradient(
		to right,
		rgba(0, 18, 40, 0.8) 10%,
		rgba(0, 18, 40, 0)   75%,
		rgba(0, 18, 40, 0.8) 100%
	);
	pointer-events: none;
}

.video-wrapper video {
	position: absolute;
	top: 0;
	left: 50%;

	transform: translateX(-50%);
	z-index: 1;
	width: auto;
	height: 100%;
	
	/* width:100%;
	height:auto; */
	object-fit:cover;
	display:block;
}

.technology {
	display: flex;
	align-items: center;
	justify-content: space-evenly;

	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 3;

	display: none;
}

.technology .tech-item {
	background-color: var(--white-300);
	border: 2px solid var(--white);

	display: flex;
	align-items: flex-start;
	justify-content: center;
	backdrop-filter: blur(8px);
    text-align: center;
	
	background-position: center 32px;
	background-repeat: no-repeat;
	background-size: 48px;

	width: 120px;
	height: 120px;
	border-radius: 120px;

	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--white);
	padding-top: 92px;

	transition: background-color 0.5s ease-in-out;
	position: relative;
	z-index: 2;
}

.technology .tech-item:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.technology .icon01 {
	background-image: url(/resource/images/icon/tech-data.svg);
}
.technology .icon02 {
	background-image: url(/resource/images/icon/tech-process.svg);
}
.technology .icon03 {
	background-image: url(/resource/images/icon/tech-server.svg);
}
.technology .icon04 {
	background-image: url(/resource/images/icon/tech-dt.svg);
}
.technology .icon05 {
	background-image: url(/resource/images/icon/tech-ai.svg);
}

/* panel-2 */
.content-2 h2,
.content-3 h2 {
	font-size: 24px;
	font-weight: 700;
    text-align: center;
}

/* panel-2 */
.panel-2 {
	background-color: var(--gray-900);
}
.content-2 {
	gap: 24px 0;
}

.product-list {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 16px;

	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-padding-left: 32px;
	scroll-padding-right: 32px;
	padding: 0 32px;
	-webkit-overflow-scrolling: touch;
}
.product-list::-webkit-scrollbar {
	display: none;
}

.product-list a {
	flex: 0 0 auto;
	display: flex;

	font-size: 16px;
	font-weight: 500;
	color: var(--white);

	position: relative;
	scroll-snap-align: start;
}

.swiper-box {
	position: relative;
	width: 100%;
	max-width: 320px;
	margin: 0 auto;
	overflow: visible;
}

.swiper-product {
	overflow: hidden;
	height: 440px;
}

.swiper-product .swiper-slide {
	height: 100%;

	display: flex;
	align-items: center;
	justify-content: center;

	cursor: grab;
}

.swiper-button-prev,
.swiper-button-next {
	pointer-events: auto;
	cursor: pointer;
	z-index: 10;
	padding: 0 2rem;

	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.swiper-button-prev,
.swiper-button-next {
	display: none;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
	position: relative;
	margin-top: 24px;
}
.swiper-pagination-bullet {
	opacity: 1;
	background-color: var(--white-500);
}
.swiper-pagination-bullet-active {
	background-color: var(--accent-blue);
	opacity: 1;
}

/* content-3 */
.content-3 {
	gap: 24px 0;
}
.content-3 h2 {
	color: var(--gray-900);
	padding: 0 1rem;
}

.field-list {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 0 8px;

	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	scroll-padding-left: 80px;
	scroll-padding-right: 80px;
	padding: 0 24px;
	-webkit-overflow-scrolling: touch;
}
.field-list::-webkit-scrollbar {
	display: none;						/* Chrome, Safari */
}

.field-list li {
	flex: 0 0 auto;
	display: flex;
	padding: 0;

	font-size: 16px;
	font-weight: 500;
	color: var(--gray-900);

	position: relative;
	scroll-snap-align: start;
}

.field > *:after {
	content: '';
	width: 1px;
	height: 16px;
	background-color: var(--gray-300);

	position: absolute;
	right: -24px;
	top: 50%;
	transform: translateY(-50%);
}
.field > *:last-child:after {
	display: none;
}

.logo-strip {
    width: 100%;
	padding: 40px 0;
	overflow: hidden;
}

.logo-row {
	margin-bottom: 48px;
}

.logo-row:last-child {
	margin-bottom: 0;
}

.logo-row .swiper-wrapper {
	transition-timing-function: linear !important;
}

.logo-row .swiper-slide {
	width: auto;
	height: 24px;
	display: flex;
	align-items: center;
	cursor: default;
}

.logo-row img {
	width: auto;
	height: auto;
	max-height: 100%;
    max-width: 100%;
	object-fit: contain;
	opacity: 1;
}

/* slide-text */
.swiper-product .swiper-slide {
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	border: 1px solid var(--white-300);
}

.swiper-product .swiper-slide .slide > img {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.swiper-product .swiper-slide .slide-text {
	background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

.swiper-product .slide-text {
	position: absolute;
	inset: 0;
	z-index: 2;
	padding: 16px 16px 24px;
	gap: 16px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.swiper-product .slide-text > div:first-child {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 8px 0;
	color: var(--white);
}

.swiper-product .slide-02  .slide-text > div:first-child,
.swiper-product .slide-05  .slide-text > div:first-child {
	color: var(--gray-900);
}

.swiper-product .slide-text h4 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px 0;
	font-size: 24px;
	font-weight: 700;
}
.swiper-product .slide-text h4 small {
	font-size: 14px;
	font-weight: 500;
}

.swiper-product .slide-text h4 img {
	margin-top: 4px;
	height: 28px;
}

.swiper-product .slide-text p {
	font-size: 14px;
	font-weight: 500;
}

.swiper-product .slide-text .tag-list {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 8px;
}
.swiper-product .slide-text .tag-item {
	font-size: 14px;
	font-weight: 400;
	line-height: 1;

	padding: 6px 12px;
	border-radius: 40px;
	background-color: var(--black-600);
	border: 1px solid var(--gray-400);
	white-space: nowrap;
	color: var(--white);
}

.swiper-product .slide-02 .slide-text,
.swiper-product .slide-05 .slide-text {
	color: var(--gray-900);
	justify-content: flex-start;
}

/* 반응형 */
@media (min-width: 576px) {
	.swiper-box {
		max-width: 480px;
	}
}
@media (min-width: 768px) {
	
	.swiper-box {
		max-width: 720px;
	}

}
@media (min-width: 992px) {
	/* layout */
	.panel {
		height: 100vh;
	}
	.content-1 {
		max-width: 960px;
		gap: 24px;
	}
	.content-1 .text-box-inner {
		gap: 16px;
	}
	.panel-2::before {
		height: 4px;
	}

	/* content */
	.panel-1 .text-box {
		position: relative;
		color: var(--gray-900);
		bottom: inherit;
		top: auto;
		flex-direction: row;
		align-items: flex-end;
		padding: 0;
	}
	.video-wrapper {
		height: 320px;
		border-radius: 40px;
	}
	.video-wrapper video {
		width: 100%;
		height: auto;
	}
	.technology {
		display: flex;
	}
	.technology .tech-item {
		width: 160px;
		height: 160px;
		border-radius: 160px;
	}
	
	.scroll-down {
		display: flex;
	}

	.product-list {
		--menu-hover-color: var(--indigo-350);
		padding-left: 0;
		padding-right: 0;
		margin-top: 0;
	}
	.product-list a {
		font-size: 20px;
		padding: 12px 24px;
	}
	.product-list a:hover {
		color: var(--menu-hover-color);
	}

	.swiper-box {
		max-width: 960px;
	}
	.swiper-product {
		height: 360px;
	}
	.swiper-product .swiper-slide {
		border-radius: 40px;
	}
	.swiper-product .slide-text {
		padding: 40px 40px 36px;
	}

	/* panel-3 */
	.field-list {
		padding-left: 0;
		padding-right: 0;
		gap: 0 48px;
	}

	.field-list li {
		font-size: 20px;
		padding: 0;
	}
}

@media (min-width: 1200px) {
	.content-1 {
		max-width: 1140px;
	}
	.content-1 h2 {
		font-size: 36px;
	}
	.content-1 h3 {
		font-size: 24px;
	}

	/* panel-2 */
	.content-2 h2,
	.content-3 h2 {
		font-size: 32px;
	}

	.swiper-product {
		height: 320px;
	}

	.swiper-box {
		max-width: 1140px;
	}
	.swiper-button-prev,
	.swiper-button-next {
		display: flex;
	}

	/* panel-3 */
	.logo-row .swiper-slide {
		height: 32px;
	}
}

@media (min-width: 1600px) {
	.content-1 {
		max-width: 1400px;
		gap: 48px;
	}
	.content-1 .text-box-inner {
		gap: 24px;
	}
	.content-1 h2 {
		font-size: 48px;
	}
	.video-wrapper {
		height: 440px;
	}
	.technology {
		justify-content: center;
		gap: 2rem;
	}
	.technology .tech-item {
		width: 200px;
		height: 200px;
		border-radius: 200px;
		padding-top: 112px;
		background-position: center 44px;
		font-size: 16px;
		line-height: 1.4;
	}
	
	/* panel-2 */
	.content-2 h2,
	.content-3 h2 {
		font-size: 40px;
	}

	.swiper-box {
		max-width: 1520px;
		padding: 0 64px;
	}
	.swiper-product {
		height: 400px;
	}
	.swiper-product .slide-text > div:first-child {
		gap: 16px 0;
	}
	.swiper-product .slide-text h4 {
		font-size: 40px;
	}
	.swiper-product .slide-text h4 img {
		margin-top: 8px;
		height: 48px;
	}
	.swiper-product .slide-text p {
		font-size: 16px;
	}
	.swiper-product .slide-text .tag-item {
		font-size: 16px;
		padding: 8px 20px;
	}
}

@media (min-width: 1720px) {
	.swiper-product {
		height: 440px;
	}
}
