@charset "utf-8";
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafetyConstellation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimByeoljariTTF-L.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafetyConstellation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimByeoljariTTF-B.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

*{margin:0; padding:0; box-sizing: border-box;}
ul,li{list-style:none;}
a{text-decoration:none; color:#000;}
img{border:0;}

.cf:after{
	content:'';
	display:block;
	clear:both;
}

body{
	font-family:'Pretendard',"나눔고딕",NanumGothic, sans-serif;
	background-color:#2D2D2D;
}

/* 기본 설정 */
body {
  overflow: hidden; /* 풀페이지 제어를 위해 기본 스크롤 숨김 */
  margin: 0;
  color: #ffffff;
}

#loading-screen {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: #2b2b2b; /* 시안과 유사한 어두운 회색 */
  display: flex; justify-content: center; align-items: center;
  z-index: 9999; /* 화면의 가장 맨 위에 위치 */
  transition: opacity 0.8s ease, visibility 0.8s ease; /* 서서히 사라지는 효과 */
}

.loading-logo {
  width: 150px; /* 로고 너비 조절 */
  height: auto;
}

/* 나중에 JS로 사라질 때 사용할 클래스 */
#loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* =========================================
   1. 좌측 상단 로고 (고정)
========================================= */
.fixed-logo {
  position: fixed;
  top: 50px;
  left: 50%;
  transform:translateX(-50%);
  z-index: 100;
}

.fixed-logo a{
	display:block;
	width:100%;
}

.fixed-logo img {
  width: 100px;
  height: auto;
  display: block;
}

/* =========================================
   2. 우측 세로 네비게이션 (고정)
========================================= */
.fixed-nav {
  position: fixed;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 150px;
}

/* 점 사이를 잇는 세로선 */
.nav-line {
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 6px; /* 점 중앙에 오도록 맞춤 */
  width: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: -1;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  cursor: pointer;
}

.nav-text {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.nav-dot {
  width: 14px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* 활성화(선택된) 네비게이션 스타일 */
.nav-item.active .nav-text {
  opacity: 0; /* 글자 숨김 */
  visibility: hidden;
}

.nav-item.active .nav-dot {
  background-color: transparent;
  border: 2px solid #ffffff;
  transform: scale(1.4);
  position: relative;
}

/* 활성화된 점 가운데 작은 흰색 점 */
.nav-item.active .nav-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
}

/* =========================================
   3. 하단 푸터 (고정)
========================================= */
.fixed-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  font-size: 13px;
  color: #fff;
}

.divider {
  margin: 0 10px;
  color: #666;
}

.footer-right a {
  color: #aaaaaa;
  text-decoration: none;
  margin-left: 20px;
}

.footer-right a:hover {
  color: #ffffff;
}

/* =========================================
   4. 풀페이지 슬라이드 영역
========================================= */
.fullpage-wrapper {
  width: 100%;
  height: 100vh;
  transition: transform 0.8s ease-in-out; /* JS 추가 시 부드럽게 넘어가는 효과 */
}

.slide-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center; /* 텍스트 세로 중앙 정렬 */
}

.slide-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  /* 우측 네비가 잘 보이게 우측을 살짝 더 어둡게 */
  background: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 2;
}

/* 슬라이드 텍스트 영역 */
.slide-content {
  position: relative;
  z-index: 10;
  padding-left: 12%; /* 로고와 왼쪽 여백 맞춤 */
}

.sub-title {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.sub-title img{
	display:block;
	width:150px;
}

.main-title {
  font-size: 64px;
  font-weight: 900;
  margin: 0 0 15px 0;
  letter-spacing: 1px;
}

.main-title span{
	color:#8494FF;
}

.store-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 40px;
}

.store-btn img {
  display: block;
  width: 160px; 
  height: auto;
}

.fine{
	 font-size: 16px;
	 font-weight:300;
}

.ai-models-gallery {
  display: flex;
  justify-content: center; /* 이미지 블록들을 중앙에 배치 */
  gap: 30px; /* 이미지 블록 사이의 간격 (조절 가능) */
  margin-top: 50px; /* 위쪽 텍스트(h6)와의 간격 (조절 가능) */
}

.model-item {
  flex: 1; /* 각 이미지 블록이 동일한 공간을 차지하도록 설정 */
  max-width: 300px; /* 이미지 블록이 너무 커지지 않도록 최대 너비 제한 (조절 가능) */
  text-align: center; /* 이미지와 텍스트를 중앙 정렬 */
}

.model-item img {
  display: block;
  width: 100%; /* 이미지의 원본 크기가 아닌, model-item의 너비에 맞게 조절 */
  height: auto; /* 이미지의 비율 유지 */
  border-radius: 8px; /* Optional: 이미지의 모서리를 살짝 부드럽게 (조절 가능) */
  margin-bottom: 15px; /* 이미지와 아래 설명 텍스트 사이의 간격 (조절 가능) */
}

.model-desc {
  font-size: 14px; /* 설명 텍스트 크기 (조절 가능) */
  color: #aaaaaa; /* 흰색보다 살짝 옅은 회색으로 텍스트 색상 설정 (조절 가능) */
  margin: 0; /* 기본 마진 제거 */
  font-weight: 300; /* 얇은 폰트 두께로 설정 (h6의 fine 클래스와 맞춤) */
}

/* =========================================
   5. 모바일 반응형
========================================= */
@media screen and (max-width: 768px) {
  .fixed-logo { top: 40px; left: 70px; }
  .fixed-logo img { width: 70px; }
  
  .slide-content { padding-left: 40px; padding-right: 50px; }
  .main-title { font-size: 30px; width: 80%;}
  .sub-title { font-size: 18px; }
  
  
  .fixed-nav {   
  top: 5%;
  right: 12%;
  transform: translateY(-0%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 60px; }
  
  .nav-text{

  }
  
  .main-title.under{
	  width:100%;
	  font-size:30px;
  }
  
  .sub-title{
	  font-size:18px;
  }
  
  .fine{
	  width:80%;
	  font-size:15px;
  }
  
  .ai-models-gallery{
	  gap: 15px;
  }
  
  .store-buttons{
	flex-direction: column; 
  }
  
  .store-btn img{
	  width:140px;
  }
  
  .fixed-footer {
    padding: 20px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}