/* 1. 全局兜底：没有就补上 */
*, *::before, *::after { box-sizing: border-box; }
img{display:block;max-width:100%;height: auto;}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  height: 64px;
  background: #fff;
}

body {
  padding-top: 64px;
}

.nav-shell {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 0 60px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.brand img {
  display: block;
  width: 164px;
  height: auto;
}

.site-nav {
  display: flex;
  height: 100%;
  justify-content: center;
  gap: 54px;
}

.nav-item {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  color: #5F5E5E;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}

.nav-link i {
  width: 0;
  height: 0;
  border-top: 5px solid #26302c;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform .18s;
}

.nav-item:hover .nav-link {
  color: var(--header-green);
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  z-index: 50;
  display: none;
  top: calc(100% - 1px);
  padding: 20px 16px;
  background: #fff;
  border: 1px solid #e5e8e7;
  border-radius: 12px;
  box-shadow: 0 22px 28px rgba(26, 40, 34, .16);
}

.nav-item:hover>.dropdown {
  display: grid;
}

.dropdown-products {
  width: 740px;
  left: 50%;
  grid-template-columns: repeat(3, 1fr);
  transform: translateX(-27%);
}

.dropdown-solutions, .dropdown-products1 {
  width: 505px;
  left: 50%;
  grid-template-columns: repeat(2, 1fr);
  transform: translateX(-50%);
}

.dropdown-compact {
  width: 255px;
  left: 50%;
  grid-template-columns: 1fr;
  transform: translateX(-50%);
}

.dropdown-column {
  min-width: 0;
  padding: 0 15px;
  border-right: 1px solid #ebeeed;
}

.dropdown-column:last-child {
  border-right: 0;
}

.dropdown h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 4px 8px;
  color: #168c36;
  font-size: 16px;
  font-weight: 500;
}

.dropdown h3 img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.dropdown a {
  display: block;
  /*min-height: 31px;*/
  padding: 4px 8px;
  color: #171b19;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 16px;
  line-height: 31px;
  text-decoration: none;
}

.dropdown a:hover,
.dropdown a:focus,
.dropdown a.current {
  color: #158d35;
  background: #ecf7ed;
}
#hang_toggle2{
  display: none;
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
}
.nav-actions-small {
  display: none;
}
.language-switcher {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
}

.language {
  padding: 12px 4px;
  color: #30B043;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  font-family:"SharpSans",sans-serif;
}

.language-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  width: 58px;
  top: calc(100% + 8px);
  right: -45px;
  padding: 12px 0;
  background: #fff;
  border: 1px solid #e5e8e7;
  border-radius: 10px;
  box-shadow: 0 16px 24px rgba(26, 40, 34, .14);
  text-align: center;
  transform: translateX(-50%);
  font-family:"SharpSans",Arial,sans-serif;;
}

.language-switcher:hover .language-menu,
.language-switcher:focus-within .language-menu,
.language-switcher.open .language-menu {
  display: block;
}

.language-menu a {
  display: block;
  padding: 5px 0;
  color: #30B043;
  font-size: 16px;
  text-decoration: none;
}

.language-menu a.active, .language.active, .language:hover,
.language-menu a:hover {
  color: #000000;
}

.menu-toggle {
  display: none;
}

.trial-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(100deg, var(--header-lime), #75dd49 30%, var(--header-green-dark));
  border: 0;
  border-radius: 999px;
  font-weight: 500;
  transition: box-shadow .2s, transform .2s;
}

.trial-button:hover {
  box-shadow: 0 9px 24px rgba(40, 182, 71, .22);
  transform: translateY(-2px);
}

.trial-small {
  width: 110px;
  height: 40px;
  font-size: 16px;
}

.beian-link {
  text-decoration: none;
  color: #FFFFFF78;
}

.beian-link:hover {
  text-decoration: underline;
}

@media (max-width: 1020px) {
  .nav-shell {
    grid-template-columns: 1fr auto 1fr;
  }

  .site-nav {
    gap: 25px;
  }

  .nav-actions {
    gap: 3px;
  }
}

@media (max-width: 780px) {
  body {
    padding-top: 68px;
  }

  .site-header {
    height: 68px;
  }

  .nav-shell {
    display: flex;
    width: 100%;
    padding: 0 16px;
    justify-content: space-between;
  }

  .brand img {
    width: 140px;
  }

  .menu-toggle {
    display: grid;
    /*width: 68px;*/
    height: 42px;
    margin-left: 20px;
    padding: 10px;
    place-content: center;
    gap: 5.5px;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .menu-toggle>span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--header-ink);
    transition: transform .2s, opacity .2s;
  }

  .menu-toggle[aria-expanded="true"]>span:nth-child(1) {
    transform: translateY(8px) rotate(50deg);
  }

  .menu-toggle[aria-expanded="true"]>span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"]>span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    display: none;
    height: auto;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    top: 68px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--header-line);
    box-shadow: 0 15px 28px rgba(15, 52, 39, .12);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-item {
    display: block;
    height: auto;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 12px 15px;
  }

  .nav-item.open>.nav-link {
    position: relative;
    z-index: 131;
    background: #fff;
  }

  .nav-item:hover>.dropdown,
  .nav-item:focus-within>.dropdown {
    display: none;
  }

  .nav-item.open>.dropdown {
    display: grid;
  }

  .dropdown {
    position: static;
    width: auto;
    margin: 0 8px 8px;
    padding: 16px 10px;
    border-radius: 6px;
    box-shadow: none;
    transform: none;
  }

  .dropdown-products,
  .dropdown-solutions {
    grid-template-columns: 1fr;
  }

  .dropdown-products {
    grid-template-columns: 1fr 1fr;
    max-height: calc(100vh - 190px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .dropdown-products .dropdown-column:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    padding-bottom: 0;
  }

  .dropdown-products .dropdown-column:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .dropdown-products .dropdown-column:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
    padding-top: 0;
  }

  .dropdown-column {
    min-width: 0;
    padding: 8px 10px;
    border-right: 0;
    /*border-bottom: 1px solid #ebeeed;*/
    margin-bottom: 16px;
  }

  .dropdown-column:last-child {
    border-bottom: 0;
  }
  .dropdown-column1 {

    margin-bottom: 0 !important;
  }
  .dropdown a {
    white-space: normal;
    font-size: 14px;
  }
  .dropdown h3 {
    font-size: 14px;
  }
  .nav-actions {
    height: auto;
    margin-left: 20px;
  }

  /*.language {
    display: none;
  }*/

  .trial-small {
    width: 94px;
    height: 36px;
    font-size: 13px;
  }
}


@media (hover: hover) and (min-width: 781px) {
  .site-nav:has(.nav-item:hover) .nav-item.open:not(:hover)>.dropdown {
    display: none;
  }
}

/* Keep statistics typography consistent across the homepage and inner pages. */
.metrics,
.product-metrics,
.kyc-metrics {
  background: #fff;
}

.metric strong,
.product-metric-grid strong,
.kyc-metric-grid strong {
  font-size: 46px;
}

.metric span,
.product-metric-grid h2,
.kyc-metric-grid h2 {
  color: #151a18;
  font-size: 20px;
}

.product-metric-grid p,
.kyc-metric-grid p {
  font-size: 14px;
}

/* Keep the white statistics bands consistent across the site. */
.product-metrics,
.kyc-metrics {
  display: flex;
  align-items: center;
  /*height: 550px;*/
}

.kyc-metrics--two-row {
  /*height: 826px;*/
  padding: 78px 0 82px;
}

/*.product-metrics--two-row {
  height: 826px;
}*/

.product-metrics--two-row .product-metric-grid,
.kyc-metrics--three-col .kyc-metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/*.metrics {
  height: 284px;
}*/

@media (min-width: 721px) {
  .product-metrics--two-row .product-metric-grid,
  .kyc-metrics--two-row .kyc-metric-grid {
    height: 100%;
    align-content: space-evenly;
    row-gap: 0;
  }
}

@media (max-width: 720px) {
  .metrics,
  .product-metrics,
  .kyc-metrics,
  .kyc-metrics--two-row {
    height: auto;
  }

  .product-metrics--two-row {
    height: auto;
  }

  .product-metrics--two-row .product-metric-grid,
  .kyc-metrics--three-col .kyc-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Match core-advantage images to the width of their neighboring copy column. */
.advantage-row > img,
.database-advantage-row > img,
.antifraud-feature > img,
.model-feature > img,
.kyc-feature > img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Allow process-step titles and subtitles to be selected and copied. */
.process-steps button,
.process-steps button strong,
.process-steps button small,
.database-process-steps button,
.database-process-steps button strong,
.database-process-steps button small {
  -webkit-user-select: text;
  user-select: text;
}

/* Keep process-step title and subtitle typography consistent site-wide. */
.process-steps strong,
.process-steps li.active strong,
.database-process-steps strong,
.database-process-steps li.active strong {
  color: #171D15;
  font-size: 18px;
  font-weight: 400;
}

.process-steps small,
.database-process-steps small {
  color: #64748B;
  font-size: 14px;
  font-weight: 400;
  cursor: default;
}

/* Enlarge core-advantage visuals while preserving their aspect ratio. */
@media (max-width: 721px) {
  .advantage-row > img,
  .database-advantage-row > img,
  .antifraud-feature > img,
  .model-feature > img,
  .kyc-feature > img {
    width: calc(100% + 40px);
    max-width: none;
    height: auto;
    margin-left: -20px;
    margin-right: -20px;
  }

  .process-steps strong,
  .process-steps li.active strong,
  .database-process-steps strong,
  .database-process-steps li.active strong {
    font-size: 16px;
    font-weight: 400;
  }

  .process-steps small{
    font-size: 14px;font-weight: 400;
  }

}

@media (max-width: 480px) {
  .brand img {
    width: 126px;
  }

  .nav-actions {
    display: none;
  }
  .nav-actions-small{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .process-steps button{
    min-height: 17px;
    padding: 4px 0 4px 48px;
  }

  .process-steps button > span{
    width: 30px;
    height: 30px;
    font-size: 14px;
  }


}