:root {
  --ink: #15181d;
  --muted: #5a6470;
  --line: #dfe5e8;
  --paper: #f6f8f7;
  --white: #ffffff;
  --deep: #071411;
  --deep-2: #0e1e19;
  --green: #1f7a4f;
  --green-bright: #62bf7f;
  --orange: #ef6232;
  --steel: #6d7883;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  height: 76px;
  padding: 0 44px;
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  width: 230px;
  min-width: 190px;
}

.brand img {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
}

.site-nav a {
  color: currentColor;
  opacity: 0.86;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  margin-right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
}

.site-header.is-scrolled .language-toggle,
.site-header.is-open .language-toggle {
  border-color: var(--line);
}

.language-toggle button {
  min-width: 38px;
  height: 32px;
  padding: 0 8px;
  color: currentColor;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.language-toggle button[aria-pressed="true"] {
  color: var(--white);
  background: var(--green);
}

.nav-action,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.nav-action,
.primary-link {
  color: var(--white);
  background: var(--green);
}

.secondary-link {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 4px;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 14, 12, 0.9), rgba(5, 14, 12, 0.62) 43%, rgba(5, 14, 12, 0.12)),
    linear-gradient(0deg, rgba(5, 14, 12, 0.62), rgba(5, 14, 12, 0) 38%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(var(--max), calc(100% - 48px));
  min-height: 760px;
  margin: 0 auto;
  padding-top: 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green-bright);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(920px, 100%);
  margin-top: 78px;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
}

.hero-metrics div {
  padding: 22px 26px 0 0;
}

.hero-metrics strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.section {
  scroll-margin-top: 88px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 80px;
  align-items: start;
}

.intro h2 {
  margin-bottom: 0;
}

.intro p,
.section-heading p,
.portfolio-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 18px;
}

.product-lines article,
.proof-grid article,
.patent-grid article,
.scenario-grid article,
.cooperation-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-lines span,
.cooperation-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dark-band {
  width: 100%;
  max-width: none;
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(31, 122, 79, 0.22), rgba(239, 98, 50, 0.1)),
    var(--deep);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 80px;
  max-width: none;
  align-items: end;
}

.dark-band .section-heading p,
.dark-band article p {
  color: rgba(255, 255, 255, 0.68);
}

.architecture,
.proof-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.architecture article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.architecture span {
  display: block;
  margin-bottom: 30px;
  color: var(--orange);
  font-weight: 800;
}

.proof-grid article {
  min-height: 250px;
  padding: 28px;
}

.proof-grid strong {
  display: block;
  margin-bottom: 26px;
  color: var(--orange);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
}

.proof-grid p,
.patent-grid p,
.scenario-grid p,
.timeline p,
.product-lines p,
.cooperation-grid p {
  color: var(--muted);
}

.image-band {
  position: relative;
  scroll-margin-top: 88px;
  height: 520px;
  color: var(--white);
  overflow: hidden;
}

.image-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 14, 12, 0.82), rgba(5, 14, 12, 0.18));
}

.image-band div {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 72px;
  width: min(720px, calc(100% - 48px));
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.scenario-grid article {
  min-height: 220px;
  padding: 28px;
}

.portfolio {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  align-items: center;
}

.product-lines {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.product-lines article {
  padding: 22px;
}

.product-lines h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.product-lines p {
  margin-bottom: 0;
  font-size: 15px;
}

.product-visual {
  border-radius: 8px;
  overflow: hidden;
  background: #e9edf0;
}

.product-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.patent {
  border-top: 1px solid var(--line);
}

.patent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.patent-grid article {
  min-height: 230px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(31, 122, 79, 0.06), rgba(255, 255, 255, 0)),
    var(--white);
}

.cooperation {
  width: 100%;
  max-width: none;
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--white);
}

.cooperation-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: stretch;
}

.cooperation-layout > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

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

.cooperation-grid article {
  padding: 26px;
  background: var(--paper);
}

.contact {
  position: relative;
  scroll-margin-top: 88px;
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 80px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  overflow: hidden;
}

.contact > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(5, 14, 12, 0.88), rgba(5, 14, 12, 0.34));
}

.contact-panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
}

.contact-panel h2 {
  max-width: 920px;
  font-size: clamp(32px, 4vw, 42px);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.contact-list p {
  margin: 0;
  font-size: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: var(--deep);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    height: 68px;
    padding: 0 20px;
  }

  .brand {
    width: 190px;
  }

  .site-nav,
  .language-toggle,
  .nav-action {
    display: none;
  }

  .menu-button {
    display: block;
    justify-self: end;
  }

  .site-header.is-open .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    display: grid;
    width: 100%;
    padding: 20px;
    gap: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-header.is-open .language-toggle {
    position: absolute;
    top: 282px;
    left: 20px;
    display: inline-flex;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .intro-grid,
  .section-heading.split,
  .portfolio,
  .cooperation-layout {
    grid-template-columns: 1fr;
  }

  .architecture,
  .proof-grid,
  .patent-grid,
  .scenario-grid,
  .cooperation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .dark-band,
  .cooperation {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 680px) {
  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-copy,
  .intro p,
  .section-heading p,
  .portfolio-copy p,
  .contact-panel p {
    font-size: 16px;
  }

  .hero-metrics,
  .architecture,
  .proof-grid,
  .patent-grid,
  .scenario-grid,
  .cooperation-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-metrics div {
    padding-top: 16px;
  }

  .architecture article,
  .proof-grid article,
  .patent-grid article,
  .scenario-grid article,
  .cooperation-grid article {
    min-height: auto;
    padding: 24px;
  }

  .image-band {
    height: 440px;
  }

  .product-visual img,
  .cooperation-layout > img {
    height: 360px;
    min-height: 0;
  }

  .site-footer {
    display: grid;
  }
}
