* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
}
body {
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    sans-serif;
  background: #000412;
  color: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
}
.header .header-inner {
  max-width: 113rem;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}
.header .logo {
  height: 2.8125rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}
.header .logo picture {
  height: 100%;
  display: flex;
  align-items: center;
}
.header .logo picture img,
.header .logo img {
  height: 100%;
  width: auto;
  display: block;
  filter: brightness(100%) contrast(100%);
  transition: all 0.3s ease;
}
header.header.scrolled .logo img,
header.header.scrolled .logo picture img {
  filter: brightness(110%) contrast(105%);
}
.header .gnb-center {
  display: flex;
  justify-content: center;
  flex: 1;
}
.header .gnb {
  display: flex;
  gap: 3.7rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.header .gnb li {
  position: relative;
  list-style: none;
}
.header .gnb a {
  color: #fff;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 400 !important;
  position: relative;
  padding: 0.625rem 0;
  display: block;
  white-space: nowrap;
  transition: color 0.2s ease;
}
header.header.scrolled .gnb a {
  color: #f8f9fa;
  font-weight: 400 !important;
}
.header .gnb a:hover {
  color: #bc2d3d;
}
.header .gnb li.active a::after,
.header .gnb a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.125rem;
  background: linear-gradient(90deg, #bc2d3d 0%, #bc2d3d 100%);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.header .gnb li.active a::after {
  transform: scaleX(1);
}
.header .gnb a:hover::after {
  transform: scaleX(1);
}
.header .hamburger {
  position: relative;
  z-index: 1001;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}
.header .hamburger span {
  width: 2rem;
  height: 0.125rem;
  background: white;
  margin: 0.2rem 0;
  transition: all 0.3s ease;
  border-radius: 0.125rem;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
header.header.scrolled .hamburger span {
  background: #e9ecef;
  box-shadow: none;
}
body.menu-open .header .hamburger {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(
    135deg,
    rgba(18, 18, 43, 0.97) 0%,
    rgba(19, 19, 37, 0.95) 100%
  );
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 20000;
}
body.menu-open .header {
  pointer-events: none;
}
.fullscreen-menu .close-btn {
  position: absolute;
  top: 2.3rem;
  right: 2.3rem;
  background: none;
  border: 0.125rem solid rgba(255, 255, 255, 0.6);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.3125rem;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  z-index: 99999 !important;
  pointer-events: auto !important;
}
.fullscreen-menu .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
  transform: scale(1.05);
}
.fullscreen-menu .menu-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.7rem;
  max-width: 75rem;
  width: 100%;
  padding: 0 2.5rem;
}
.fullscreen-menu .menu-section h2 {
  font-size: 2.15rem;
  margin-bottom: 1.25rem;
  border-bottom: 0.125rem solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  font-weight: 600;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  transition: border-color 0.3s ease;
}
.fullscreen-menu .menu-section:hover h2 {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.fullscreen-menu .menu-section ul,
.fullscreen-menu .menu-section li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fullscreen-menu .menu-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5125rem 0;
  border-radius: 0.25rem;
}
.fullscreen-menu .menu-section a:hover {
  color: white;
  padding-left: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
}
@media (max-width: 1100px) {
  .header .header-inner {
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header .gnb {
    gap: 1.5rem;
  }
  .header .gnb a {
    font-size: 1rem;
  }
  .fullscreen-menu .menu-content {
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .header .hamburger,
  .fullscreen-menu .close-btn {
    right: 1rem;
  }
  .header .hamburger {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 0;
    align-self: center;
  }
  .header .logo {
    align-self: center;
  }
}
@media (max-width: 1100px) {
  .header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10000;
  }
  .header .header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
  }
  .header .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .header .hamburger {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 0;
    align-self: center;
  }
  .header .gnb-center {
    position: relative;
    display: none;
  }
  .fullscreen-menu {
    padding-top: 5rem;
    box-sizing: border-box;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
    padding-bottom: env(safe-area-inset-bottom);
    padding-bottom: constant(safe-area-inset-bottom);
  }
  .fullscreen-menu .menu-content {
    margin-top: 1.5rem;
    max-height: calc(92vh - env(safe-area-inset-bottom));
    max-height: calc(92vh - constant(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(env(safe-area-inset-bottom) + 2rem);
    padding-bottom: calc(constant(safe-area-inset-bottom) + 2rem);
  }
  .fullscreen-menu::-webkit-scrollbar,
  .fullscreen-menu .menu-content::-webkit-scrollbar {
    display: none;
  }
  .fullscreen-menu,
  .fullscreen-menu .menu-content {
    scrollbar-width: none;
  }
}
@media (max-width: 900px) {
  header.header {
    min-height: 3.75rem;
  }
  header.header.scrolled {
    padding: 0.5rem 0;
  }
  .header .logo {
    height: 2rem;
  }
  .fullscreen-menu .menu-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 95vw;
    padding: 0 5vw;
    align-items: flex-start;
  }
  .header .hamburger,
  .fullscreen-menu .close-btn {
    top: 1.5rem;
    right: 0.625rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  .header .hamburger span {
    width: 1.8rem;
  }
  .fullscreen-menu .close-btn {
    font-size: 1.3rem;
  }
}
@media (max-width: 768px) {
  .header .gnb-center {
    display: none;
    width: 0;
    flex: none;
    margin: 0;
    padding: 0;
    visibility: hidden;
    opacity: 0;
  }
  .header .gnb {
    display: none;
  }
  .header .hamburger {
    padding: 0.5rem;
    margin: 0;
    flex-shrink: 0;
    display: flex;
  }
  .fullscreen-menu {
    overflow-y: auto !important;
    align-items: flex-start;
    padding-bottom: env(safe-area-inset-bottom);
    padding-bottom: constant(safe-area-inset-bottom);
  }
  .fullscreen-menu .menu-content {
    max-height: calc(85vh - env(safe-area-inset-bottom));
    max-height: calc(85vh - constant(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(env(safe-area-inset-bottom) + 3rem);
    padding-bottom: calc(constant(safe-area-inset-bottom) + 3rem);
  }
  .fullscreen-menu::-webkit-scrollbar,
  .fullscreen-menu .menu-content::-webkit-scrollbar {
    display: none;
  }
  .fullscreen-menu,
  .fullscreen-menu .menu-content {
    scrollbar-width: none;
  }
  .header .hamburger span {
    width: 2rem;
    height: 0.125rem;
    margin: 0.2rem 0;
  }
  .header .hamburger,
  .fullscreen-menu .close-btn {
    top: 1.25rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
  }
  .header .hamburger span {
    width: 1.6rem;
    margin: 0.15rem 0;
  }
  .fullscreen-menu .close-btn {
    font-size: 1.2rem;
  }
}
header.header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 10000 !important;
  background: transparent;
  padding: 0.9375rem 0;
  min-height: 7.5rem;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  transition:
    background 0.3s ease,
    padding 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}
header.header.scrolled {
  background: linear-gradient(
    135deg,
    rgba(0, 4, 18, 0.98) 0%,
    rgba(12, 23, 38, 0.99) 50%,
    rgba(0, 4, 18, 0.98) 100%
  );
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
}
header.header.scrolled .gnb a {
  color: #f8f9fa;
  text-shadow: none;
  font-weight: 400;
}
header.header.scrolled .logo img {
  filter: brightness(1.1) contrast(1.05);
}
header.header.scrolled .hamburger span {
  background: #e9ecef;
  box-shadow: none;
}
body.menu-open {
  overflow: hidden;
}
@media (max-width: 1100px) {
  .fullscreen-menu {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    align-items: flex-start;
  }
  .fullscreen-menu .menu-content {
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fullscreen-menu::-webkit-scrollbar,
  .fullscreen-menu .menu-content::-webkit-scrollbar {
    display: none;
  }
  .fullscreen-menu,
  .fullscreen-menu .menu-content {
    scrollbar-width: none;
  }
}
@media (max-width: 768px) {
  .header .logo {
    height: 2.2rem;
    max-width: 55vw;
  }
  .header .logo picture,
  .header .logo picture img,
  .header .logo img {
    height: 100%;
    max-height: 2.2rem;
    width: auto;
    object-fit: contain;
  }
  .fullscreen-menu {
    overflow-y: auto !important;
    align-items: flex-start;
  }
  .fullscreen-menu .menu-content {
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .fullscreen-menu::-webkit-scrollbar,
  .fullscreen-menu .menu-content::-webkit-scrollbar {
    display: none;
  }
  .fullscreen-menu,
  .fullscreen-menu .menu-content {
    scrollbar-width: none;
  }
}
body.menu-open {
  overflow: hidden !important;
  touch-action: none !important;
}
#fullpage > .section:first-child,
.main-visual.dark-hero {
  padding-top: 7.5rem !important;
  box-sizing: border-box;
}
body.sub-page-body main {
  margin-top: 0rem;
}
@media (max-width: 1100px) {
  #fullpage > .section:first-child,
  .main-visual.dark-hero {
    padding-top: 5rem !important;
  }
  body.sub-page-body main {
    margin-top: 5rem;
  }
}
@media (max-width: 900px) {
  #fullpage > .section:first-child,
  .main-visual.dark-hero {
    padding-top: 3.75rem !important;
  }
  body.sub-page-body main {
    margin-top: 3.75rem;
  }
}
@media (max-width: 768px) {
  #fullpage > .section:first-child,
  .main-visual.dark-hero {
    padding-top: 4rem !important;
  }
  body.sub-page-body main {
    margin-top: 4rem;
  }
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 3.5rem;
  margin-left: 0rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}
.lang-btn {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}
.lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.lang-btn.active {
  color: #ffffff;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}
.lang-divider {
  color: rgba(255, 255, 255, 0.3);
}
.header .header-inner {
  max-width: 113rem;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header .gnb-center {
  display: flex;
  justify-content: center;
  flex: 1;
}
@media (max-width: 1100px) {
  .lang-switch {
    margin-left: 0.75rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 1100px) {
  .header .gnb-center {
    display: none;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 4, 18, 0.9);
    backdrop-filter: blur(10px);
  }
  .header .header-inner {
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .header .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  .header .logo img {
    height: 2.1rem;
  }
  .lang-switch {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
  }
  .lang-btn {
    padding: 0.1rem 0.3rem;
    border-radius: 0.2rem;
  }
  .lang-btn.active {
    border-width: 1px;
  }
  .lang-divider {
    font-size: 0.7rem;
  }
  .header .hamburger {
    display: flex;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    margin: 0;
    width: 2.3rem;
    height: 2.3rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1001;
  }
  .header .hamburger span {
    width: 1.6rem;
    height: 0.11rem;
  }
}
@media (max-width: 480px) {
  .header .header-inner {
    padding: 0.45rem 0.6rem;
  }
  .header .logo img {
    height: 1.9rem;
  }
  .lang-switch {
    font-size: 0.7rem;
    margin-right: 0.5rem;
    gap: 0.2rem;
  }
  .header .hamburger {
    top: 0.6rem;
    right: 0.6rem;
    width: 2.1rem;
    height: 2.1rem;
  }
  .header .hamburger span {
    width: 1.4rem;
  }
}
