:root {
  color-scheme: dark;
  --bg: #05070c;
  --panel: #0b1019;
  --panel-2: #111824;
  --line: rgba(141, 231, 255, 0.18);
  --text: #eef7ff;
  --muted: #9fb0bf;
  --cyan: #31d7ff;
  --green: #b7ee36;
  --steel: #7f92a5;
  --warning: #f4c542;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(90deg, rgba(49, 215, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(49, 215, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 0%, rgba(49, 215, 255, 0.12), transparent 38rem),
    radial-gradient(circle at 80% 8%, rgba(183, 238, 54, 0.08), transparent 34rem),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto, auto, auto;
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(14px, 4vw, 54px);
  background: rgba(5, 7, 12, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(49, 215, 255, 0.5);
  background: linear-gradient(135deg, rgba(49, 215, 255, 0.16), rgba(183, 238, 54, 0.08));
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(49, 215, 255, 0.18);
}

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

.brand strong {
  font-size: 14px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.site-nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.nav-toggle svg,
.btn svg,
.tech-panel svg,
.service-grid svg,
.contact-card svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

main {
  overflow: hidden;
}

.section,
.section-grid,
.contact-section {
  width: min(1180px, calc(100% - 28px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 58px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(44px, 7vw, 86px) 0 clamp(34px, 5vw, 64px);
}

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

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

h1 {
  margin-bottom: 20px;
  max-width: 760px;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.hero-lead,
.section-head p,
.split p,
.contact-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-lead {
  max-width: 740px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.btn.primary {
  color: #00131a;
  background: linear-gradient(135deg, var(--cyan), #72ebff);
  border-color: rgba(49, 215, 255, 0.75);
  box-shadow: 0 16px 44px rgba(49, 215, 255, 0.22);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metrics div {
  min-height: 86px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 16, 25, 0.74);
}

.metrics strong,
.power-band span {
  display: block;
  color: var(--cyan);
  font-size: 30px;
  line-height: 1;
  font-weight: 850;
}

.metrics span,
.power-band small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 548px;
  border: 1px solid rgba(49, 215, 255, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(11, 16, 25, 0.58);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(183, 238, 54, 0.18);
  border-radius: 8px;
  transform: skewY(-4deg);
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: screen;
  filter: contrast(1.08) saturate(0.9);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 12, 0.04), rgba(5, 7, 12, 0.28));
}

.orbital-ring {
  position: absolute;
  z-index: 2;
  right: -120px;
  top: 80px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(49, 215, 255, 0.45);
  border-radius: 50%;
  transform: rotate(18deg) scaleX(1.8);
}

.spec-chip {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid rgba(49, 215, 255, 0.32);
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.78);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.chip-a { left: 24px; top: 28px; }
.chip-b { right: 32px; bottom: 118px; color: var(--green); }
.chip-c { left: 34px; bottom: 34px; }

.power-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto clamp(92px, 10vw, 150px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 14, 22, 0.78);
}

.power-band div {
  min-height: 112px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.power-band div:last-child {
  border-right: 0;
}

.section {
  padding: clamp(56px, 7vw, 92px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.78fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  margin-bottom: 0;
  align-self: end;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter {
  min-width: 74px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: #00131a;
  background: var(--cyan);
  border-color: var(--cyan);
}

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

.product-card {
  min-width: 0;
  border: 1px solid rgba(127, 146, 165, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  overflow: hidden;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 215, 255, 0.55);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28), 0 0 30px rgba(49, 215, 255, 0.1);
}

.product-image {
  aspect-ratio: 4 / 3;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(49, 215, 255, 0.06), transparent),
    #edf4f8;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body {
  padding: 16px;
}

.product-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.watt {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.ports {
  color: var(--muted);
  font-size: 12px;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.spec-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
}

.spec-list dt {
  color: var(--steel);
}

.spec-list dd {
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.tech-panel,
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tech-panel div,
.service-grid article {
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 16, 25, 0.8);
}

.tech-panel svg,
.service-grid svg {
  color: var(--cyan);
  margin-bottom: 16px;
}

.tech-panel strong {
  display: block;
  margin-bottom: 8px;
}

.tech-panel span,
.service-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
  padding: 36px;
  border: 1px solid rgba(49, 215, 255, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(49, 215, 255, 0.12), transparent 45%),
    rgba(11, 16, 25, 0.85);
}

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

.contact-card div {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 7, 12, 0.5);
}

.contact-card svg {
  grid-row: span 2;
  margin-top: 2px;
  color: var(--green);
}

.contact-card span {
  color: var(--muted);
  font-size: 12px;
}

.contact-card strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #05070c;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.icp-link {
  width: fit-content;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.6;
}

.icp-link:hover {
  color: var(--cyan);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.product-modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 10, 0.78);
  backdrop-filter: blur(16px);
}

.modal-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  width: min(1080px, calc(100% - 36px));
  max-height: calc(100vh - 72px);
  margin: 36px auto;
  padding: 22px;
  border: 1px solid rgba(49, 215, 255, 0.35);
  border-radius: 8px;
  background: #0a1018;
  overflow: auto;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.52);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(5, 7, 12, 0.7);
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-image {
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 18px;
  border-radius: 8px;
  background: #edf4f8;
}

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

.modal-content {
  align-self: center;
  padding-right: 28px;
}

.modal-specs {
  display: grid;
  gap: 12px;
  margin: 22px 0 28px;
}

.modal-specs div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(127, 146, 165, 0.18);
}

.modal-specs dt {
  color: var(--steel);
}

.modal-specs dd {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .contact-section,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 480px;
  }

  .metrics,
  .power-band,
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .modal-content {
    padding-right: 0;
  }

  .power-band div:nth-child(2) {
    border-right: 0;
  }

  .power-band div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 7, 12, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions,
  .filter-bar {
    align-items: stretch;
  }

  .btn,
  .filter {
    flex: 1 1 auto;
  }

  .metrics,
  .power-band,
  .product-grid,
  .tech-panel,
  .service-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .power-band div,
  .power-band div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .power-band div:last-child {
    border-bottom: 0;
  }

  .hero-visual {
    min-height: 400px;
  }

  .modal-card {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
    margin: 10px auto;
    padding: 14px;
  }

  .modal-image {
    min-height: 300px;
  }

  .modal-specs div {
    grid-template-columns: 64px 1fr;
  }

  .contact-section {
    padding: 24px;
  }
}
