@import url('https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@100..900&family=Public+Sans:wght@100..900&display=swap');

:root{
  --ink:#192617;
  --ink-deep:#0a110c;
  --neon:#87ff71;
  --cyan:#01cdfe;
  --pink:#ff71ce;
  --violet:#b967ff;
  --text:#dcf3e5;
  --muted:#a9c8b6;
  --line:rgba(135,255,113,.22);
  --radius:18px;
}

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

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

body{
  margin:0;
  padding:0 0 108px;
  font-family:'Public Sans','PingFang SC','Microsoft YaHei',system-ui,sans-serif;
  font-size:17px;
  line-height:1.72;
  color:var(--text);
  background-color:var(--ink-deep);
  background-image:
    radial-gradient(58% 42% at 82% -6%, rgba(255,113,206,.30), transparent 68%),
    radial-gradient(48% 38% at 6% 2%, rgba(1,205,254,.24), transparent 70%),
    radial-gradient(70% 50% at 50% 108%, rgba(185,103,255,.20), transparent 70%),
    linear-gradient(180deg,#0a110c 0%,#192617 46%,#120c1e 100%);
  background-attachment:fixed;
  overflow-x:hidden;
}

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:90;
  pointer-events:none;
  background:repeating-linear-gradient(180deg,rgba(255,255,255,.055) 0 1px,rgba(0,0,0,0) 1px 3px);
  opacity:.5;
  mix-blend-mode:soft-light;
}

h1,h2,h3,h4{font-family:'Lexend Mega','Public Sans',system-ui,sans-serif;font-weight:800}

a{color:var(--neon)}

p{margin:0 0 16px}

.wrap{width:min(1180px,92vw);margin:0 auto}

/* ---------- 底部固定导航条 ---------- */
.dock{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:80;
  background:rgba(10,17,12,.88);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px);
  border-top:1px solid rgba(135,255,113,.36);
  box-shadow:0 -14px 44px rgba(1,205,254,.14);
}

.dock-nav{max-width:1180px;margin:0 auto;padding:10px 12px}

.dock-nav p{
  display:flex;
  align-items:center;
  gap:2px;
  margin:0;
}

.dock-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:10px 12px;
  border-radius:12px;
  color:#cfeeda;
  font-size:16px;
  line-height:1.3;
  text-decoration:none;
  white-space:nowrap;
  transition:background .18s ease,color .18s ease;
}

.dock-link:hover,.dock-link:focus-visible{
  background:rgba(135,255,113,.14);
  color:#f4fff6;
}

.dot{
  width:7px;
  height:7px;
  flex:none;
  border-radius:50%;
  background:var(--cyan);
  box-shadow:0 0 10px var(--cyan);
}

.dock-brand{
  margin:0 auto;
  order:0;
  padding:11px 18px;
  font-family:'Lexend Mega',system-ui,sans-serif;
  font-size:16px;
  font-weight:800;
  letter-spacing:.04em;
  color:#f2fff6;
  text-decoration:none;
  white-space:nowrap;
  border:1px solid rgba(135,255,113,.42);
  border-radius:999px;
  background:linear-gradient(120deg,rgba(255,113,206,.22),rgba(1,205,254,.2));
  text-shadow:0 0 14px rgba(135,255,113,.85);
}

.dock-cta{
  color:#11200f;
  font-weight:800;
  background:linear-gradient(120deg,var(--neon),var(--cyan));
  box-shadow:0 0 0 1px rgba(255,255,255,.22),0 10px 26px rgba(1,205,254,.34);
}

.dock-cta .dot{background:#11200f;box-shadow:none}

.dock-cta:hover,.dock-cta:focus-visible{background:linear-gradient(120deg,#a8ff97,#5fe4ff);color:#11200f}

/* ---------- 英雄区 ---------- */
.hero{
  position:relative;
  min-height:70vh;
  display:flex;
  align-items:flex-end;
  padding:clamp(56px,10vw,110px) 0 clamp(72px,9vw,104px);
  overflow:hidden;
  isolation:isolate;
  clip-path:polygon(0 0,100% 0,100% 86%,0 100%);
  background:
    radial-gradient(70% 60% at 78% 90%, rgba(255,113,206,.30), transparent 70%),
    radial-gradient(60% 50% at 16% 100%, rgba(1,205,254,.26), transparent 72%),
    linear-gradient(180deg,#0b1410 0%,#1c1230 62%,#2b1443 100%);
}

.hero-img{
  position:absolute;
  inset:0;
  z-index:-1;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.42;
  filter:saturate(1.2) hue-rotate(-12deg);
}

.hero-ghost{
  position:absolute;
  left:-2vw;
  top:8vh;
  z-index:0;
  font-family:'Lexend Mega',system-ui,sans-serif;
  font-weight:900;
  font-size:clamp(58px,16vw,210px);
  line-height:.86;
  letter-spacing:-.03em;
  white-space:nowrap;
  color:transparent;
  background:linear-gradient(180deg,var(--pink),var(--violet) 52%,var(--cyan));
  -webkit-background-clip:text;
  background-clip:text;
  opacity:.5;
  user-select:none;
  animation:neon-hue 14s linear infinite;
  will-change:transform;
}

@keyframes neon-hue{
  from{filter:hue-rotate(0deg)}
  to{filter:hue-rotate(360deg)}
}

.hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  height:40%;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(1,205,254,.36) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,113,206,.3) 1px,transparent 1px);
  background-size:64px 42px;
  transform:perspective(320px) rotateX(66deg);
  transform-origin:bottom center;
  opacity:.5;
  -webkit-mask-image:linear-gradient(transparent,#000 74%);
  mask-image:linear-gradient(transparent,#000 74%);
}

.hero-in{
  position:relative;
  z-index:3;
  width:min(1180px,92vw);
  margin:0 auto;
}

.hero h1{
  margin:0 0 18px;
  font-size:clamp(34px,7.4vw,80px);
  line-height:.98;
  letter-spacing:-.025em;
  color:#f6fff8;
  text-shadow:
    0 0 18px rgba(135,255,113,.5),
    0 0 46px rgba(1,205,254,.4),
    0 4px 0 rgba(25,38,23,.9);
}

.hero-lede{
  max-width:44ch;
  margin:0;
  padding-left:16px;
  border-left:3px solid var(--neon);
  color:#cfe8db;
  font-size:17px;
}

/* ---------- 内容区 ---------- */
.cols{
  display:grid;
  grid-template-columns:minmax(0,1fr) 268px;
  gap:clamp(24px,4vw,56px);
  align-items:start;
  padding:clamp(38px,6vw,78px) 0 64px;
}

.doc{counter-reset:sec;min-width:0}

.doc > div{
  position:relative;
  padding:34px 46px 40px 0;
  border-top:1px solid var(--line);
  scroll-margin-top:24px;
}

.doc > div:first-child{border-top:0;padding-top:6px}

.doc > div::before{
  counter-increment:sec;
  content:counter(sec,decimal-leading-zero);
  position:absolute;
  right:0;
  top:36px;
  font-family:'Lexend Mega',system-ui,sans-serif;
  font-size:12px;
  letter-spacing:.2em;
  color:var(--cyan);
  opacity:.9;
  text-shadow:0 0 12px rgba(1,205,254,.8);
}

.doc h2{
  margin:0 0 18px;
  font-size:clamp(23px,3.4vw,36px);
  line-height:1.14;
  letter-spacing:-.012em;
  color:#f2fff6;
}

.doc h2 span{
  padding:0 .1em;
  background:linear-gradient(180deg,transparent 64%,rgba(135,255,113,.34) 64%);
  text-shadow:0 0 22px rgba(135,255,113,.32);
}

.doc h3{
  margin:28px 0 10px;
  font-size:20px;
  line-height:1.3;
  color:var(--cyan);
}

.doc h3 span{text-shadow:0 0 18px rgba(1,205,254,.55)}

.doc p{color:#dbf3e4}

.doc a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

.doc a:hover{color:#fff;text-shadow:0 0 12px rgba(135,255,113,.7)}

.doc ul,.doc ol{padding-left:1.25em;margin:0 0 18px}

.doc li{margin:.42em 0}

.doc li::marker{color:var(--cyan)}

.doc strong{color:#fff}

.doc blockquote{
  margin:0 0 20px;
  padding:14px 18px;
  border-left:3px solid var(--pink);
  border-radius:0 var(--radius) var(--radius) 0;
  background:rgba(255,113,206,.1);
  color:#f0e3f8;
}

.doc figure{margin:0 0 22px}

.doc img{
  max-width:100%;
  height:auto;
  border-radius:var(--radius);
  border:1px solid rgba(1,205,254,.3);
}

.doc table{
  width:100%;
  border-collapse:collapse;
  display:block;
  overflow-x:auto;
  margin:0 0 20px;
  font-size:16px;
}

.doc th,.doc td{
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.14);
  text-align:left;
}

.doc th{color:var(--cyan);font-family:'Lexend Mega',system-ui,sans-serif;font-size:14px}

.doc hr{border:0;border-top:1px dashed rgba(135,255,113,.28);margin:24px 0}

/* ---------- 侧栏 ---------- */
.rail{
  position:sticky;
  top:24px;
  display:grid;
  gap:14px;
  padding:20px 18px 22px;
  border:1px solid rgba(1,205,254,.3);
  border-radius:var(--radius);
  background:linear-gradient(180deg,rgba(1,205,254,.1),rgba(255,113,206,.07));
  box-shadow:inset 0 -3px 0 var(--cyan),0 18px 40px rgba(0,0,0,.3);
}

.rail-h{
  margin:0;
  font-size:14px;
  letter-spacing:.22em;
  color:var(--cyan);
}

.rail-h span{
  display:inline-block;
  padding-bottom:5px;
  border-bottom:1px solid rgba(1,205,254,.42);
}

.rail-back{margin-top:6px}

.rail-back span{padding-bottom:0;border-bottom:0}

.rail-back a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:var(--cyan);
  text-decoration:none;
  letter-spacing:.16em;
}

.rail-back a:hover{color:var(--neon);text-shadow:0 0 14px rgba(135,255,113,.75)}

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

.rail-list a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:6px 8px;
  border-left:2px solid transparent;
  border-radius:10px;
  color:#d7f1e2;
  font-size:16px;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}

.rail-list a::before{
  counter-increment:rail;
  content:counter(rail,decimal-leading-zero);
  font-family:'Lexend Mega',system-ui,sans-serif;
  font-size:11px;
  color:var(--pink);
}

.rail-list a:hover,.rail-list a:focus-visible{
  background:rgba(135,255,113,.13);
  border-left-color:var(--neon);
  color:#fff;
}

/* ---------- 页脚 ---------- */
.foot{
  margin-top:28px;
  padding:44px 0 26px;
  border-top:1px solid rgba(135,255,113,.28);
  background:linear-gradient(180deg,rgba(25,38,23,.62),#0a110c);
}

.foot-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.foot dl{
  margin:0;
  padding:16px 16px 20px;
  border:1px solid rgba(1,205,254,.16);
  border-radius:var(--radius);
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 -3px 0 rgba(135,255,113,.7);
}

.foot dt{
  margin-bottom:10px;
  font-family:'Lexend Mega',system-ui,sans-serif;
  font-size:13px;
  letter-spacing:.24em;
  color:var(--cyan);
}

.foot dd{
  margin:0 0 4px;
  font-size:16px;
  color:#c8e6d3;
  overflow-wrap:anywhere;
}

.foot dd a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  color:#dbf3e4;
  text-decoration:none;
}

.foot dd a:hover,.foot dd a:focus-visible{color:var(--neon);text-shadow:0 0 12px rgba(135,255,113,.7)}

.foot-bar{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-top:26px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.1);
}

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

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

.foot-bar a:hover{color:var(--neon)}

/* ---------- 滚动揭示 ---------- */
.js .doc > div,
.js .rail{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.3,1);
}

.js .doc > div.in,
.js .rail.in{opacity:1;transform:none}

/* ---------- 响应式 ---------- */
@media (max-width:960px){
  .dock-nav p{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .dock-nav p::-webkit-scrollbar{display:none}
  .dock-brand{margin:0 8px;padding:11px 14px}
  .cols{grid-template-columns:minmax(0,1fr)}
  .rail{position:static;order:-1}
  .foot-grid{grid-template-columns:minmax(0,1fr)}
  .doc > div{padding-right:38px}
}

@media (max-width:620px){
  body{font-size:16px;padding-bottom:96px}
  .hero{min-height:70vh;padding-top:48px;padding-bottom:64px}
  .hero-ghost{top:6vh;opacity:.42}
  .hero-lede{font-size:16px;padding-left:12px}
  .dock-link{font-size:16px;padding:10px 10px;gap:6px}
  .doc > div{padding:28px 32px 32px 0}
  .doc > div::before{top:30px;font-size:11px}
  .rail{padding:16px 14px 18px}
  .foot{padding:34px 0 22px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-ghost{animation:none;transform:none!important}
  .js .doc > div,
  .js .rail{opacity:1;transform:none;transition:none}
}

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