:root {
  --ink: #142033;
  --muted: #637083;
  --line: #dce3ea;
  --brand: #0077b6;
  --brand-2: #00a676;
  --accent: #f3a712;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --deep: #0b1d3a;
  --shadow: 0 18px 50px rgba(17, 33, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 227, 234, 0.85);
  backdrop-filter: blur(12px);
}

.brand img {
  width: min(302px, 52vw);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: #23334a;
  font-size: 15px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--brand-2);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav .lang-switch {
  min-width: 42px;
  padding: 6px 10px;
  color: var(--brand);
  border: 1px solid rgba(0, 119, 182, 0.28);
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
}

.main-nav .lang-switch::after {
  display: none;
}

.nav-toggle,
.nav-button {
  display: none;
}

.hero {
  min-height: clamp(520px, 74vh, 690px);
  display: grid;
  align-items: center;
  padding: 72px clamp(22px, 6vw, 90px);
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(8, 22, 47, 0.88), rgba(8, 22, 47, 0.5), rgba(8, 22, 47, 0.12)),
    url("hero-generated.jpg");
  background-position: center;
  background-size: cover;
}

.hero-inner {
  width: min(720px, 100%);
}

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

.hero .eyebrow {
  color: #8ce6cf;
}

.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn.primary {
  border-color: var(--brand-2);
  background: var(--brand-2);
  color: #06231d;
}

.btn.secondary {
  color: #fff;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head h2,
.solution-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-head p:last-child,
.solution-copy p,
.contact-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.brand-grid a,
.quick-grid a {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 132px;
  padding: 18px;
  background: var(--soft);
  border: 1px solid #e4edf3;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.brand-grid a:hover,
.quick-grid a:hover,
.product-card:hover,
.news-list a:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 166, 118, 0.45);
  box-shadow: 0 16px 36px rgba(17, 33, 55, 0.1);
}

.brand-grid img {
  max-width: 108px;
  max-height: 48px;
  object-fit: contain;
}

.brand-grid span,
.quick-grid span {
  margin-top: 12px;
  color: #26384f;
  font-weight: 700;
  text-align: center;
}

.products {
  width: 100%;
  background: var(--soft);
}

.products .section-head,
.product-grid {
  width: min(1180px, calc(100% - 44px));
  margin-right: auto;
  margin-left: auto;
}

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

.product-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid #e2e9ef;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf3f7;
}

.product-card span {
  display: block;
  padding: 16px 18px 18px;
  color: #1b2c44;
  font-size: 17px;
  font-weight: 800;
}

.solution-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.solution-copy {
  padding-right: 12px;
}

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

.solution-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.solution-image img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}

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

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.quick-grid img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.news-section {
  width: 100%;
  background: var(--deep);
  color: #fff;
}

.news-section .section-head,
.news-list {
  width: min(1180px, calc(100% - 44px));
  margin-right: auto;
  margin-left: auto;
}

.news-section .section-head p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

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

.news-list a {
  min-height: 160px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-list span {
  display: block;
  color: #8ce6cf;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-list strong {
  display: block;
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.5;
}

.customers {
  text-align: center;
}

.customers .section-head {
  margin-right: auto;
  margin-left: auto;
}

.customers img {
  width: min(960px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin-bottom: 36px;
  padding: 48px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.contact-lines a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 800;
}

.qr-list {
  display: flex;
  gap: 20px;
}

.qr-list figure {
  margin: 0;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
}

.qr-list img {
  width: 126px;
  height: 126px;
  object-fit: cover;
}

.qr-list figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 26px clamp(22px, 6vw, 90px);
  color: rgba(255, 255, 255, 0.78);
  background: #071629;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 980px) {
  .site-header {
    min-height: 66px;
  }

  .nav-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav-button span,
  .nav-button span::before,
  .nav-button span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    content: "";
  }

  .nav-button span {
    position: relative;
  }

  .nav-button span::before,
  .nav-button span::after {
    position: absolute;
    left: 0;
  }

  .nav-button span::before {
    top: -7px;
  }

  .nav-button span::after {
    top: 7px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    padding: 10px 18px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
  }

  .nav-toggle:checked ~ .main-nav {
    display: block;
  }

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

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

  .solution-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .news-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 560px;
    padding: 62px 22px;
    background-position: 42% center;
  }

  .hero h1 {
    font-size: 34px;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 58px 0;
  }

  .products .section-head,
  .product-grid,
  .news-section .section-head,
  .news-list {
    width: min(100% - 32px, 1180px);
  }

  .brand-grid,
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    padding: 28px;
  }

  .qr-list {
    flex-wrap: wrap;
  }
}
