:root {
  --blue: #128bd3;
  --deep-blue: #075a91;
  --green: #1c9363;
  --ink: #14242f;
  --text: #425462;
  --muted: #8a98a4;
  --line: #e7edf2;
  --pale: #f6fafc;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(22, 64, 91, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei UI",
    "Microsoft YaHei", Arial, sans-serif;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 clamp(28px, 5vw, 92px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(18, 50, 70, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 4px;
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 42px);
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.nav a:hover {
  color: #38c3ff;
}

.site-header.is-scrolled .nav a:hover {
  color: var(--blue);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .menu-button {
  border-color: var(--line);
  background: var(--white);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding: 120px clamp(30px, 8vw, 128px) 118px;
  color: var(--white);
  background: #082638;
}

.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  object-position: center bottom;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 20, 30, 0.22), rgba(2, 20, 30, 0.08) 35%, rgba(255, 255, 255, 0.04)),
    linear-gradient(0deg, rgba(2, 20, 30, 0.28), transparent 36%, rgba(2, 20, 30, 0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  margin-right: clamp(0px, 5vw, 80px);
  text-align: left;
}

.eyebrow {
  margin: 0 0 12px;
  color: #4bbdff;
  font-size: 18px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 18px;
  color: #16a0e5;
  font-size: clamp(38px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.18;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.hero-copy {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.9;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 800;
}

.primary-action {
  color: var(--white);
  background: linear-gradient(135deg, #12a7e8, #0b74bd);
  box-shadow: 0 12px 28px rgba(12, 126, 195, 0.28);
}

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

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 72px;
  z-index: 3;
  display: flex;
  gap: 16px;
  transform: translateX(-50%);
}

.hero-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.hero-dots span:nth-child(2) {
  outline: 3px solid rgba(255, 255, 255, 0.78);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  padding: 30px clamp(18px, 4vw, 70px);
  border-right: 1px solid var(--line);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 15px;
}

.section,
.contact {
  padding: 92px clamp(28px, 5vw, 92px);
}

.section-title {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  margin-bottom: 54px;
}

.section-title span {
  height: 1px;
  background: var(--line);
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(360px, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}

.solution-image {
  overflow: visible;
  border-radius: 0;
  box-shadow: var(--shadow);
  background: #f4f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.solution-list {
  display: grid;
  gap: 44px;
}

.solution-list article {
  position: relative;
  padding-left: 24px;
  cursor: pointer;
  outline: none;
  transition: color 180ms ease, transform 180ms ease;
}

.solution-list article:hover,
.solution-list article:focus-visible {
  transform: translateX(4px);
}

.solution-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 10px solid currentColor;
  color: #a9b6bf;
}

.solution-list .is-active,
.solution-list .is-active h3 {
  color: var(--blue);
}

.solution-list p {
  margin: 0;
  line-height: 1.85;
}

.product-center {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(560px, 1.38fr);
  gap: 56px;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), var(--white)),
    linear-gradient(90deg, #f7fbfe, #ffffff);
}

.product-intro p,
.tech-copy p,
.contact p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
}

.product-intro strong {
  display: block;
  margin: 42px 0 18px;
  color: var(--blue);
  font-size: 17px;
}

.product-intro span,
.tech-copy span,
.contact span {
  display: block;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.9;
}

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

.product-cards article {
  overflow: hidden;
  background: linear-gradient(180deg, #f7f9fb, #ffffff);
  box-shadow: var(--shadow);
}

.product-cards img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-cards h3 {
  margin: 0;
  padding: 22px 18px 26px;
  text-align: center;
  font-size: 18px;
}

.scenario {
  background: var(--pale);
}

.scenario-grid,
.case-grid,
.tech-grid {
  display: grid;
  gap: 26px;
}

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

.scenario-grid article {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.scenario-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.scenario-grid article:hover img {
  transform: scale(1.04);
}

.scenario-grid div {
  position: absolute;
  inset: auto 0 0;
  padding: 90px 26px 28px;
  background: linear-gradient(0deg, rgba(5, 44, 69, 0.9), transparent);
}

.scenario-grid h3 {
  color: var(--white);
}

.scenario-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

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

.case-grid article {
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.case-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-grid div {
  padding: 24px;
}

.case-grid p,
.tech-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.tech {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
  gap: 60px;
  align-items: start;
  background:
    linear-gradient(120deg, rgba(7, 70, 102, 0.92), rgba(7, 116, 117, 0.88)),
    url("assets/microbe-tech.jpg") center / cover;
}

.tech h2,
.tech-copy p {
  color: var(--white);
}

.tech-copy span {
  color: rgba(255, 255, 255, 0.78);
}

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

.tech-grid article {
  min-height: 210px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
}

.tech-grid strong {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 22px;
}

.tech-grid h3 {
  color: var(--ink);
}

.tech-grid p {
  color: #5d7080;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(4, 42, 65, 0.92), rgba(10, 102, 107, 0.82)),
    url("assets/project-aerial.jpg") center / cover;
}

.contact h2 {
  color: var(--white);
}

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

.contact-phone {
  display: block;
  margin-top: 24px;
  color: var(--white);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(28px, 5vw, 92px);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .hero {
    justify-content: flex-start;
  }

  .solution-layout,
  .product-center,
  .tech {
    grid-template-columns: 1fr;
  }

  .product-center {
    align-items: start;
  }
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 0;
  }

  .metrics,
  .scenario-grid,
  .case-grid,
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 72px;
    padding-inline: 16px;
  }

  .brand {
    font-size: 15px;
  }

  .brand img {
    width: 42px;
    height: 34px;
  }

  .brand span {
    max-width: 220px;
  }

  .hero {
    min-height: 78vh;
    padding: 92px 20px 96px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions a,
  .contact a {
    width: 100%;
  }

  .metrics,
  .product-cards,
  .scenario-grid,
  .case-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .contact {
    padding: 64px 20px;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 34px;
  }

  .section-title span {
    width: 72px;
  }

  .solution-list {
    gap: 28px;
  }

  .scenario-grid article {
    min-height: 320px;
  }

  .contact,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
