:root {
  color-scheme: light;
  --blue: #0757b8;
  --blue-deep: #071b3b;
  --cyan: #11c7e8;
  --amber: #ff9f1c;
  --ink: #111827;
  --muted: #637083;
  --line: #dde5ef;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(14, 45, 83, 0.13);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #101820, var(--blue));
  font-weight: 800;
}

.brand strong,
.brand small { display: block; }

.brand strong { font-size: 20px; letter-spacing: 0; }
.brand small { color: var(--muted); font-size: 12px; margin-top: -4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.main-nav a {
  padding: 24px 18px;
  color: #263b58;
}

.main-nav a:hover {
  color: var(--blue);
  background: #eef5ff;
}

.nav-cta {
  margin-left: 8px;
  border-radius: 6px;
  color: #fff !important;
  background: var(--blue);
  padding: 10px 18px !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #081322;
}

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

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

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 27, 0.95) 0%, rgba(6, 23, 49, 0.76) 43%, rgba(4, 16, 34, 0.1) 100%),
    repeating-linear-gradient(110deg, rgba(17, 199, 232, 0.08) 0 1px, transparent 1px 42px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 84px clamp(22px, 7vw, 90px);
  color: #fff;
}

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

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.hero-actions,
.contact {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 700;
}

.button.primary { color: #fff; background: linear-gradient(135deg, var(--blue), #0796c7); }
.button.secondary { color: #fff; border: 1px solid rgba(255, 255, 255, 0.42); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 520px;
  margin: 46px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stats div {
  padding-top: 22px;
}

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

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section-head {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head p:last-child {
  color: var(--muted);
}

.product-band {
  background: linear-gradient(180deg, #fff 0%, #f3f7fb 58%, #eef3f9 100%);
}

.product-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.category-panel {
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.category {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #26405f;
  text-align: left;
  padding: 0 16px;
  font: inherit;
  cursor: pointer;
}

.category.active,
.category:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

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

.product-card {
  cursor: pointer;
  min-height: 350px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 56, 91, 0.08);
}

.product-card:hover {
  border-color: rgba(7, 87, 184, 0.34);
  box-shadow: 0 14px 32px rgba(23, 56, 91, 0.12);
}

.featured-product {
  border-color: rgba(7, 87, 184, 0.28);
}

.product-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  min-height: 240px;
  margin-bottom: 20px;
  padding: 8px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #d8e7f7;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.product-card p,
.solution-grid p,
.strength-grid p,
.about p,
.contact p {
  color: var(--muted);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 4px;
}

.product-meta b {
  display: none;
}

.product-meta em {
  color: #526477;
  font-style: normal;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 99px;
  background: #eef4fa;
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #334860;
}

.detail-page {
  background: #f5f8fc;
}

.detail-nav {
  position: static;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1.14fr;
  gap: 42px;
  align-items: center;
  padding: 74px clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, #ffffff 0%, #edf4fb 100%);
}

.detail-image {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-image img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.detail-summary h1 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 52px);
}

.detail-summary p {
  color: var(--muted);
  font-size: 18px;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 24px 0;
}

.detail-price b {
  display: none;
}

.detail-price span {
  color: #536477;
}

.button.light {
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
}

.detail-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px clamp(18px, 5vw, 72px);
}

.detail-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding-top: 0;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.spec-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-list li {
  padding: 18px 20px;
  color: #24384f;
}

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

.spec-panel {
  padding: 28px;
}

.spec-list {
  margin: 20px 0 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.spec-list div:last-child {
  border-bottom: 0;
}

.spec-list dt {
  color: #526477;
}

.spec-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.detail-contact {
  margin-top: 22px;
}

.device {
  position: relative;
  height: 108px;
  margin-bottom: 20px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 25%, rgba(255, 159, 28, 0.16), transparent 28%),
    linear-gradient(135deg, #eef5fb, #ffffff);
  border: 1px solid #d8e7f7;
  overflow: hidden;
}

.device::before,
.device::after {
  content: "";
  position: absolute;
  background: var(--blue);
}

.camera::before {
  width: 128px;
  height: 38px;
  left: 38px;
  top: 34px;
  border-radius: 19px 8px 8px 19px;
}

.camera::after {
  width: 34px;
  height: 34px;
  left: 148px;
  top: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, #65d8eb 0 28%, var(--blue-deep) 30% 100%);
}

.nvr::before {
  width: 160px;
  height: 52px;
  left: 36px;
  top: 28px;
  border-radius: 8px;
}

.nvr::after {
  width: 76px;
  height: 8px;
  left: 56px;
  top: 50px;
  border-radius: 99px;
  background: #b8ecf4;
  box-shadow: 94px 0 0 -2px #65d8eb;
}

.display::before {
  width: 112px;
  height: 66px;
  left: 60px;
  top: 20px;
  border-radius: 8px;
  background: #121a27;
}

.display::after {
  width: 92px;
  height: 46px;
  left: 70px;
  top: 30px;
  border-radius: 4px;
  background: linear-gradient(135deg, #0a72b8, #7be5f2);
  box-shadow: 22px 58px 0 -18px var(--blue-deep);
}

.adas::before {
  width: 70px;
  height: 46px;
  left: 70px;
  top: 30px;
  border-radius: 12px 12px 20px 20px;
  background: var(--blue-deep);
}

.adas::after {
  width: 120px;
  height: 120px;
  left: 48px;
  top: 8px;
  border-radius: 50%;
  border: 2px solid rgba(17, 199, 232, 0.7);
  background: transparent;
  box-shadow: 0 0 0 18px rgba(17, 199, 232, 0.08), 0 0 0 40px rgba(17, 199, 232, 0.04);
}

.harness::before {
  width: 150px;
  height: 14px;
  left: 42px;
  top: 46px;
  border-radius: 99px;
  background: #121a27;
  box-shadow: 0 24px 0 -4px #2f3c4d;
}

.harness::after {
  width: 28px;
  height: 28px;
  left: 38px;
  top: 39px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 130px 0 0 -4px var(--cyan);
}

.solution-section { background: #fff; }

.solution-grid,
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.solution-grid article,
.solution-card,
.strength-grid div {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.solution-card {
  display: block;
  min-height: 238px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.solution-card:hover {
  border-color: rgba(7, 87, 184, 0.34);
  box-shadow: 0 14px 32px rgba(23, 56, 91, 0.12);
  transform: translateY(-2px);
}

.solution-grid b {
  color: var(--amber);
}

.solution-card span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 15px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.solution-detail-page .detail-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(237, 244, 251, 0.96)),
    repeating-linear-gradient(110deg, rgba(7, 87, 184, 0.06) 0 1px, transparent 1px 36px);
}

.solution-image {
  min-height: 430px;
}

.solution-image img {
  max-height: 390px;
}

.solution-copy {
  margin-top: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.solution-copy p {
  color: #43566e;
  font-size: 17px;
}

.solution-copy p:last-child {
  margin-bottom: 0;
}

.related-section {
  padding-top: 0;
}

.related-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.related-products article {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.related-products img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid #d8e7f7;
  border-radius: 8px;
  background: #fff;
}

.related-products h3 {
  font-size: 18px;
}

.related-products p {
  color: var(--muted);
  margin-bottom: 0;
}

.strength {
  background: #f6f9fd;
}

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

.strength-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 18px;
}

.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.contact {
  justify-content: space-between;
  padding: 54px clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, var(--blue-deep), #083f83),
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 36px);
}

.contact .eyebrow,
.contact p { color: rgba(255, 255, 255, 0.8); }

.contact h2 { margin-bottom: 8px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #08162f;
}

.site-footer p { margin: 0; }

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .hero { min-height: 610px; }
  .product-layout { grid-template-columns: 1fr; }
  .category-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid,
  .solution-grid,
  .related-products,
  .strength-grid,
  .about,
  .detail-hero,
  .detail-two { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { height: 68px; padding: 0 16px; }
  .brand small { display: none; }
  .main-nav { top: 68px; }
  .hero-content { padding: 72px 20px; }
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .hero-stats div { padding-top: 12px; }
  .section { padding: 62px 18px; }
  .category-panel { grid-template-columns: 1fr; }
  .product-card { min-height: auto; padding: 22px; }
  .contact,
  .site-footer { align-items: flex-start; flex-direction: column; }
}
