/* =========================
   Pretendard 폰트 및 기본 세팅
   ========================= */
@charset "UTF-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Pretendard";
  overflow-x: hidden;
  color: #fff;
}

#main-scrollbar {
  min-height: 100vh;
}

.header-container {
  padding: 15px 17px 0 17px;
}

.scroll-content {
  margin-top: 15px;
}

.container {
  width: 100%;
  margin: 0 auto;
}

.section-padding {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* =========================
   버튼 스타일
   ========================= */

.section-fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.main-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.button-primary {
  background-color: #0066ff;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-primary:hover {
  background-color: #0055dd;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.button-outline {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.button-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.button {
  display: inline-block;
  padding: 12px 30px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* =========================
   메인/섹션 타이틀 스타일
   ========================= */
.main-title {
  font-size: 76px;
  font-weight: 700;
  text-align: center;
}

.main-subtitle {
  font-weight: 400;
  font-size: 34px;
  margin-bottom: 40px;
  text-align: center;
}

.section-title {
  font-size: 58px;
  margin-bottom: 30px;
  font-weight: bold;
  color: #fff;
  line-height: 1.3;
  white-space: normal;
  word-break: keep-all;
}

.section-subtitle {
  font-size: 22px;
  margin-bottom: 40px;
  color: #fff;
  line-height: 1.6;
}

.section-head-title {
  color: #0066ff;
  font-size: 30px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

/* =========================
   메인 섹션 및 공통 레이아웃
   ========================= */
.sections-container {
  flex: 1;
}

.main-container {
  padding: 0 17px;
}

section {
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: left;
  padding: 0;
  position: relative;
  overflow: hidden;
}

section .content {
  width: 100%;
  text-align: left;
}

.sections-container .main-img {
  background-image: url('../img/object-1.png');
  /* background-size: cover; */
  background-repeat: no-repeat;
}

section#main {
  text-align: center;
  justify-content: center;
  color: #fff;
  height: 100vh;
}

section#whatwedo,
section#careers,
section+footer {
  background-color: #fff;
  color: #000;
}

section#whatwedo h2,
section#careers h2,
section+footer h2 {
  color: #000;
  font-weight: 700;
  line-height: 1.4;
}


section:nth-child(odd),
section:nth-child(even) {
  background-color: #000;
}

.content {
  width: 100%;
  margin: 0 auto;
}

/* =========================
   What We Do 카드 스타일
   ========================= */
#whatwedo {
  margin-top: 140px;
  margin-bottom: 160px;
  display: flex;
  align-items: center;
}

#whatwedo .content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  position: relative;
  height: 100%;
}

.whatwedo-header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  width: 88%;
}

.whatwedo-text {
  max-width: 100%;
  padding-top: 176px;
}

.whatwedo-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
  height: 100%;
  width: 100%;
}

.content-flex {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 39px;
}

.whatwedo-card {
  border-radius: 40px;
  padding: 45px 34px 0 34px;
  color: #fff;
  width: 320px;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
}

.whatwedo-card.show {
  opacity: 1;
  transform: translateY(0);
}

.whatwedo-card-1 {
  background-color: #5991FF;
  z-index: 3;
}

.whatwedo-card-2 {
  background-color: #0046AF;
  z-index: 1;
  position: relative;
}

/* Market Place 카드 회색 처리 및 오픈 예정 스타일 */
.whatwedo-card-2.coming-soon {
  background-color: #6B7280;
  opacity: 0.7;
  filter: grayscale(100%);
}

.whatwedo-card-2.coming-soon .card-content {
  opacity: 0.5;
}

.whatwedo-card-2.coming-soon .card-image {
  opacity: 0.5;
  filter: grayscale(100%);
}

.coming-soon-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: #FF6B35;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.whatwedo-card-2.coming-soon .view-more-btn {
  opacity: 0.5;
  pointer-events: none;
}

.whatwedo-card-3 {
  background-color: #2A3649;
  z-index: 2;
}

.whatwedo-card-title {
  font-size: 34px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
}

.whatwedo-card-description {
  font-size: 22px;
  line-height: 1.5;
  max-width: 100%;
  font-weight: 500;
  color: #fff !important;
}

.card-content {
  z-index: 2;
  color: #fff;
  width: 100%;
  margin-bottom: 20px;
}

.card-image {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1;
}

.whatwedo-card-3 .card-image {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 200px;
  z-index: 1;
}

.card-image img {
  max-width: 90%;
  max-height: 200px;
  object-fit: contain;
  position: absolute;
  bottom: 0;
}

.card-image-1,
.card-image-2 {
  position: absolute;
  max-width: 50%;
  max-height: 180px;
  object-fit: contain;
}

.card-image-1 {
  left: 80px;
  bottom: 0;
  z-index: 1;
}

.card-image-2 {
  width: 50%;
  right: 40px;
  bottom: 0;
  z-index: 2;
}

/* whatwedo-card의 arrow-circle 스타일 */
.whatwedo-card .view-more-btn {
  position: absolute;
  right: 20px;
  bottom: 20px;
  border-color: #fff;
  z-index: 99;
  margin-left: 0;
  cursor: pointer;
}

.whatwedo-card .arrow-circle {
  border-color: #fff;
}

.whatwedo-card .arrow-circle .fas {
  color: #fff;
}

.whatwedo-card .arrow-circle:hover {
  background-color: #fff;
  color: #0066FF;
}

/* =========================
   Partners 섹션 스타일
   ========================= */
#partners {
  padding: 0;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

#partners .content {
  width: 100%;
  padding-top: 120px;
  padding-bottom: 160px;
}

.partners-scroll {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  padding: 30px 0;
}

.partners-scroll img {
  margin-right: 80px;
  height: 40px;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

.partners-content {
  margin-top: 120px;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

.partners-image-container {
  width: 100%;
  overflow: hidden;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* =========================
   Careers 섹션 스타일
   ========================= */
#careers {
  padding-top: 120px;
  padding-bottom: 160px;
}

#careers .content {
  width: 100%;
}

.careers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.careers-titles {
  max-width: 70%;
}

.careers-content {
  text-align: left;
  background-image: url('../img/object-careers-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 40px;
  height: 370px;
}


/* =========================
   View More 버튼
   ========================= */
.view-more-btn {
  display: inline-flex;
  align-items: center;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: absolute;
  right: 0;
  bottom: 20px;
}

.view-more-btn i {
  font-size: 14px;
  color: #000;
  transition: all 0.3s ease;
}

.view-more-btn:hover {
  color: #0066ff;
}

.view-more-btn:hover .arrow-circle {
  background-color: #0066ff;
  border-color: #0066ff;
}

.view-more-btn:hover i {
  color: #fff;
  transform: translateX(3px);
}

.arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #000;
  margin-left: 14px;
  transition: all 0.3s ease;
}

/* 어두운 배경에서의 스타일 */
section:not(#whatwedo):not(#careers) .view-more-btn,
section:not(#whatwedo):not(#careers) .view-more-btn i {
  color: #fff;
}

section:not(#whatwedo):not(#careers) .arrow-circle {
  border-color: #fff;
}

section:not(#whatwedo):not(#careers) .arrow-circle:hover {
  border-color: #0066ff;
}

/* =========================
   스크롤 다운 애니메이션
   ========================= */
.scroll-down-container {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-down-container.hidden {
  opacity: 0;
  pointer-events: none;
}

.keep-scrolling-text {
  display: block;
  font-size: 16px;
  letter-spacing: 1px;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  opacity: 0.9;
  position: relative;
  z-index: 20;
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 140px;
  background-color: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.scroll-dot {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: #fff;
  animation: scrollDown 1.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollDown {
  0% {
    top: -40%;
  }

  100% {
    top: 100%;
  }
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0.7;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

/* =========================
   tech 섹션 스타일
   ========================= */
#tech {
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  height: auto;
  padding-bottom: 120px;
}

#tech .content {
  width: 100%;
  padding-top: 120px;
}

.tech-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.tech-titles {
  max-width: 70%;
}

.tech-content {
  text-align: left;
}

.tech-image {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 40px;
}

/* =========================
   스크롤 탑 버튼
   ========================= */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 99;
  border: 1px solid #000;
}

.scroll-top:hover {
  background-color: #0066FF;
  color: #fff;
  border: 1px solid #0066FF;
}

.scroll-top img {
  width: 13px;
}

/* =========================
   반응형 스타일
   ========================= */

@media (max-width: 1600px) {
  section#main {
    height: auto;
    padding-top: 350px;
    padding-bottom: 350px;
  }

  .container,
  section .content {
    /* padding: 0 150px; */
  }

  .whatwedo-card {
    height: 340px;
    width: 250px;
  }

  .main-subtitle {
    font-size: 2.0vw;
  }

  .whatwedo-card-title {
    font-size: 1.5vw;
  }

  .whatwedo-card-description {
    font-size: 1.1vw;
    font-weight: 400;
  }

  .main-title {
    font-size: 3.5vw;
  }

  .section-title {
    font-size: 3.0vw;
  }

  .section-subtitle {
    font-size: 1.3vw;
  }

  .arrow-circle {
    width: 40px;
    height: 40px;
  }

  .section-padding {
    padding: 0 180px;
  }

  #knewman-section-2{
    padding: 0 180px;
  }

}

@media (max-width: 1200px) {

  .section-padding {
    padding: 0 100px;
  }

  .container,
  .submenu-wrapper {
    /* padding: 0 30px; */
  }

  .whatwedo-card {
    width: 350px;
    height: 220px;
  }

  .whatwedo-card-title {
    font-size: 1.7vw;
  }

  .tech-image,
  .careers-image {
    height: 300px;
  }

  .whatwedo-card-description {
    font-size: 1.3vw;
  }

  #whatwedo .content {
    flex-direction: column;
  }

  .whatwedo-header {
    width: 100%;
  }

  .whatwedo-text {
    padding-top: 100px;
  }

  .card-image {
    right: 0;
    left: unset;
    width: 70%;
    position: absolute;
    bottom: 0;
  }

  .card-image-2 {
    right: 10px;
  }

  .whatwedo-card-3 .card-image {
    width: 45%;
  }

  .whatwedo-content {
    justify-content: center;
    width: 100%;
  }

  #knewman-section-2{
    padding: 0 100px;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 0 50px;
  }

  .scroll-line {
    height: 100px;
  }

  .container,
  section .content {
    /* padding: 0 50px; */
  }

  #whatwedo .content {
    flex-direction: column;
  }

  .whatwedo-header {
    width: 100%;
  }

  .whatwedo-text {
    padding-top: 50px;
  }

  .card-image {
    right: 0;
    left: unset;
    width: 70%;
  }

  .card-image-2 {
    right: 10px;
  }

  .whatwedo-card-3 .card-image {
    width: 45%;
  }

  .whatwedo-card-title {
    font-size: 1.9vw;
  }

  .whatwedo-card-description {
    font-size: 1.5vw;
  }

  .whatwedo-content {
    justify-content: center;
    width: 100%;
  }

  .main-subtitle {
    font-size: 2.2vw;
  }

  .main-title {
    font-size: 4.0vw;
  }

  .section-title {
    font-size: 4.0vw;
  }

  .section-subtitle {
    font-size: 2.0vw;
  }

  .arrow-circle {
    width: 40px;
    height: 40px;
  }

  .partners-scroll img {
    height: 40px;
    margin-right: 40px;
  }

  .partners-scroll {
    padding: 15px 0;
  }

  #knewman-section-2{
    padding: 0 20px;
  }

}

@media (max-width: 768px) {

  .section-padding {
    padding: 0 20px;
  }

  .main-subtitle {
    font-size: 2.5vw;
  }

  .main-title {
    font-size: 4.5vw;
  }

  .content-flex {
    width: 100%;
  }

  .section-subtitle {
    font-size: 2.5vw;
  }

  .whatwedo-card {
    width: 100%;
    height: 220px;
  }

  #whatwedo .content {
    flex-direction: column;
    height: auto;
  }

  .whatwedo-header {
    width: 100%;
  }

  .whatwedo-text {
    padding-top: 50px;
  }

  .card-image {
    right: 0;
    left: unset;
    width: 70%;
  }

  .card-image-2 {
    right: 10px;
  }

  .whatwedo-card-3 .card-image {
    width: 45%;
  }

  .whatwedo-card-title {
    font-size: 2.5vw;
  }

  .whatwedo-card-description {
    font-size: 2.2vw;
  }

  .card-image-1 {
    left: unset;
  }

  .whatwedo-content {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .card-content {
    margin-bottom: 20px;
  }

  .partners-image-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .partners-scroll img {
    height: 30px;
  }

  .tech-image,
  .careers-image {
    height: 200px;
  }

}

@media (max-width: 480px) {
  .scroll-content {
    margin-top: 0;
  }

  .header-container {
    padding: 0;
  }

  .main-container {
    padding: 0;
  }

  .sections-container {
    padding-top: 70px;
    background-color: #000;
  }

  section#main {
    padding-top: 140px;
    padding-bottom: 140px;
  }

  .scroll-down-container {
    display: none;
  }

  .main-subtitle {
    font-size: 2rem;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .main-title {
    font-size: 1.3rem;
  }

  .sections-container .main-img {
    background-position: center;
  }

  #tech {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  #tech .content {
    padding-top: 100px;
  }

  .tech-header {
    margin-bottom: 30px;
  }

  .view-more-btn {
    display: none;
  }

  .tech-item {
    width: 100%;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .tech-titles {
    max-width: 100%;
  }

  .tech-content {
    width: 100vw;
    margin-left: -20px;
  }

  .tech-image {
    border-radius: 0;
    height: auto;
  }

  #whatwedo {
    margin-top: 100px;
    margin-bottom: 100px;
  }

  .whatwedo-header {
    margin-bottom: 0px;
  }

  .whatwedo-content {
    gap: 0;
  }

  .content-flex {
    gap: 0px;
  }

  .whatwedo-card {
    width: 100vw;
    border-radius: 0;
  }

  .whatwedo-card-title {
    font-size: 2rem;
  }

  .whatwedo-card-description {
    font-size: 1.1rem;
  }

  .card-image {
    width: 50%;
  }

  .card-image img {
    max-width: 100%;
  }

  .whatwedo-text {
    padding-top: 0;
  }

  #partners .content {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .partners-image-container {
    padding-bottom: 0;
  }

  .partners-content {
    margin-top: 0;
  }

  #careers {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .careers-header {
    margin-bottom: 30px;
    display: unset;
  }

  .careers-titles {
    max-width: 100%;
    font-size: 1.4rem;
  }

  .careers-content {
    width: 100vw;
    margin-left: -20px;
    border-radius: 0;
    height: 200px;
  }
}