:root {
  color-scheme: dark;
  --bg: #07110f;
  --bg-2: #0d1814;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.15);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f4f8f5;
  --muted: #aebbb4;
  --soft: #74847c;
  --green: #48e2a5;
  --cyan: #66d4ff;
  --gold: #f1c968;
  --ink: #09100d;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  font-variant-numeric: tabular-nums;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(9, 18, 15, 0.76), rgba(7, 17, 15, 0.98) 560px),
    radial-gradient(circle at 68% 22%, rgba(72, 226, 165, 0.18), transparent 32%),
    linear-gradient(135deg, #08110f 0%, #0c1a16 38%, #131409 100%);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: flex;
  width: min(calc(100% - 28px), var(--max));
  height: 64px;
  transform: translateX(-50%);
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 17, 15, 0.72);
  padding: 0 14px 0 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.site-header.is-scrolled {
  background: rgba(7, 17, 15, 0.9);
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(72, 226, 165, 0.5);
  background: linear-gradient(145deg, rgba(72, 226, 165, 0.28), rgba(102, 212, 255, 0.12));
}

.brand-mark span {
  width: 16px;
  height: 16px;
  border: 2px solid var(--green);
  border-left-color: transparent;
  border-bottom-color: var(--gold);
  transform: rotate(45deg);
}

.brand-word {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.brand-word strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand-word small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(244, 248, 245, 0.72);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.header-action,
.button,
.trial-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-action {
  height: 40px;
  min-width: 104px;
  background: var(--text);
  color: var(--ink);
  font-size: 14px;
}

.header-action:hover,
.button:hover,
.trial-form button:hover {
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  display: grid;
  min-height: 88vh;
  padding: 134px max(28px, calc((100vw - var(--max)) / 2)) 72px;
  align-items: center;
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.scan-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 82%, transparent 100%);
}

.topology-lines {
  position: absolute;
  inset: 6% -8% auto auto;
  width: min(76vw, 1120px);
  height: auto;
  opacity: 0.78;
  filter: drop-shadow(0 24px 40px rgba(72, 226, 165, 0.12));
}

.topology-lines path {
  fill: none;
  stroke: url("#lineGradient");
  stroke-dasharray: 8 16;
  stroke-linecap: round;
  stroke-width: 2;
  animation: dash 16s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -220;
  }
}

.node {
  position: absolute;
  display: grid;
  width: 14px;
  height: 14px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(72, 226, 165, 0.13), 0 0 32px rgba(72, 226, 165, 0.6);
}

.node span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #07110f;
}

.node-a { top: 33%; right: 18%; }
.node-b { top: 47%; right: 37%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(102, 212, 255, 0.12), 0 0 32px rgba(102, 212, 255, 0.55); }
.node-c { top: 60%; right: 12%; background: var(--gold); box-shadow: 0 0 0 8px rgba(241, 201, 104, 0.14), 0 0 32px rgba(241, 201, 104, 0.48); }
.node-d { top: 28%; right: 48%; }
.node-e { top: 68%; right: 28%; background: var(--cyan); box-shadow: 0 0 0 8px rgba(102, 212, 255, 0.12), 0 0 32px rgba(102, 212, 255, 0.55); }
.node-f { top: 74%; right: 52%; background: var(--gold); box-shadow: 0 0 0 8px rgba(241, 201, 104, 0.14), 0 0 32px rgba(241, 201, 104, 0.48); }

.hero-content {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  padding-top: 18px;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(74px, 11vw, 152px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.86;
}

.hero-lead {
  margin: 34px 0 0;
  width: min(620px, 100%);
  color: rgba(244, 248, 245, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.7;
}

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

.button {
  min-height: 48px;
  padding: 0 20px;
  font-size: 15px;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #03100c;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.hero-proof {
  display: grid;
  width: min(620px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 46px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-proof div {
  padding: 18px 20px 18px 0;
}

.hero-proof div + div {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.hero-proof dt {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.hero-proof dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.product-surface {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 19, 16, 0.84);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(22px);
}

.hero-dashboard {
  position: absolute;
  right: max(28px, calc((100vw - var(--max)) / 2));
  bottom: 70px;
  width: min(720px, 51vw);
  min-height: 420px;
  transform: perspective(1500px) rotateY(-9deg) rotateX(4deg);
  transform-origin: right bottom;
}

.surface-bar {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 0 16px;
}

.surface-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 248, 245, 0.9);
  font-size: 14px;
}

.surface-title span {
  width: 10px;
  height: 10px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(72, 226, 165, 0.65);
}

.surface-controls {
  display: flex;
  gap: 7px;
}

.surface-controls i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.surface-body {
  display: grid;
  grid-template-columns: 154px minmax(0, 1fr) 164px;
  gap: 14px;
  padding: 14px;
}

.surface-rail,
.surface-map,
.surface-inspector {
  min-height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.surface-rail {
  padding: 10px;
}

.rail-block {
  border: 1px solid transparent;
  padding: 12px 10px;
}

.rail-block + .rail-block {
  margin-top: 8px;
}

.rail-block.is-active {
  border-color: rgba(72, 226, 165, 0.34);
  background: rgba(72, 226, 165, 0.1);
}

.rail-block em,
.surface-inspector small {
  display: block;
  color: var(--soft);
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.rail-block strong {
  display: block;
  margin-top: 6px;
  color: rgba(244, 248, 245, 0.88);
  font-size: 12px;
}

.surface-map {
  position: relative;
  overflow: hidden;
}

.map-header {
  display: flex;
  height: 44px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.map-header strong {
  color: var(--green);
}

.map-canvas {
  position: relative;
  height: calc(100% - 44px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 26px 26px;
}

.map-canvas svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-canvas path {
  fill: none;
  stroke: rgba(102, 212, 255, 0.52);
  stroke-width: 1.8;
}

.device {
  position: absolute;
  display: grid;
  width: 52px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #f6faf7;
  color: #0a1712;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.gateway { top: 22px; left: calc(50% - 26px); background: var(--green); }
.laptop { top: 116px; left: 92px; }
.phone { bottom: 40px; left: 42px; }
.iot { top: 134px; left: calc(50% - 22px); background: var(--gold); }
.nas { bottom: 24px; left: calc(50% - 64px); }
.vm { bottom: 34px; right: 40px; background: var(--cyan); }

.surface-inspector {
  padding: 12px;
}

.surface-inspector div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0 0 14px;
}

.surface-inspector div + div {
  padding-top: 14px;
}

.surface-inspector strong,
.surface-inspector span {
  display: block;
}

.surface-inspector strong {
  margin-top: 6px;
  font-size: 13px;
}

.surface-inspector span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.section-band,
.network-section,
.download-section {
  position: relative;
  z-index: 3;
  padding: 96px max(28px, calc((100vw - var(--max)) / 2));
}

.section-band {
  background: #f5f7f2;
  color: #101814;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.align-left {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.platform-copy h2,
.download-copy h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.02;
}

.section-heading p,
.platform-copy p,
.download-copy p {
  margin: 18px 0 0;
  color: rgba(16, 24, 20, 0.68);
  font-size: 17px;
  line-height: 1.75;
}

.matrix-layout {
  display: grid;
  gap: 14px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 24px;
  border: 1px solid rgba(16, 24, 20, 0.12);
  background: rgba(255, 255, 255, 0.7);
  padding: 28px;
}

.primary-product {
  background: #0d1814;
  color: var(--text);
}

.product-status {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-status.muted {
  color: #6e7c74;
}

.product-row h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.08;
}

.product-row p {
  margin: 14px 0 0;
  max-width: 680px;
  color: rgba(16, 24, 20, 0.68);
  font-size: 16px;
  line-height: 1.7;
}

.primary-product p {
  color: rgba(244, 248, 245, 0.74);
}

.product-row ul {
  display: grid;
  align-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-row li {
  border-left: 2px solid rgba(16, 24, 20, 0.18);
  padding-left: 12px;
  color: rgba(16, 24, 20, 0.72);
  font-size: 15px;
}

.primary-product li {
  border-left-color: rgba(72, 226, 165, 0.58);
  color: rgba(244, 248, 245, 0.82);
}

.network-section {
  background: #0a1512;
}

.network-section .section-heading p {
  color: rgba(244, 248, 245, 0.7);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.capability-grid article {
  min-height: 310px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
    #0a1512;
  padding: 28px;
}

.capability-index {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.capability-grid h3 {
  margin: 82px 0 0;
  font-size: 24px;
  line-height: 1.15;
}

.capability-grid p {
  margin: 18px 0 0;
  color: rgba(244, 248, 245, 0.67);
  font-size: 15px;
  line-height: 1.72;
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 64px;
  align-items: center;
}

.platform-flow {
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr;
  align-items: center;
}

.flow-node {
  min-height: 144px;
  border: 1px solid rgba(16, 24, 20, 0.13);
  background: #ffffff;
  padding: 22px;
}

.flow-node.active {
  background: #0d1814;
  color: var(--text);
}

.flow-node small {
  display: block;
  color: #6e7c74;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.flow-node.active small {
  color: var(--green);
}

.flow-node strong {
  display: block;
  margin-top: 44px;
  font-size: 19px;
  line-height: 1.3;
}

.flow-line {
  height: 1px;
  background: rgba(16, 24, 20, 0.28);
}

.download-section {
  background:
    linear-gradient(180deg, rgba(10, 21, 18, 0.86), #07110f),
    #07110f;
}

.download-section .section-heading p {
  color: rgba(244, 248, 245, 0.68);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  padding: 34px;
}

.download-copy h3 {
  font-size: clamp(28px, 3.4vw, 48px);
}

.download-copy p {
  color: rgba(244, 248, 245, 0.68);
}

.trial-form {
  display: grid;
  align-content: center;
  gap: 14px;
}

.trial-form label {
  font-size: 15px;
  font-weight: 800;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 108px;
  gap: 10px;
}

.trial-form input {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: 0;
  padding: 0 14px;
}

.trial-form input:focus {
  border-color: rgba(72, 226, 165, 0.74);
}

.trial-form button {
  height: 50px;
  background: var(--green);
  color: #03100c;
}

.trial-form p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: #07110f;
  padding: 28px max(28px, calc((100vw - var(--max)) / 2));
}

.site-footer div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.site-footer span,
.site-footer nav {
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .hero-dashboard {
    right: -84px;
    width: 720px;
    opacity: 0.72;
  }

  .hero-content {
    width: min(680px, 100%);
  }

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

  .platform-section,
  .download-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    height: 58px;
  }

  .brand {
    min-width: 0;
  }

  .header-action {
    min-width: 88px;
    height: 38px;
  }

  .hero-section {
    min-height: 86vh;
    padding: 104px 20px 44px;
  }

  .hero-dashboard {
    right: -300px;
    bottom: 30px;
    width: 660px;
    opacity: 0.32;
  }

  .topology-lines {
    right: -62%;
    width: 140vw;
  }

  .hero-lead {
    font-size: 17px;
    line-height: 1.62;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .hero-proof div {
    padding: 14px 0;
  }

  .section-band,
  .network-section,
  .download-section {
    padding: 68px 20px;
  }

  .product-row,
  .download-panel {
    grid-template-columns: 1fr;
    padding: 22px;
  }

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

  .capability-grid article {
    min-height: 240px;
  }

  .capability-grid h3 {
    margin-top: 48px;
  }

  .platform-flow {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .flow-line {
    width: 1px;
    height: 22px;
    justify-self: center;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
