:root {
  --ink: #111417;
  --graphite: #1d2428;
  --steel: #5d686d;
  --line: #d9e0df;
  --mist: #f4f7f6;
  --white: #ffffff;
  --cyan: #00a7b5;
  --green: #6ea642;
  --copper: #b45c35;
  --shadow: 0 22px 60px rgba(19, 27, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
  padding: 0 32px;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 35px rgba(14, 20, 23, 0.1);
  backdrop-filter: blur(16px);
}

.site-header.page-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 35px rgba(14, 20, 23, 0.1);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: -2px;
  font-size: 11px;
  opacity: 0.75;
}

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

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.site-header.scrolled .language-select {
  border-color: var(--line);
  background: rgba(244, 247, 246, 0.8);
}

.site-header.page-header .language-select {
  border-color: var(--line);
  background: rgba(244, 247, 246, 0.8);
}

.language-select select {
  max-width: 126px;
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: 700;
  outline: none;
}

.language-select option {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 8px 6px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 15, 0.82) 0%, rgba(10, 13, 15, 0.52) 39%, rgba(10, 13, 15, 0.08) 74%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.16));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 48px));
  margin-left: clamp(24px, 7vw, 112px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 640px;
  font-size: 68px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  color: var(--white);
  background: var(--cyan);
  border-color: var(--cyan);
}

.btn.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(680px, 100%);
  margin: 56px 0 0;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics div {
  min-height: 88px;
  padding: 18px;
  background: rgba(12, 18, 21, 0.52);
}

.hero-metrics dt {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.hero-metrics dd {
  margin: 7px 0 0;
  font-weight: 700;
}

.section {
  padding: 92px 0;
}

.page-main {
  padding-top: 72px;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-band {
  padding: 42px 0;
  background: var(--graphite);
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.intro-grid p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 0.8fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--steel);
}

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 25, 28, 0.05);
}

.product-card:nth-child(2) {
  border-top: 4px solid var(--copper);
}

.product-card:nth-child(3) {
  border-top: 4px solid var(--green);
}

.product-card:nth-child(4) {
  border-top: 4px solid var(--cyan);
}

.product-code {
  display: block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.product-card p {
  min-height: 100px;
  margin: 14px 0 18px;
  color: var(--steel);
}

.product-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
}

.product-card li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "•";
}

.capability-section {
  background: var(--white);
}

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

.capability-card,
.process-steps article,
.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 25, 28, 0.05);
}

.capability-card {
  min-height: 236px;
  padding: 24px;
}

.capability-card span,
.process-steps span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.capability-card p,
.process-steps p,
.faq-grid p {
  margin: 14px 0 0;
  color: var(--steel);
}

.selection-matrix {
  background: var(--white);
}

.matrix-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(16, 25, 28, 0.06);
}

.matrix-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.matrix-row:first-child {
  border-top: 0;
}

.matrix-row span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-left: 1px solid var(--line);
  color: var(--steel);
  font-size: 14px;
}

.matrix-row span:first-child {
  border-left: 0;
  color: var(--graphite);
  font-weight: 800;
}

.matrix-head {
  background: var(--graphite);
}

.matrix-head span,
.matrix-head span:first-child {
  color: var(--white);
}

.engineering-process {
  background: var(--mist);
}

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

.process-steps article {
  position: relative;
  min-height: 220px;
  padding: 24px;
}

.process-steps article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 8px 0 0 8px;
  background: var(--cyan);
  content: "";
}

.faq-section {
  background: var(--white);
}

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

.faq-grid article {
  padding: 24px;
}

.applications {
  background: var(--mist);
}

.app-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

.app-tabs {
  display: grid;
  gap: 8px;
}

.app-tab {
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  text-align: left;
  background: var(--white);
  cursor: pointer;
}

.app-tab.active {
  color: var(--white);
  background: var(--graphite);
  border-color: var(--graphite);
}

.app-panel {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(29, 36, 40, 0.94), rgba(17, 20, 23, 0.86)),
    radial-gradient(circle at 86% 18%, rgba(0, 167, 181, 0.32), transparent 34%);
  box-shadow: var(--shadow);
}

.panel-kicker {
  margin: 0 0 12px;
  color: #8eeaf0;
  font-weight: 800;
}

.app-panel h3 {
  max-width: 720px;
  font-size: 32px;
}

.app-panel p:not(.panel-kicker) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-row span,
.tag-row a,
.selection-notes span,
.resource-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 13px;
}

.tag-row a {
  color: var(--white);
  cursor: pointer;
}

.tag-row a:hover {
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.12);
}

.tff-detail {
  background: #f8faf9;
}

.detail-hero {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin-bottom: 44px;
}

.detail-hero h1 {
  max-width: 940px;
  color: var(--ink);
  font-size: 46px;
  line-height: 1.08;
}

.detail-hero p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--steel);
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: var(--steel);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.breadcrumb strong {
  color: var(--graphite);
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 42px;
  align-items: start;
}

.detail-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(16, 25, 28, 0.06);
}

.detail-aside strong {
  margin-bottom: 8px;
  color: var(--graphite);
}

.detail-aside a {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 14px;
}

.detail-aside a:hover {
  color: var(--cyan);
}

.detail-article {
  display: grid;
  gap: 22px;
}

.detail-article section {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-article h3 {
  margin-bottom: 16px;
  font-size: 26px;
}

.detail-article h2 {
  margin-bottom: 16px;
  font-size: 26px;
}

.detail-article p {
  color: var(--steel);
}

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

.use-grid div {
  padding: 18px;
  border-radius: 8px;
  background: var(--mist);
}

.use-grid strong {
  display: block;
  margin-bottom: 8px;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.source-list a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--graphite);
  background: var(--mist);
  font-size: 14px;
  font-weight: 700;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 0;
  padding-left: 20px;
  color: var(--steel);
}

.parameter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.parameter-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--graphite);
  background: var(--mist);
  font-size: 13px;
  font-weight: 700;
}

.detail-cta {
  margin-top: 24px;
  padding: 22px;
  border-radius: 8px;
  color: var(--white);
  background: var(--graphite);
}

.detail-cta p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.78);
}

.technology {
  background: var(--white);
}

.tech-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 70px;
  align-items: center;
}

.tech-grid p {
  color: var(--steel);
}

.comparison {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.comparison div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-left: 4px solid var(--line);
  background: var(--mist);
}

.comparison div:last-child {
  border-left-color: var(--cyan);
}

.comparison span {
  color: var(--steel);
  font-size: 14px;
}

.tech-visual {
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #182023;
  background-size: 28px 28px;
  color: var(--white);
}

.pilot {
  position: absolute;
  left: 50%;
  top: 52px;
  transform: translateX(-50%);
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #a9f2f5;
  font-size: 13px;
  font-weight: 700;
}

.pilot::after {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 62px;
  background: var(--cyan);
  content: "";
}

.valve-shell {
  position: absolute;
  left: 50%;
  top: 160px;
  width: 280px;
  height: 170px;
  transform: translateX(-50%);
}

.dome {
  width: 210px;
  height: 96px;
  margin: 0 auto;
  border: 5px solid #c7d0cf;
  border-bottom: 0;
  border-radius: 120px 120px 0 0;
}

.diaphragm {
  width: 280px;
  height: 16px;
  margin-top: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #758085, #f4fbfb, #707a7e);
}

.orifice-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.orifice-row span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(0, 167, 181, 0.8);
}

.flow-line {
  position: absolute;
  left: 50%;
  bottom: 58px;
  display: grid;
  grid-template-columns: auto 180px auto;
  gap: 12px;
  align-items: center;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.flow-line i {
  position: relative;
  height: 2px;
  background: var(--green);
}

.flow-line i::after {
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
  content: "";
}

.resources {
  padding: 52px 0;
  background: var(--graphite);
  color: var(--white);
}

.resource-strip {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 36px;
  align-items: center;
}

.resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selection {
  background: var(--mist);
}

.selection-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 58px;
  align-items: start;
}

.selection-grid p {
  color: var(--steel);
}

.selection-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.selection-notes span {
  border-color: var(--line);
  background: var(--white);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid #cdd6d5;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdfd;
}

.quote-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #101416;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

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

.footer-grid p {
  margin: 6px 0 0;
}

.footer-grid div:last-child {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    inset: 72px 16px auto 16px;
    display: none;
    padding: 16px;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .language-select span {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 13, 15, 0.88), rgba(10, 13, 15, 0.36)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.25));
  }

  h1 {
    font-size: 50px;
  }

  .intro-grid,
  .section-heading,
  .app-layout,
  .tech-grid,
  .resource-strip,
  .selection-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }

  .product-grid,
  .capability-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section-inner,
  .hero-content {
    width: min(100% - 32px, 1180px);
  }

  .hero-content {
    margin-left: 16px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

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

  .hero-metrics,
  .product-grid,
  .capability-grid,
  .process-steps,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .matrix-table {
    overflow-x: auto;
  }

  .matrix-row {
    min-width: 720px;
  }

  .use-grid,
  .source-list,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 66px 0;
  }

  .app-panel {
    padding: 28px;
  }

  .app-panel h3 {
    font-size: 25px;
  }

  .tech-visual {
    min-height: 360px;
  }

  .valve-shell {
    width: 230px;
  }

  .dome {
    width: 180px;
  }

  .diaphragm {
    width: 230px;
  }

  .flow-line {
    grid-template-columns: auto 90px auto;
    max-width: calc(100% - 30px);
    font-size: 12px;
  }

  .footer-grid,
  .footer-grid div:last-child {
    display: grid;
  }
}
