:root {
  color-scheme: dark;
  --bg: #02040a;
  --bg-soft: #070b14;
  --panel: rgba(9, 14, 27, 0.78);
  --panel-strong: rgba(5, 8, 17, 0.94);
  --line: rgba(142, 177, 255, 0.2);
  --line-strong: rgba(113, 230, 255, 0.36);
  --text: #f6f8ff;
  --muted: #a9b4c8;
  --soft: #75829a;
  --cyan: #53ddff;
  --blue: #3f7cff;
  --magenta: #ed4ccc;
  --green: #49e5b0;
  --amber: #ffd36a;
  --coral: #ff7d7d;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "HarmonyOS Sans SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    linear-gradient(rgba(88, 153, 255, 0.034) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 153, 255, 0.034) 1px, transparent 1px),
    linear-gradient(180deg, #000 0%, #030711 38%, #000 100%);
  background-size: 92px 92px, 92px 92px, auto;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0%, transparent 43%, rgba(83, 221, 255, 0.08) 48%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px);
  opacity: 0.22;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

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

button {
  font: inherit;
}

.network-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.34;
  mix-blend-mode: screen;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(calc(100% - 36px), var(--max));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 5, 12, 0.78);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  background: conic-gradient(from 140deg, var(--cyan), var(--blue), var(--magenta), var(--green), var(--cyan));
  box-shadow: 0 0 28px rgba(83, 221, 255, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav-links a,
.ghost-btn {
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  background: transparent;
}

.nav-links a {
  padding: 9px 11px;
  font-size: 14px;
}

.nav-links a:hover,
.ghost-btn:hover {
  color: var(--text);
  border-color: rgba(113, 230, 255, 0.24);
  background: rgba(83, 221, 255, 0.08);
}

.ghost-btn,
.copy-btn {
  cursor: pointer;
}

.ghost-btn {
  min-width: max-content;
  padding: 9px 13px;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(400px, 1.06fr);
  gap: 40px;
  align-items: center;
  width: min(calc(100% - 36px), var(--max));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 72px 0 56px;
}

.hero-copy,
.hero-stage {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #b4f3ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
}

.hero h1 {
  margin: 0;
  font-size: 78px;
  line-height: 0.98;
}

.hero h1 span {
  display: block;
  overflow-wrap: anywhere;
}

.gradient-text {
  background: linear-gradient(92deg, var(--cyan), #78a7ff 42%, var(--magenta), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  max-width: 680px;
  margin: 26px 0 0;
  color: #c5cede;
  font-size: 20px;
  line-height: 1.85;
}

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

.primary-btn,
.secondary-btn,
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 800;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--magenta), var(--green));
  box-shadow: 0 18px 46px rgba(93, 96, 255, 0.34);
}

.secondary-btn {
  border: 1px solid var(--line-strong);
  color: #d8f6ff;
  background: rgba(83, 221, 255, 0.07);
}

.hero-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(83, 221, 255, 0.08), transparent 28%),
    linear-gradient(225deg, rgba(237, 76, 204, 0.09), transparent 34%),
    linear-gradient(145deg, rgba(9, 13, 30, 0.94), rgba(2, 3, 8, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 70px rgba(0, 0, 0, 0.34);
}

.hero-stage::before,
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-stage::before {
  background:
    linear-gradient(90deg, transparent, rgba(83, 221, 255, 0.13), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 48px);
  transform: translateX(-100%);
  animation: scan 7s linear infinite;
}

.hero-stage::after {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.trace-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(83, 221, 255, 0.55), transparent);
  transform-origin: left center;
}

.trace-a {
  top: 34%;
  left: 22%;
  width: 340px;
  transform: rotate(18deg);
}

.trace-b {
  right: 16%;
  bottom: 30%;
  width: 300px;
  transform: rotate(-28deg);
}

.trace-c {
  top: 54%;
  left: 18%;
  width: 420px;
  background: linear-gradient(90deg, transparent, rgba(255, 211, 106, 0.55), transparent);
  transform: rotate(-8deg);
}

.service-node,
.core-panel {
  position: absolute;
  border: 1px solid rgba(113, 230, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(4, 8, 18, 0.86);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.service-node {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 148px;
  padding: 12px;
  animation: float 6s ease-in-out infinite;
}

.service-node strong {
  font-size: 14px;
}

.node-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: #13213f;
}

.node-gpt {
  top: 80px;
  left: 64px;
}

.node-gpt .node-icon {
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.node-claude {
  top: 150px;
  right: 52px;
  animation-delay: -1.2s;
}

.node-claude .node-icon {
  background: linear-gradient(135deg, var(--amber), var(--coral));
}

.node-gemini {
  left: 46px;
  bottom: 130px;
  animation-delay: -2.2s;
}

.node-gemini .node-icon {
  background: linear-gradient(135deg, var(--blue), var(--magenta));
}

.node-grok {
  right: 72px;
  bottom: 84px;
  animation-delay: -3.4s;
}

.node-grok .node-icon {
  background: linear-gradient(135deg, #202a44, var(--green));
}

.core-panel {
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  padding: 22px;
  text-align: center;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at center, rgba(83, 221, 255, 0.18), transparent 64%),
    rgba(3, 7, 17, 0.9);
}

.core-panel span,
.core-panel small {
  color: var(--muted);
}

.core-panel strong {
  font-size: 54px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 24px rgba(83, 221, 255, 0.52);
}

.quick-nav {
  display: none;
  position: relative;
  z-index: 2;
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.quick-nav a {
  min-height: 44px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #d9e7ff;
  text-align: center;
  background: rgba(8, 12, 24, 0.78);
}

.section {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 82px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 32px;
  text-align: center;
}

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

.section-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.18;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.plan-card,
.process-grid article,
.shop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 24px;
  overflow: hidden;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--magenta));
}

.plan-card.featured {
  border-color: rgba(113, 230, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(83, 221, 255, 0.09), transparent 38%),
    var(--panel-strong);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-top span {
  padding: 5px 9px;
  border: 1px solid rgba(113, 230, 255, 0.22);
  border-radius: 999px;
  color: #bff4ff;
  font-size: 12px;
  background: rgba(83, 221, 255, 0.07);
}

.plan-top strong {
  font-size: 20px;
}

.price {
  margin: 28px 0 10px;
  font-size: 42px;
  font-weight: 900;
}

.price span {
  margin-left: 4px;
  color: var(--soft);
  font-size: 16px;
}

.plan-desc {
  margin: 0;
  color: #c8d2e2;
  line-height: 1.75;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 18px;
}

.plan-card li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(73, 229, 176, 0.58);
}

.card-btn {
  margin-top: auto;
  color: #06101a;
  background: #e9fbff;
}

.card-btn:hover {
  background: #ffffff;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 42px;
  align-items: start;
}

.choice-list {
  display: grid;
  gap: 14px;
}

.choice-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(83, 221, 255, 0.08), rgba(255, 255, 255, 0.018));
}

.choice-list span,
.process-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(113, 230, 255, 0.26);
  border-radius: 50%;
  color: var(--cyan);
  font-weight: 900;
  background: rgba(83, 221, 255, 0.08);
}

.choice-list h3,
.process-grid h3 {
  margin: 0;
  font-size: 20px;
}

.choice-list p,
.process-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

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

.process-grid article {
  min-height: 214px;
  padding: 22px;
}

.shop-section {
  padding-bottom: 96px;
}

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

.shop-card {
  display: grid;
  gap: 10px;
  min-height: 156px;
  padding: 22px;
  color: inherit;
  text-align: left;
}

button.shop-card {
  width: 100%;
}

.shop-card:hover {
  border-color: rgba(113, 230, 255, 0.44);
  background: rgba(14, 22, 42, 0.86);
}

.shop-card span {
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.shop-card strong {
  font-size: 22px;
}

.shop-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  padding: 12px 16px;
  border: 1px solid rgba(113, 230, 255, 0.32);
  border-radius: var(--radius);
  color: #eaffff;
  background: rgba(4, 8, 18, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scan {
  to {
    transform: translateX(100%);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .plan-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .section-heading.align-left {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
    gap: 12px;
    margin-top: 12px;
  }

  .brand span:last-child {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
  }

  .quick-nav {
    display: grid;
  }

  .hero,
  .section,
  .site-footer {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero {
    padding: 48px 0 26px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-text {
    font-size: 17px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-stage {
    min-height: 440px;
  }

  .service-node {
    min-width: 128px;
    padding: 10px;
  }

  .node-gpt {
    top: 46px;
    left: 18px;
  }

  .node-claude {
    top: 92px;
    right: 16px;
  }

  .node-gemini {
    left: 16px;
    bottom: 72px;
  }

  .node-grok {
    right: 18px;
    bottom: 42px;
  }

  .core-panel {
    width: 156px;
    height: 156px;
  }

  .core-panel strong {
    font-size: 42px;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .choice-list article {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    display: grid;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 40px;
  }

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

  .ghost-btn {
    padding: 9px 10px;
  }

  .hero-stage {
    min-height: 390px;
  }

  .service-node {
    min-width: 112px;
  }

  .service-node strong {
    font-size: 12px;
  }

  .node-icon {
    width: 32px;
    height: 32px;
  }
}

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