@import url('../lib/fonts/inter.css');
@import url('../lib/fonts/source-han-sans-cn.css');

:root {
  --site-font-latin: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --site-font-cjk: 'Source Han Sans CN';
  --site-font-sans: var(--site-font-cjk), var(--site-font-latin);
  --page-gutter: clamp(16px, 3.4vw, 48px);
  --content-max: min(1170px, calc(100vw - (var(--page-gutter) * 2)));
}

body {
  font-family: var(--site-font-sans);
}

body.menu-open {
  overflow: hidden;
}

#siteHeader {
  transition: background-color 260ms ease, box-shadow 260ms ease;
}

#siteHeader.is-scrolled {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.is-scrolled #mobileMenuBtn {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.2);
}
.logo-color{
  display: none;
}
.is-scrolled .logo-white {
  display: none;
}
.is-scrolled .logo-color {
  display: block;
}

#siteHeader.video-logo-color .logo-white {
  display: none;
}

#siteHeader.video-logo-color .logo-color {
  display: block;
}
.wrap { 
  --gutter: clamp(18px, 3vw, 44px);
  --max: min(1170px, calc(100vw - var(--gutter) * 2));
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(540px, 100vw);
  height: 100svh;
  background: #e8e8e8;
  color: black;
  backdrop-filter: blur(8px);
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-right: none;
  box-shadow: -18px 20px 48px rgba(0, 0, 0, 0.18);
  transform: translateX(104%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 400ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 350ms ease, visibility 350ms ease;
  z-index: 49;
  padding-top: 90px;
}

.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: calc(100svh - 90px);
  gap: 0;
  padding: 30px 0 0;
  overflow-y: auto;
}

.mobile-menu-content::after {
  content: '';
  display: block;
  width: 100%;
  height: 10px;
  margin-top: auto;
  background: #0034bb;
}

.mobile-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 15px 42px;
}

.mobile-menu-group {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.mobile-menu.is-open .mobile-menu-group {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu-group:nth-child(1) { transition-delay: 60ms; }
.mobile-menu.is-open .mobile-menu-group:nth-child(2) { transition-delay: 120ms; }
.mobile-menu.is-open .mobile-menu-group:nth-child(3) { transition-delay: 180ms; }
.mobile-menu.is-open .mobile-menu-group:nth-child(4) { transition-delay: 240ms; }

.mobile-menu.is-open .mobile-menu-group .mobile-menu-link:nth-child(1) { transition-delay: 140ms; }
.mobile-menu.is-open .mobile-menu-group .mobile-menu-link:nth-child(2) { transition-delay: 180ms; }
.mobile-menu.is-open .mobile-menu-group .mobile-menu-link:nth-child(3) { transition-delay: 220ms; }
.mobile-menu.is-open .mobile-menu-group .mobile-menu-link:nth-child(4) { transition-delay: 260ms; }

.mobile-menu-title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 400;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* padding-top: 2px; */
}

.mobile-menu-link {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms ease 100ms, transform 400ms ease 100ms, color 200ms ease;
}

.mobile-menu.is-open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-link:hover {
  color: #0034bb;
}

#mobileMenuBtn > span span {
  transform-origin: center;
  transition: transform 360ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 260ms ease;
}

#mobileMenuBtn {
  position: relative;
  z-index: 51;
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease;
}

#mobileMenuBtn.is-open {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.2);
}

#mobileMenuBtn.is-open > span span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#mobileMenuBtn.is-open > span span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.5);
}

#mobileMenuBtn.is-open > span span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.language-selector {
  position: relative;
}
.bg-white .language-trigger {
  color: #0f172a;
}
.bg-white .language-icon{
  filter: none;
}
.language-trigger {
  color: #ffffff;
  transition: color 260ms ease, background-color 260ms ease, border-color 260ms ease;
}

.language-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
}

.language-icon {
  filter: brightness(0) invert(1);
  transition: filter 260ms ease;
}

.is-scrolled .language-trigger {
  color: #0f172a;
}

.is-scrolled .language-trigger:hover {
  background: rgba(15, 23, 42, 0.06);
}

.is-scrolled .language-icon {
  filter: none;
}

.language-option {
  display: block;
  padding: 8px 16px;
  color: #3f3f3f;
  text-decoration: none;
  transition: background-color 200ms ease;
}

.language-option:hover {
  background-color: #f5f5f5;
}

.language-option.active {
  background-color: #e8e8e8;
  font-weight: 500;
}

.language-dropdown {
  display: none;
}

.language-dropdown.show {
  display: block;
}

@media (max-width: 420px) {
  .mobile-menu-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
/**返回顶部*/
#backToTopButton {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(20px, 3vw, 32px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: #fefefe;
  color: black;
  box-shadow: 0 6px 14px rgba(16, 56, 176, 0.20);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.92);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease, box-shadow 220ms ease;
  z-index: 60;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#backToTopButton.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#backToTopButton:hover {
  /* box-shadow: 0 18px 34px rgba(16, 56, 176, 0.36); */
  transform: translateY(-2px);
}

#backToTopButton:focus-visible {
  outline: 3px solid rgba(216, 141, 45, 0.7);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  #backToTopButton {
    width: 48px;
    height: 48px;
    right: 14px;
    bottom: 18px;
  }
}
.container-1170 {
  width: 100%;
  max-width: var(--content-max, min(1170px, calc(100vw - (var(--page-gutter, clamp(16px, 3.4vw, 48px)) * 2))));
  margin: 0 auto;
  padding-left: var(--page-gutter, clamp(16px, 3.4vw, 48px));
  padding-right: var(--page-gutter, clamp(16px, 3.4vw, 48px));
}

@media (min-width: 1600px) {
  .container-1170 {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 767px) {
  .container-1170.fit {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}
.field-line {
  border: 0;
  border-bottom: 2px solid #7e7e7e;
  border-radius: 0;
  background: transparent;
  padding: 9px 0 21px;
  font-size: 14px;
  color: #111111;
  outline: 0;
}

.field-line::placeholder {
  color: #565656;
}

.field-line:focus {
  border-bottom-color: #111111;
}
.content-shell {
  background-color: #ffffff;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(0, 0, 0, 0.02) 0,
    rgba(0, 0, 0, 0.02) 1px,
    transparent 1px,
    transparent 7px
  );
}
.service-pattern {
  background-color: #ffffff;
  background-image: linear-gradient(rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15)), url('/assets/f27b69c92ccfab6296bda37bdde5dbfc9df41910.webp');
  background-size: contain;
  background-repeat: no-repeat;
}

.icon-check{
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url(/assets/icon-check.svg) center / contain no-repeat;
}
.icon-wave{
  display: inline-block;
  width: 72px;
  height: 24px;
  background: url(/assets/icon-wave.svg) center / contain no-repeat;
}
.icon-arrow-right{
  display: inline-block;
  width: 24px;
  height: 13px;
  background: url(/assets/icon-arrow-right.svg) center / contain no-repeat;
}
.icon-arrow-left{
  display: inline-block;
  width: 24px;
  height: 13px;
  transform: rotate(180deg);
  background: url(/assets/icon-arrow-right.svg) center / contain no-repeat;
}
.icon-global{
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url(/assets/icon-global.svg) center / contain no-repeat;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #ffffff;
  background-color: #0034bb;
  border: none;
  cursor: pointer;
}
.btn-rounded{
  border-radius: 999px;
}