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

:root {
  --ink: #001e3c;
  --ink-2: #012b4f;
  --ink-3: #013057;
  --mint: #99ffcc;
  --neon: #00ff41;
  --text: #e9fff6;
  --dim: #8fb9ae;
  --rail: 272px;
  --ease: cubic-bezier(.22, .68, 0, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "DM Sans", "Nunito", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* ---------- 背景细胞 ---------- */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

.blob {
  position: absolute;
  display: block;
  filter: blur(48px);
  border-radius: 62% 38% 44% 56% / 52% 41% 59% 48%;
  animation: morph 19s ease-in-out infinite, breathe 11s ease-in-out infinite;
}

.blob.a { width: 430px; height: 430px; left: 58%; top: -140px; background: var(--neon); opacity: .22; }
.blob.b { width: 330px; height: 330px; left: 24%; top: 56%; background: var(--mint); opacity: .13; animation-delay: -6s; }
.blob.c { width: 240px; height: 240px; left: 78%; top: 74%; background: var(--neon); opacity: .12; animation-delay: -12s; }

@keyframes morph {
  0%, 100% { border-radius: 62% 38% 44% 56% / 52% 41% 59% 48%; }
  33% { border-radius: 38% 62% 58% 42% / 44% 60% 40% 56%; }
  66% { border-radius: 52% 48% 36% 64% / 62% 38% 62% 38%; }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.14); }
}

/* ---------- 顶栏 / 导航 ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(0, 24, 47, .95);
  backdrop-filter: blur(10px);
}

.top-row {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 4px;
  color: var(--mint);
  font-family: "Nunito", "DM Sans", sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .01em;
  text-decoration: none;
}

.mark {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: grid;
  place-items: center;
  background: var(--neon);
  color: var(--ink);
  font-size: 13px;
  border-radius: 50% 50% 46% 54% / 56% 44% 56% 44%;
  animation: breathe 7s ease-in-out infinite;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--neon);
  color: var(--ink);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.cta:hover,
.cta:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 255, 65, .28); }

.nav { position: relative; }

.nav summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(153, 255, 204, .14);
  color: var(--mint);
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.nav summary::-webkit-details-marker { display: none; }

.nav summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}

.nav[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.nav menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: min(80vw, 290px);
  max-height: 66vh;
  overflow: auto;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 4px;
  list-style: none;
  background: var(--ink-3);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .5);
}

menu { margin: 0; padding: 0; list-style: none; }

.nav menu a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 12px;
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
  border-radius: 10px;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.nav menu a:hover,
.nav menu a:focus-visible {
  background: rgba(153, 255, 204, .16);
  color: var(--mint);
  transform: translateX(3px);
}

.nav menu li.gap {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(153, 255, 204, .16);
}

/* ---------- 主体 ---------- */
main {
  position: relative;
  z-index: 1;
  padding: 0 clamp(16px, 4vw, 54px);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  min-height: 45vh;
  max-width: 1080px;
  padding: clamp(26px, 6vh, 62px) 0 22px;
}

.hero h1 {
  margin: 0;
  font-family: "Nunito", "DM Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(29px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--mint);
}

.hero-fig {
  margin: 0;
  overflow: hidden;
  border-radius: 30px 30px 30px 6px;
  background: var(--ink-2);
}

.hero-fig .hero-img {
  display: block;
  width: 100%;
  height: clamp(170px, 26vh, 300px);
  object-fit: cover;
  will-change: transform;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  max-width: 1180px;
  padding: 8px 0 58px;
  align-items: start;
}

.stage-body { min-width: 0; }

.stage-body div {
  position: relative;
  margin-bottom: 16px;
  padding: clamp(19px, 3vw, 34px);
  background: var(--ink-2);
  scroll-margin-top: 92px;
  animation: rise .7s var(--ease) both;
}

.stage-body div:nth-child(even) { background: #01284a; }

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

.stage-body div:last-child { margin-bottom: 0; }

.stage-body h2 {
  margin: 0 0 .55em;
  font-family: "Nunito", "DM Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--mint);
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.stage-body h2::before {
  content: "";
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border-radius: 50% 50% 44% 56% / 54% 46% 54% 46%;
  background: var(--neon);
  animation: breathe 5s ease-in-out infinite;
}

.stage-body h3 {
  margin: 1.4em 0 .5em;
  font-family: "Nunito", "DM Sans", sans-serif;
  font-size: 19px;
  color: var(--mint);
}

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

.stage-body a { color: var(--neon); text-decoration: underline; text-underline-offset: 3px; }

.stage-body ul,
.stage-body ol { margin: 0 0 1em; padding-left: 1.25em; }

.stage-body li { margin-bottom: .38em; }

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

.stage-body blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  background: rgba(153, 255, 204, .1);
  border-left: 4px solid var(--neon);
  color: var(--mint);
}

.stage-body figure { margin: 0 0 1em; }
.stage-body img { display: block; width: 100%; height: auto; }
.stage-body time { color: var(--dim); font-size: 16px; }

/* 右侧栏 */
.rail {
  position: relative;
  padding: 20px;
  background: var(--ink-3);
  scroll-margin-top: 92px;
}

.rail h2 {
  margin: 0;
  font-family: "Nunito", "DM Sans", sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .01em;
  color: var(--neon);
}

.rail .subtitle {
  margin: 3px 0 14px;
  font-size: 16px;
  color: var(--dim);
  line-height: 1.5;
}

.rail menu { display: grid; gap: 3px; }

.rail menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 5px 11px;
  color: var(--text);
  font-size: 16px;
  text-decoration: none;
  border-radius: 9px;
  background: rgba(153, 255, 204, .06);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.rail menu a:hover,
.rail menu a:focus-visible { background: rgba(0, 255, 65, .18); color: var(--mint); }

/* ---------- 页脚 ---------- */
footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: clamp(28px, 5vw, 62px) clamp(16px, 4vw, 54px) 26px;
  background: #00152b;
}

.ft-cta {
  padding: clamp(22px, 4vw, 44px);
  background: var(--neon);
  color: var(--ink);
}

.ft-cta h2 {
  margin: 0;
  font-family: "Nunito", "DM Sans", sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -.01em;
}

.ft-cta .subtitle {
  margin: 4px 0 18px;
  font-size: 16px;
  color: #04412a;
  line-height: 1.5;
}

.ft-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  background: var(--ink);
  color: var(--mint);
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  border-radius: 999px;
  transition: transform .2s var(--ease);
}

.ft-btn:hover,
.ft-btn:focus-visible { transform: translateY(-2px); }

.ft-col h3 {
  margin: 0 0 10px;
  font-family: "Nunito", "DM Sans", sans-serif;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--mint);
}

.ft-col menu { display: grid; gap: 2px; }

.ft-col menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 5px 0;
  color: var(--dim);
  font-size: 16px;
  text-decoration: none;
  transition: color .2s var(--ease);
}

.ft-col menu a:hover,
.ft-col menu a:focus-visible { color: var(--neon); }

.ft-bar {
  padding-top: 16px;
  border-top: 1px solid rgba(153, 255, 204, .14);
}

.ft-bar p {
  margin: 0;
  font-size: 16px;
  color: var(--dim);
}

/* ---------- 桌面 ---------- */
@media (min-width: 960px) {
  body { padding-left: var(--rail); }

  .top {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--rail);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 26px 20px 30px;
    background: linear-gradient(180deg, #012c50 0%, #00182f 100%);
    backdrop-filter: none;
  }

  .brand { font-size: 19px; }

  .nav { position: static; }

  .nav menu {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 14px 0 0;
    background: transparent;
    box-shadow: none;
  }

  .nav summary { background: transparent; padding: 0 2px; color: var(--dim); font-size: 16px; }
  .nav summary::after { display: none; }
  .nav summary:hover { color: var(--mint); }

  .nav menu a { padding-left: 12px; }

  .stage { grid-template-columns: minmax(0, 1fr) 264px; gap: clamp(22px, 3vw, 44px); }

  .rail { position: sticky; top: 26px; }

  footer { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
  .ft-cta { grid-column: 1 / -1; }
  .ft-bar { grid-column: 1 / -1; }
}

@media (max-width: 400px) {
  .brand strong { font-size: 17px; }
  .cta { padding: 0 14px; }
}

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

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