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

:root{
  --neon:#69ff69;
  --cyan:#00ffff;
  --ink:#172617;
  --void:#0a1310;
  --void2:#101e14;
  --paper:#e9fff1;
  --dim:#a9c9b5;
  --line:rgba(105,255,105,.3);
  --chrome:linear-gradient(180deg,#ffffff 0%,#dcf7e6 26%,#8fb6a0 48%,#ffffff 60%,#a7c4b2 82%,#e6fff0 100%);
}

*{box-sizing:border-box}

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

body{
  margin:0;
  background-color:var(--void);
  background-image:
    linear-gradient(rgba(105,255,105,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,255,255,.06) 1px,transparent 1px);
  background-size:46px 46px,46px 46px;
  background-attachment:fixed;
  color:var(--paper);
  font-family:Inter,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:17px;
  line-height:1.78;
  letter-spacing:.008em;
  overflow-x:hidden;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(circle at 12% 6%,rgba(0,255,255,.14),transparent 46%),
    radial-gradient(circle at 88% 92%,rgba(105,255,105,.13),transparent 44%);
}

a{color:var(--cyan);text-decoration:none}
a:hover{color:var(--neon)}
p,ul,ol,blockquote{margin:0 0 1.15em}
img{max-width:100%;height:auto;display:block}
code,kbd{
  font-family:ui-monospace,"SFMono-Regular",Menlo,Consolas,monospace;
  font-size:.9em;
  background:rgba(0,255,255,.1);
  border:1px solid rgba(0,255,255,.3);
  padding:.06em .36em;
}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}

/* ===== 顶部 ===== */
.masthead{
  position:fixed;
  top:0;left:0;right:0;
  z-index:60;
  height:60px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:.5rem;
  padding:0 .85rem;
  background:linear-gradient(180deg,#142c1c,#0b1710 64%,#14301e);
  border-bottom:2px solid var(--neon);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 10px 26px rgba(0,0,0,.55);
}

.masthead__contact{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:.3rem .7rem;
  font-size:.8rem;
  letter-spacing:.18em;
  color:var(--neon);
  border:2px solid rgba(105,255,105,.55);
  background:rgba(105,255,105,.08);
}
.masthead__contact:hover{background:var(--neon);color:#06210f}

.brand{
  justify-self:center;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.35rem .2rem;
  color:#f2fff8;
  font-weight:800;
  font-size:.95rem;
  letter-spacing:.03em;
  text-shadow:0 0 10px rgba(105,255,105,.85),0 0 24px rgba(0,255,255,.45);
  white-space:nowrap;
}
.brand__mark{
  width:13px;height:13px;flex:none;
  border-radius:50%;
  background:radial-gradient(circle at 32% 28%,#fff 0%,#69ff69 42%,#0d5527 100%);
  box-shadow:0 0 10px #69ff69,0 0 22px rgba(0,255,255,.7);
}

/* 全屏遮罩菜单 */
.menu{justify-self:end;position:relative}
.menu__btn{
  list-style:none;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  min-height:40px;
  padding:.4rem .7rem;
  cursor:pointer;
  font-size:.8rem;
  letter-spacing:.18em;
  color:var(--cyan);
  border:2px solid var(--cyan);
  background:rgba(0,255,255,.08);
  user-select:none;
}
.menu__btn::-webkit-details-marker{display:none}
.menu__btn:hover{background:rgba(0,255,255,.22);color:#fff}
.menu__bars{
  display:block;width:16px;height:2px;background:currentColor;
  box-shadow:0 -5px 0 currentColor,0 5px 0 currentColor;
}
.menu[open] .menu__btn{
  position:relative;z-index:3;
  background:var(--cyan);color:#04211a;
  box-shadow:0 0 18px rgba(0,255,255,.8);
}
.menu__panel{
  position:fixed;
  left:0;right:0;top:60px;bottom:0;
  z-index:2;
  margin:0;
  padding:1.4rem 1.1rem 3rem;
  list-style:none;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 1.1rem;
  align-content:start;
  overflow-y:auto;
  border-top:2px solid var(--cyan);
  background:
    radial-gradient(circle at 82% 2%,rgba(0,255,255,.2),transparent 52%),
    radial-gradient(circle at 8% 96%,rgba(105,255,105,.18),transparent 52%),
    #08130d;
  animation:panelIn .28s ease-out both;
}
@keyframes panelIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.menu__item{list-style:none}
.menu__item:nth-child(-n+3){grid-column:1;text-align:right}
.menu__item:nth-child(n+4){grid-column:2;text-align:left}
.menu__item a{
  display:flex;
  align-items:center;
  min-height:52px;
  padding:.55rem .25rem;
  font-size:1.02rem;
  color:#e8fff1;
  border-bottom:1px solid rgba(105,255,105,.2);
}
.menu__item:nth-child(-n+3) a{justify-content:flex-end}
.menu__item a:hover{color:var(--neon);text-shadow:0 0 14px rgba(105,255,105,.95)}

body.is-locked{overflow:hidden}

/* ===== 主区 ===== */
.page{position:relative;z-index:1}

.hero{
  max-width:1180px;
  margin:0 auto;
  min-height:70vh;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:2.2rem;
  align-items:center;
  padding:calc(60px + 7vh) 1.25rem 3.2rem;
}

.hero__title{
  margin:0 0 1rem;
  font-size:clamp(2.05rem,5.6vw,3.6rem);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.025em;
  background:var(--chrome);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 14px rgba(105,255,105,.5));
}

.hero__lede{
  max-width:44ch;
  margin:0 0 1.6rem;
  color:var(--dim);
  font-size:1rem;
}

.cta{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:.7rem 1.6rem;
  font-weight:700;
  font-size:.95rem;
  letter-spacing:.14em;
  color:#06210f;
  border:2px solid #06210f;
  background:linear-gradient(180deg,#d6ffd6,#69ff69 44%,#1fc44e 56%,#69ff69);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.85),0 0 0 2px rgba(105,255,105,.28);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease;
}
.cta:hover{
  transform:translateY(-2px);
  color:#06210f;
  filter:brightness(1.06);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.9),0 0 0 2px var(--cyan),0 0 26px rgba(0,255,255,.5);
}

.hero__figure{
  position:relative;
  margin:0;
  aspect-ratio:4/3;
  border:2px solid var(--neon);
  border-radius:0;
  overflow:hidden;
  background:
    linear-gradient(135deg,rgba(0,255,255,.18),rgba(105,255,105,.08) 62%,rgba(255,255,255,.12)),
    repeating-linear-gradient(45deg,rgba(255,255,255,.06) 0 2px,transparent 2px 12px);
  box-shadow:0 0 0 1px rgba(0,255,255,.35),0 0 30px rgba(0,255,255,.2);
  display:grid;
  place-items:center;
}
.hero__figure::after{
  content:"";
  position:absolute;
  inset:8px;
  border:1px dashed rgba(255,255,255,.35);
  pointer-events:none;
}
.hero__img{width:100%;height:100%;object-fit:cover}

.bubble{
  position:absolute;
  border-radius:50%;
  background:radial-gradient(circle at 32% 26%,#ffffff 0%,rgba(255,255,255,.85) 18%,rgba(0,255,255,.55) 46%,rgba(105,255,105,.25) 74%,rgba(0,0,0,0) 100%);
  border:1px solid rgba(255,255,255,.65);
  filter:drop-shadow(0 0 10px rgba(0,255,255,.7));
  pointer-events:none;
  animation:floaty 7s ease-in-out infinite;
}
.bubble--a{width:60px;height:60px;top:8%;right:7%}
.bubble--b{width:34px;height:34px;bottom:12%;left:9%;animation-delay:-2.4s}
.bubble--c{width:18px;height:18px;top:52%;right:16%;animation-delay:-4.1s}
@keyframes floaty{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-12px,0)}
}

/* ===== 正文骨架 ===== */
.shell{
  max-width:1180px;
  margin:0 auto;
  padding:2.6rem 1.25rem 1rem;
  display:grid;
  grid-template-columns:minmax(0,224px) minmax(0,1fr);
  gap:2.6rem;
  border-top:2px solid var(--line);
}

.toc{
  position:sticky;
  top:78px;
  align-self:start;
}
.kicker{
  display:block;
  margin:0 0 .35rem;
  font-size:.72rem;
  letter-spacing:.3em;
  color:var(--cyan);
}
.toc__title{
  margin:0 0 1rem;
  padding-bottom:.55rem;
  font-size:1.15rem;
  letter-spacing:.12em;
  font-weight:700;
  color:#f2fff7;
  border-bottom:2px solid var(--neon);
}
.toc__list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:.1rem;
}
.toc__list li{list-style:none}
.toc__list a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:.35rem .5rem;
  font-size:.9rem;
  color:#c9e8d5;
  border-left:2px solid rgba(0,255,255,.28);
  transition:border-color .16s ease,color .16s ease,padding-left .16s ease;
}
.toc__list a:hover{
  color:var(--neon);
  border-left-color:var(--neon);
  padding-left:.85rem;
  background:rgba(105,255,105,.07);
}

.shell__body{min-width:0}
main article[id]{scroll-margin-top:92px}
.shell__body article + article{
  margin-top:2.6rem;
  padding-top:2.4rem;
  border-top:1px dashed rgba(0,255,255,.26);
}

.shell__body h2{
  position:relative;
  margin:0 0 1rem;
  padding-left:.9rem;
  font-size:clamp(1.42rem,3.3vw,1.95rem);
  line-height:1.28;
  letter-spacing:-.012em;
  color:#f4fff9;
  text-shadow:0 0 14px rgba(105,255,105,.32);
}
.shell__body h2::before{
  content:"";
  position:absolute;
  left:0;top:.16em;bottom:.16em;
  width:5px;
  background:linear-gradient(180deg,var(--cyan),var(--neon));
  box-shadow:0 0 12px rgba(0,255,255,.7);
}
.shell__body h3{
  margin:1.9rem 0 .7rem;
  font-size:1.16rem;
  line-height:1.4;
  color:#eaffef;
  border-bottom:1px solid rgba(105,255,105,.24);
  padding-bottom:.4rem;
}
.shell__body small{
  display:block;
  margin-bottom:.35rem;
  font-size:.74rem;
  letter-spacing:.28em;
  color:var(--cyan);
}
.shell__body p{color:#dff3e6}
.shell__body strong{color:#fff;text-shadow:0 0 8px rgba(105,255,105,.5)}
.shell__body ul,.shell__body ol{padding-left:1.3rem}
.shell__body li{margin-bottom:.45rem}
.shell__body li::marker{color:var(--neon)}
.shell__body blockquote{
  margin:1.4rem 0;
  padding:.9rem 1.1rem;
  border-left:4px solid var(--cyan);
  background:rgba(0,255,255,.07);
  color:#e8fff3;
}
.shell__body figure{
  margin:1.5rem 0;
  border:2px solid rgba(105,255,105,.55);
  padding:.5rem;
  background:rgba(105,255,105,.05);
}
.shell__body figcaption{
  margin-top:.5rem;
  font-size:.85rem;
  color:var(--dim);
  letter-spacing:.06em;
}
.shell__body img{border:1px solid rgba(0,255,255,.3)}
.shell__body table{
  width:100%;
  border-collapse:collapse;
  font-size:.94rem;
  margin:1.2rem 0;
}
.shell__body th,.shell__body td{
  border:1px solid rgba(0,255,255,.28);
  padding:.55rem .7rem;
  text-align:left;
}
.shell__body th{background:rgba(0,255,255,.1);color:#fff}
.shell__body a{
  color:var(--cyan);
  border-bottom:1px solid rgba(0,255,255,.5);
}
.shell__body a:hover{color:var(--neon);border-bottom-color:var(--neon)}

/* 滚动显现 */
.js .reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s ease,transform .6s ease;
}
.js .reveal.in{opacity:1;transform:none}

/* ===== 页脚 ===== */
.foot{
  position:relative;
  z-index:1;
  margin-top:4rem;
  padding:2.6rem 1.2rem 2.2rem;
  text-align:center;
  border-top:2px solid var(--neon);
  background:linear-gradient(180deg,#0a1310,#143020);
}
.foot__brand{
  margin:0;
  font-size:clamp(1.9rem,9.5vw,5rem);
  line-height:1;
  font-weight:800;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
  background:var(--chrome);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 16px rgba(105,255,105,.45));
}
.foot__bar{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1rem;
  margin-top:1.7rem;
}
.foot__addr{
  font-style:normal;
  font-size:.86rem;
  letter-spacing:.16em;
  color:var(--dim);
}
.foot__links{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.2rem 1rem;
  margin:0;
  padding:0;
  list-style:none;
}
.foot__links li{list-style:none}
.foot__links a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:.3rem .15rem;
  font-size:.9rem;
  color:#cdeed8;
  border-bottom:1px solid transparent;
}
.foot__links a:hover{color:var(--cyan);border-bottom-color:var(--cyan)}

.totop{
  position:fixed;
  right:1rem;bottom:1rem;
  z-index:45;
  min-height:44px;
  padding:.55rem 1rem;
  font:inherit;
  font-size:.82rem;
  letter-spacing:.16em;
  color:var(--neon);
  background:#0c1d13;
  border:2px solid var(--neon);
  border-radius:0;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transition:opacity .22s ease,background .16s ease,color .16s ease;
}
.totop.is-on{opacity:1;pointer-events:auto}
.totop:hover{background:var(--neon);color:#06210f}

/* ===== 断点 ===== */
@media (max-width:900px){
  .hero{
    grid-template-columns:1fr;
    min-height:0;
    gap:1.6rem;
    padding:calc(60px + 1.8rem) 1.1rem 2.2rem;
  }
  .hero__lede{max-width:none}
  .hero__figure{aspect-ratio:16/10}
  .shell{
    grid-template-columns:1fr;
    gap:1.6rem;
    padding:2rem 1.1rem .5rem;
  }
  .toc{position:static}
  .toc__list{
    grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
    gap:.4rem;
  }
  .toc__list a{border:1px solid rgba(0,255,255,.3);padding:.3rem .55rem}
  .toc__list a:hover{padding-left:.55rem}
}

@media (max-width:600px){
  body{font-size:16px}
  .brand{font-size:.85rem}
  .menu__item a{font-size:.97rem}
  .menu__panel{padding:1rem .9rem 3rem;gap:0 .8rem}
  .masthead__contact{padding:.3rem .5rem;letter-spacing:.12em}
  .shell__body h2{padding-left:.75rem}
  .foot__links{gap:.1rem .7rem}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .bubble{animation:none}
  .menu__panel{animation:none}
  .js .reveal{opacity:1;transform:none;transition:none}
  .cta{transition:none}
}

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