* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  height: 100%;
  font-family: "Noto Sans KR", sans-serif;
  overflow: hidden;
}

/* 네비게이션 바 스타일 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: #4dafff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #4dafff;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #4dafff;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* 스크롤 컨테이너 - 부드러운 스크롤 */
.main-container {
  height: 100vh;
  overflow-y: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
}

.main-container::-webkit-scrollbar {
  width: 8px;
}

.main-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.main-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

/* 각 섹션 스타일 */
section {
  scroll-snap-align: start;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  background-color: #fff;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
  will-change: transform, opacity;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
}
section.active {
  opacity: 1;
  transform: translateY(0);
}

/* 섹션별 미묘한 배경색 차이 */
section:nth-child(1) {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}
section:nth-child(2) {
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}
section:nth-child(3) {
  background: linear-gradient(180deg, #f5f5f5 0%, #fafafa 100%);
}
section:nth-child(4) {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}
section:nth-child(5) {
  background: #fff;
}

/* 배경 비디오 스타일 */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Intro 섹션 전용 스타일 */
#intro .content-wrapper {
  justify-content: center;
}

#intro .text-area {
  align-items: center;
  text-align: center;
}

#intro .text-area h3 {
  font-size: 4rem;
  color: #000000;
  margin: 40px 0 15px 0;
}

#intro .text-area h3::after {
  left: 50%;
  transform: translateX(-50%);
}

#intro .text-area p {
  font-size: 1.5rem;
  color: rgba(95, 95, 95, 0.9);
}

#pageMove .text-area h3 {
  font-size: 3rem;
  color: #000000;
  margin: 40px 0 15px 0;
}

.highlight-text {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight-text::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 16px;
  background: linear-gradient(90deg, #4dafff 0%, #b9d1ff 100%);
  opacity: 0.4;
  z-index: -1;
  border-radius: 2px;
}

/* 스크롤 다운 아이콘 스타일 */
.scroll-down-icon {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 24px;
  opacity: 0.6;
  cursor: pointer;
  animation: scrollFloat 2s ease-in-out infinite;
}

@keyframes scrollFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* 컨텐츠 래퍼 */
.content-wrapper {
  display: flex;
  width: 80%;
  max-width: 1400px;
  height: 80%;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.image-area {
  flex: 1;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-area img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.08));
}

.text-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-area h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #111;
  line-height: 1.2;
  position: relative;
}

.text-area h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #4dafff 0%, #b9d1ff 100%);
  border-radius: 2px;
}

.text-area p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #555;
  word-break: keep-all;
}

/* PageMove 섹션 전용 스타일 */
#pageMove .content-wrapper {
  flex-direction: column;
  justify-content: center;
  gap: 4rem;
}

#pageMove .text-area {
  flex: 0 0 auto;
  text-align: center;
  align-items: center;
}

#pageMove .text-area h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.move-buttons-container {
  display: flex;
  width: 100%;
  gap: 2rem;
  justify-content: center;
}

.move-card {
  flex: 1;
  max-width: 500px;
  height: 320px;
  background-color: #f8f9fa;
  border-radius: 40px;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.move-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.card-text {
  position: absolute;
  top: 40px;
  left: 40px;
  text-align: left;
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5rem;
  display: block;
}

.card-desc {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

.card-icon-wrapper {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.move-card:hover .card-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.card-icon-wrapper img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.wizmsecu-wrapper {
  background-color: #4dafff;
  box-shadow: 0 10px 20px rgba(77, 175, 255, 0.3);
}

.wizmsecu-wrapper img {
  filter: brightness(0) invert(1);
}

.hiflight-wrapper {
  background-color: #1a1a1a;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hiflight-wrapper img {
  filter: invert(60%) sepia(66%) saturate(3063%) hue-rotate(190deg)
    brightness(102%) contrast(102%);
}

/* 부드러운 애니메이션 효과 */
.image-area,
.text-area,
.move-buttons-container {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: all 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

section.active .image-area {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.5s;
}

section.active .text-area {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.7s;
}

section.active .move-buttons-container {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.9s;
}

/* 스크롤 인디케이터 */
.scroll-indicator {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  gap: 12px;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.scroll-dot:hover {
  background: #999;
  transform: scale(1.2);
}

.scroll-dot.active {
  background: linear-gradient(135deg, #4dafff 0%, #b9d1ff 100%);
  width: 32px;
  border-radius: 5px;
}

/* 반응형 처리 */
@media (max-width: 1024px) {
  .navbar {
    padding: 0 3%;
  }
  .nav-menu {
    gap: 1.5rem;
    font-size: 0.9rem;
  }
  .content-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    height: 85%;
  }
  .image-area {
    height: 40%;
    order: -1;
  }
  .text-area {
    height: auto;
  }
  .text-area h2 {
    font-size: 2.2rem;
  }
  #intro .text-area h2 {
    font-size: 3.5rem;
  }
  .text-area h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .text-area p {
    font-size: 1.1rem;
  }
  .move-buttons-container {
    flex-direction: column;
    align-items: center;
  }
  .move-card {
    width: 100%;
    max-width: 400px;
    height: 240px;
  }
  .card-title {
    font-size: 1.5rem;
  }
  .card-text {
    top: 30px;
    left: 30px;
  }
  .card-icon-wrapper {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
  }
  .card-icon-wrapper img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
  }
  .nav-logo {
    font-size: 1.3rem;
  }
  .nav-menu {
    gap: 1rem;
    font-size: 0.85rem;
  }
  .text-area h2 {
    font-size: 1.8rem;
  }
  #intro .text-area h2 {
    font-size: 2.5rem;
  }
  .text-area p {
    font-size: 1rem;
  }
  .content-wrapper {
    width: 90%;
  }
  .move-card {
    height: 200px;
  }
}

footer {
  background-color: #f8f8f8;
  padding: 20px 20px 40px 20px;
  text-align: left;
  border-top: 1px solid #e7e7e7;
  scroll-snap-align: end;
}

.footer-content p {
  margin: 0;
  color: #666666;
  font-size: 14px;
}
