:root {
  --bg: #f5f7f8;
  --ink: #101214;
  --muted: #606870;
  --line: #dce2e6;
  --panel: #ffffff;
  --dark: #0b0d10;
  --dark-soft: #15191e;
  --red: #f03845;
  --cyan: #15c7cf;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(16, 18, 20, 0.14);
  --page-max: 1920px;
  --page-pad: clamp(20px, 6vw, 86px);
  --content-x: max(var(--page-pad), calc((100vw - var(--page-max)) / 2 + var(--page-pad)));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

body.is-ready .hero-image {
  transform: scale(calc(1.04 + var(--scroll-depth, 0) * 0.018));
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--cyan));
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--content-x);
  color: #fff;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(9, 11, 14, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  min-width: 180px;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: #fff;
}

.header-action {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.hero-image,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 260ms ease-out;
  will-change: transform;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 5, 7, 0.96) 0%, rgba(7, 9, 12, 0.88) 34%, rgba(7, 9, 12, 0.32) 70%, rgba(7, 9, 12, 0.48) 100%),
    linear-gradient(180deg, rgba(7, 9, 12, 0.26) 0%, rgba(7, 9, 12, 0.92) 100%);
}

.hero-grid {
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - (var(--content-x) * 2)));
  margin-left: var(--content-x);
  padding: clamp(132px, 18vh, 188px) 0 88px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 126px);
  font-weight: 800;
  line-height: 0.92;
}

.hero-lead {
  margin: 24px 0 0;
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.16;
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.9;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.button.dark {
  border-color: rgba(16, 18, 20, 0.22);
  color: var(--ink);
}

.hero-metrics {
  display: grid;
  max-width: 700px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 48px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
}

.hero-metrics div {
  min-height: 108px;
  padding: 20px;
  background: rgba(9, 11, 14, 0.66);
}

.hero-metrics dt {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.section {
  padding: clamp(74px, 9vw, 124px) var(--content-x);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
  margin-bottom: 42px;
}

.section-heading h2,
.capability-inner h2,
.proof-panel h2,
.contact-content h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
}

.intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 100px);
  background: #fff;
}

.intro .section-heading {
  display: block;
  margin: 0;
}

.intro-copy p {
  margin: 0;
  color: #30363c;
  font-size: clamp(20px, 2.3vw, 34px);
  font-weight: 600;
  line-height: 1.6;
}

.keyword-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.keyword-row span,
.track-grid span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 16px;
  color: #2e353b;
  font-weight: 700;
}

.services {
  background: #eef2f4;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.cooperation-layout article {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
  box-shadow: 0 14px 40px rgba(16, 18, 20, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card:hover,
.cooperation-layout article:hover {
  border-color: rgba(240, 56, 69, 0.28);
  box-shadow: 0 22px 56px rgba(16, 18, 20, 0.12);
  transform: translateY(-6px);
}

.service-card.wide {
  grid-column: span 2;
}

.card-index {
  color: var(--red);
  font-weight: 800;
}

.service-card h3,
.cooperation-layout h3 {
  margin: auto 0 14px;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.22;
}

.service-card p,
.cooperation-layout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.capability-band {
  background: var(--dark);
  color: #fff;
  padding: clamp(74px, 9vw, 120px) var(--content-x);
}

.capability-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.process-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.12);
}

.process-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 24px 0;
  background: var(--dark);
}

.process-list strong {
  color: #fff;
  font-size: 18px;
}

.process-list span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.tracks {
  background: #fff;
}

.track-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.track-grid span {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 2vw, 24px);
  transition: transform 190ms ease, border-color 190ms ease, color 190ms ease;
}

.track-grid span:hover {
  border-color: rgba(21, 199, 207, 0.45);
  color: var(--red);
  transform: translateY(-4px);
}

.cooperation {
  background: #f4f7f8;
}

.cooperation-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proof-section {
  padding: 0 var(--content-x) clamp(74px, 9vw, 124px);
  background: #f4f7f8;
}

.proof-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 90px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(240, 56, 69, 0.18), transparent 34%),
    linear-gradient(315deg, rgba(21, 199, 207, 0.14), transparent 40%),
    var(--dark-soft);
  padding: clamp(34px, 6vw, 72px);
  color: #fff;
  box-shadow: var(--shadow);
}

.proof-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0 0 14px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: clamp(74px, 9vw, 124px) var(--content-x);
  background: #fff;
}

.contact-content p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.contact-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafb;
  padding: 28px;
  font-style: normal;
}

.contact-card span {
  color: var(--muted);
  font-size: 14px;
}

.contact-card strong {
  min-width: 0;
  font-size: 16px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--content-x);
  background: var(--dark);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.site-footer > div:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-wechat {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.footer-wechat img {
  width: 104px;
  height: 104px;
  border-radius: var(--radius);
  background: #fff;
  object-fit: cover;
  padding: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-content > *:nth-child(2) {
  animation-delay: 80ms;
}

.hero-content > *:nth-child(3) {
  animation-delay: 160ms;
}

.hero-content > *:nth-child(4) {
  animation-delay: 240ms;
}

.hero-content > *:nth-child(5) {
  animation-delay: 320ms;
}

.hero-content > *:nth-child(6) {
  animation-delay: 420ms;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .service-grid,
  .cooperation-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 10px var(--content-x);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand small,
  .header-action {
    display: none;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 5, 7, 0.94), rgba(7, 9, 12, 0.72)),
      linear-gradient(180deg, rgba(7, 9, 12, 0.22), rgba(7, 9, 12, 0.96));
  }

  .hero-content {
    width: calc(100% - (var(--content-x) * 2));
    margin-left: var(--content-x);
    padding: 112px 0 44px;
  }

  .hero-copy {
    line-height: 1.72;
  }

  .hero-metrics,
  .section-heading,
  .intro,
  .capability-inner,
  .proof-panel,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 34px;
  }

  .hero-metrics div {
    min-height: 92px;
    padding: 16px;
  }

  .service-grid,
  .cooperation-layout,
  .track-grid {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: auto;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .site-footer {
    display: grid;
    gap: 8px;
  }

  .footer-wechat {
    margin-top: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .reveal,
  .hero-content > * {
    opacity: 1;
    transform: none;
  }
}
