@charset "utf-8";

:root {
  --mint: #99ffcc;
  --acid: #00ff41;
  --ink: #001e3c;
  --ink-0: #00080f;
  --ink-1: #001220;
  --paper: #e6fbf2;
  --dim: #93b8ac;
  --line: rgba(153, 255, 204, .18);
  --rad: 18px;
  --dock: 74px;
  --fd: 'Space Grotesk', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fb: 'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--ink-0);
  color: var(--paper);
  font: 400 1rem/1.75 var(--fb);
  padding-bottom: calc(var(--dock) + 1.6rem);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: -22% -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 32% at 22% 16%, rgba(0, 255, 65, .17), transparent 70%),
    radial-gradient(46% 38% at 84% 26%, rgba(153, 255, 204, .15), transparent 72%),
    radial-gradient(56% 46% at 46% 96%, rgba(0, 96, 130, .34), transparent 76%);
  filter: blur(42px);
  animation: drift 26s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(rgba(153, 255, 204, .22) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 78%);
}

img { max-width: 100%; }
a { color: var(--acid); }

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 底部固定条 ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .5rem;
  padding: .55rem clamp(.7rem, 3vw, 1.8rem);
  padding-bottom: max(.55rem, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 10, 18, .97), rgba(0, 18, 32, .8));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-top: 1px solid var(--line);
  box-shadow: 0 -22px 60px -40px rgba(0, 255, 65, .9);
}

.brand {
  position: relative;
  z-index: 58;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .2rem .5rem;
  font-family: var(--fd);
  font-size: clamp(.95rem, 3.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--mint);
  text-decoration: none;
  white-space: nowrap;
}

.brand .mark { border-radius: 8px; }

.pod { justify-self: start; }

.pod > summary {
  position: relative;
  z-index: 58;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .35rem .7rem;
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(0, 255, 65, .06);
  transition: background .25s ease, border-color .25s ease;
}

.pod > summary::-webkit-details-marker { display: none; }
.pod > summary:hover { background: rgba(0, 255, 65, .16); border-color: rgba(153, 255, 204, .5); }

.plbl { font-family: var(--fd); font-size: .9rem; letter-spacing: .08em; }

.burger { display: inline-flex; flex-direction: column; gap: 3px; width: 16px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: var(--acid); }
.pod[open] .burger i:nth-child(2) { opacity: .4; }

.pod > menu {
  position: fixed;
  inset: 0;
  z-index: 52;
  margin: 0;
  padding: calc(var(--dock) + 2.4rem) clamp(1.1rem, 6vw, 5rem) calc(var(--dock) + 2rem);
  list-style: none;
  display: block;
  overflow-y: auto;
  background: rgba(0, 8, 15, .95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid transparent;
}

.pod > menu li { break-inside: avoid; }

.pod > menu a {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 54px;
  padding: .8rem .3rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--fd);
  font-size: clamp(1.1rem, 4.6vw, 1.55rem);
  color: var(--paper);
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

.pod > menu a:hover { color: var(--acid); padding-left: .8rem; }

.tick {
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(0, 255, 65, .9);
}

.pod[open] > menu li { animation: rise .45s cubic-bezier(.2, .75, .2, 1) both; }
.pod[open] > menu li:nth-child(2) { animation-delay: .04s; }
.pod[open] > menu li:nth-child(3) { animation-delay: .08s; }
.pod[open] > menu li:nth-child(4) { animation-delay: .12s; }
.pod[open] > menu li:nth-child(5) { animation-delay: .16s; }
.pod[open] > menu li:nth-child(6) { animation-delay: .2s; }
.pod[open] > menu li:nth-child(7) { animation-delay: .24s; }

.tools {
  position: relative;
  z-index: 58;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
}

.srch {
  width: 100%;
  max-width: 148px;
  min-width: 0;
  min-height: 44px;
  padding: 0 .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 30, 60, .55);
  color: var(--paper);
  font: 400 1rem/1.5 var(--fb);
  -webkit-appearance: none;
  appearance: none;
}

.srch::placeholder { color: var(--dim); }
.srch:focus { border-color: var(--acid); background: rgba(0, 30, 60, .9); }

/* ---------- 首屏 ---------- */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(1.4rem, 4vw, 3.4rem);
  padding: clamp(4rem, 11vh, 6.5rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 6vh, 3.5rem);
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.1rem;
  min-width: 0;
}

h1 {
  margin: 0;
  font-family: var(--fd);
  font-size: clamp(1.9rem, 6.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  background: linear-gradient(118deg, var(--mint) 12%, var(--acid) 72%, #6fffc4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--mint);
}

@supports (-webkit-background-clip: text) {
  h1 { color: transparent; }
}

.lead {
  margin: 0;
  max-width: 46ch;
  color: var(--dim);
  font-size: 1.02rem;
}

.cta-row { margin: 0; }

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(153, 255, 204, .45);
  background: rgba(0, 255, 65, .12);
  color: var(--mint);
  font-family: var(--fd);
  letter-spacing: .1em;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.cta:hover { background: rgba(0, 255, 65, .24); transform: translateY(-1px); }

.orb {
  margin: 0;
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 44% 56% 52% 48% / 50% 46% 54% 50%;
  border: 1px solid rgba(153, 255, 204, .32);
  background:
    radial-gradient(circle at 30% 24%, rgba(0, 255, 65, .34), transparent 62%),
    radial-gradient(circle at 72% 72%, rgba(153, 255, 204, .28), transparent 64%),
    #001b30;
  box-shadow: 0 44px 96px -54px rgba(0, 255, 65, .95), inset 0 0 70px rgba(0, 255, 65, .14);
  animation: breathe 11s ease-in-out infinite;
}

.orb-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.cell {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  animation: breathe 9s ease-in-out infinite;
}

.cell.a { inset: 10% 42% 48% 8%; background: radial-gradient(circle, rgba(0, 255, 65, .8), transparent 70%); }
.cell.b { inset: 46% 10% 12% 40%; background: radial-gradient(circle, rgba(153, 255, 204, .78), transparent 72%); animation-delay: -3.4s; }

/* ---------- 主体：侧栏 + 正文 ---------- */
.stage {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(2.5rem, 7vh, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 236px) minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 2.4rem);
  align-items: start;
}

.rail {
  position: sticky;
  top: 1.3rem;
  min-width: 0;
  padding: 1.1rem 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: linear-gradient(180deg, rgba(153, 255, 204, .08), rgba(0, 255, 65, .02));
  box-shadow: 0 26px 60px -48px rgba(0, 255, 65, .9);
}

.rail small {
  display: block;
  font-family: var(--fm);
  font-size: .72rem;
  letter-spacing: .24em;
  color: var(--acid);
}

.rail h2 {
  margin: .35rem 0 .8rem;
  font-family: var(--fd);
  font-size: 1.22rem;
  letter-spacing: .02em;
  color: var(--mint);
}

.rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }

.rail a {
  display: block;
  min-height: 42px;
  padding: .55rem .55rem;
  border-left: 2px solid transparent;
  border-radius: 0 12px 12px 0;
  color: var(--paper);
  font-size: .95rem;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.rail a:hover, .rail a:focus-visible { background: rgba(153, 255, 204, .1); border-left-color: var(--acid); }

.flow { min-width: 0; }

.flow > div {
  margin-bottom: 1.1rem;
  padding: clamp(1.2rem, 3.4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  background: linear-gradient(180deg, rgba(153, 255, 204, .06), rgba(153, 255, 204, .012));
  box-shadow: 0 32px 74px -62px rgba(0, 255, 65, .95);
}

.flow small {
  display: block;
  margin-bottom: .45rem;
  font-family: var(--fm);
  font-size: .72rem;
  letter-spacing: .24em;
  color: var(--acid);
}

.flow h2 {
  margin: 0 0 .75rem;
  font-family: var(--fd);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--mint);
}

.flow h3 {
  margin: 1.4rem 0 .5rem;
  font-family: var(--fd);
  font-size: 1.14rem;
  color: var(--mint);
}

.flow p { margin: 0 0 .95rem; max-width: 70ch; color: #cfe9df; }
.flow p:last-child { margin-bottom: 0; }
.flow ul, .flow ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.flow li { margin: .35rem 0; }
.flow li::marker { color: var(--acid); }
.flow strong { color: #fff; }
.flow a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.flow img { height: auto; border-radius: 14px; }

.flow blockquote {
  margin: 1rem 0;
  padding: .85rem 1.05rem;
  border-left: 3px solid var(--acid);
  border-radius: 0 14px 14px 0;
  background: rgba(0, 255, 65, .06);
  color: #cfe9df;
}

.flow blockquote p:last-child { margin-bottom: 0; }

.flow table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  display: block;
  overflow-x: auto;
}

.flow th, .flow td { padding: .6rem .7rem; border-bottom: 1px solid var(--line); text-align: left; }

/* ---------- 页脚 ---------- */
footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(2.2rem, 7vh, 3.6rem) clamp(1rem, 4vw, 3rem) clamp(1.6rem, 5vh, 2.6rem);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem 1.4rem;
  align-items: end;
}

.fmark {
  margin: 0;
  font-family: var(--fd);
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--mint);
  text-shadow: 0 0 34px rgba(0, 255, 65, .35);
}

.fmid {
  margin: 0;
  text-align: center;
  color: var(--dim);
  font-size: .95rem;
}

footer small {
  text-align: right;
  color: var(--dim);
  font-size: .85rem;
}

/* ---------- 动效 ---------- */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.028); }
}

@keyframes drift {
  to { transform: translate3d(0, -3%, 0) scale(1.08); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .2, 1);
}

.js .rv.in { opacity: 1; transform: none; }

/* ---------- 断点 ---------- */
@media (min-width: 780px) {
  .pod > menu { column-count: 2; column-gap: 2.6rem; }
  .pod > menu li { border-bottom: 1px solid var(--line); }
  .pod > menu a { border-bottom: 0; padding-inline: 0; }
}

@media (max-width: 860px) {
  .stage { grid-template-columns: 1fr; }
  .rail { position: static; }
  .rail ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .1rem .4rem; }
}

@media (max-width: 780px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: clamp(3rem, 9vh, 4.5rem);
    gap: 1.8rem;
  }
  .orb { max-width: 330px; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .fmid, footer small { text-align: center; }
}

@media (max-width: 400px) {
  .srch { max-width: 104px; padding: 0 .6rem; }
  .plbl { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .rv { opacity: 1; transform: none; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
