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

:root{
  --neon:#69ff69;
  --cyan:#00ffff;
  --ink:#172617;
  --panel:rgba(23,38,23,.62);
  --line:rgba(105,255,105,.24);
  --line2:rgba(0,255,255,.28);
  --txt:#d9ffe3;
  --dim:#8fbf9e;
}

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

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

body{
  margin:0;
  min-height:100vh;
  overflow-x:hidden;
  color:var(--txt);
  font-family:Inter,'PingFang SC','Hiragino Sans GB','Microsoft YaHei',system-ui,sans-serif;
  font-size:17px;
  line-height:1.75;
  letter-spacing:.005em;
  background:
    radial-gradient(900px 480px at 12% -8%, rgba(105,255,105,.20), transparent 62%),
    radial-gradient(760px 420px at 92% 4%, rgba(0,255,255,.16), transparent 58%),
    linear-gradient(180deg,#0c1c0e,#08120a 48%,#060d08);
  background-attachment:fixed;
}

img{display:block;max-width:100%;height:auto}
a{color:#8dffb9}
strong{font-weight:600;color:#f0fff4}
h1,h2,h3{font-weight:600}

/* ---------- 顶栏 ---------- */
.hd{position:sticky;top:0;z-index:60}

.hd-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  max-width:1180px;
  margin:0 auto;
  padding:12px clamp(12px,4vw,40px) 10px;
}

.brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  text-decoration:none;
}

.mark{
  width:38px;height:38px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 0 0 1px rgba(0,255,255,.55), 0 0 20px rgba(105,255,105,.55);
}

.mark-txt{
  width:38px;height:38px;
  display:grid;place-items:center;
  border-radius:50%;
  background:linear-gradient(135deg,#eafff0,#69ff69 42%,#00ffff);
  color:#08130a;
  font-size:16px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 0 18px rgba(0,255,255,.5);
}

.brand-txt{
  font-size:18px;
  font-weight:600;
  letter-spacing:.08em;
  background:linear-gradient(135deg,#ffffff,#69ff69 38%,#00ffff 68%,#eafff0);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.contact{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 18px;
  font-size:16px;
  text-decoration:none;
  color:#e2fff2;
  border:1px solid var(--line2);
  background:linear-gradient(180deg,rgba(0,255,255,.20),rgba(105,255,105,.10));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45), 0 0 18px rgba(0,255,255,.22);
}
.contact:hover{color:#04140a;background:linear-gradient(180deg,#eafff0,#69ff69)}

/* ---------- 锚点条 ---------- */
.anchors{
  background:rgba(9,20,11,.86);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  backdrop-filter:blur(14px) saturate(160%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line2);
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}

.anchors p{
  display:flex;
  flex-wrap:wrap;
  gap:2px 4px;
  max-width:1180px;
  margin:0 auto;
  padding:6px clamp(10px,4vw,40px);
}

.anchors a{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:0 11px;
  font-size:16px;
  text-decoration:none;
  color:#bdffd0;
  border-bottom:2px solid transparent;
}

.anchors a::before{
  content:"";
  width:6px;height:6px;
  background:linear-gradient(135deg,#69ff69,#00ffff);
  transform:rotate(45deg);
  box-shadow:0 0 8px rgba(0,255,255,.8);
}

.anchors a:hover,
.anchors a:focus-visible{
  color:#fff;
  border-bottom-color:var(--cyan);
  background:linear-gradient(180deg,rgba(105,255,105,.22),rgba(0,255,255,.10));
  text-shadow:0 0 12px rgba(105,255,105,.9);
}

/* ---------- 主视觉 ---------- */
.hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(120px,250px) minmax(0,1fr);
  gap:clamp(18px,4vw,46px);
  align-items:center;
  max-width:1180px;
  margin:0 auto;
  min-height:70vh;
  text-align:right;
  padding:clamp(26px,5vw,54px) clamp(14px,4vw,40px) clamp(42px,7vw,76px);
}

.hero::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:12px;
  background:linear-gradient(90deg,#69ff69,#00ffff 52%,#f2fff6);
  transform:skewY(-1.6deg);
  transform-origin:left bottom;
  box-shadow:0 0 26px rgba(0,255,255,.55);
}

.orb{
  position:relative;
  margin:0;
  aspect-ratio:1;
  border-radius:50%;
  overflow:hidden;
  background:
    radial-gradient(circle at 32% 26%, rgba(255,255,255,.9), rgba(105,255,105,.55) 26%, rgba(0,255,255,.34) 48%, rgba(23,38,23,.92) 80%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55), inset 0 -22px 44px rgba(0,0,0,.5), 0 0 46px rgba(0,255,255,.34);
}

.orb-img{width:100%;height:100%;object-fit:cover;opacity:.94;mix-blend-mode:screen}

.gloss{
  position:absolute;inset:0;
  background:linear-gradient(142deg, rgba(255,255,255,.7), rgba(255,255,255,0) 44%);
  mix-blend-mode:screen;
  pointer-events:none;
}

.spark{
  position:absolute;
  width:8px;height:8px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 12px #fff, 0 0 26px #00ffff;
  animation:tw 3.8s ease-in-out infinite;
}
.spark.a{left:16%;top:20%}
.spark.b{right:22%;bottom:18%;animation-delay:1.1s}
.spark.c{right:14%;top:32%;width:5px;height:5px;animation-delay:2.3s}

@keyframes tw{
  0%,100%{opacity:.2;transform:scale(.6)}
  50%{opacity:1;transform:scale(1.3)}
}

.hero-txt h1{
  margin:0 0 14px;
  font-size:clamp(30px,5.4vw,56px);
  line-height:1.16;
  letter-spacing:-.01em;
  background:linear-gradient(135deg,#ffffff,#d8fff0 18%,#69ff69 46%,#00ffff 70%,#ffffff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 18px rgba(0,255,255,.42));
}

.lede{
  margin:0 0 0 auto;
  max-width:44ch;
  font-size:17px;
  color:#a9e8bd;
}

/* ---------- 主体 ---------- */
.stage{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:clamp(18px,3vw,40px);
  align-items:start;
  max-width:1180px;
  margin:0 auto;
  text-align:left;
  padding:clamp(30px,5vw,58px) clamp(14px,4vw,40px) clamp(48px,8vw,92px);
}

.rail{
  position:sticky;
  top:124px;
  padding-left:16px;
  border-left:2px solid rgba(105,255,105,.5);
  background:linear-gradient(90deg, rgba(0,255,255,.08), rgba(0,255,255,0) 78%);
}

.rail-t{
  margin:0;
  font-size:16px;
  letter-spacing:.34em;
  color:#a4ffc0;
  text-shadow:0 0 14px rgba(105,255,105,.6);
}

.rail hr{
  border:0;
  height:1px;
  margin:10px 0 12px;
  background:linear-gradient(90deg,#69ff69,#00ffff,transparent);
}

.rail-list{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:r;
}

.rail-list li{
  counter-increment:r;
  border-bottom:1px dashed rgba(0,255,255,.2);
}

.rail-list a{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:42px;
  padding:5px 0;
  font-size:16px;
  text-decoration:none;
  color:#c9ffd9;
}

.rail-list a::before{
  content:counter(r,decimal-leading-zero);
  font-size:16px;
  color:var(--cyan);
  font-variant-numeric:tabular-nums;
  opacity:.85;
}

.rail-list a:hover{color:#fff;text-shadow:0 0 12px rgba(0,255,255,.9)}

.flow{min-width:0}

.flow > div{
  position:relative;
  margin:0 0 clamp(20px,3vw,30px);
  padding:clamp(20px,3vw,34px);
  scroll-margin-top:132px;
  background:linear-gradient(180deg, rgba(23,38,23,.74), rgba(12,24,14,.62));
  border:1px solid var(--line);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 18px 40px rgba(0,0,0,.34);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-radius:0;
}

.flow > div::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg,#69ff69,#00ffff 55%,#ffffff);
  opacity:.72;
}

.flow > div:target{
  border-color:rgba(0,255,255,.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2), 0 0 34px rgba(0,255,255,.28);
}

.flow h2{
  margin:0 0 12px;
  font-size:clamp(21px,3.1vw,29px);
  line-height:1.35;
  color:#f2fff6;
  text-shadow:0 0 22px rgba(105,255,105,.42);
}

.flow h3{
  margin:24px 0 10px;
  font-size:18px;
  color:#e8fff0;
}

.flow h2 + hr,
.flow h3 + hr{
  border:0;
  height:2px;
  margin:0 0 18px;
  background:linear-gradient(90deg,#69ff69,#00ffff 42%,transparent);
  box-shadow:0 0 14px rgba(0,255,255,.35);
}

.flow p{margin:0 0 1em;color:var(--txt)}
.flow ul,.flow ol{margin:0 0 1em;padding-left:1.25em}
.flow li{margin:.35em 0}
.flow a{color:#7dffb0;text-underline-offset:3px}
.flow img{margin:1.1em 0;border:1px solid var(--line2)}
.flow blockquote{
  margin:1.2em 0;
  padding:10px 16px;
  border-left:3px solid var(--cyan);
  background:rgba(0,255,255,.07);
  color:#c9ffe4;
}

.flow table{width:100%;border-collapse:collapse;margin:0 0 1em}
.flow th,.flow td{border:1px solid var(--line);padding:8px 10px;text-align:left}
.flow th{background:rgba(105,255,105,.12);color:#effff4}

/* ---------- 页脚 ---------- */
.ft{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);
  gap:14px 26px;
  max-width:1180px;
  margin:0 auto;
  padding:clamp(24px,4vw,42px) clamp(14px,4vw,40px) 34px;
  border-top:1px solid var(--line2);
  background:linear-gradient(180deg, rgba(105,255,105,.07), transparent);
}

.ft p{margin:0;font-size:16px}

.ft-brand strong{
  font-size:18px;
  letter-spacing:.08em;
  background:linear-gradient(135deg,#eafff0,#69ff69 40%,#00ffff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.ft-links{
  display:flex;
  flex-wrap:wrap;
  gap:2px 12px;
  justify-content:flex-end;
}

.ft-links a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  font-size:16px;
  text-decoration:none;
  color:#bdffd0;
}
.ft-links a:hover{color:#fff;text-shadow:0 0 12px rgba(0,255,255,.85)}

.ft small{
  grid-column:1 / -1;
  font-size:16px;
  color:var(--dim);
  padding-top:12px;
  border-top:1px dashed rgba(105,255,105,.25);
}

/* ---------- 动效 ---------- */
.anim .reveal{
  opacity:0;
  transform:translateY(16px);
  transition:opacity .6s ease, transform .6s cubic-bezier(.2,.72,.3,1);
}
.anim .reveal.in{opacity:1;transform:none}

.hd.stuck .anchors{box-shadow:0 12px 34px rgba(0,0,0,.6)}

/* ---------- 移动端 ---------- */
@media (max-width:760px){
  body{font-size:17px}

  .hero{
    grid-template-columns:minmax(0,1fr);
    justify-items:start;
    text-align:left;
    min-height:0;
    padding-top:22px;
    padding-bottom:40px;
  }

  .orb{width:min(44vw,170px);grid-row:2}

  .lede{margin:0;max-width:none}

  .hero-txt h1{font-size:clamp(28px,8vw,40px)}

  .stage{grid-template-columns:minmax(0,1fr);padding-top:26px}

  .rail{position:static;grid-row:2;margin-top:6px;order:2}
  .flow{order:1}

  .flow > div{scroll-margin-top:120px}

  .ft{grid-template-columns:minmax(0,1fr)}
  .ft-links{justify-content:flex-start}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .anim .reveal{opacity:1;transform:none;transition:none}
  .spark{animation:none}
  .hero::after{box-shadow:none}
}

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