body.site-shell .nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  max-width: 100vw;
  height: 72px;
  overflow-x: clip;
  transition: background 0.3s, border-color 0.3s;
}

body.site-shell .nav.scrolled {
  background: rgba(8, 9, 12, 0.88);
  border-bottom: 1px solid #1e2232;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.site-shell .nav-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1320px;
  height: 100%;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

body.site-shell .nav-logo {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: #e6e4df;
  font-family: 'Syne', 'IBM Plex Sans KR', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

body.site-shell .nav-logo span {
  color: #34d399;
}

body.site-shell .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.site-shell .nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  color: rgba(230, 228, 223, 0.6);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

body.site-shell .nav-link:hover,
body.site-shell .nav-link.active {
  background: #161921;
  color: #e6e4df;
}

body.site-shell .nav-right {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

body.site-shell .nav-right .btn,
body.site-shell .nav-right .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  background: #2562eb;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.65;
  text-decoration: none;
  white-space: nowrap;
}

body.site-shell .mobile-menu-toggle,
body.site-shell .mobile-menu-panel {
  display: none;
}

body.site-shell .mobile-menu-toggle {
  align-items: center;
  flex: 0 0 40px;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #2c3148;
  border-radius: 8px;
  background: #101218;
  color: #e6e4df;
}

body.site-shell .mobile-menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: currentColor;
}

body.site-shell .mobile-menu-toggle span + span {
  margin-top: 5px;
}

body.site-shell .mobile-menu-panel {
  position: fixed;
  top: 72px;
  right: 0;
  left: 0;
  border-top: 1px solid #1e2232;
  border-bottom: 1px solid #1e2232;
  background: rgba(8, 9, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.site-shell .mobile-menu-links {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 24px;
}

body.site-shell .mobile-menu-link,
body.site-shell .mobile-menu-cta {
  display: flex;
  align-items: center;
  min-height: 44px;
  border-radius: 8px;
  color: rgba(230, 228, 223, 0.74);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

body.site-shell .mobile-menu-link {
  padding: 0 12px;
}

body.site-shell .mobile-menu-link:hover,
body.site-shell .mobile-menu-link.active {
  background: #161921;
  color: #e6e4df;
}

body.site-shell .mobile-menu-cta {
  justify-content: center;
  margin: 8px 24px 20px;
  background: #2562eb;
  color: #fff;
}

body.site-shell .lang-dd {
  position: relative;
  flex: 0 1 auto;
  min-width: 0;
}

body.site-shell .lang-dd-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px 8px 10px;
  border: 1px solid #2c3148;
  border-radius: 8px;
  background: #101218;
  color: #e6e4df;
  font-family: 'DM Sans', 'IBM Plex Sans KR', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}

body.site-shell .lang-dd-btn.open,
body.site-shell .lang-dd.open .lang-dd-btn {
  background: #161921;
}

body.site-shell .lang-dd-flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
  display: block;
}

body.site-shell .lang-dd-chevron {
  margin-left: 2px;
  opacity: 0.5;
  transition: transform 0.2s;
}

body.site-shell .lang-dd.open .lang-dd-chevron {
  transform: rotate(180deg);
}

body.site-shell .lang-dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 999;
  min-width: 140px;
  overflow: hidden;
  border: 1px solid #2c3148;
  border-radius: 10px;
  background: #101218;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

body.site-shell .lang-dd.open .lang-dd-menu {
  display: block;
}

body.site-shell .lang-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border: none;
  background: transparent;
  color: rgba(230, 228, 223, 0.6);
  font-family: 'DM Sans', 'IBM Plex Sans KR', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-align: left;
  transition: background 0.12s;
}

body.site-shell .lang-dd-item.active {
  background: #161921;
  color: #e6e4df;
  font-weight: 500;
}

body.site-shell .lang-dd-item:hover {
  background: #1e2230;
}

body.site-shell .lang-dd-item img {
  width: 20px;
  height: auto;
  border-radius: 2px;
}

body.site-shell .lang-dd-check {
  margin-left: auto;
  color: #34d399;
}

@media (max-width: 900px) {
  body.site-shell .nav-inner {
    padding: 0 24px;
  }

  body.site-shell .nav-links {
    display: none;
  }

  body.site-shell .nav-right .nav-cta {
    display: none;
  }

  body.site-shell .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
  }

  body.site-shell .nav.mobile-open,
  body.site-shell .nav.mobile-open.scrolled {
    background: rgba(8, 9, 12, 0.96);
    border-bottom: 1px solid #1e2232;
  }

  body.site-shell .nav.mobile-open .mobile-menu-panel {
    display: block;
  }
}

@media (max-width: 420px) {
  body.site-shell .nav-inner {
    padding: 0 16px;
    gap: 16px;
  }

  body.site-shell .nav-right {
    gap: 8px;
  }
}

@media (max-width: 380px) {
  body.site-shell .lang-dd-label,
  body.site-shell .lang-dd-chevron {
    display: none;
  }

  body.site-shell .lang-dd-btn {
    width: 40px;
    height: 40px;
    justify-content: center;
    gap: 0;
    padding: 0;
  }
}
