.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 70px;
  background: #ffffff;
  box-shadow: 0 3px 12px rgba(146, 148, 151, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 70px;
}

.brand {
  display: block;
  width: 105px;
  height: 22px;
  flex: 0 0 auto;
}

.brand img {
  width: 105px;
  height: 22px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 80px;
  height: 100%;
  margin-left: 140px;
}

.primary-nav a {
  position: relative;
  display: grid;
  align-items: center;
  height: 100%;
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  white-space: nowrap;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--accent);
}

.primary-nav a.is-active {
  font-weight: 500;
}

.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 20px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}

.hero {
  position: relative;
  height: 580px;
  color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-home {
  background-image: url("../lanhu_source/home/assets/01-hero-banner.webp");
}

.hero-content {
  position: relative;
  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  position: absolute;
  top: 181px;
  left: 0;
  width: 100%;
  margin: 0;
  color: #ffffff;
  font-size: 52px;
  font-weight: 600;
  line-height: 60px;
}

.hero-cta {
  position: absolute;
  top: 357px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 120px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.24);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  transform: translateX(-50%);
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.34);
}

.hero-cta:active {
  transform: translateX(-50%) translateY(1px);
}

.iso-section {
  position: relative;
  height: 698px;
  overflow: hidden;
  background: #ffffff;
}

.iso-wedge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 623px;
  height: 698px;
}

.iso-inner {
  position: relative;
  z-index: 1;
  height: 100%;
}

.iso-copy h2,
.section-title h2,
.card-system-inner > h2,
.infrastructure-intro h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0;
}

.iso-copy h2 {
  position: absolute;
  top: 110px;
  left: 0;
  width: 503px;
}

.heading-rule {
  display: block;
  width: 75px;
  height: 6px;
  background: var(--accent);
}

.iso-copy .heading-rule {
  position: absolute;
  top: 174px;
  left: 0;
}

.iso-description {
  position: absolute;
  top: 220px;
  left: 0;
  width: 525px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 40px;
}

.iso-description span {
  display: inline;
}

.iso-description span + span::before {
  content: "\A";
  white-space: pre;
}

.solid-cta {
  position: absolute;
  top: 544px;
  left: 0;
  display: grid;
  place-items: center;
  width: 130px;
  height: 44px;
  border-radius: 4px;
  color: #ffffff;
  background: var(--accent);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.solid-cta:hover {
  background: #0b5ddd;
}

.solid-cta:active {
  transform: translateY(1px);
}

.iso-photo {
  position: absolute;
  top: 110px;
  left: 557px;
  width: 643px;
  height: 478px;
  border-radius: 16px;
  object-fit: cover;
}

.erp-section {
  position: relative;
  height: 930px;
  overflow: hidden;
  color: #ffffff;
  background: #020307 url("../lanhu_source/home/assets/04-erp-world-map.webp") center / cover no-repeat;
}

.erp-inner {
  position: relative;
  height: 100%;
}

.section-title {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  text-align: center;
}

.section-title-light h2 {
  color: #ffffff;
}

.section-title .heading-rule {
  margin: 24px auto 0;
}

.erp-grid {
  position: absolute;
  top: 230px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 400px);
  grid-template-rows: repeat(2, 300px);
  width: 1200px;
  height: 600px;
  overflow: hidden;
}

.erp-photo {
  width: 400px;
  height: 300px;
  object-fit: cover;
}

.erp-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 400px;
  height: 300px;
  margin: 0;
  color: var(--ink);
  background: #edf7ff;
  text-align: center;
}

.erp-benefit img {
  width: auto;
  height: 120px;
  margin-top: 32px;
  object-fit: contain;
}

.erp-benefit h3 {
  margin: 20px 20px 0;
  color: #105bef;
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
}

.erp-benefit p {
  width: 293px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
}

.card-system-section {
  height: 1184px;
  color: #ffffff;
  background: var(--accent-strong);
}

.card-system-inner {
  position: relative;
  height: 100%;
}

.card-system-inner > h2 {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  color: #ffffff;
  text-align: center;
}

.card-system-photo {
  position: absolute;
  top: 200px;
  left: 0;
  width: 1200px;
  height: 500px;
  border-radius: 16px;
  object-fit: cover;
}

.card-feature-grid {
  position: absolute;
  top: 720px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, 590px);
  grid-template-rows: repeat(2, 172px);
  gap: 20px;
}

.card-feature {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 590px;
  height: 172px;
  padding: 32px 30px;
  border-radius: 16px;
  color: var(--ink);
  background: #ffffff;
}

.card-feature > div {
  width: 359px;
}

.card-feature h3 {
  margin: 0;
  color: var(--accent-strong);
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
}

.card-feature p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
}

.card-feature > img {
  position: absolute;
  top: 41px;
  right: 41px;
  width: auto;
  height: 90px;
  object-fit: contain;
}

.infrastructure-section {
  height: 760px;
  background: #ffffff;
}

.infrastructure-inner {
  position: relative;
  height: 100%;
}

.infrastructure-intro {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  text-align: center;
}

.infrastructure-intro p {
  width: 1106px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.infrastructure-grid {
  position: absolute;
  top: 270px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, 590px);
  gap: 20px;
}

.infrastructure-card {
  position: relative;
  width: 590px;
  height: 390px;
  overflow: hidden;
  border-radius: 16px;
  color: #ffffff;
}

.infrastructure-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-mark {
  position: absolute;
  top: 28px;
  left: 32px;
  color: rgba(255, 255, 255, 0.18);
  font-family: Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 30px;
}

.infrastructure-icon {
  position: absolute;
  left: 31px;
  object-fit: contain;
}

.backend-icon {
  top: 89px;
  width: 42px;
  height: 48px;
}

.mobile-icon {
  top: 90px;
  width: 38px;
  height: 46px;
}

.infrastructure-copy {
  position: absolute;
  top: 166px;
  left: 32px;
  width: 390px;
}

.infrastructure-copy h3 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
}

.infrastructure-copy p {
  width: 373px;
  margin: 16px 0 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.outline-cta {
  position: absolute;
  left: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 125px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 4px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  transition: background-color 160ms ease, transform 160ms ease;
}

.outline-cta img {
  width: 14px;
  height: 10px;
}

.outline-cta:hover {
  background: rgba(255, 255, 255, 0.12);
}

.outline-cta:active {
  transform: translateY(1px);
}

.site-footer {
  display: grid;
  place-items: center;
  height: 120px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--footer);
}

.site-footer p {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1279px) {
  .primary-nav {
    margin-left: clamp(40px, 10vw, 120px);
    gap: clamp(28px, 6vw, 72px);
  }

  .iso-section,
  .erp-section,
  .card-system-section,
  .infrastructure-section {
    height: auto;
  }

  .iso-section {
    padding: 88px 0;
  }

  .iso-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
    gap: 48px;
  }

  .iso-copy,
  .iso-copy h2,
  .iso-copy .heading-rule,
  .iso-description,
  .solid-cta,
  .iso-photo {
    position: static;
  }

  .iso-copy h2 {
    width: auto;
  }

  .iso-copy .heading-rule {
    margin-top: 24px;
  }

  .iso-description {
    width: auto;
    margin-top: 34px;
  }

  .solid-cta {
    margin-top: 34px;
  }

  .iso-photo {
    align-self: center;
    width: 100%;
    height: auto;
    aspect-ratio: 643 / 478;
  }

  .iso-wedge {
    width: 44%;
    height: 100%;
  }

  .erp-section,
  .card-system-section,
  .infrastructure-section {
    padding: 88px 0;
  }

  .erp-inner,
  .card-system-inner,
  .infrastructure-inner {
    height: auto;
  }

  .section-title,
  .card-system-inner > h2,
  .infrastructure-intro,
  .erp-grid,
  .card-system-photo,
  .card-feature-grid,
  .infrastructure-grid {
    position: static;
  }

  .erp-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    width: 100%;
    height: auto;
    margin-top: 64px;
  }

  .erp-photo,
  .erp-benefit {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .erp-benefit img {
    height: clamp(72px, 9vw, 112px);
    margin-top: clamp(18px, 2.5vw, 30px);
  }

  .erp-benefit h3 {
    margin-top: clamp(10px, 1.5vw, 18px);
    font-size: clamp(17px, 2vw, 22px);
  }

  .erp-benefit p {
    width: calc(100% - 40px);
    margin-top: 10px;
    font-size: clamp(14px, 1.5vw, 17px);
  }

  .card-system-photo {
    width: 100%;
    height: auto;
    margin-top: 60px;
    aspect-ratio: 12 / 5;
  }

  .card-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    margin-top: 20px;
  }

  .card-feature {
    width: 100%;
    min-height: 172px;
    height: auto;
  }

  .card-feature > div {
    width: calc(100% - 132px);
  }

  .infrastructure-intro p {
    width: min(100%, 900px);
  }

  .infrastructure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 54px;
  }

  .infrastructure-card {
    width: 100%;
    height: auto;
    aspect-ratio: 59 / 39;
  }
}

@media (max-width: 767px) {
  .site-header,
  .nav-inner {
    height: 64px;
  }

  .brand,
  .brand img {
    width: 86px;
    height: auto;
  }

  .primary-nav {
    justify-content: flex-end;
    gap: 18px;
    margin-left: auto;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .primary-nav a.is-active::after {
    bottom: 1px;
    height: 3px;
  }

  .hero {
    height: 500px;
  }

  .hero-home {
    background-position: 47% center;
  }

  .hero-content {
    width: calc(100% - 40px);
  }

  .hero h1 {
    top: 155px;
    font-size: 36px;
    line-height: 44px;
  }

  .hero-cta {
    top: 280px;
  }

  .iso-section,
  .erp-section,
  .card-system-section,
  .infrastructure-section {
    padding: 64px 0;
  }

  .iso-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .iso-wedge {
    display: none;
  }

  .iso-copy h2,
  .section-title h2,
  .card-system-inner > h2,
  .infrastructure-intro h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .iso-description {
    font-size: 17px;
    line-height: 30px;
  }

  .erp-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0;
    margin-top: 48px;
  }

  .erp-grid > :nth-child(1) {
    order: 1;
  }

  .erp-grid > :nth-child(2) {
    order: 2;
  }

  .erp-grid > :nth-child(3) {
    order: 5;
  }

  .erp-grid > :nth-child(4) {
    order: 4;
  }

  .erp-grid > :nth-child(5) {
    order: 3;
  }

  .erp-grid > :nth-child(6) {
    order: 6;
  }

  .erp-benefit img {
    height: 104px;
    margin-top: 28px;
  }

  .erp-benefit h3 {
    margin-top: 16px;
    font-size: 22px;
  }

  .erp-benefit p {
    font-size: 16px;
    line-height: 21px;
  }

  .card-system-photo {
    margin-top: 42px;
    border-radius: 12px;
  }

  .card-feature-grid {
    grid-template-columns: 1fr;
  }

  .card-feature {
    min-height: 196px;
    padding: 28px 24px;
    border-radius: 12px;
  }

  .card-feature > div {
    width: calc(100% - 92px);
  }

  .card-feature h3 {
    font-size: 19px;
    line-height: 24px;
  }

  .card-feature p {
    font-size: 15px;
    line-height: 22px;
  }

  .card-feature > img {
    top: 50%;
    right: 20px;
    height: 72px;
    transform: translateY(-50%);
  }

  .infrastructure-intro p {
    margin-top: 20px;
    font-size: 15px;
    line-height: 24px;
  }

  .infrastructure-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .infrastructure-card {
    min-height: 360px;
    aspect-ratio: auto;
  }

  .infrastructure-copy {
    top: 148px;
    width: calc(100% - 64px);
  }

  .infrastructure-copy h3 {
    font-size: 21px;
  }

  .infrastructure-copy p {
    width: 100%;
    font-size: 13px;
    line-height: 20px;
  }

  .outline-cta {
    bottom: 24px;
  }

  .site-footer {
    height: 104px;
  }

  .site-footer p {
    max-width: 320px;
    font-size: 10px;
    line-height: 16px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
