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

:root {
  --neon: #69ff69;
  --cyan: #00ffff;
  --ink: #172617;
  --deep: #0d190d;
  --panel: #1f3320;
  --paper: #e8ffe8;
  --chrome: linear-gradient(135deg, #e9f8ff 0%, #9fb6b6 16%, #ffffff 32%, #7f9494 50%, #dcf7ff 68%, #a9c2c2 84%, #f4ffff 100%);
}

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

html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(62vw 52vw at 6% -4%, rgba(105, 255, 105, .18), transparent 62%),
    radial-gradient(54vw 50vw at 98% 18%, rgba(0, 255, 255, .15), transparent 60%),
    repeating-linear-gradient(0deg, rgba(105, 255, 105, .05) 0 1px, transparent 1px 4px);
}

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

main section[id] { scroll-margin-top: 96px; }

.mark {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 80;
  display: block;
  text-decoration: none;
}

.mark-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--chrome);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 0 1px rgba(0, 255, 255, .6), 0 0 22px rgba(0, 255, 255, .35);
}

.mark-box img { display: block; max-width: 34px; height: auto; }

.shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 150px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 32px;
  align-items: start;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 108px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: 14%;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff, #b6ffb6 42%, rgba(105, 255, 105, .1) 72%);
  filter: blur(.4px) drop-shadow(0 0 30px rgba(105, 255, 105, .5));
  opacity: .55;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -6vw;
  height: 20vw;
  min-height: 90px;
  background: linear-gradient(96deg, var(--neon), #9dffd2 42%, var(--cyan));
  transform: skewY(-5deg);
  z-index: 0;
  filter: drop-shadow(0 0 26px rgba(0, 255, 255, .45));
}

.hero-inner { position: relative; z-index: 1; width: 100%; }

.tag {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 255, 255, .14);
  color: var(--cyan);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, .55);
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 8.6vw, 6rem);
  line-height: .96;
  letter-spacing: .01em;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(105, 255, 105, .35));
}

.lead {
  max-width: 46ch;
  margin: 0;
  font-size: 1.06rem;
  color: #d6f2d6;
  text-shadow: 0 0 14px rgba(105, 255, 105, .22);
}

/* ---------- 正文 ---------- */

.body { position: relative; z-index: 1; padding-top: 8px; }

.body > section {
  position: relative;
  margin: 0 0 26px;
  padding: clamp(20px, 4vw, 40px);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(105, 255, 105, .07);
}

.body > section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon), var(--cyan), rgba(0, 255, 255, 0));
}

.body h2 {
  margin: .1em 0 .55em;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  line-height: 1.24;
  color: #ffffff;
  letter-spacing: .01em;
  text-shadow: 0 0 18px rgba(105, 255, 105, .34);
}

.body h3 {
  margin: 1.3em 0 .4em;
  font-size: 1.16rem;
  color: var(--neon);
  letter-spacing: .02em;
}

.body p { margin: 0 0 1.05em; color: #d9f0d9; }
.body p:last-child { margin-bottom: 0; }
.body ul, .body ol { margin: 0 0 1.05em; padding-left: 1.35em; }
.body li { margin: .35em 0; color: #d9f0d9; }
.body li::marker { color: var(--cyan); }
.body a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.body strong { color: #ffffff; }
.body img { display: block; max-width: 100%; height: auto; margin: 1.2em 0; background: #12200f; }

/* ---------- 右侧栏 ---------- */

.rail {
  position: sticky;
  top: 22px;
  z-index: 1;
  align-self: start;
  padding: 20px 16px;
  background: rgba(13, 25, 13, .82);
  box-shadow: inset 3px 0 0 var(--neon), inset 0 0 0 1px rgba(0, 255, 255, .12);
  backdrop-filter: blur(6px);
}

.rail h2 {
  margin: 0 0 .2em;
  font-size: 1.02rem;
  letter-spacing: .16em;
  color: #ffffff;
}

.subtitle {
  margin: 0 0 1em;
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--cyan);
  text-transform: uppercase;
}

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

.rail-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  background: #243b25;
  color: var(--paper);
  font-size: .94rem;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.rail-list a:hover {
  background: var(--neon);
  color: var(--ink);
  transform: translateX(3px);
}

/* ---------- 页脚 ---------- */

.foot {
  position: relative;
  z-index: 1;
  padding: 52px 20px 34px;
  background: linear-gradient(180deg, rgba(0, 255, 255, .09), transparent 36%), var(--deep);
  box-shadow: inset 0 1px 0 rgba(0, 255, 255, .3);
}

.bigbrand {
  max-width: 1160px;
  margin: 0 auto 34px;
  font-size: clamp(2.2rem, 10.5vw, 5.6rem);
  line-height: .86;
  letter-spacing: -.02em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 255, 255, .3));
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 1160px;
  margin: 0 auto;
}

.foot-col h2 { margin: 0 0 .2em; font-size: 1rem; letter-spacing: .14em; color: #ffffff; }
.foot-col ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.foot-col li a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #cfeccf;
  font-size: .93rem;
  text-decoration: none;
}
.foot-col li a:hover { color: var(--neon); }

.foot address {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  font-style: normal;
  font-size: .9rem;
  color: #a9cfa9;
}
.foot address strong { color: var(--neon); letter-spacing: .04em; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  max-width: 1160px;
  margin: 34px auto 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(105, 255, 105, .34);
}

.copy { margin: 0; font-size: .86rem; color: #98bb98; letter-spacing: .04em; }

.foot-links { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--cyan);
  font-size: .9rem;
  text-decoration: none;
}

/* ---------- 底部胶囊导航 ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 9px 0 calc(9px + env(safe-area-inset-bottom));
  background: rgba(11, 22, 11, .9);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(105, 255, 105, .42);
}

.dock nav ul {
  display: flex;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 14px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dock nav ul::-webkit-scrollbar { display: none; }

.dock a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  background: linear-gradient(180deg, #b3ffb3, #4ade4a);
  color: var(--ink);
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: inset 0 1px 0 #ecffec, 0 0 16px rgba(105, 255, 105, .34);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.dock a:hover { transform: translateY(-2px); }
.dock a.is-cur {
  background: linear-gradient(180deg, #b8ffff, var(--cyan));
  box-shadow: inset 0 1px 0 #ffffff, 0 0 20px rgba(0, 255, 255, .55);
}

/* ---------- 入场 ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition-delay: calc(var(--i, 0) * 55ms); }
.js .reveal { transition-property: opacity, transform; transition-duration: .62s; transition-timing-function: cubic-bezier(.2, .7, .3, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rail-list a:hover, .dock a:hover { transform: none; }
}

/* ---------- 断点 ---------- */

@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-bottom: 130px; }
  .rail { position: static; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero::before { width: 150px; height: 150px; right: -46px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .shell { padding: 0 15px 128px; }
  .hero { padding: 96px 0 72px; }
  .hero::after { height: 26vw; }
  .tag { letter-spacing: .14em; font-size: .74rem; }
  .foot { padding: 40px 15px 28px; }
  .foot-base { flex-direction: column; align-items: flex-start; }
}

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