@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --ink: #001e3c;
  --ink-0: #000d1c;
  --mint: #99ffcc;
  --neon: #00ff41;
  --txt: #d8f4ea;
  --dim: #9dc4b8;
  --line: rgba(153, 255, 204, 0.2);
  --glass: rgba(153, 255, 204, 0.06);
  --r: 10px;
}

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

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

body {
  margin: 0;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
  background:
    radial-gradient(1100px 620px at 12% -8%, #063a5e 0%, rgba(6, 58, 94, 0) 62%),
    radial-gradient(860px 560px at 96% 6%, #0a3c33 0%, rgba(10, 60, 51, 0) 58%),
    var(--ink-0);
  color: var(--txt);
  font-family: 'DM Sans', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--mint); }

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

/* ---------- 生物形态背景 ---------- */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.scene i {
  position: absolute;
  display: block;
  filter: blur(72px);
  opacity: 0.5;
  border-radius: 52% 48% 61% 39% / 45% 55% 45% 55%;
}

.scene i:nth-child(1) {
  width: 46vmax; height: 46vmax;
  left: -14vmax; top: -12vmax;
  background: radial-gradient(circle at 42% 42%, rgba(0, 255, 65, 0.5), rgba(0, 255, 65, 0) 62%);
  animation: breathe 19s ease-in-out infinite;
}

.scene i:nth-child(2) {
  width: 38vmax; height: 38vmax;
  right: -12vmax; top: 26vh;
  background: radial-gradient(circle at 50% 50%, rgba(153, 255, 204, 0.45), rgba(153, 255, 204, 0) 60%);
  animation: breathe 27s ease-in-out infinite reverse;
}

.scene i:nth-child(3) {
  width: 52vmax; height: 52vmax;
  left: 24vw; bottom: -26vmax;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 65, 0.26), rgba(0, 255, 65, 0) 66%);
  animation: breathe 33s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    border-radius: 52% 48% 61% 39% / 45% 55% 45% 55%;
  }
  50% {
    transform: scale(1.09) translate(2%, -2%);
    border-radius: 39% 61% 42% 58% / 58% 42% 61% 39%;
  }
}

@keyframes morph {
  0%, 100% { border-radius: 52% 48% 58% 42% / 48% 52% 48% 52%; }
  50% { border-radius: 44% 56% 41% 59% / 57% 43% 58% 42%; }
}

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

/* ---------- 版式骨架 ---------- */
.frame {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 30px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 22px;
}

main { min-width: 0; }
.stage { display: block; }

.sheet {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.06), rgba(153, 255, 204, 0.025) 42%, rgba(0, 0, 0, 0.16));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-bottom: 10px;
  overflow-wrap: anywhere;
}

.sheet > section {
  padding: 46px clamp(20px, 4vw, 54px);
  scroll-margin-top: 22px;
}

.sheet > section + section { border-top: 1px solid rgba(153, 255, 204, 0.13); }

/* ---------- 首屏 ---------- */
.sheet > .hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 26px;
  min-height: min(86svh, 720px);
  padding: 66px clamp(20px, 4vw, 54px) 52px;
  overflow: hidden;
}

.ghost {
  position: absolute;
  left: 10px;
  bottom: -0.16em;
  margin: 0;
  font-size: clamp(86px, 17vw, 220px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--mint);
  opacity: 0.085;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.heroCopy { position: relative; z-index: 2; }

.sheet h1 {
  margin: 0 0 26px;
  font-size: clamp(29px, 4.6vw, 53px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.022em;
  color: #f3fffb;
  text-wrap: balance;
}

.jump {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(118deg, var(--neon), var(--mint));
  color: #00281a;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(153, 255, 204, 0.5), 0 14px 32px -14px rgba(0, 255, 65, 0.8);
}

.jump:hover { filter: brightness(1.07); }

.art {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(153, 255, 204, 0.34);
  border-radius: 52% 48% 58% 42% / 48% 52% 48% 52%;
  background: radial-gradient(circle at 34% 28%, rgba(153, 255, 204, 0.38), rgba(0, 122, 92, 0.26) 55%, rgba(0, 20, 40, 0.55));
  box-shadow: inset 0 0 62px rgba(153, 255, 204, 0.22), 0 28px 64px -32px rgba(0, 255, 65, 0.55);
  animation: morph 15s ease-in-out infinite;
}

.artImg { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }

/* ---------- 正文排版 ---------- */
.sheet small {
  display: block;
  margin-bottom: 0.15em;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--neon);
}

.sheet h2 {
  margin: 0.15em 0 0.68em;
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: #eafff7;
}

.sheet h3 {
  margin: 1.5em 0 0.5em;
  font-size: 20px;
  line-height: 1.4;
  color: #dcfff1;
}

.sheet p { margin: 0 0 1.05em; }

.sheet ul, .sheet ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.sheet li { margin: 0.34em 0; }
.sheet li::marker { color: var(--neon); }
.sheet strong { color: #eafff7; }
.sheet a { color: var(--mint); text-underline-offset: 3px; }

.sheet blockquote {
  margin: 1.4em 0;
  padding: 15px 18px;
  border-left: 3px solid var(--neon);
  border-radius: 0 var(--r) var(--r) 0;
  background: rgba(153, 255, 204, 0.07);
  color: #d6f7ea;
}

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

.sheet table {
  width: 100%;
  margin: 0 0 1.25em;
  border-collapse: collapse;
  font-size: 16px;
}

.sheet th, .sheet td {
  border: 1px solid rgba(153, 255, 204, 0.2);
  padding: 9px 11px;
  text-align: left;
}

.sheet th { background: rgba(0, 255, 65, 0.08); color: #eafff7; }
.sheet img { margin: 1em 0; border-radius: var(--r); }
.sheet hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }

/* ---------- 右侧栏 ---------- */
.side { min-width: 0; }

.rail {
  position: sticky;
  top: 26px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.railTop {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 255, 65, 0.12);
  color: var(--mint);
}

.railTop svg, .railTop img { width: 20px; height: 20px; display: block; }

.rail small {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  letter-spacing: 0.18em;
  color: var(--neon);
}

.rail h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.3;
  color: #eafff7;
}

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

.rail ul a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 9px;
  border-radius: 8px;
  color: var(--txt);
  font-size: 16px;
  text-decoration: none;
}

.rail ul a:hover { background: rgba(153, 255, 204, 0.13); color: #ffffff; }

/* ---------- 底部固定条 ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(0, 17, 32, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.dock nav { flex: 1; min-width: 0; }

.dock ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.dock ul a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #cdeee0;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.dock ul a:hover { background: rgba(153, 255, 204, 0.14); color: #ffffff; }

.dot, .dial {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  text-decoration: none;
}

.dot { border: 1px solid var(--line); background: rgba(0, 255, 65, 0.1); color: var(--mint); }
.dot svg, .dot img { width: 22px; height: 22px; display: block; }

.dial {
  padding: 0 15px;
  border: 1px solid transparent;
  background: linear-gradient(118deg, var(--neon), var(--mint));
  color: #00281a;
  font-size: 16px;
  font-weight: 700;
}

/* ---------- 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 22px;
  align-items: center;
  max-width: 1220px;
  margin: 36px auto 0;
  padding: 28px 22px 40px;
  border-top: 1px solid var(--line);
}

.fCta {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.012em;
}

.fCta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #eafff7;
  text-decoration: none;
}

.fCta a:hover { color: var(--neon); }

.fBrand { margin: 0; color: var(--mint); font-weight: 500; }

.fLinks { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; margin: 0; }

.fLinks a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--dim);
  font-size: 16px;
  text-decoration: none;
}

.fLinks a:hover { color: var(--mint); }

.fNote { grid-column: 1 / -1; color: var(--dim); font-size: 16px; letter-spacing: 0.02em; }

/* ---------- 滚动显现 ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sheet > section {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 2% cover 22%;
    }
  }
}

/* ---------- 断点 ---------- */
@media (min-width: 900px) {
  body { padding-bottom: 104px; }

  .dock {
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 44px);
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 22px 52px -26px rgba(0, 0, 0, 0.85);
  }

  .dock ul { overflow: visible; }
}

@media (max-width: 980px) {
  .frame { display: block; padding: 0 14px; }
  .side { display: none; }
}

@media (max-width: 760px) {
  .sheet > .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 22px;
    padding: 42px 20px 36px;
  }

  .art { aspect-ratio: 4 / 3; max-width: 420px; }
  .ghost { font-size: clamp(70px, 24vw, 130px); }
  .sheet > section { padding: 38px 20px; }
  .foot { grid-template-columns: 1fr; padding: 24px 16px 34px; }
  .fLinks { justify-content: flex-start; }
  .fCta a, .fLinks a { min-height: 44px; }
}

@media (max-width: 640px) {
  .sheet table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene i, .art, .sheet > section { animation: none !important; }
  * { transition: none !important; }
}

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