:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #dbeeff;
  --ink: #1f2f3d;
  --muted: #607282;
  --line: #d7e2ec;
  --brand: #0a3d62;
  --brand-strong: #072d48;
  --accent: #1e90ff;
  --radius: 2px;
}

* {
  box-sizing: border-box;
}

.section-hidden {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

#top,
#products,
#solutions,
#about,
#oem,
#news,
#contact,
#contact-form {
  scroll-margin-top: 72px;
}

body {
  margin: 0;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

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

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

.shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(28, 43, 57, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
}

.brand-logo {
  height: auto;
  width: 200px;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  position: relative;
  padding: 0 18px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 64px;
}

.nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
}

.nav a:hover,
.nav a:focus-visible {
  color: #ffffff;
}

.hero-section,
.intro-section,
.products-section,
.strength-section,
.coverage-section,
.contact-section {
  padding: 50px 0;
}

.hero-section {
  padding-top: 100px;
  background: #ffffff;
}

.hero-grid,
.intro-grid,
.coverage-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.hero-copy {
  padding-right: 20px;
}

.eyebrow,
.card-kicker,
.panel-tag {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.hero-copy h1,
.section-intro h2,
.section-head h2,
.coverage-copy h2,
.contact-copy h2 {
  margin: 12px 0 0;
  color: var(--brand);
  font-weight: 700;
  line-height: 1.15;
}

.hero-copy h1 {
  font-size: clamp(24px, 2.8vw, 36px);
  max-width: none !important;
  width: auto !important;
}

.hero-text,
.intro-copy,
.product-copy p,
.strength-card p,
.coverage-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero-text {
  max-width: 560px;
  margin-top: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
}

.button--primary {
  background: var(--brand);
  color: #ffffff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--brand-strong);
}

.button--secondary {
  background: #ffffff;
  border-color: var(--brand);
  color: var(--brand);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-metrics {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-metrics li {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.hero-metrics strong {
  display: block;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.hero-panel,
.product-card,
.strength-card,
.contact-form,
.asset-frame,
.product-visual,
.contact-form input,
.contact-form textarea {
  border-radius: var(--radius);
}

.hero-panel,
.product-card,
.strength-card,
.contact-form {
  border: 1px solid var(--line);
  background: #ffffff;
}

.hero-panel {
  padding: 18px;
}

.panel-tag,
.card-kicker,
.section-intro .eyebrow,
.section-head .eyebrow,
.coverage-copy .eyebrow,
.contact-copy .eyebrow {
  color: var(--accent);
}

.asset-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f7fbff;
}

.asset-frame::after {
  display: none;
}

.asset-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asset-frame--logo {
  width: 44px;
  min-height: 44px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.asset-frame--logo::after {
  display: none;
}

.asset-frame--hero {
  height: 330px;
  min-height: auto;
  display: block;
}

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

.asset-frame--mini {
  min-height: 130px;
}

.intro-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.intro-section .section-intro h2 {
  max-width: 800px;
}

.intro-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.intro-copy p {
  margin: 0;
}

.section-intro h2,
.section-head h2,
.coverage-copy h2,
.contact-copy h2 {
  font-size: clamp(20px, 2.2vw, 28px);
}

.section-head {
  max-width: none;
  margin-bottom: 18px;
  width: auto !important;
}

.section-head h2 {
  max-width: none !important;
  width: auto !important;
  display: block;
}

.section-intro h2,
.coverage-copy h2,
.contact-copy h2 {
  max-width: none !important;
  width: auto !important;
}

.section-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

main > section {
  background-color: #ffffff !important;
}

.section-blue {
  background-color: var(--surface-alt) !important;
}

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

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

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

.product-subgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

/* Featured product card (full width) */
.product-card--featured {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 20px 56px;
  align-items: center;
  border: 1px solid var(--line);
  background: #ffffff;
  position: relative;
  min-height: 280px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card--featured:hover {
  border-color: #b8ccde;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.08);
  transform: translateY(-1px);
}

.asset-frame--featured {
  min-height: 280px;
}

.asset-frame--featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 14px 48px;
  align-items: center;
  border: 1px solid var(--line);
  background: #ffffff;
  position: relative;
  min-height: 180px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card--visual {
  background: #ffffff;
}

.product-mini-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 12px 44px;
  border: 1px solid var(--line);
  background: #ffffff;
  position: relative;
  min-height: 120px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-mini-card:hover,
.product-mini-card:focus-within {
  border-color: #b8ccde;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.08);
  transform: translateY(-1px);
}

.product-mini-card .product-copy {
  padding-right: 78px;
}

.product-visual {
  border: 1px solid var(--line);
  background: #f7fbff;
  overflow: hidden;
  min-height: 160px;
}

/* Variant grid for product models */
.variant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.variant-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #ffffff;
  position: relative;
  padding-bottom: 50px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.variant-card:hover {
  border-color: #b8ccde;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.08);
  transform: translateY(-1px);
}

.variant-card .asset-frame {
  min-height: 180px;
  border: none;
  border-bottom: 1px solid var(--line);
}

.variant-card .asset-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-copy {
  padding: 16px;
}

.variant-copy h3 {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
}

.variant-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.variant-card .card-link {
  position: absolute;
  right: 16px;
  bottom: 12px;
}

/* Variant card without a bottom link — removes reserved space */
.variant-card--plain {
  padding-bottom: 0;
}

.variant-card--plain .asset-frame {
  min-height: 220px;
}

/* Badge for variant options (e.g. with/without LED) */
.variant-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 3px;
  background: #e8f0f7;
  color: var(--brand);
}

.product-card:hover,
.product-card:focus-within {
  border-color: #b8ccde;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.08);
  transform: translateY(-1px);
}

.product-copy {
  align-self: start;
  padding-right: 80px;
}

.product-copy h3,
.strength-card h3 {
  margin: 8px 0 8px;
  color: var(--brand);
  font-size: 17px;
  font-weight: 700;
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.feature-list li::marker {
  color: var(--accent);
}

.process-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  display: grid;
  gap: 6px;
}

/* OEM/ODM section — trust box */
.oem-trust-box {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: #f0f6ff;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.oem-trust-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.03em;
  margin: 0 0 6px;
  text-transform: uppercase;
}

.oem-trust-box p:last-child {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* OEM/ODM section — factory photo strip */
.factory-strip {
  margin-top: 36px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.factory-strip img {
  width: 100%;
  display: block;
  max-height: 380px;
  object-fit: cover;
  object-position: center;
}

.factory-strip-caption {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.03em;
}

/* OEM/ODM section — process panel (right column) */
.oem-process-panel {
  background: var(--brand);
  border-radius: 6px;
  padding: 28px 28px 20px;
}

.oem-panel-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 20px;
}

.oem-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.oem-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.oem-step:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.oem-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.03em;
  margin-top: 2px;
}

.oem-step-body {
  display: grid;
  gap: 4px;
}

.oem-step-body strong {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.oem-step-time {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(30, 144, 255, 0.15);
  padding: 2px 8px;
  border-radius: 20px;
  width: fit-content;
}

.oem-step-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 2px 0 0;
}

.card-link {
  position: absolute;
  right: 16px;
  bottom: 16px;
  min-width: 128px;
  height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #aac6e2;
  background: rgba(255, 255, 255, 0.96);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.product-card:hover .card-link,
.product-card:focus-within .card-link,
.product-card--featured:hover .card-link,
.product-card--featured:focus-within .card-link,
.product-mini-card:hover .card-link,
.product-mini-card:focus-within .card-link {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.card-link:hover,
.card-link:focus-visible {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(10, 61, 98, 0.16);
}

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

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

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

.strength-card {
  padding: 18px;
}

.faq-section {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-example,
.faq-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--radius);
}

.news-example {
  padding: 22px;
}

.news-example h3,
.faq-card h3 {
  margin: 4px 0 6px;
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}

.news-example p,
.faq-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

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

.faq-card {
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(10, 61, 98, 0.04);
}

.coverage-grid {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
}

.asset-frame--map {
  min-height: 168px;
}

.contact-grid {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.contact-section {
  padding: 36px 0;
}

.contact-mail {
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}

.contact-info-list {
  margin-top: 12px;
}

.contact-info-list p {
  margin: 0 0 6px;
}

.contact-info-list strong {
  color: var(--brand);
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c8d8e7;
  background: #ffffff;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  font-size: 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Image Carousel */
.carousel {
  position: relative;
  width: 100%;
  background: #f7fbff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 61, 98, 0.8);
  color: #ffffff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.carousel-btn:hover {
  background: var(--brand);
}

.carousel-btn--prev {
  left: 10px;
}

.carousel-btn--next {
  right: 10px;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--brand);
  cursor: pointer;
  transition: background 0.2s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--brand);
}

.site-footer {
  background: #1c2b39;
}

.footer-inner {
  min-height: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 24px;
  padding: 14px 0;
  color: #ffffff;
  text-align: center;
}

.footer-inner p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.footer-company {
  font-size: 13px;
  font-weight: 700;
}

.footer-inner p:last-child {
  color: rgba(255, 255, 255, 0.72);
}

.detail-page {
  background: #f5f8fb;
}

.detail-main {
  padding-top: 102px;
}

.detail-hero {
  padding: 36px 0 16px;
}

.detail-section {
  padding: 12px 0 36px;
}

.detail-grid,
.detail-body {
  display: grid;
  gap: 16px;
}

.detail-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.detail-visual,
.detail-frame,
.detail-card {
  border: 1px solid var(--line);
  background: #ffffff;
}

.detail-visual,
.detail-frame {
  min-height: 260px;
}

.detail-copy h1,
.detail-card h2 {
  color: var(--brand);
}

.detail-copy h1 {
  margin: 10px 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.detail-copy p,
.detail-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

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

.detail-card {
  padding: 18px;
}

.detail-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .product-grid,
  .product-subgrid,
  .coverage-grid,
  .contact-grid,
  .detail-grid,
  .detail-body,
  .faq-grid,
  .hero-metrics,
  .intro-copy {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .strength-grid--three,
  .strength-grid--four {
    grid-template-columns: 1fr;
  }

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

  .asset-frame--featured {
    min-height: 180px;
  }

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

@media (max-width: 600px) {
  .variant-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1240px);
  }

  .header-inner,
  .footer-inner {
    min-height: auto;
    padding: 14px 0;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav a {
    line-height: 1.6;
    padding: 0 16px 0 0;
  }

  .nav a + a::before {
    display: none;
  }

  .hero-section,
  .intro-section,
  .products-section,
  .strength-section,
  .faq-section,
  .coverage-section,
  .contact-section {
    padding: 40px 0;
  }

  .hero-section {
    padding-top: 90px;
  }

  .product-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-mini-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .product-copy {
    padding-right: 0;
  }

  .card-link {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .asset-frame--hero {
    height: 200px;
  }

  .asset-frame--map,
  .detail-visual,
  .detail-frame {
    min-height: 180px;
  }
}
