:root {
  --black: #050807;
  --black-2: #09100d;
  --panel: #0c1511;
  --panel-2: #111d17;
  --line: #244032;
  --green: #64f59d;
  --green-dim: #2faa62;
  --amber: #f2c35f;
  --red: #ff6b6b;
  --text: #d8f7e4;
  --muted: #78a58a;
  --shadow: 0 28px 70px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0, rgba(55,143,86,.12), transparent 36rem),
    var(--black);
  font-family: Consolas, "Microsoft YaHei", monospace;
  line-height: 1.7;
}
body::before {
  position: fixed;
  z-index: 90;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .045;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #a8ffd0 4px);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 7px 12px; color: #031008; background: var(--green); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }

.header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(5,8,7,.92); backdrop-filter: blur(16px); }
.nav { display: grid; min-height: 68px; align-items: center; grid-template-columns: auto 1fr auto; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green); font-size: 15px; font-weight: 900; }
.prompt-logo { display: grid; width: 38px; height: 38px; place-items: center; background: #09170f; border: 1px solid var(--green-dim); box-shadow: inset 0 0 18px rgba(100,245,157,.06); }
.navlinks { display: flex; align-items: center; justify-content: center; gap: 27px; color: #82ad91; font-size: 12px; font-weight: 700; }
.navlinks a::before { color: #3d7752; content: "./"; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--green); }
.nav-actions { display: flex; align-items: center; gap: 11px; }
.language { color: #567d64; font-size: 10px; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 9px 17px; color: var(--green); background: #08110d; border: 1px solid #2b6542; font-family: inherit; font-size: 12px; font-weight: 900; line-height: 1.2; transition: .18s ease; }
.button:hover { color: #021008; background: var(--green); box-shadow: 0 0 24px rgba(100,245,157,.22); }
.button-fill { color: #021008; background: var(--green); border-color: var(--green); }
.button-amber { color: #160f00; background: var(--amber); border-color: var(--amber); }
.menu { display: none; width: 42px; height: 42px; padding: 0; color: var(--green); background: #08110d; border: 1px solid var(--line); font-size: 18px; }

.hero { padding: 54px 0 38px; }
.screen {
  overflow: hidden;
  background: #070c09;
  border: 1px solid #2a5037;
  box-shadow: var(--shadow), inset 0 0 80px rgba(32,111,62,.05);
}
.screen-bar { display: flex; min-height: 34px; align-items: center; justify-content: space-between; padding: 0 13px; color: #527a60; background: #0d1712; border-bottom: 1px solid var(--line); font-size: 9px; }
.screen-dots { display: flex; gap: 6px; }
.screen-dots i { width: 8px; height: 8px; background: #3d4d42; border-radius: 50%; }
.screen-dots i:first-child { background: var(--red); }
.screen-dots i:nth-child(2) { background: var(--amber); }
.screen-dots i:last-child { background: var(--green-dim); }

.hero-screen { display: grid; min-height: 580px; grid-template-columns: 1.25fr .75fr; }
.hero-terminal { display: flex; padding: 54px; border-right: 1px solid var(--line); flex-direction: column; justify-content: center; }
.command-line { margin-bottom: 16px; color: #5e8c6d; font-size: 11px; }
.command-line b { color: var(--green); }
.hero h1, .page-hero h1 { margin: 0; font-family: Consolas, "Microsoft YaHei", monospace; font-size: clamp(42px, 6.3vw, 78px); line-height: 1.05; letter-spacing: -.055em; }
.hero h1::after { display: inline-block; width: .48em; height: .9em; margin-left: 8px; vertical-align: -.06em; content: ""; background: var(--green); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-copy { max-width: 670px; margin: 22px 0 0; color: #88ad94; font-family: "Microsoft YaHei", sans-serif; font-size: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-monitor { position: relative; overflow: hidden; background: linear-gradient(rgba(4,12,7,.64), rgba(4,12,7,.88)), url("2.jpg") center / cover; }
.hero-monitor img { position: absolute; width: 86%; max-height: 390px; top: 50%; left: 50%; object-fit: contain; opacity: .82; filter: hue-rotate(72deg) saturate(.65) drop-shadow(0 20px 30px rgba(0,0,0,.4)); transform: translate(-50%,-50%); }
.monitor-log { position: absolute; z-index: 3; right: 15px; bottom: 15px; left: 15px; padding: 12px; color: #69ba83; background: rgba(2,7,4,.82); border: 1px solid var(--line); font-size: 9px; }
.monitor-log span { display: block; }
.monitor-log b { color: var(--green); }

.trust-log { display: grid; border-top: 1px solid var(--line); grid-template-columns: repeat(3,1fr); }
.trust-entry { padding: 18px 20px; color: #8caf96; border-right: 1px solid var(--line); font-size: 11px; }
.trust-entry:last-child { border-right: 0; }
.trust-entry::before { margin-right: 8px; color: var(--green); content: "[OK]"; }

.section { padding: 86px 0; }
.section-alt { background: rgba(9,16,13,.85); border-block: 1px solid var(--line); }
.section-head { display: grid; align-items: end; margin-bottom: 36px; grid-template-columns: 1fr .45fr; gap: 40px; }
.section-head.center { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.section-head h2 { margin: 0; color: #e4fdec; font-size: clamp(29px,4vw,46px); line-height: 1.16; letter-spacing: -.035em; }
.section-head p { margin: 0; color: var(--muted); font-family: "Microsoft YaHei", sans-serif; font-size: 13px; }
.section-head.center p { margin-top: 12px; }
.label { display: block; margin-bottom: 10px; color: var(--green); font-size: 10px; letter-spacing: .12em; }
.label::before { content: "> "; }

.data-table { overflow-x: auto; border: 1px solid var(--line); }
.data-row { display: grid; min-width: 700px; min-height: 67px; align-items: center; padding: 10px 18px; color: #82aa8f; border-bottom: 1px solid var(--line); grid-template-columns: .45fr 1.15fr 1fr 1fr; gap: 18px; font-size: 11px; }
.data-row:last-child { border-bottom: 0; }
.data-head { min-height: 38px; color: #567d63; background: #0e1913; font-size: 9px; }
.data-row strong { color: var(--green); font-size: 24px; }
.data-note { margin: 10px 0 0; color: #4e7059; font-size: 10px; text-align: right; }

.process-log { border-left: 1px solid var(--green-dim); }
.process { position: relative; display: grid; min-height: 190px; align-items: center; padding: 27px 30px 27px 52px; border-bottom: 1px dashed #294635; grid-template-columns: 150px 1fr; gap: 32px; }
.process::before { position: absolute; width: 11px; height: 11px; top: 50%; left: -6px; content: ""; background: var(--black); border: 2px solid var(--green); transform: translateY(-50%); }
.process-code { color: var(--amber); font-size: 11px; }
.process h3 { margin: 0 0 8px; font-size: 22px; }
.process p { margin: 0; color: var(--muted); font-family: "Microsoft YaHei", sans-serif; font-size: 13px; }

.node-matrix { display: grid; min-height: 510px; background: #06100b; border: 1px solid #2f5a3d; grid-template-columns: 1fr 1fr; }
.ascii-map { position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.ascii-map img { width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: grayscale(1) sepia(.5) hue-rotate(70deg) saturate(1.8) contrast(1.2); }
.ascii-map::after { position: absolute; inset: 0; content: "+---+----+------+---+\A| NODES MATRIX  |\A+---+----+------+---+\A|  JP  SG  HK   |\A|  GB  US  AUTO |\A+---+----+------+---+"; white-space: pre; display: grid; place-items: center; color: rgba(100,245,157,.72); background: rgba(1,8,4,.36); font-size: clamp(14px,2vw,25px); line-height: 1.5; text-align: left; }
.node-list { padding: 25px; }
.node-line { display: grid; min-height: 72px; align-items: center; color: #7fa78c; border-bottom: 1px solid var(--line); grid-template-columns: 1fr auto auto; gap: 18px; font-size: 11px; }
.node-line strong { color: #d8f7e4; }
.node-line b { color: var(--green); }
.node-line em { color: var(--amber); font-style: normal; }

.feedback-log { display: grid; gap: 10px; }
.feedback { display: grid; min-height: 105px; align-items: center; padding: 19px 22px; background: #0a120e; border: 1px solid var(--line); grid-template-columns: 115px 1fr 190px; gap: 25px; }
.stars { color: var(--amber); letter-spacing: 2px; }
.feedback blockquote { margin: 0; color: #a5c4ae; font-family: "Microsoft YaHei", sans-serif; font-size: 13px; }
.feedback-meta { color: #577763; font-size: 10px; text-align: right; }
.feedback-meta strong { display: block; color: #d8f7e4; }

.package-selector { border: 1px solid var(--line); }
.package { display: grid; min-height: 110px; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); grid-template-columns: 1fr .75fr 1.3fr 170px; gap: 25px; }
.package:last-child { border-bottom: 0; }
.package.featured { background: rgba(100,245,157,.055); box-shadow: inset 4px 0 var(--green); }
.package h3 { margin: 0; }
.package-price { color: var(--green); font-size: 27px; font-weight: 900; }
.package-price small { color: #5b8067; font-size: 10px; font-weight: 500; }
.package-features { color: #779d84; font-size: 11px; }
.package .button { width: 100%; }

.man-pages { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.man-page { min-height: 230px; padding: 24px; background: #09110d; border: 1px solid var(--line); }
.man-page code { color: var(--amber); font-size: 10px; }
.man-page h3 { margin: 22px 0 9px; }
.man-page p, .man-page li { color: var(--muted); font-family: "Microsoft YaHei",sans-serif; font-size: 12px; }

.page-hero { padding: 54px 0 40px; }
.page-screen { display: grid; min-height: 460px; background: #070c09; border: 1px solid #2a5037; box-shadow: var(--shadow); grid-template-columns: 1fr .72fr; }
.page-copy { display: flex; padding: 48px; border-right: 1px solid var(--line); flex-direction: column; justify-content: center; }
.page-hero h1 { font-size: clamp(38px,5.3vw,63px); }
.page-hero p { color: var(--muted); font-family: "Microsoft YaHei",sans-serif; }
.page-art { position: relative; overflow: hidden; background: #09130e; }
.page-art img { position: absolute; width: 100%; height: 100%; object-fit: contain; opacity: .78; filter: sepia(.25) hue-rotate(70deg) saturate(.7) drop-shadow(0 20px 30px rgba(0,0,0,.45)); }

.registry { border: 1px solid var(--line); }
.registry-head, .release { display: grid; align-items: center; padding: 12px 18px; grid-template-columns: 80px 1fr 180px 170px; gap: 18px; }
.registry-head { min-height: 38px; color: #53775e; background: #0d1712; font-size: 9px; }
.release { min-height: 120px; border-top: 1px solid var(--line); }
.release-icon { display: grid; width: 54px; height: 54px; place-items: center; color: var(--green); border: 1px solid #2d6442; font-size: 18px; font-weight: 900; }
.release h3 { margin: 0; }
.release p { margin: 5px 0 0; color: var(--muted); font-family: "Microsoft YaHei",sans-serif; font-size: 11px; }
.checksum { color: var(--amber); font-size: 9px; word-break: break-all; }
.release .button { width: 100%; }

.install-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.install-step { min-height: 210px; padding: 25px; background: #07100b; }
.install-step code { color: var(--amber); font-size: 10px; }
.install-step h3 { margin: 40px 0 8px; }
.install-step p { color: var(--muted); font-family: "Microsoft YaHei",sans-serif; font-size: 12px; }

.docs-layout { display: grid; align-items: start; grid-template-columns: 250px 1fr; gap: 30px; }
.docs-nav { position: sticky; top: 90px; padding: 18px; background: #09110d; border: 1px solid var(--line); }
.docs-nav b { color: var(--green); font-size: 10px; }
.docs-nav a { display: block; padding: 8px 0; color: #6f977c; font-size: 11px; }
.docs-content { padding: 30px; background: #08100c; border: 1px solid var(--line); }
.docs-content h2 { margin: 45px 0 12px; font-size: 26px; }
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 { margin: 26px 0 8px; }
.docs-content p, .docs-content li { color: var(--muted); font-family: "Microsoft YaHei",sans-serif; }
.notice { margin: 24px 0; padding: 17px; color: #9dc6aa; background: #0b1710; border-left: 3px solid var(--amber); font-size: 12px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 38px; background: #0a1510; border: 1px solid #326b47; }
.cta h2 { margin: 0; }
.cta p { margin: 4px 0 0; color: var(--muted); font-family: "Microsoft YaHei",sans-serif; font-size: 13px; }

.footer { margin-top: 80px; padding: 50px 0 20px; color: #52735e; background: #020403; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 38px; }
.footer p { max-width: 350px; font-family: "Microsoft YaHei",sans-serif; font-size: 11px; }
.footer h3 { margin: 0 0 13px; color: #c7e9d2; font-size: 12px; }
.footer-links { display: grid; gap: 7px; font-size: 11px; }
.footer-links a:hover { color: var(--green); }
.copyright { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 17px; border-top: 1px solid #16281d; font-size: 9px; }

@media (max-width: 930px) {
  .menu { display: block; }
  .navlinks { position: absolute; top: 68px; right: 20px; left: 20px; display: none; padding: 14px; background: #08110d; border: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 7px; }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 7px; }
  .language, .nav-actions > .button { display: none; }
  .hero-screen, .page-screen { grid-template-columns: 1fr; }
  .hero-terminal, .page-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-monitor, .page-art { min-height: 350px; }
  .node-matrix { grid-template-columns: 1fr; }
  .ascii-map { min-height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .install-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 650px) {
  .container { width: min(100% - 24px,1200px); }
  .hero-terminal, .page-copy { padding: 34px 23px; }
  .hero h1 { font-size: 43px; }
  .trust-log, .man-pages { grid-template-columns: 1fr; }
  .trust-entry { border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 62px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .process { grid-template-columns: 1fr; gap: 10px; }
  .feedback, .package, .release { grid-template-columns: 1fr; }
  .feedback-meta { text-align: left; }
  .registry-head { display: none; }
  .release .button { width: 100%; }
  .install-grid { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-nav { position: static; }
  .cta, .copyright { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
