:root {
  --ink: #132238;
  --muted: #5d6a78;
  --line: #dbe3ea;
  --blue: #073f8f;
  --blue-2: #08a1db;
  --red: #d8232a;
  --steel: #edf2f6;
  --panel: #ffffff;
  --shadow: 0 18px 45px rgba(21, 39, 64, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  background: #f7fafc;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 10px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid rgba(219, 227, 234, .88);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

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

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: #2b3b4f;
  font-size: 15px;
}

nav a {
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: var(--blue);
  border-color: var(--blue-2);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f4f8fb;
}

.lang-button {
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 4px;
  color: #516173;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.lang-button:hover {
  color: var(--blue);
}

.lang-button.is-active {
  color: #fff;
  background: var(--blue);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.12);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: end;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 64px);
  overflow: hidden;
  background: #101a25;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 45, .92) 0%, rgba(7, 24, 45, .72) 44%, rgba(7, 24, 45, .20) 100%),
    linear-gradient(0deg, rgba(7, 24, 45, .50), transparent 45%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  color: #fff;
}

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

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

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

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(660px, 100%);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.2);
}

.hero-stats div {
  padding: 16px;
  background: rgba(10, 24, 40, .58);
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: rgba(255,255,255,.74);
}

section {
  padding: clamp(58px, 8vw, 100px) clamp(18px, 5vw, 64px);
}

.band {
  background: #fff;
}

.section-heading {
  width: min(860px, 100%);
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.value-grid,
.product-grid,
.problem-grid,
.steps {
  display: grid;
  gap: 18px;
}

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

.value-grid article,
.product-card,
.problem-grid article,
.contact-card,
.steps li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(21, 39, 64, .07);
}

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

.icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

.value-grid p,
.product-card p,
.problem-grid span,
.steps span,
.contact p {
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
}

.product-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(250px, .85fr) 1fr;
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: var(--steel);
}

.product-card.featured img {
  height: 100%;
  min-height: 380px;
}

.product-card div {
  padding: 24px;
}

.tag {
  margin-bottom: 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 20px;
}

.solution {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}

.solution img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

tbody tr:nth-child(even) {
  background: #f2f8fc;
}

.application-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}

.application-layout > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 12px;
  border: 1px solid #b8dcef;
  border-radius: 999px;
  color: #0b4c83;
  background: #e8f7fd;
  font-weight: 700;
}

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

.problem-grid article {
  padding: 20px;
}

.problem-grid strong,
.problem-grid span {
  display: block;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 180px;
  padding: 70px 22px 24px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--blue-2);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.steps strong,
.steps span {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(6, 35, 78, .96), rgba(3, 80, 140, .9)),
    url("assets/anti-line.jpg") center / cover;
}

.contact .eyebrow {
  color: #75d9ff;
}

.contact p {
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

.contact-card {
  padding: 26px;
  color: var(--ink);
  background: rgba(255,255,255,.96);
}

.contact-card p {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

.contact-card p:last-child {
  border-bottom: 0;
}

.contact-card a {
  color: var(--blue);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: #d8e8f4;
  background: #071b35;
}

footer p {
  margin: 0;
}

footer a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .product-card.featured,
  .solution,
  .application-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-column: span 1;
  }

  .product-card.featured img {
    min-height: 280px;
  }
}

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

  .header-actions {
    gap: 0;
  }

  .brand span,
  .header-cta {
    display: none;
  }

  .language-switch {
    padding: 2px;
  }

  .lang-button {
    min-height: 32px;
    padding: 6px 8px;
    font-size: 12px;
  }

  .hero {
    min-height: 760px;
    padding-top: 72px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(7,24,45,.70), rgba(7,24,45,.94) 55%, rgba(7,24,45,.98));
  }

  .hero-stats,
  .value-grid,
  .product-grid,
  .problem-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 14px;
  }

  .product-card img {
    height: 230px;
  }

  .contact-card p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  footer {
    display: block;
  }

  footer a {
    display: inline-flex;
    margin-top: 12px;
  }
}
