body {
  font-family: "TT Fors Trial", "Noto Sans KR", sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  overflow-x: hidden;
  background: rgba(0, 0, 0, 0.5);
}
header {
  color: #fff;
  text-align: center;
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1000;
  height: 100px;
}

.navbar {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-family: "Galano Grotesque Alt", sans-serif;
  font-weight: 500;
}

.nav-btn {
  display: none;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;

  img {
    width: 200px;
  }
}

.nav-links {
  padding: 18px 27px;
  border: 1px solid #fff;
  border-radius: 9999px;
  list-style: none;
  display: flex;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.2);

  a {
    color: #fff;
    text-decoration: none;
    letter-spacing: -2%;
  }
}

/* 전체 화면 모바일 메뉴 스타일 */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-menu-content {
  width: 100%;
  height: 100%;
  display: flex;
  padding: 14px 10px 14px 34px;
  flex-direction: column;
  color: #fff;
  text-align: left;
}

.mobile-menu-header {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 80px;
}

.mobile-menu-header .logo img {
  width: 200px;
}

.menu-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-close img {
  width: 20px;
  height: 20px;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.mobile-nav-links li {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.6s ease-out forwards;
}

.mobile-nav-links li:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-nav-links li:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-nav-links li:nth-child(3) {
  animation-delay: 0.3s;
}
.mobile-nav-links li:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
  color: #ccc;
}

.mobile-menu-footer {
  margin-top: auto;
  padding-bottom: 40px;
}

.get-in-touch {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 1px solid #fff;
  width: fit-content;
}

.get-in-touch img {
  width: 20px;
  height: 20px;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  margin-bottom: 11px;
}

.social-links a {
  display: inline-block;
}

.social-links img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.social-links img:hover {
  opacity: 0.7;
}

.copyright {
  color: #fff;
  font-size: 12px;
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  background: #000;
  overflow: visible;
}

footer {
  background: #000;
  color: #fff;
  text-align: center;
  width: 100%;
  bottom: 0;
}
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}
input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  color: #fff;
  background: transparent;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

/* 홈 섹션의 비디오를 화면 전체로 꽉 채우기 */
#home {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
#home video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
}

/* 동영상 위에 home-text 표시 */
.home-text {
  position: absolute;
  top: 60%;
  left: 60%;
  transform: translate(-50%, -80%);
  z-index: 1;
  color: #fff;
  width: 100%;
}
.home-text h2 {
  font-size: 90px;
  font-weight: 600;
  margin-bottom: 15px;
}
.home-text p {
  font-size: 24px;
  margin-bottom: 74px;
}
.home-text button {
  font-size: 33px;
  font-weight: 500;
  padding: 8px 19px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s;
}

.home-text button img {
  align-self: baseline;
  margin-left: 30px;
}

#web3 {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.web3-bg {
  width: 100vw;
  min-height: 100vh;
  max-width: 100vw;
  margin: 0 auto;
  background: url("/assets/web3.png") center center/cover no-repeat;
  display: flex;
  flex-direction: column;
  gap: 168px;
  padding: 10vw 0;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}
.web3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  color: #fff;
}
.web3-row {
  display: flex;
  width: 100%;
  gap: 2vw;
}
.web3-box {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  min-height: 333px;
  max-width: 610px;
  padding: 10px 24px 20px;
  font-size: 1.3rem;
  font-family: "Galano Grotesque Alt", "Noto Sans KR", sans-serif;
  background: #1a1a1a;
  border-radius: 0.5rem;
}

.web3-box > h4 {
  font-size: 24.5px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.web3-title {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 120px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.web3-grid ul {
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
}

#solutions {
  margin-top: 300px;
  color: #fff;
  text-align: center;
}

#solutions h4 {
  font-size: 50px;
}

.solutions-slider {
  margin-top: 100px;
}

.solutions-slider img {
  width: 100%;
}

.solutions-slide-text p:nth-child(1) {
  font-size: 38px;
  margin-top: 64px;
  font-weight: 500;
}

.solutions-slide-text p:nth-child(2) {
  font-size: 14px;
  margin-top: 22px;
  font-weight: 500;
}

#partners {
  border-top: 0.3px solid #fff;
  color: #fff;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: center;
  box-sizing: border-box;
  padding-bottom: 60px;
  margin: 150px auto 0;
}

#partners h3 {
  font-size: 100px;
  font-weight: semibold;
  text-align: center;
}

.partners-logos {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 100px;
  max-width: 1200px;
  margin: 180px auto 0;
  justify-content: center;
  align-items: center;
}
/* 파트너 로고 줄 정렬 */
.partners-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 80px;
  width: 100%;
}

.partners-logos img {
  flex: 0 0 auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.touch {
  margin-top: auto;
  align-self: flex-start;
  margin-bottom: 40px;
}

.touch p {
  background: url("/assets/get-in-touch.png") left bottom no-repeat;
  background-size: calc(85%) 100px;
  width: fit-content;
  min-width: 0;
  height: 120px;
  padding-right: 200px;
  display: flex;
  align-items: center;
  font-size: 90px;
  font-weight: 400;
  color: #fff;
}

#main-term {
  color: #fff;
  text-align: center;
  padding: 300px 0;
}

#main-term h4 {
  font-size: 60px;
  font-weight: 500;
}

#main-term p {
  font-size: 28px;
  font-weight: 500;
  margin-top: 10px;
}

#main-term ul {
  margin-top: 100px;
  display: flex;
  flex-direction: column;
  gap: 112px;
  font-size: 50px;
  font-weight: 500;
}

#solution {
  width: 100%;
  min-height: 100vh;
  text-align: center;
  color: #fff;
  margin: 0 auto;
  background: url("/assets/solution-bg.png") center center/cover no-repeat;
}

#solution .solution-top {
  max-width: 1425px;
  width: 100%;
  margin-top: 200px;
}

#solution .careers {
  max-width: 1620px;
  width: 100%;
  margin: 200px 0;
}

.banner {
  width: 100%;
  height: 500px;
  background: url("/assets/solution.png") center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner p {
  font-size: 100px;
  font-weight: 500;
}

footer {
  width: 100%;
}

.footer-wrap {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 95px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  text-align: left;
}

.footer-left {
  line-height: 160%;
  font-size: 22px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 20px;
}
.footer-img {
  display: flex;
  gap: 2rem;
  justify-content: end;
}
.footer-img img {
  height: 41px;
  cursor: pointer;
}

.careers {
  max-width: 1620px;
}
/* home section video 반응형 스타일 */
/* web3-box 내부 security 아이콘 전용 클래스 */
.img-security {
  width: 80px;
  height: 80px;
}
@media (max-width: 900px) {
  #home {
    height: 60vh;
    min-height: 300px;
  }
  #home video {
    width: 100vw;
    height: 60vh;
    object-fit: cover;
    min-height: 300px;
    max-height: 60vh;
  }
}

@media (max-width: 600px) {
  #main-term {
    padding: 0 12px 32px 12px;
    margin-top: 24px;
  }
  #main-term h4 {
    font-size: 16px !important;
    margin-bottom: 10px;
  }
  #main-term p {
    font-size: 12px !important;
    margin-bottom: 10px;
    line-height: 1.5;
  }
  #main-term ul {
    padding-left: 16px;
    margin: 32px 0 0 0;
    gap: 6px;
    font-size: 14px;
  }
  #main-term ul li {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .home-text button img {
    margin-left: 4px;
    width: 40px;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .footer-img {
    order: 0;
    margin-bottom: 8px;
  }
  .footer-right p {
    order: 1;
  }
  .web3-bg {
    background-size: cover;
    background-position: top center;
    background-repeat: repeat-y;
    gap: 60px;
  }
  #home {
    height: 40vh;
    min-height: 180px;
  }
  #home video {
    width: 100vw;
    height: 40vh;
    min-height: 180px;
    max-height: 40vh;
    object-fit: cover;
    left: 0;
    top: 0;
  }
  .home-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-60%);
    width: 100vw;
    padding: 0 24px 0 24px;
  }
}

/* 반응형 웹: 화면 크기에 따라 컨텐츠 크기 및 폰트 크기 조정 */
@media (max-width: 1200px) {
  .home-text h2 {
    font-size: 60px;
  }
  .home-text p {
    font-size: 18px;
  }
  .home-text button {
    font-size: 24px;
  }
  .web3-title {
    font-size: 70px;
  }
  #partners h3 {
    font-size: 60px;
  }
  .touch p {
    font-size: 60px;
    background-size: calc(70%) 70px;
    height: 80px;
    padding-right: 240px;
  }
  .partners-logos img {
    max-width: 120px;
    height: 60px;
  }
  main {
    min-height: 100vh;
    box-sizing: border-box;
    max-width: 100vw;
  }
  #main-term {
    padding: 120px 24px;
  }
  #main-term h4 {
    font-size: 60px;
    margin-bottom: 18px;
  }
  #main-term p {
    font-size: 32px;
    margin-bottom: 18px;
  }
  #main-term ul {
    margin-top: 60px;
    gap: 40px;
    font-size: 32px;
  }
  #main-term ul li {
    margin-bottom: 12px;
  }

  .banner p {
    font-size: 80px;
  }
}

@media (max-width: 900px) {
  header {
    height: 70px;
  }
  .logo a img {
    width: 120px;
  }
  .nav-links {
    gap: 10px;
    font-size: 14px;
  }
  .home-text h2 {
    font-size: 40px;
  }
  .home-text p {
    font-size: 14px;
  }
  .home-text button {
    font-size: 18px;
    padding: 6px 12px;
  }
  .web3-title {
    font-size: 40px;
  }
  .web3-box > h4 {
    font-size: 16px;
  }
  .web3-grid ul {
    font-size: 13px;
    line-height: 20px;
  }
  .web3-box {
    font-size: 1rem;
    min-height: 200px;
  }
  #partners h3 {
    font-size: 40px;
  }
  .partners-row {
    gap: 30px;
  }
  .touch p {
    font-size: 40px;
    background-size: calc(60%) 40px;
    height: 50px;
    padding-right: 200px;
  }
  .footer-left,
  .footer-right {
    font-size: 14px;
  }
  .footer-img img {
    height: 28px;
  }
  .partners-logos img {
    max-width: 80px;
    height: 40px;
  }
  main {
    padding: 0 1vw;
    min-height: 100vh;
    box-sizing: border-box;
    max-width: 100vw;
  }
  #main-term {
    padding: 60px 12px;
  }
  #main-term h4 {
    font-size: 40px;
    margin-bottom: 12px;
  }
  #main-term p {
    font-size: 24px;
    margin-bottom: 12px;
  }
  #main-term ul {
    margin-top: 40px;
    gap: 60px;
    font-size: 24px;
  }
  #main-term ul li {
    margin-bottom: 8px;
  }

  .banner p {
    font-size: 60px;
  }

  /* 모바일 메뉴 반응형 설정 */
  @media (max-width: 1024px) {
    .nav-btn {
      display: block !important;
    }

    .nav-links {
      display: none;
    }
  }

  @media (max-width: 768px) {
    .mobile-nav-links a {
      font-size: 36px;
    }

    .mobile-menu-header {
      margin-bottom: 60px;
    }

    .mobile-nav-links {
      gap: 30px;
    }
  }

  @media (max-width: 480px) {
    .mobile-nav-links a {
      font-size: 28px;
    }

    .get-in-touch {
      font-size: 20px;
    }

    .mobile-menu-header .logo img {
      width: 150px;
    }
  }

  .footer-wrap {
    padding-bottom: 60px;
  }
}

@media (max-width: 600px) {
  header {
    height: 50px;
  }
  .navbar {
    padding: 0 0 0 20px;
  }
  .nav-btn {
    display: inline-block;
  }

  .nav-btn img {
    width: 24px;
    height: 24px;
  }
  .logo a img {
    width: 80px;
  }
  .nav-links {
    display: none;
  }
  .home-text {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-left: 60px;
  }
  .home-text h2 {
    font-size: 22px;
  }
  .home-text p {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .home-text button {
    font-size: 12px;
    padding: 4px 8px;
  }
  .web3-title {
    font-size: 22px;
  }
  .img-security {
    width: 48px;
    height: 48px;
  }
  .web3-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    gap: 12px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  .web3-grid:nth-of-type(2) .web3-title {
    order: 0;
  }
  .web3-grid:nth-of-type(2) .web3-box:first-child {
    order: 1;
  }
  .web3-grid:nth-of-type(2) .web3-box:nth-child(3) {
    order: 2;
  }
  .web3-box {
    font-size: 0.8rem;
    min-height: 100px;
    padding: 12px 12px 16px 12px;
  }
  .web3-box > h4 {
    font-size: 14px;
  }
  .web3-grid ul {
    font-size: 12px;
    line-height: 18px;
  }
  #partners {
    margin: 100px auto 0;
    height: auto;
    padding: 60px 0;
  }

  #partners h3 {
    font-size: 24px;
  }
  .partners-row {
    gap: 10px;
  }
  .partners-logos {
    gap: 20px;
    margin: 20px auto 0;
  }
  .partners-logos img {
    max-width: 80px;
    height: 44px;
  }
  .touch {
    margin-bottom: 10px;
  }
  .touch p {
    font-size: 18px;
    background-size: calc(50%) 18px;
    height: 24px;
    padding-right: 150px;
  }
  .footer-left,
  .footer-right {
    font-size: 10px;
  }
  .footer-img img {
    height: 16px;
  }
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 30px;
  }
  main {
    padding: 0 0.5vw;
    min-height: 100vh;
    box-sizing: border-box;
    max-width: 100vw;
  }

  #main-term ul {
    margin-top: 40px;
    gap: 40px;
  }

  #solutions {
    margin-top: 100px;
  }

  #solutions h4 {
    font-size: 30px;
  }

  .solutions-slide-text p:nth-child(1) {
    font-size: 24px;
  }

  .solutions-slide-text p:nth-child(2) {
    font-size: 12px;
  }

  .footer-wrap {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .banner p {
    font-size: 32px;
  }
}
