/*
 * 本文件为惠民惠爱电子商务有限公司的专有财产。
 * 未经书面许可，禁止复制、传播、修改、逆向工程、破解或用于商业用途。
 * 违者将依法追究法律责任。
 * Copyright (c) 2026 惠民惠爱电子商务有限公司. All rights reserved.
 */


:root {
  --base: #1e1e2e;
  --mantle: #181825;
  --crust: #11111b;
  --surface: #313244;
  --surface-2: #45475a;
  --overlay: #6c7086;
  --subtext: #a6adc8;
  --text: #cdd6f4;
  --peach: #fab387;
  --peach-deep: #f7894f;
  --mauve: #cba6f7;
  --pink: #f5c2e7;
  --green: #a6e3a1;
  --yellow: #f9e2af;
  --red: #f38ba8;
  --blue: #89b4fa;
  --teal: #94e2d5;
  --radius: 18px;
  --mono: "JetBrains Mono", "Cascadia Code", "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}


.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(720px 520px at 12% -8%, rgba(250, 179, 135, .16), transparent 70%),
    radial-gradient(860px 620px at 92% 108%, rgba(203, 166, 247, .14), transparent 70%),
    var(--base);
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(205, 214, 244, .085) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.35) 55%, transparent 100%);
}

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

::selection { background: rgba(250, 179, 135, .28); }

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}


.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(17, 17, 27, .55);
  border-bottom: 1px solid rgba(69, 71, 90, .45);
}
.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 17px;
}
.brand svg { width: 30px; height: 30px; display: block; }
.brand .dot { color: var(--peach); }

.nav-links {
  display: flex;
  gap: 6px;
  margin-left: 6px;
  flex: 1;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 9px;
  color: var(--subtext);
  font-size: 14px;
  transition: color .18s, background .18s;
}
.nav-links a:hover { color: var(--text); background: rgba(69, 71, 90, .35); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #1b1020;
  background: linear-gradient(100deg, var(--peach), var(--pink) 55%, var(--mauve));
  box-shadow: 0 10px 30px -12px rgba(250, 179, 135, .75);
}
.btn-primary:hover { box-shadow: 0 14px 36px -12px rgba(245, 194, 231, .8); }
.btn-ghost {
  color: var(--text);
  background: rgba(49, 50, 68, .55);
  border-color: var(--surface-2);
}
.btn-ghost:hover { background: rgba(69, 71, 90, .55); }


.hero { padding: 76px 0 10px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 54px;
  align-items: center;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 18px;
}
.eyebrow .slash { color: var(--overlay); }

h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, var(--peach), var(--pink) 48%, var(--mauve));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin: 0 0 28px;
  color: var(--subtext);
  font-size: 16.5px;
  max-width: 33em;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.stats {
  display: flex;
  gap: 30px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px dashed rgba(108, 112, 134, .35);
}
.stat b {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  color: var(--peach);
  font-weight: 700;
}
.stat span { font-size: 12.5px; color: var(--overlay); }


.term {
  background: rgba(24, 24, 37, .92);
  border: 1px solid var(--surface);
  border-radius: 16px;
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(250, 179, 135, .04) inset;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(49, 50, 68, .55);
  border-bottom: 1px solid rgba(69, 71, 90, .6);
}
.term-dots { display: flex; gap: 6px; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.term-dots i:nth-child(1) { background: #f38ba8; }
.term-dots i:nth-child(2) { background: #f9e2af; }
.term-dots i:nth-child(3) { background: #a6e3a1; }
.term-title { color: var(--overlay); font-size: 12px; margin-left: 6px; }
.term-body { padding: 16px 18px 20px; min-height: 300px; }
.term-line { display: flex; gap: 8px; white-space: pre-wrap; word-break: break-word; min-height: 1.55em; }
.term-line + .term-line { margin-top: 5px; }
.p { color: var(--green); }
.cmd { color: var(--text); }
.ok { color: var(--green); }
.warn { color: var(--yellow); }
.dim { color: var(--overlay); }
.peach { color: var(--peach); }
.mauve { color: var(--mauve); }
.cursor {
  display: inline-block;
  width: 8px; height: 15px;
  background: var(--peach);
  vertical-align: -2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-term { position: relative; }
.hero-term::before {
  content: "";
  position: absolute;
  inset: -22% -12% auto auto;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(203,166,247,.18), transparent 65%);
  filter: blur(6px);
  pointer-events: none;
}


.road {
  position: relative;
  margin: 42px 0 0;
  height: 156px;
  overflow: hidden;
  border-top: 1px dashed rgba(108, 112, 134, .28);
  border-bottom: 1px dashed rgba(108, 112, 134, .28);
  background: linear-gradient(180deg, rgba(24,24,37,.0), rgba(24,24,37,.55));
}
.road-track {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  height: 8px;
  background-image: linear-gradient(90deg, var(--surface-2) 0 26px, transparent 26px 52px);
  background-size: 52px 8px;
  border-radius: 6px;
  animation: dash 1.1s linear infinite;
  opacity: .8;
}
@keyframes dash { to { background-position: -52px 0; } }
.road .van {
  position: absolute;
  bottom: 22px;
  left: 12px;
  width: 176px;
  z-index: 3;
  animation: bob .9s ease-in-out infinite;
}

.road-stream {
  position: absolute;
  left: 0; right: 0; top: 8px;
  height: 96px;
  overflow: hidden;
  z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 110px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 90px, #000 calc(100% - 110px), transparent 100%);
}
.road-flow {
  display: flex;
  width: max-content;
  animation: roadflow 38s linear infinite;
}
.road-seq {
  display: flex;
  align-items: flex-start;
  gap: 38px;
  padding-right: 38px;
  flex: none;
}
.road-seq .cmsg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: msgBob 2.8s ease-in-out infinite;
}
.road-seq .cmsg .done { margin-left: 42px; }
.road-seq .cmsg:nth-child(2n) { margin-top: 16px; animation-delay: .6s; }
.road-seq .cmsg:nth-child(3n) { margin-top: 6px; animation-delay: 1.2s; }
@keyframes msgBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.road-seq .bubble {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--subtext);
  background: rgba(49, 50, 68, .86);
  border: 1px solid var(--surface-2);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.road-seq .done {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #a6e3a1;
  background: rgba(166, 227, 161, .08);
  border: 1px solid rgba(166, 227, 161, .22);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}
@keyframes roadflow {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .road-flow { animation: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.van .wheel { transform-origin: center; animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.bubble-float {
  position: absolute;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--subtext);
  background: rgba(49, 50, 68, .8);
  border: 1px solid var(--surface-2);
  border-radius: 999px;
  padding: 4px 10px;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); opacity: .75; }
  50% { transform: translateY(-7px); opacity: 1; }
}


.platforms { padding: 34px 0 8px; }
.platforms-label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--overlay);
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--surface);
  background: rgba(49, 50, 68, .32);
  font-size: 13px;
  color: var(--subtext);
  transition: border-color .18s, color .18s, transform .18s;
}
.chip:hover { border-color: var(--surface-2); color: var(--text); transform: translateY(-1px); }
.chip i { width: 7px; height: 7px; border-radius: 50%; display: block; }

.card .hl {
  background: rgba(250, 179, 135, .16);
  color: var(--peach);
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 5px;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}


section { padding: 84px 0 0; }
.sec-head { max-width: 640px; margin-bottom: 34px; }
.sec-kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mauve);
  margin: 0 0 12px;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.01em;
  line-height: 1.3;
}
.sec-head p { margin: 0; color: var(--subtext); font-size: 15.5px; }


.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  padding: 22px 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--surface);
  background: linear-gradient(180deg, rgba(49, 50, 68, .34), rgba(24, 24, 37, .5));
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--surface-2); }
.card .ico {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: rgba(250, 179, 135, .1);
  border: 1px solid rgba(250, 179, 135, .22);
  margin-bottom: 14px;
}
.card .ico svg { width: 19px; height: 19px; }
.card h3 { margin: 0 0 7px; font-size: 16.5px; }
.card p { margin: 0; font-size: 13.8px; color: var(--subtext); line-height: 1.6; }
.card code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--peach);
  background: rgba(250, 179, 135, .08);
  padding: 1px 5px;
  border-radius: 5px;
}


.arch {
  display: grid;
  grid-template-columns: 1fr 46px 1fr 46px 1fr;
  align-items: stretch;
  gap: 0;
}
.arch-col {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--surface);
  background: rgba(24, 24, 37, .6);
}
.arch-col h4 {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--peach);
}
.arch-col .sub { font-size: 12px; color: var(--overlay); margin-bottom: 14px; }
.arch-col ul { margin: 0; padding: 0; list-style: none; }
.arch-col li {
  font-size: 13.2px;
  color: var(--subtext);
  padding: 5px 0 5px 16px;
  position: relative;
}
.arch-col li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--surface-2);
}
.arch-col.local h4 { color: var(--blue); }
.arch-col.server h4 { color: var(--mauve); }
.arch-arrow {
  display: grid;
  place-items: center;
  color: var(--overlay);
  font-family: var(--mono);
  font-size: 18px;
}
.arch-note {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12.2px;
  color: var(--overlay);
}


.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--surface);
  background: rgba(24, 24, 37, .55);
}
.step .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--crust);
  background: var(--peach);
  border-radius: 6px;
  padding: 2px 7px;
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 700;
}
.step h4 { margin: 0 0 6px; font-size: 15.5px; }
.step p { margin: 0; font-size: 13.5px; color: var(--subtext); }


.cta-band {
  margin-top: 84px;
  padding: 38px 34px;
  border-radius: 22px;
  border: 1px solid rgba(250, 179, 135, .22);
  background:
    radial-gradient(600px 220px at 12% 0%, rgba(250, 179, 135, .14), transparent 70%),
    radial-gradient(600px 260px at 88% 100%, rgba(203, 166, 247, .14), transparent 70%),
    rgba(24, 24, 37, .72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 6px; font-size: 22px; }
.cta-band p { margin: 0; color: var(--subtext); font-size: 14px; }

footer {
  margin-top: 64px;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(69, 71, 90, .4);
  color: var(--overlay);
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer a:hover { color: var(--text); }


.login-body { min-height: 100vh; display: flex; flex-direction: column; }
.login-shell {
  flex: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  min-height: 100vh;
}
.login-left {
  position: relative;
  padding: 46px clamp(28px, 6vw, 84px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(69, 71, 90, .45);
  overflow: hidden;
}
.login-left::before {
  content: "";
  position: absolute;
  left: -10%; top: 8%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(250, 179, 135, .14), transparent 65%);
}
.login-left .brand { font-size: 18px; }
.login-copy { position: relative; max-width: 460px; margin: 40px 0; }
.login-copy h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.25;
  margin-bottom: 14px;
}
.login-copy p { color: var(--subtext); font-size: 15px; margin: 0; }
.login-scene { position: relative; height: 210px; margin: 8px 0 18px; }
.login-scene .road {
  position: absolute; inset: auto 0 0 0;
  margin: 0; height: 96px;
  border-left: 0; border-right: 0;
}
.login-scene .van { width: 210px; bottom: 24px; left: 7%; }
.login-foot {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--overlay);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.login-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(17, 17, 27, .35);
}
.login-card {
  width: min(404px, 100%);
}
.login-card h2 { font-size: 26px; margin-bottom: 6px; }
.login-card .hint { color: var(--subtext); font-size: 13.8px; margin: 0 0 26px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12.5px;
  color: var(--subtext);
  margin-bottom: 7px;
  font-family: var(--mono);
}
.input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--surface);
  background: rgba(49, 50, 68, .35);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.input-wrap:focus-within {
  border-color: rgba(250, 179, 135, .65);
  box-shadow: 0 0 0 3px rgba(250, 179, 135, .12);
  background: rgba(49, 50, 68, .55);
}
.input-wrap .prefix {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--overlay);
  padding-right: 8px;
  border-right: 1px solid var(--surface-2);
}
.input-wrap input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--text);
  font-size: 15px;
  font-family: var(--mono);
  letter-spacing: .01em;
}
.input-wrap input::placeholder { color: var(--overlay); font-family: var(--sans); letter-spacing: 0; }
.eye {
  border: 0;
  background: none;
  color: var(--overlay);
  cursor: pointer;
  padding: 4px;
  display: grid;
  place-items: center;
}
.eye:hover { color: var(--text); }

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 20px;
  font-size: 13px;
}
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--subtext); cursor: pointer; user-select: none; }
.check input { appearance: none; width: 16px; height: 16px; border-radius: 5px; border: 1px solid var(--surface-2); background: rgba(49,50,68,.4); cursor: pointer; position: relative; }
.check input:checked { background: var(--peach); border-color: var(--peach); }
.check input:checked::after {
  content: "";
  position: absolute; left: 4px; top: 1px;
  width: 4px; height: 8px;
  border: solid #1b1020; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.link { color: var(--peach); }
.link:hover { text-decoration: underline; }

.login-btn {
  width: 100%;
  height: 48px;
  font-size: 15px;
  border-radius: 12px;
}
.login-btn[disabled] { opacity: .65; cursor: not-allowed; }

.msg {
  display: none;
  margin: 0 0 16px;
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 13px;
  border: 1px solid rgba(243, 139, 168, .35);
  background: rgba(243, 139, 168, .08);
  color: #f5b8c8;
}
.msg.show { display: block; }
.msg.ok {
  border-color: rgba(166, 227, 161, .35);
  background: rgba(166, 227, 161, .08);
  color: var(--green);
}

.login-extra {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(108, 112, 134, .3);
  font-size: 12.8px;
  color: var(--overlay);
  line-height: 1.7;
}
.login-extra code {
  font-family: var(--mono);
  color: var(--subtext);
  background: rgba(49, 50, 68, .5);
  padding: 1px 5px;
  border-radius: 4px;
}

.top-back {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 13px;
  color: var(--overlay);
  z-index: 2;
}
.top-back:hover { color: var(--text); }


@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.js-anim .reveal.in { animation: rise .6s ease both; }
.line-in { animation: rise .28s ease both; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .arch { grid-template-columns: 1fr; gap: 10px; }
  .arch-arrow { transform: rotate(90deg); height: 26px; }
  .steps { grid-template-columns: 1fr; }
  .login-shell { grid-template-columns: 1fr; }
  .login-left { display: none; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .hero { padding-top: 46px; }
  .cards { grid-template-columns: 1fr; }
  .stats { gap: 18px; flex-wrap: wrap; }
  .road { height: 142px; }
  .road .van { width: 132px; }
  .cta-band { padding: 26px 22px; }
}
