@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: 'GMarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'GMarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'GMarketSans';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

body {
  background-color: var(--dark);
  color: white;
  margin: 0;
  font-family: 'Pretendard', sans-serif;
  scroll-behavior: smooth;
}

nav.head {
  position: fixed;
  top: 0;
  width: 100%;
  margin: auto;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}

nav.head .cont {
  width: 1320px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav.head .cont .logo img {
  height: 40px;
}

nav.head .cont .logo.left img {
  height: 52px;
}

nav.head .cont .logo.left img {
  filter: brightness(0) invert(1);
}

/* 첫번째 섹션 */
#mainVisual {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#mainVisual .scroll_icon {
  position: absolute;
  left: 50%;
  bottom: 6%;
  transform: translateX(-50%);
  width: 40px;
  animation: updown 1.2s infinite ease-in-out;
  text-align: center;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes updown {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
    /* 위로 10px 올라감 */
  }

  100% {
    transform: translateX(-50%) translateY(0);
    /* 다시 원래 자리 */
  }
}

#mainVisual .scroll_icon img {
  width: 50%;
}

#mainVisual .scroll_icon p {
  color: #faf9f6;
  font-size: 16px;
  margin-bottom: .5rem;
}

/* 모든 슬라이드는 겹쳐놓고 opacity로 전환 */
#mainVisual .slide {
  width: 100%;
  height: 100%;
  position: absolute;
  /* 중요: 겹치기 */
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease;
  /* 페이드 부드럽게 */
}

#mainVisual .slide.active {
  opacity: 1;
  z-index: 2;
}

/* 어둡게 오버레이 */
#mainVisual .slide::after {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background-color: #000;
  opacity: .5;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
}

/* 비디오 */
#mainVisual .slide .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 화면 꽉 채우기 */
  z-index: 1;
}

/* 비주얼 콘텐츠 */
#mainVisual .slide .visual-content {
  width: 100%;
  text-align: center;
  color: #fff;
  z-index: 4;
  position: relative;
}

#mainVisual .slide .visual-content h2 {
  font-family: 'GMarketSans';
  font-size: 64px;
  line-height: 1.3;
  font-weight: 700;
  color: #fff;
}

#mainVisual .slide .visual-content p {
  font-size: 24px;
  font-weight: 300;
  color: #fff;
  margin-top: 1rem;
}

#mainVisual .slide .visual-content p b {
  font-weight: 700;
  color: #fff;
}

#mainVisual .pager {
  position: absolute;
  bottom: 40px;
  left: 160px;
  display: flex;
  z-index: 10;
}

/* 숫자 스타일 */
#mainVisual .pager .dot {
  position: relative;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding-top: 20px;
  width: 120px;
}

/* ACTIVE 숫자 */
#mainVisual .pager .dot.active {
  color: #fff;
  font-weight: 700;
}

/* 전체 바 */
#mainVisual .pager .dot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

/* 채워지는 바 */
#mainVisual .pager .dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: #fff;
  border-radius: 3px;
  transform-origin: left;
  transition: width 0.4s linear;
}

/* ACTIVE 상태일 때만 애니메이션 시작 */
#mainVisual .pager .dot.active::after {
  animation: fillBar 5s linear forwards;
}

/* width 0 → 100% */
@keyframes fillBar {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

section.gap {
  width: 100%;
  height: 600px;
  justify-content: center;
  background: #000;
  min-height: unset;
  border-bottom: 0;
  text-align: center;
  align-items: center;
  position: relative;
  z-index: -1;
  gap: 0;
  padding: 0;
}

section.gap .top {
  position: absolute;
  bottom: 7rem;
}

section.gap .top h2 {
  color: #fff;
}

section.gap video {
  width: 555px;
  padding-bottom: 14rem;
}

section.gap h2 {
  color: #444242;
  font-size: 40px;
  position: relative;
  z-index: 4;
  font-weight: 500;
}

section.gap h2 b {
  font-weight: 900;
}

section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8rem;
  background: #fff;
  padding: 80px 5%;
  position: relative;
}

section .top h2 {
  font-size: 40px;
  font-weight: 700;
  color: #618396;
  text-align: center;
}

section .cont {
  flex-direction: row-reverse;
  justify-content: space-between;
  width: 1320px;
  gap: 10rem;
  align-items: center;
}

section .cont>div {
  flex: 1;
}

section .cont .img-card {
  width: 600px;
  height: 500px;
}

section .cont .img-card img {
  height: 100%;
  border-radius: 20px;
}

section .cont h3 {
  color: #6d77fd;
  font-size: 36px;
  font-family: 'GMarketSans';
}

section .cont h2 {
  font-family: 'GMarketSans';
  color: #0b1f30;
  font-size: 56px;
  line-height: 1.2;
}

section .cont h2 span {
  font-size: 32px;
}

section .cont p {
  color: #616161;
  font-size: 24px;
  line-height: 1.6;
}

section .cont .step {
  display: flex;
  flex-direction: column;
}

section .cont .step .strength {
  display: flex;
  align-items: center;
  gap: 2rem;
}

section .cont .step .strength>div {
  text-align: center;
  padding: 16px 30px;
  cursor: pointer;
  transition: all .3s;
  background: radial-gradient(circle at center,
      #173a52 0%,
      #102f45 35%,
      #0b263b 60%,
      #071c2c 100%);
  border: 0;
}

section .cont .step .strength>div span {
  color: #fff;
  font-weight: 500;
}

section .cont .step .strength>div:hover {
  border-color: #0b1f30;
}

#vision h2,
#vision .cont h2 span,
#vision p {
  color: #fff;
}

#vision .cont .step .strength span {
  color: #fff;
}

#aitech {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 160px 0;
}

#aitech .title {
  text-align: center;
}

#aitech .title p {
  font-family: 'GmarketSans';
  color: #fff;
  font-size: 32px;
  font-weight: 300;
}

#aitech .title h1 {
  font-family: 'GmarketSans';
  color: #fff;
  font-size: 56px;
  font-weight: 900;
}

#aitech .contents ul {
  max-width: 1320px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

#aitech .contents ul li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  border: 1px solid #eeeeee30;
  border-radius: 15px;
  padding-bottom: 2rem;
  transition: all .3s;
  cursor: pointer;
}

#aitech .contents ul li:hover {
  border-color: #eeeeee80;

}

#aitech .contents ul li h2 {
  font-size: 32px;
  color: #fff;
  font-weight: 700;
}

#aitech .contents ul li p {
  font-size: 24px;
  color: #fff;
  font-weight: 300;
  text-align: center;
}

#aitech .btm {
  text-align: center;
}

#aitech .btm p {
  font-size: 32px;
  font-weight: 500;
  color: #fff;
}

#aitech .btm h2 {
  color: #08dbff;
  font-weight: 900;
  font-size: 48px;
}

.typing {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

.typing::after {
  content: '|';
  margin-left: 4px;
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}



footer {
  position: relative;
}

footer .cont {
  width: 1320px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

footer .cont .left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

footer img {
  height: 80px;
}

footer .right img {
  height: 64px;
}

@media screen and (max-width: 960px) {
  nav.head {
    height: 80px;
  }
  nav.head .cont {
    width: 90%;
  }
nav.head .cont .logo.left img {
  height: 36px;
}
nav.head .cont .logo img {
  height: 28px
}


#mainVisual .slide .visual-content h2 {
  font-size: 40px;
}
#mainVisual .slide .visual-content p {
  font-size: 20px;
}
#mainVisual .pager {
  display: none;
}

section {
  padding: 80px 4%;
}
  section .cont {
    width: 100%;
    flex-direction: column-reverse;
    gap: 2rem;
  }
  section .cont .step .strength {
    gap: .5rem;
  }
  section .cont .step .strength>div {
    padding: 16px 12px;
    text-wrap-style: balance;
  }
  section .cont h3 {
    font-size: 28px;
    margin-bottom: 2rem;
  }
  section .cont h2 {
    font-size: 40px;
  }
section .cont h2 span {
  font-size: 24px;
}
section .cont p {
  font-size: 20px;
}
section .cont .img-card {
  width: 100%;
}
section .cont .img-card img {
  height: 320px;
}
#vision .cont {
  flex-direction: column;
}
section.gap {
  height: 400px;
}
section.gap .top h2 {
  font-size: 20px;
  font-weight: 500;
}
section.gap video {
  width: 400px;
  padding-bottom: 10rem;
}
section.gap .top {
  bottom: 5rem;
}
#aitech {
  gap: 4rem;
  padding: 80px 0;
}
#aitech .title p {
  font-size: 24px;
}
#aitech .title h1 {
  font-size: 28px;
}
  #aitech .contents ul {
    width: 92%;
    flex-direction: column;
    gap: 4rem;
  }
  #aitech .contents ul li {
    width: 100%;
    gap: 1rem;
  }
  #aitech .contents ul li img {
    height: 240px;
    width: 100%;
    object-fit: cover;
  }
  #aitech .contents ul li h2 {
    font-size: 28px;
  }
  #aitech .contents ul li p {
    font-size: 20px;
  }
  #aitech .btm p {
    font-size: 20px;
    margin: auto;
    width: 80%;
  }
#aitech .btm h2 {
  font-size: 20px;
  font-weight: 500;
  margin-top: 1rem;
}
footer {
  padding: 0;
}
  footer .cont {
    width: 92%;
    flex-direction: column;
    gap: 2rem;
  }
  footer img {
    height: 54px;
  }
  footer .cont .left {
    width: 100%;
    gap: 1rem;
  }
  footer .cont .left p {
    font-size: 14px;
  }
  footer .right img {
    height: 36px;
  }
}