:root {
  color-scheme: dark;
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui,
    sans-serif;
  color: #edf6ff;
  background: #08111f;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(36, 207, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 85% 42%, rgba(113, 81, 255, 0.12), transparent 32rem),
    #08111f;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(156, 191, 221, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(156, 191, 221, 0.09) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

.nav,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(119, 231, 255, 0.42);
  border-radius: 11px;
  color: #06111e;
  background: linear-gradient(135deg, #70ebff, #8c7dff);
  box-shadow: 0 8px 30px rgba(63, 213, 255, 0.25);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(144, 180, 211, 0.18);
  border-radius: 999px;
  color: #9fb4c8;
  font-size: 12px;
  background: rgba(10, 24, 41, 0.72);
}

.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ee3a5;
  box-shadow: 0 0 14px #4ee3a5;
}

.hero {
  padding: 96px 0 76px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 22px;
  color: #61dff5;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.24em;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 7.8vw, 94px);
  font-weight: 790;
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  background: linear-gradient(95deg, #72e9ff 10%, #9f8cff 62%, #f3b2ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero > p {
  max-width: 690px;
  margin: 30px auto 0;
  color: #9eb1c5;
  font-size: 17px;
  line-height: 1.9;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.actions > * {
  min-width: 180px;
  padding: 13px 22px;
  border: 1px solid rgba(145, 180, 213, 0.2);
  border-radius: 12px;
  font-size: 14px;
}

.actions .primary {
  border-color: transparent;
  color: #07101c;
  font-weight: 720;
  background: linear-gradient(110deg, #6de7fb, #9e90ff);
  box-shadow: 0 12px 40px rgba(91, 207, 255, 0.2);
}

.actions a {
  color: #bdcad8;
  background: rgba(13, 28, 47, 0.74);
}

.preview {
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(132, 181, 218, 0.18);
  border-radius: 24px;
  background: rgba(7, 18, 33, 0.83);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.32);
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(132, 181, 218, 0.13);
}

.preview-head span {
  display: flex;
  gap: 7px;
}

.preview-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a4057;
}

.preview-head small {
  color: #688097;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.canvas {
  position: relative;
  min-height: 448px;
  background-image:
    linear-gradient(rgba(123, 164, 199, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 164, 199, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}

.node {
  position: absolute;
  z-index: 1;
  padding: 10px;
  border: 1px solid rgba(101, 225, 246, 0.38);
  border-radius: 16px;
  background: rgba(12, 26, 43, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.node strong,
.node small {
  display: block;
  margin: 10px 3px 0;
}

.node strong {
  font-size: 13px;
}

.node small {
  margin-top: 5px;
  color: #7890a5;
  font-size: 10px;
}

.node-main {
  top: 74px;
  left: 11%;
  width: 235px;
}

.node-result {
  top: 92px;
  right: 10%;
  width: 310px;
  border-color: rgba(161, 131, 255, 0.4);
}

.art {
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 30%, rgba(116, 238, 255, 0.9), transparent 24%),
    radial-gradient(circle at 70% 70%, rgba(166, 112, 255, 0.9), transparent 30%),
    linear-gradient(135deg, #162b3d, #301d4d);
}

.art-one {
  height: 150px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.grid .art {
  height: 105px;
}

.art-three {
  filter: hue-rotate(55deg);
}

.art-four {
  filter: hue-rotate(130deg);
}

.art-five {
  filter: hue-rotate(210deg);
}

.flow {
  position: absolute;
  top: 210px;
  left: 31%;
  width: 39%;
  height: 2px;
  background: linear-gradient(90deg, #5be4f8, #8b75ff);
  box-shadow: 0 0 18px rgba(89, 224, 248, 0.7);
}

.flow::before,
.flow::after {
  position: absolute;
  top: -5px;
  width: 12px;
  height: 12px;
  border: 2px solid #07111f;
  border-radius: 50%;
  content: "";
  background: #71e8fa;
}

.flow::before {
  left: 0;
}

.flow::after {
  right: 0;
  background: #9f88ff;
}

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

.features article {
  padding: 28px;
  border: 1px solid rgba(140, 179, 211, 0.14);
  border-radius: 18px;
  background: rgba(11, 25, 42, 0.58);
}

.features span {
  color: #5cdff6;
  font-size: 11px;
  font-weight: 740;
  letter-spacing: 0.16em;
}

.features h2 {
  margin: 34px 0 10px;
  font-size: 18px;
}

.features p {
  margin: 0;
  color: #8499ac;
  font-size: 13px;
  line-height: 1.8;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 0 42px;
  border-top: 1px solid rgba(140, 179, 211, 0.12);
  color: #60778d;
  font-size: 12px;
}

@media (max-width: 760px) {
  .nav,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 68px 0 54px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .actions {
    flex-direction: column;
  }

  .actions > * {
    width: min(100%, 320px);
  }

  .preview {
    min-height: 625px;
  }

  .canvas {
    min-height: 573px;
  }

  .node-main {
    top: 38px;
    left: 50%;
    width: 230px;
    transform: translateX(-50%);
  }

  .node-result {
    top: 306px;
    right: auto;
    left: 50%;
    width: min(310px, calc(100% - 28px));
    transform: translateX(-50%);
  }

  .flow {
    top: 272px;
    left: 50%;
    width: 2px;
    height: 44px;
    transform: translateX(-50%);
  }

  .flow::before,
  .flow::after {
    left: -5px;
  }

  .flow::after {
    top: auto;
    right: auto;
    bottom: -5px;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 56px 0;
  }
}
