:root {
  --blue: #006bb6;
  --blue-dark: #00467d;
  --ink: #142235;
  --muted: #667386;
  --line: #dfe7f0;
  --soft: #f3f8fc;
  --yellow: #f8b400;
  --green: #08764f;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(15, 45, 72, 0.13);
}

* { 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(--white);
  line-height: 1.65;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 24px rgba(22,39,58,.08);
  backdrop-filter: blur(16px);
}
.topbar { background: #0f2237; color: rgba(255,255,255,.86); font-size: 14px; }
.topbar__inner { min-height: 38px; display: flex; align-items: center; gap: 24px; }
.language { margin-left: auto; display: flex; gap: 6px; }
.language__item {
  border: 0;
  color: rgba(255,255,255,.76);
  background: transparent;
  cursor: pointer;
  padding: 2px 8px;
}
.language__item.is-active { color: var(--white); border-bottom: 2px solid var(--yellow); }
.navbar__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { width: 210px; height: auto; }
.nav-links {
  margin-left: clamp(80px, 13vw, 220px);
  display: flex;
  align-items: center;
  gap: 42px;
  color: #1e2c3c;
  font-size: 16px;
  font-weight: 600;
}
.nav-links a { position: relative; padding: 26px 0; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
  background: var(--blue);
}
.nav-links a:hover::after, .nav-links a.is-current::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  background: #d9ecf8;
}
.hero-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 806;
  height: auto;
}
.hero-slide { position: absolute; inset: 0; opacity: 0; overflow: hidden; transition: opacity .55s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: fill;
  object-position: center;
}
.hero-slide:nth-child(2) img { object-position: center; }
.hero-slide:nth-child(3) img { object-position: center; }
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: clamp(8px, 1.15vw, 22px);
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot { width: 34px; height: 5px; border: 0; border-radius: 999px; background: rgba(255,255,255,.68); cursor: pointer; }
.hero-dot.is-active { background: var(--yellow); }

.page-hero {
  min-height: 300px;
  display: grid;
  align-items: center;
  color: var(--white);
  background: linear-gradient(90deg, rgba(4,40,72,.88), rgba(0,107,182,.55)), url("./products/bg1.png") center / cover;
}
.page-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.15; }
.page-hero p { max-width: 650px; margin: 14px 0 0; color: rgba(255,255,255,.82); font-size: 18px; }

.quick-values { background: linear-gradient(90deg, #073052, #004f88); color: var(--white); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.value-item {
  min-height: 190px;
  padding: 34px 34px 30px;
  border-left: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  align-content: center;
}
.value-item:last-child { border-right: 1px solid rgba(255,255,255,.16); }
.value-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: #18304a;
  font-size: 24px;
  font-weight: 800;
  grid-row: span 2;
}
.value-item strong { font-size: 23px; line-height: 1; }
.value-item p { margin: 10px 0 0; color: rgba(255,255,255,.76); font-size: 15px; }

.section { padding: 86px 0; }
.section--soft { background: var(--soft); }
.section-heading { text-align: center; margin-bottom: 42px; }
.section-heading span { display: block; color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: 0; }
.section-heading h1, .section-heading h2 { margin: 6px 0 10px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading--left { text-align: left; margin-bottom: 24px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--white);
  border: 1px solid rgba(7,48,82,.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(11,46,73,.07);
}
.product-card__media {
  display: grid;
  place-items: center;
  height: 230px;
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card__body { padding: 22px; }
.product-card__body span { color: var(--blue); font-weight: 800; font-size: 13px; }
.product-card h3 { margin: 6px 0 6px; font-size: 21px; line-height: 1.35; }
.product-card strong { display: block; color: #22344a; font-size: 15px; margin-bottom: 10px; }
.product-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.arrow-link { color: var(--blue); font-weight: 800; }

.about-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.about-copy p { color: #4c5a6b; margin: 0 0 14px; }
.about-stats { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.about-stats div { padding: 18px; border: 1px solid var(--line); border-radius: 8px; }
.about-stats strong { display: block; color: var(--blue); font-size: 20px; line-height: 1.25; }
.about-stats span { color: var(--muted); font-size: 14px; }
.about-visual {
  min-height: 460px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: url("./products/jianjieimg.png") center / cover;
}

.advantage-section {
  min-height: 430px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(rgba(7, 25, 43, .62), rgba(7, 25, 43, .62)),
    url("./products/js_bg.jpg") center / cover no-repeat;
}
.advantage-section .section-heading p, .advantage-grid p { color: rgba(255,255,255,.72); }
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.advantage-grid article {
  padding: 34px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(7, 25, 43, .56);
  backdrop-filter: blur(2px);
}
.advantage-grid span { color: var(--yellow); font-size: 38px; font-weight: 800; }
.advantage-grid h3 { margin: 12px 0 10px; font-size: 24px; }
.advantage-grid p { margin: 0; }

.product-detail { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: start; padding: 76px 0; }
.product-detail__media {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 28px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background-color: var(--white);
  border: 1px solid var(--line);
}
.product-detail__media img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
}
.product-detail__copy span { color: var(--blue); font-weight: 800; }
.product-detail__copy h1 { margin: 8px 0 4px; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; }
.product-detail__copy h2 { margin: 0 0 18px; font-size: 24px; color: #2d4258; }
.product-detail__copy p { color: var(--muted); }
.detail-info {
  margin: 28px 0 26px;
  border-top: 1px solid var(--line);
}
.detail-info section {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.detail-info h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}
.detail-info p {
  margin: 0;
  color: var(--muted);
}
.detail-info ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.detail-info li + li {
  margin-top: 8px;
}
.spec-list { margin: 24px 0; border-top: 1px solid var(--line); }
.spec-list div { display: grid; grid-template-columns: 94px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--ink); font-weight: 800; }
.spec-list dd { margin: 0; color: var(--muted); }
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-list article { padding: 24px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: #4c5a6b; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: var(--white); }
.news-card time { display: inline-block; color: var(--blue); font-weight: 800; margin-bottom: 12px; }
.news-card h3 { margin: 0 0 12px; font-size: 22px; }
.news-card p { margin: 0 0 18px; color: var(--muted); }
.news-card a { color: var(--blue); font-weight: 800; }

.contact-layout { display: grid; grid-template-columns: 1fr 340px; gap: 42px; align-items: start; }
.contact-panel { padding: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.contact-panel h2 { margin: 0 0 16px; }
.contact-panel ul { list-style: none; padding: 0; margin: 0; }
.contact-panel li { padding: 12px 0; border-bottom: 1px solid var(--line); color: #4c5a6b; }
.qr-card { padding: 24px; border-radius: 8px; background: #0f2237; color: var(--white); }
.qr-card img { width: 190px; height: 190px; padding: 8px; background: var(--white); border-radius: 6px; }

.footer {
  position: relative;
  color: rgba(255,255,255,.78);
  background: #081725;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--yellow);
}
.footer-grid {
  padding: 64px 0 54px;
  display: grid;
  grid-template-columns: .9fr 1.15fr 210px;
  align-items: start;
  gap: clamp(36px, 6vw, 88px);
}
.footer-brand img { width: 220px; padding: 12px; background: var(--white); border-radius: 6px; }
.footer-brand p { max-width: 390px; margin: 22px 0 0; line-height: 1.9; }
.footer-contact h2 { margin: 0 0 14px; color: var(--white); font-size: 22px; }
.footer-contact ul { margin: 0; padding: 0; list-style: none; }
.footer-contact li { margin-bottom: 12px; line-height: 1.75; }
.footer-contact a { color: var(--white); }
.text-button { border: 0; padding: 0; color: var(--white); background: transparent; cursor: pointer; text-decoration: underline; }
.footer-qr {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
}
.footer-qr img { display: block; width: 100%; aspect-ratio: 1; background: var(--white); padding: 8px; border-radius: 6px; }
.footer-qr p { margin: 12px 2px 2px; font-size: 14px; line-height: 1.7; }
.wechat-button { display: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; color: rgba(255,255,255,.55); font-size: 13px; text-align: center; }

.mobile-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: env(safe-area-inset-bottom);
  background: #081725;
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -8px 28px rgba(8,23,37,.2);
}
.mobile-actions a, .mobile-actions button {
  position: relative;
  min-height: 58px;
  display: grid;
  grid-template-rows: 20px 17px;
  gap: 3px;
  place-items: center;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
}
.mobile-actions a.is-current { color: var(--white); }
.mobile-actions a.is-current::after {
  content: "";
  position: absolute;
  top: 0;
  left: 28%;
  right: 28%;
  height: 3px;
  background: var(--yellow);
}
.mobile-actions a::before,
.mobile-actions button::before {
  display: block;
  color: var(--yellow);
  font-size: 19px;
  line-height: 1;
}
.mobile-actions a:nth-child(1)::before { content: "⌂"; }
.mobile-actions a:nth-child(2)::before { content: "☎"; }
.mobile-actions button:nth-child(3)::before { content: "微"; }
.mobile-actions a:nth-child(4)::before { content: "✉"; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 82px;
  z-index: 30;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: rgba(8,23,37,.92);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 6px;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 10, 18, .68);
}
.wechat-modal.is-open { display: flex; }
.wechat-modal__panel {
  position: relative;
  width: min(430px, 100%);
  padding: 34px 30px 32px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  text-align: center;
}
.wechat-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  color: #263342;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}
.wechat-modal__panel img {
  width: min(310px, 86vw);
  height: auto;
  margin: 0 auto 18px;
}
.wechat-modal__panel h2 {
  margin: 0 0 8px;
  font-size: 26px;
}
.wechat-modal__panel p {
  margin: 8px 0;
  color: #3f4e60;
  font-size: 18px;
}

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  body { padding-bottom: calc(59px + env(safe-area-inset-bottom)); }
  .topbar__inner { flex-wrap: wrap; gap: 8px 16px; padding: 8px 0; }
  .navbar__inner { min-height: 68px; }
  .brand img { width: 172px; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 18px;
    background: var(--white);
    border-top: 1px solid var(--line);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 0; }
  .nav-links a::after { bottom: 8px; }
  .value-grid, .product-grid, .advantage-grid, .news-grid, .about-layout, .product-detail, .feature-list, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-grid { padding-bottom: 86px; }
  .mobile-actions { display: grid; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1200px); }
  .topbar { font-size: 12px; }
  .language { width: 100%; margin-left: 0; }
  .hero-track {
    aspect-ratio: 1920 / 806;
    height: auto;
    background: transparent;
  }
  .hero-slide img {
    object-fit: fill;
    object-position: center;
  }
  .hero-controls { bottom: 8px; }
  .page-hero { min-height: 240px; }
  .value-item { min-height: 0; grid-template-columns: 48px 1fr; padding: 24px 18px; }
  .value-item__icon { width: 48px; height: 48px; }
  .section-heading h1, .section-heading h2 { font-size: 30px; }
  .product-card__media {
    height: 255px;
    padding: 14px;
  }
  .product-detail__media {
    min-height: 310px;
    padding: 16px;
  }
  .product-detail__media img { max-height: 310px; }
  .detail-info section {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .detail-info h3 {
    font-size: 17px;
  }
  .about-visual { min-height: 330px; }
  .wechat-modal__panel { padding: 28px 18px 26px; }
  .wechat-modal__panel h2 { font-size: 22px; }
  .wechat-modal__panel p { font-size: 16px; }
}
