:root {
  --font-latin: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans", sans-serif;
  --ink: #101316;
  --graphite: #171b1f;
  --steel: #5e6870;
  --mist: #f3f5f4;
  --paper: #ffffff;
  --safety: #ff321f;
  --signal: #1b88c9;
  --line: rgba(16, 19, 22, 0.12);
  --shadow: 0 24px 60px rgba(13, 19, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-latin);
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="zh-CN"] body {
  font-family: var(--font-cjk);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 72px);
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 19, 22, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-size: 14px;
  font-weight: 450;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.site-nav a:hover {
  color: var(--paper);
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 44px;
  min-height: 32px;
  border: 0;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  font: inherit;
  font-weight: 560;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--paper);
  background: var(--safety);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--paper);
}

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

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

.hero-media {
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transform-origin: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.9) 0%, rgba(10, 12, 14, 0.66) 42%, rgba(10, 12, 14, 0.2) 78%),
    linear-gradient(0deg, rgba(10, 12, 14, 0.72) 0%, rgba(10, 12, 14, 0.08) 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding-top: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--safety);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 520;
  line-height: 1.06;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 520;
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 520;
  line-height: 1.25;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 360;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 44px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-weight: 520;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: var(--safety);
  color: var(--paper);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  max-width: 620px;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-metrics div {
  padding: 20px 18px 0 0;
}

.hero-metrics dt {
  font-size: 26px;
  font-weight: 560;
}

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

.section,
.intro-section,
.systems-section,
.projects-section,
.contact-section {
  padding: clamp(72px, 9vw, 120px) 0;
}

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

.intro-section {
  background: var(--mist);
}

.intro-grid,
.systems-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.intro-grid p:last-child,
.section-heading p,
.systems-copy p,
.contact-grid p {
  color: var(--steel);
  font-size: 17px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(260px, 0.95fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading.narrow {
  display: block;
  max-width: 620px;
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-grid-visual {
  align-items: stretch;
}

.product-card {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-visual {
  display: flex;
  flex-direction: column;
}

.product-visual img {
  width: 100%;
  aspect-ratio: 1.24;
  object-fit: contain;
  padding: 16px;
  margin-bottom: 22px;
  background: #f8f9f8;
  border: 1px solid var(--line);
}

.product-card:hover {
  background: #fbfcfb;
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.card-index {
  display: block;
  margin-bottom: 28px;
  color: var(--signal);
  font-size: 13px;
  font-weight: 560;
}

.product-card p,
.safety-grid p {
  color: var(--steel);
}

.systems-section {
  color: var(--paper);
  background: var(--graphite);
}

.systems-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 12px;
  height: 2px;
  background: var(--safety);
}

.console-panel {
  padding: clamp(24px, 4vw, 42px);
  background: #111619;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.console-top {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
}

.console-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.console-line {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1fr);
  gap: 22px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-line strong {
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
  font-weight: 540;
}

.console-line em {
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
  font-weight: 420;
  font-style: normal;
}

.console-line.active em {
  color: var(--safety);
}

.blast-map {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.blast-map span {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle, var(--signal) 0 16%, rgba(31, 154, 138, 0.18) 18% 48%, transparent 50%);
}

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

.coverage-list span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 15px;
  font-weight: 450;
}

.safety-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}

.safety-grid {
  display: grid;
  gap: 18px;
}

.safety-grid article {
  padding: 26px 28px;
  border-left: 4px solid var(--safety);
  background: var(--mist);
}

.projects-section {
  color: var(--paper);
  background: #22282b;
}

.application-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 0;
}

.application-strip a {
  position: relative;
  min-height: 108px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.045);
  font-size: 18px;
  font-weight: 560;
  line-height: 1.35;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.application-strip a:hover {
  color: var(--paper);
  background: var(--safety);
  border-color: var(--safety);
  transform: translateY(-3px);
}

.contact-section {
  background: var(--mist);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 520;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(31, 154, 138, 0.28);
  border-color: var(--signal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: var(--ink);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(16, 19, 22, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 12px;
  }

  .language-switch {
    width: 100%;
    justify-content: space-between;
    margin-top: 8px;
  }

  .language-switch button {
    flex: 1;
  }

  .intro-grid,
  .systems-grid,
  .contact-grid,
  .safety-layout,
  .section-heading {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .hero {
    min-height: 940px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 12, 14, 0.92), rgba(10, 12, 14, 0.64)),
      linear-gradient(0deg, rgba(10, 12, 14, 0.82), rgba(10, 12, 14, 0.16));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 38px;
    padding-top: 92px;
  }

  h1 {
    font-size: 40px;
  }

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

  .hero-metrics,
  .product-grid,
  .application-strip {
    grid-template-columns: 1fr;
  }

  .coverage-list,
  .console-line {
    grid-template-columns: 1fr;
  }

  .console-line {
    gap: 4px;
  }

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

  .section-inner {
    width: calc(100% - 32px);
  }

  .product-card {
    min-height: 220px;
  }

  .card-index {
    margin-bottom: 34px;
  }

  .blast-map {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer {
    display: grid;
  }
}
