@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700&display=swap');

:root {
  --ink: #001e3c;
  --deep: #00101f;
  --deep-2: #001627;
  --mint: #99ffcc;
  --neon: #00ff41;
  --paper: #eafff5;
  --txt: #cbeedf;
  --line: rgba(153, 255, 204, .16);
  --soft: rgba(153, 255, 204, .07);
  --soft-2: rgba(153, 255, 204, .14);
  --font-b: 'Orbitron', 'Exo 2', ui-sans-serif, system-ui, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-t: 'Exo 2', ui-sans-serif, system-ui, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: 110px;
  background: var(--deep);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 108px;
  font-family: var(--font-t);
  font-size: 17px;
  line-height: 1.85;
  color: var(--txt);
  background: var(--deep);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -25% -12%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38% 30% at 16% 10%, rgba(0, 255, 65, .32), transparent 70%),
    radial-gradient(44% 32% at 84% 28%, rgba(153, 255, 204, .22), transparent 72%),
    radial-gradient(56% 42% at 46% 96%, rgba(0, 255, 65, .17), transparent 76%),
    linear-gradient(180deg, var(--deep), var(--deep-2));
  filter: blur(30px);
  animation: breathe 15s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { transform: scale(1) translate3d(0, 0, 0); opacity: .72; }
  50% { transform: scale(1.12) translate3d(0, -2%, 0); opacity: 1; }
}

img { max-width: 100%; height: auto; }

a { color: var(--mint); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--neon); }

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

::selection { background: var(--neon); color: var(--ink); }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4.5vw, 44px);
}

main { display: block; }

/* ── hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(70px, 12vh, 140px) 0 clamp(56px, 9vh, 96px);
  overflow: hidden;
}

.hero__band {
  position: absolute;
  left: -14%;
  right: -14%;
  top: 50%;
  height: clamp(46px, 7vw, 92px);
  background: linear-gradient(90deg, var(--neon), var(--mint) 58%, rgba(153, 255, 204, .12));
  transform: rotate(-7deg);
  clip-path: polygon(0 22%, 100% 0, 100% 78%, 0 100%);
  opacity: .9;
  z-index: 0;
  animation: drift 18s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: rotate(-7deg) translate3d(0, 0, 0); }
  50% { transform: rotate(-4deg) translate3d(0, -14px, 0); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.hero__inner > .hero__text:only-child { grid-column: 1 / -1; }

.hero__art {
  position: relative;
  height: clamp(300px, 46vh, 480px);
}

.cell {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(150deg, var(--mint), rgba(0, 255, 65, .3));
  box-shadow: 0 26px 60px rgba(0, 16, 31, .55);
}

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

.cell--a {
  left: 0;
  top: 4%;
  width: 58%;
  height: 80%;
  clip-path: polygon(0 7%, 92% 0, 100% 88%, 8% 100%);
  animation: float-a 13s ease-in-out infinite;
}

.cell--b {
  right: 0;
  top: 26%;
  width: 50%;
  height: 62%;
  clip-path: polygon(7% 0, 100% 9%, 93% 100%, 0 91%);
  animation: float-b 16s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2deg); }
  50% { transform: translate3d(6px, -12px, 0) rotate(1deg); }
}

@keyframes float-b {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(2deg); }
  50% { transform: translate3d(-8px, 10px, 0) rotate(-1deg); }
}

.hero__text { text-align: right; }

.hero__text h1 {
  margin: 0;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: clamp(30px, 5.6vw, 58px);
  line-height: 1.22;
  letter-spacing: .02em;
  color: var(--paper);
  text-shadow: 0 0 38px rgba(0, 255, 65, .35);
}

/* ── 正文 ─────────────────────────────────────────────── */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(40px, 7vw, 84px) 0 clamp(56px, 8vw, 96px);
}

.doc__body { min-width: 0; }

.doc__body > article {
  padding: clamp(30px, 4.5vw, 54px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
  animation: rise .7s both;
}

.doc__body > article:first-child {
  border-top: 0;
  padding-top: 0;
}

.doc__body > article:nth-child(2) { animation-delay: .05s; }
.doc__body > article:nth-child(3) { animation-delay: .1s; }
.doc__body > article:nth-child(4) { animation-delay: .15s; }
.doc__body > article:nth-child(5) { animation-delay: .2s; }
.doc__body > article:nth-child(6) { animation-delay: .25s; }
.doc__body > article:nth-child(7) { animation-delay: .3s; }
.doc__body > article:nth-child(n+8) { animation-delay: .34s; }

.doc__body > article:target {
  background: linear-gradient(90deg, var(--soft), transparent 70%);
}

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: none; }
}

.doc__body h2 {
  margin: 0 0 10px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.42;
  letter-spacing: .03em;
  color: var(--mint);
}

.doc__body h3 {
  margin: 30px 0 8px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--paper);
}

.doc__body p { margin: 0 0 15px; }

.doc__body ul,
.doc__body ol { margin: 0 0 16px; padding-left: 1.3em; }

.doc__body li { margin: 0 0 8px; }

.doc__body blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  background: var(--soft);
  border-left: 4px solid var(--neon);
  color: var(--paper);
}

.doc__body strong { color: var(--mint); }

.doc__body figure { margin: 20px 0; }

hr {
  height: 3px;
  width: min(220px, 100%);
  margin: 12px 0 22px;
  border: 0;
  background: linear-gradient(90deg, var(--neon), rgba(0, 255, 65, 0));
}

/* ── 侧栏 ─────────────────────────────────────────────── */
.side {
  position: sticky;
  top: 24px;
  background: var(--soft);
  padding: 22px 20px;
}

.side h2 {
  margin: 0 0 6px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .1em;
  color: var(--mint);
}

.side hr { width: 100%; height: 1px; margin: 0 0 8px; background: var(--line); }

.side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side a {
  display: block;
  padding: 10px 0;
  min-height: 40px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--txt);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .2s;
}

.side li:last-child a { border-bottom: 0; }

.side a:hover { color: var(--neon); padding-left: 6px; }

/* ── 页脚 ─────────────────────────────────────────────── */
.foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(0, 30, 60, .8) 30%);
  padding-top: clamp(36px, 6vw, 64px);
}

.foot__in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4.5vw, 44px);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(26px, 5vw, 48px);
  background: linear-gradient(118deg, var(--mint), var(--neon));
  color: var(--ink);
}

.cta__word { min-width: 0; }

.cta h2 {
  margin: 0;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: clamp(24px, 5vw, 44px);
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--ink);
}

.cta hr {
  width: min(200px, 100%);
  height: 3px;
  margin: 10px 0 0;
  background: linear-gradient(90deg, var(--ink), rgba(0, 30, 60, 0));
}

.cta__go {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 24px;
  font-size: 16px;
  line-height: 1.2;
  color: var(--mint);
  background: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  transition: transform .22s, background .22s, color .22s;
}

.cta__go:hover { background: var(--deep); color: var(--neon); transform: translateY(-2px); }

.foot__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(22px, 4vw, 52px);
  padding: clamp(30px, 5vw, 54px) 0;
}

.foot__grid dl { margin: 0; }

.foot__grid dt {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .1em;
  color: var(--mint);
}

.foot__grid dd {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

.foot__grid dd a {
  display: block;
  padding: 9px 0;
  min-height: 40px;
  color: var(--txt);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}

.foot__grid dd a:hover { color: var(--neon); border-color: var(--neon); }

.foot__copy {
  margin: 0;
  padding: 18px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: rgba(203, 238, 223, .72);
}

/* ── 底部胶囊导航 ─────────────────────────────────────── */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px clamp(10px, 3vw, 24px) calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(0, 16, 31, .74), rgba(0, 16, 31, .97));
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-x: auto;
  scrollbar-width: none;
}

.dock::-webkit-scrollbar { display: none; }

.pill,
.dock__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 15px;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 999px;
  text-decoration: none;
  transition: background .22s, color .22s, transform .22s;
}

.pill { color: var(--mint); background: var(--soft); }
.pill:hover { background: var(--neon); color: var(--ink); transform: translateY(-2px); }

.dock__brand {
  padding: 9px 20px;
  font-family: var(--font-b);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ink);
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(0, 255, 65, .16);
}

.dock__brand:hover { background: var(--neon); color: var(--ink); }

/* ── 响应式 ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .hero__art { height: clamp(240px, 34vh, 320px); }
  .hero__text { text-align: right; }

  .doc { grid-template-columns: 1fr; gap: 28px; }
  .side { position: static; order: 2; }

  .foot__grid { grid-template-columns: 1fr; gap: 22px; }
  .cta { align-items: flex-start; }
}

@media (max-width: 620px) {
  body { padding-bottom: 96px; }
  .dock { justify-content: flex-start; }
  .hero { min-height: 92svh; padding-top: 84px; }
  .hero__band { top: 56%; }
  .doc__body h2 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

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