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

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

:root {
  --mint: #99ffcc;
  --neon: #00ff41;
  --ink: #001e3c;
  --ink-2: #02264a;
  --text: #e6fbf2;
  --muted: #9ec3cd;
  --line: rgba(153, 255, 204, .16);
  --card: rgba(2, 38, 74, .58);
  --shadow: 0 26px 64px -30px rgba(0, 0, 0, .95);
  --r: 28px;
  --max: 1160px;
}

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

body {
  margin: 0;
  font-family: 'Lexend', 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
  background:
    radial-gradient(880px 620px at 10% -10%, rgba(0, 255, 65, .16), transparent 62%),
    radial-gradient(720px 520px at 94% 2%, rgba(153, 255, 204, .13), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* ---- 顶部细条 ---- */
.ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px clamp(16px, 4vw, 40px);
  font-size: 16px;
  letter-spacing: .22em;
  color: var(--mint);
  background: rgba(0, 24, 48, .82);
  border-bottom: 1px solid var(--line);
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(0, 255, 65, .7);
  animation: pulse 3.2s ease-in-out infinite;
  flex: none;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, .55); }
  50% { box-shadow: 0 0 0 9px rgba(0, 255, 65, 0); }
}

/* ---- 顶栏 ---- */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(0, 26, 52, .96), rgba(0, 26, 52, .72));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 52% 48% 44% 56% / 50% 46% 54% 50%;
  border: 1px solid rgba(153, 255, 204, .5);
  background: radial-gradient(circle at 32% 28%, rgba(0, 255, 65, .55), rgba(0, 30, 60, .9) 72%);
  text-decoration: none;
  animation: morph 9s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% { border-radius: 52% 48% 44% 56% / 50% 46% 54% 50%; }
  50% { border-radius: 42% 58% 58% 42% / 56% 44% 56% 44%; }
}

.mark-img { display: block; width: 26px; height: 26px; }
.mark-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--mint); }

.nav-shell { margin-left: auto; min-width: 0; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list li { position: relative; }

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: rgba(153, 255, 204, .16);
  color: #fff;
}

.nav-list .sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 70;
  min-width: 200px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(1, 30, 58, .98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.grp > a::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
}

.grp:hover > .sub,
.grp:focus-within > .sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ---- 主区 ---- */
.wrap { display: block; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(24px, 5vw, 60px);
  min-height: 70vh;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 6vw, 84px) clamp(16px, 4vw, 40px) clamp(28px, 4vw, 56px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto -20%;
  height: 120%;
  background: radial-gradient(closest-side, rgba(0, 255, 65, .14), transparent 74%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: .3em;
  color: var(--mint);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 0 34px rgba(0, 255, 65, .22);
}

.rule {
  width: 130px;
  height: 1px;
  margin: 24px 0 0;
  border: 0;
  background: linear-gradient(90deg, var(--neon), rgba(0, 255, 65, 0));
}

.hero-big {
  position: absolute;
  right: 0;
  top: -.5em;
  z-index: -1;
  margin: 0;
  font-size: clamp(6rem, 16vw, 13rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(153, 255, 204, .32);
  pointer-events: none;
}

.hero-art {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(0, 255, 65, .2), rgba(153, 255, 204, .08) 52%, rgba(0, 30, 60, .92));
  box-shadow: var(--shadow);
}

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

.blob {
  position: absolute;
  border-radius: 58% 42% 46% 54% / 52% 46% 54% 48%;
  filter: blur(26px);
  animation: breathe 11s ease-in-out infinite;
}

.b1 { width: 62%; height: 62%; left: -8%; top: -6%; background: rgba(0, 255, 65, .5); }
.b2 { width: 54%; height: 54%; right: -6%; bottom: 4%; background: rgba(153, 255, 204, .55); animation-delay: -4s; }
.b3 { width: 40%; height: 40%; left: 34%; bottom: -10%; background: rgba(0, 120, 190, .6); animation-delay: -8s; }

@keyframes breathe {
  0%, 100% { transform: scale(1) translate(0, 0); border-radius: 58% 42% 46% 54% / 52% 46% 54% 48%; }
  50% { transform: scale(1.16) translate(6px, -12px); border-radius: 44% 56% 58% 42% / 58% 42% 58% 42%; }
}

/* ---- 正文区 ---- */
.prose {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 44px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) clamp(48px, 6vw, 84px);
}

.rail {
  position: sticky;
  top: 92px;
  padding: 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.rail h2 {
  margin: 0 0 12px;
  font-size: 17px;
  letter-spacing: .1em;
  color: var(--mint);
}

.rail hr {
  height: 1px;
  margin: 0 0 14px;
  border: 0;
  background: var(--line);
}

.rail-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  transition: background .22s ease, color .22s ease;
}

.rail-list a:hover,
.rail-list a:focus-visible { background: rgba(153, 255, 204, .13); color: #fff; }

.stream { min-width: 0; }

.stream > * {
  position: relative;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  padding: clamp(22px, 3vw, 38px);
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--card), rgba(1, 24, 46, .52));
  box-shadow: var(--shadow);
  scroll-margin-top: 104px;
}

.stream > *:last-child { margin-bottom: 0; }

.stream > *::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 255, 65, .55);
  box-shadow: 0 0 14px rgba(0, 255, 65, .8);
}

.stream h1,
.stream h2 {
  margin: 0 0 .45em;
  font-size: clamp(1.35rem, 3.2vw, 1.95rem);
  line-height: 1.32;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
}

.stream h3 {
  margin: 1.4em 0 .4em;
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  line-height: 1.4;
  color: var(--mint);
}

.stream hr {
  height: 1px;
  margin: 0 0 1.1em;
  border: 0;
  background: linear-gradient(90deg, rgba(0, 255, 65, .6), rgba(0, 255, 65, 0));
}

.stream p { margin: 0 0 1em; }
.stream p:last-child { margin-bottom: 0; }

.stream ul,
.stream ol { margin: 0 0 1em; padding-left: 1.25em; }
.stream li { margin: .35em 0; }

.stream a { color: var(--mint); text-underline-offset: 3px; }
.stream strong { color: #fff; }
.stream figure { margin: 1.1em 0; }
.stream img { display: block; height: auto; border-radius: 18px; }
.stream blockquote {
  margin: 1.1em 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--neon);
  color: var(--mint);
}
.stream code {
  font-size: 15px;
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(0, 255, 65, .12);
}

/* ---- 页脚 ---- */
.foot {
  margin-top: clamp(30px, 5vw, 56px);
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 40px) 18px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 30, 60, .35), rgba(0, 17, 34, .95));
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(18px, 3vw, 34px);
  max-width: var(--max);
  margin: 0 auto;
}

.foot-brand { min-width: 0; }

.foot-mark {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 54% 46% 42% 58% / 48% 52% 48% 52%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 65, .7), rgba(0, 30, 60, .9) 76%);
}

.foot-name {
  margin: 0;
  font-size: 17px;
  color: var(--mint);
  letter-spacing: .06em;
}

.foot dl { margin: 0; }

.foot dt {
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: .12em;
  color: var(--mint);
}

.foot dd { margin: 0; }

.foot dd a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  color: var(--muted);
  text-decoration: none;
  transition: color .22s ease;
}

.foot dd a:hover,
.foot dd a:focus-visible { color: #fff; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max);
  margin: 26px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--muted);
}

.foot-base p { margin: 0; }

.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--mint);
  text-decoration: none;
}

/* ---- 动效 ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1);
}

.reveal.in { opacity: 1; transform: none; }

/* ---- 响应式 ---- */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 32px;
  }

  .hero-big {
    top: -.24em;
    right: .1em;
    font-size: clamp(4.6rem, 20vw, 8rem);
  }

  .hero-art { aspect-ratio: 16 / 10; }

  .prose { grid-template-columns: minmax(0, 1fr); }

  .rail { position: static; display: none; }

  .foot-cols { grid-template-columns: 1fr 1fr; }

  .nav-shell { width: 100%; margin-left: 0; }

  .top { gap: 8px; padding-bottom: 8px; }

  .nav-list .sub {
    position: static;
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    margin-top: 2px;
    padding: 0 0 4px 6px;
    border: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .grp > a::after { transform: rotate(45deg) translateY(-1px); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .nav-list a { padding: 0 10px; font-size: 15.5px; }

  .foot-cols { grid-template-columns: 1fr; }

  .stream > *::after { right: 18px; top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .blob,
  .pulse,
  .mark { animation: none; }

  .reveal { opacity: 1; transform: none; transition: none; }
}

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