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

:root{
  --ink:#172617;
  --deep:#0b150b;
  --lime:#69ff69;
  --cyan:#00ffff;
  --paper:#e9ffe9;
  --line:rgba(105,255,105,.32);
  --chrome:linear-gradient(180deg,#f6fff8 0%,#c6ffd4 26%,#7ea98a 54%,#ffffff 76%,#aeffc0 100%);
  --glow:0 0 12px rgba(105,255,105,.55), 0 0 34px rgba(0,255,255,.26);
  --dock:236px;
}

*{box-sizing:border-box}

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

body{
  margin:0;
  font-family:'Space Grotesk',"PingFang SC","Hiragino Sans GB","Microsoft YaHei",system-ui,sans-serif;
  font-size:16px;
  line-height:1.7;
  color:var(--paper);
  background-color:var(--ink);
  background-image:
    radial-gradient(62vw 62vw at 90% 2%,rgba(0,255,255,.17),transparent 62%),
    radial-gradient(56vw 56vw at 2% 94%,rgba(105,255,105,.15),transparent 60%),
    repeating-linear-gradient(0deg,rgba(105,255,105,.045) 0 1px,transparent 1px 4px);
  overflow-x:hidden;
}

img{max-width:100%;height:auto}

/* ---------- 左侧固定竖排导航 ---------- */
.dock{
  position:fixed;
  inset:0 auto 0 0;
  width:var(--dock);
  z-index:40;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:20px 14px 16px;
  background:linear-gradient(180deg,rgba(0,255,255,.10),rgba(105,255,105,.05) 46%,rgba(11,21,11,.94));
  border-right:1px solid var(--line);
  overflow-y:auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  text-decoration:none;
  color:#fff;
  font-weight:700;
  font-size:19px;
  letter-spacing:.01em;
}

.brand .mark{
  flex:none;
  width:26px;
  height:26px;
  border-radius:50%;
  background:conic-gradient(from 0deg,#69ff69,#00ffff,#ffffff,#69ff69);
  box-shadow:var(--glow);
  animation:brandspin 9s linear infinite;
}

@keyframes brandspin{to{transform:rotate(360deg)}}

.dock ol{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}

.dock ol a.pill{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:9px 14px;
  font-size:16px;
  line-height:1.3;
  text-decoration:none;
  color:#d6ffd6;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(105,255,105,.05);
  transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.dock ol a.pill:hover,
.dock ol a.pill:focus-visible{
  background:var(--lime);
  color:var(--ink);
  box-shadow:var(--glow);
  transform:translateX(3px);
  outline:none;
}

.cta{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 16px;
  font-size:16px;
  font-weight:600;
  text-decoration:none;
  color:var(--ink);
  border-radius:999px;
  border:1px solid #ffffff;
  background:linear-gradient(160deg,#ffffff,#69ff69 42%,#00ffff);
  box-shadow:var(--glow);
}

.cta:hover,
.cta:focus-visible{
  filter:brightness(1.08);
  outline:none;
}

/* ---------- 首屏 ---------- */
main{
  margin-left:var(--dock);
}

.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:96px 24px 130px;
  overflow:hidden;
}

.hero-copy{
  position:relative;
  z-index:2;
  max-width:820px;
}

.hero h1{
  margin:0 0 20px;
  font-size:clamp(2.3rem,7.6vw,5.8rem);
  line-height:1.04;
  letter-spacing:-.02em;
  background:var(--chrome);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 18px rgba(105,255,105,.5)) drop-shadow(0 0 40px rgba(0,255,255,.28));
}

.hero .lead{
  margin:0 auto;
  max-width:44ch;
  font-size:17px;
  line-height:1.75;
  color:#bff4c8;
  text-shadow:0 0 16px rgba(0,255,255,.25);
}

.hero-figure{
  position:relative;
  z-index:2;
  width:100%;
  max-width:900px;
  margin:30px auto 0;
  border:1px solid var(--line);
  background:rgba(11,21,11,.45);
  box-shadow:0 0 28px rgba(0,255,255,.20);
}

.hero-figure img{
  display:block;
  width:100%;
  height:auto;
}

.edge{
  position:absolute;
  left:-8%;
  right:-8%;
  bottom:-64px;
  height:140px;
  background:linear-gradient(90deg,var(--lime),var(--cyan) 70%,#ffffff);
  transform:skewY(-3deg);
  opacity:.92;
  z-index:1;
}

.spark{
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 12px #fff,0 0 26px rgba(0,255,255,.9);
  animation:twinkle 3.4s ease-in-out infinite;
  z-index:1;
}

.spark.s1{top:16%;left:14%}
.spark.s2{top:27%;right:12%;animation-delay:.9s;width:5px;height:5px}
.spark.s3{bottom:26%;left:22%;animation-delay:1.7s;width:4px;height:4px}

@keyframes twinkle{
  0%,100%{opacity:.25;transform:scale(.7)}
  50%{opacity:1;transform:scale(1.25)}
}

/* ---------- 正文骨架 ---------- */
.wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 272px;
  gap:36px;
  max-width:1180px;
  margin:0 auto;
  padding:56px 28px 0;
}

.body{min-width:0}

article{
  font-size:17px;
  line-height:1.85;
  color:#dcffdc;
}

article h2{
  margin:2.8rem 0 .5rem;
  font-size:clamp(1.5rem,3.2vw,2.05rem);
  line-height:1.22;
  letter-spacing:-.01em;
  color:#ffffff;
  text-shadow:0 0 14px rgba(0,255,255,.4);
}

article h3{
  margin:1.9rem 0 .45rem;
  font-size:1.18rem;
  line-height:1.4;
  color:var(--lime);
}

article p{margin:0 0 1.05em;max-width:66ch}
article ul,
article ol{padding-left:1.25em;max-width:66ch}
article li{margin:.35em 0}

article a{
  color:var(--cyan);
  text-decoration:underline;
  text-underline-offset:3px;
}

article strong{color:#ffffff}

article img{
  display:block;
  max-width:100%;
  margin:1.3rem 0;
  border:1px solid var(--line);
}

article blockquote{
  margin:1.3rem 0;
  padding:.25rem 0 .25rem 1rem;
  border-left:3px solid var(--cyan);
  color:#c9ffd6;
}

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

hr{
  height:2px;
  border:0;
  margin:1.1rem 0 1.7rem;
  background:linear-gradient(90deg,var(--lime),var(--cyan) 55%,transparent);
}

/* ---------- 右侧边栏 ---------- */
aside{
  position:sticky;
  top:22px;
  align-self:start;
  padding:16px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(0,255,255,.07),rgba(11,21,11,.45));
}

aside h2{
  margin:0;
  font-size:1rem;
  letter-spacing:.14em;
  color:#ffffff;
}

aside hr{margin:.6rem 0 1rem}

aside ol{
  list-style:none;
  margin:0;
  padding:0;
}

aside a{
  display:block;
  min-height:38px;
  padding:8px 6px;
  font-size:16px;
  text-decoration:none;
  color:#cdf6d4;
  border-bottom:1px dashed rgba(105,255,105,.2);
}

aside a:hover,
aside a:focus-visible{
  color:var(--lime);
  outline:none;
}

/* ---------- 页脚三栏 ---------- */
.foot{
  margin:56px 0 0 var(--dock);
  padding:34px 28px 18px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
  border-top:1px solid var(--line);
  background:rgba(11,21,11,.6);
}

.foot dl{margin:0}
.foot dt{
  margin-bottom:8px;
  font-size:.85rem;
  letter-spacing:.16em;
  color:var(--lime);
}
.foot dd{margin:0;color:#b8e8c0;font-size:16px;line-height:1.6}

.foot a{
  display:inline-block;
  padding:9px 0;
  text-decoration:none;
  color:#dcffdc;
}

.foot a:hover,
.foot a:focus-visible{color:var(--lime);outline:none}

.foot-list{list-style:none;margin:0;padding:0}
.foot-host{word-break:break-all}

.foot-brand{font-weight:600}

.foot-base{
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:12px;
  margin-top:6px;
  padding-top:14px;
  border-top:1px solid rgba(105,255,105,.18);
  font-size:.92rem;
  color:#8fbf98;
}

.foot-base p{margin:0}
.foot-base .top a{padding:8px 0}

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

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

/* ---------- 平板 / 移动 ---------- */
@media (max-width:900px){
  .dock{
    inset:0 0 auto 0;
    width:auto;
    height:auto;
    flex-direction:row;
    align-items:center;
    gap:10px;
    padding:8px 10px;
    border-right:0;
    border-bottom:1px solid var(--line);
    overflow-x:auto;
    overflow-y:hidden;
  }
  .brand{font-size:16px;min-height:42px;white-space:nowrap}
  .brand .mark{width:20px;height:20px}
  .dock ol{flex-direction:row;flex:none;gap:8px}
  .dock ol a.pill{white-space:nowrap;min-height:40px;padding:8px 12px}
  .dock ol a.pill:hover{transform:none}
  .cta{flex:none;min-height:40px;padding:8px 14px;white-space:nowrap}

  main{margin-left:0}
  .hero{min-height:auto;padding:88px 16px 92px}
  .hero-figure{margin-top:24px}
  .edge{bottom:-48px;height:100px}

  .wrap{grid-template-columns:1fr;gap:26px;padding:34px 16px 0}
  aside{position:static;order:2}
  .foot{margin-left:0;grid-template-columns:1fr;gap:18px;padding:26px 16px 16px}
}

@media (max-width:560px){
  .cta{display:none}
  .hero h1{font-size:clamp(2rem,10vw,2.9rem)}
  article{font-size:16px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
  .stagger{opacity:1;transform:none}
}

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