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

:root{
  --ink:#172617;
  --ink-deep:#0a150b;
  --card:#1b2f1d;
  --lime:#69ff69;
  --cyan:#00ffff;
  --txt:#e8f7e7;
  --dim:#a6c8aa;
  --line:rgba(105,255,105,.28);
  --r:18px;
  --chrome:linear-gradient(180deg,#ffffff 0%,#dcf9e0 34%,#8fb79a 66%,#f0fff3 100%);
  --irid:linear-gradient(115deg,#69ff69 0%,#00ffff 48%,#c8ffe6 72%,#69ff69 100%);
}

*{box-sizing:border-box}

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

body{
  margin:0;
  background:var(--ink);
  color:var(--txt);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  font-size:17px;
  line-height:1.7;
  padding-bottom:calc(90px + env(safe-area-inset-bottom));
  overflow-x:hidden;
}

body::before{
  content:'';
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(42vmax 42vmax at 90% -10%, rgba(0,255,255,.20), transparent 66%),
    radial-gradient(48vmax 48vmax at 2% 16%, rgba(105,255,105,.15), transparent 62%),
    radial-gradient(34vmax 34vmax at 62% 96%, rgba(0,255,255,.10), transparent 70%);
}

h1,h2,h3{font-weight:800;letter-spacing:-.02em;line-height:1.15}

a{color:var(--lime)}

a:focus-visible,button:focus-visible,.btn:focus-visible{
  outline:3px solid var(--cyan);
  outline-offset:3px;
}

/* —— 首屏 —— */
.hero{
  position:relative;
  min-height:100svh;
  display:grid;
  grid-template-columns:1.06fr .94fr;
  align-items:center;
  gap:clamp(24px,4vw,64px);
  padding:clamp(30px,6vw,72px) clamp(20px,6vw,72px) clamp(96px,9vw,132px);
}

.hero-copy{max-width:640px}

h1{
  margin:0 0 18px;
  font-size:clamp(34px,6.2vw,64px);
  letter-spacing:-.035em;
  background:var(--chrome);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 20px rgba(105,255,105,.45)) drop-shadow(0 2px 0 rgba(0,255,255,.28));
}

.hero-desc{
  margin:0 0 26px;
  max-width:36ch;
  font-size:18px;
  color:var(--dim);
}

.hero-art{
  margin:0;
  width:100%;
  aspect-ratio:1 / 1;
  overflow:hidden;
  border-radius:52% 48% 44% 56% / 46% 52% 48% 54%;
  background:var(--card);
  border:1px solid rgba(255,255,255,.24);
  box-shadow:
    0 26px 70px rgba(0,255,255,.22),
    inset 0 0 0 7px rgba(255,255,255,.06);
}

.hero-art img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* —— 按钮 —— */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 28px;
  border-radius:999px;
  font-size:16px;
  font-weight:700;
  text-decoration:none;
  color:#0b180c;
  background:var(--irid);
  border:1px solid rgba(255,255,255,.6);
  box-shadow:
    0 12px 30px rgba(105,255,105,.32),
    inset 0 2px 0 rgba(255,255,255,.9),
    inset 0 -3px 0 rgba(0,0,0,.18);
  transition:transform .18s ease, box-shadow .18s ease;
}

.btn:hover{
  transform:translateY(-2px) scale(1.02);
  box-shadow:
    0 16px 38px rgba(0,255,255,.42),
    inset 0 2px 0 rgba(255,255,255,.9),
    inset 0 -3px 0 rgba(0,0,0,.18);
}

/* —— 正文骨架 —— */
.wrap{
  max-width:1140px;
  margin:0 auto;
  padding:clamp(22px,4vw,50px) clamp(14px,4vw,36px) 0;
}

.sheet{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(218px,282px);
  gap:clamp(20px,3vw,42px);
  align-items:start;
}

.prose{
  min-width:0;
  padding:clamp(20px,3.4vw,42px);
  border-radius:var(--r);
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(27,47,29,.94),rgba(13,26,14,.94));
  box-shadow:0 18px 48px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
}

.prose section[id]{
  scroll-margin-top:24px;
  scroll-margin-bottom:110px;
}

.prose section + section{
  margin-top:2.4em;
  padding-top:2.2em;
  border-top:1px dashed rgba(105,255,105,.24);
}

.prose h2{
  margin:1.8em 0 .55em;
  font-size:clamp(24px,3.5vw,33px);
  background:var(--chrome);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 14px rgba(0,255,255,.3));
}

.prose h2:first-child{margin-top:0}

.prose h3{
  margin:1.6em 0 .5em;
  font-size:clamp(19px,2.4vw,23px);
  color:#d9ffdb;
}

.prose p{margin:0 0 1.05em}

.prose ul,.prose ol{margin:0 0 1.1em;padding-left:1.35em}

.prose li{margin:.3em 0}

.prose a{color:var(--lime);text-underline-offset:3px}

.prose a:hover{color:#fff;text-shadow:0 0 14px rgba(105,255,105,.6)}

.prose img{
  max-width:100%;
  height:auto;
  border-radius:14px;
  border:1px solid var(--line);
}

.prose blockquote{
  margin:1.3em 0;
  padding:.6em 1em;
  border-left:3px solid transparent;
  border-image:var(--irid) 1;
  background:rgba(105,255,105,.07);
  border-radius:0 12px 12px 0;
  color:#d9ffdb;
}

.prose code{
  font-size:16px;
  padding:.1em .4em;
  border-radius:6px;
  background:rgba(0,255,255,.12);
  color:#d6feff;
}

hr{
  display:block;
  height:2px;
  margin:.85em 0 1.3em;
  border:0;
  border-radius:2px;
  background:var(--irid);
  opacity:.65;
}

/* —— 侧栏 —— */
.rail{
  position:sticky;
  top:24px;
  padding:20px 16px 16px;
  border-radius:var(--r);
  border:1px solid var(--line);
  background:rgba(9,21,10,.78);
  backdrop-filter:blur(8px);
  box-shadow:0 14px 42px rgba(0,0,0,.42);
}

.rail h2{
  margin:0 0 .45em;
  font-size:17px;
  letter-spacing:.06em;
  color:#ddffdf;
}

.rail hr{margin:0 0 12px}

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

.rail li{counter-increment:rail}

.rail a{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  padding:4px 8px;
  border-radius:12px;
  border:1px solid transparent;
  font-size:16px;
  text-decoration:none;
  color:var(--txt);
  transition:background .16s ease, border-color .16s ease, color .16s ease;
}

.rail a::before{
  content:counter(rail,decimal-leading-zero);
  font-size:12px;
  font-weight:700;
  letter-spacing:.1em;
  color:var(--cyan);
}

.rail a:hover{
  background:rgba(105,255,105,.1);
  border-color:var(--line);
  color:#fff;
}

/* —— 页脚 —— */
footer{
  margin-top:clamp(40px,7vw,88px);
  padding:clamp(32px,6vw,66px) clamp(14px,5vw,48px) 26px;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,rgba(12,25,13,.5),var(--ink-deep) 62%);
}

.bigcta{
  max-width:1140px;
  margin:0 auto clamp(30px,5vw,54px);
  padding:clamp(24px,5vw,50px) clamp(18px,4vw,40px);
  text-align:center;
  border-radius:26px;
  border:1px solid var(--line);
  background:
    radial-gradient(62% 130% at 50% 0%, rgba(0,255,255,.2), transparent 72%),
    linear-gradient(135deg,rgba(105,255,105,.14),rgba(0,255,255,.08));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 18px 46px rgba(0,0,0,.35);
}

.bigcta h2{
  margin:0 0 .5em;
  font-size:clamp(23px,4vw,36px);
  background:var(--chrome);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  filter:drop-shadow(0 0 16px rgba(105,255,105,.4));
}

.bigcta hr{
  max-width:120px;
  margin:0 auto 1.3em;
}

.bigcta-act{margin:0}

.foot-cols{
  max-width:1140px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr 1fr;
  gap:clamp(20px,4vw,42px);
}

.foot-brand{
  margin:0 0 10px;
  font-weight:800;
  font-size:17px;
  letter-spacing:-.01em;
  color:#ddffdf;
}

footer address{
  font-style:normal;
  font-size:16px;
  line-height:1.7;
  color:var(--dim);
  word-break:break-word;
}

footer dl{margin:0}

footer dt{
  font-size:16px;
  font-weight:700;
  color:#ddffdf;
  margin:0 0 6px;
}

footer dd{margin:0}

footer ul{
  list-style:none;
  margin:0;
  padding:0;
}

footer dd a,
footer li a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:2px 4px;
  font-size:16px;
  text-decoration:none;
  color:var(--dim);
  border-radius:8px;
  transition:color .16s ease, text-shadow .16s ease;
}

footer a:hover{color:var(--lime);text-shadow:0 0 12px rgba(105,255,105,.55)}

.col-note p{
  margin:0;
  font-size:16px;
  color:var(--dim);
}

.copy{
  max-width:1140px;
  margin:clamp(26px,4vw,42px) auto 0;
  padding-top:16px;
  border-top:1px solid rgba(105,255,105,.16);
  text-align:center;
  font-size:16px;
  color:var(--dim);
}

/* —— 底部固定条 —— */
.dock{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:20;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px max(12px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background:linear-gradient(180deg,rgba(23,38,23,.88),rgba(9,18,10,.97));
  border-top:1px solid rgba(105,255,105,.36);
  backdrop-filter:blur(14px);
  box-shadow:0 -12px 40px rgba(0,255,255,.14);
}

.dock-brand{
  flex:0 0 auto;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:17px;
  font-weight:800;
  text-decoration:none;
  color:#10200e;
  background:var(--chrome);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:0 6px 18px rgba(0,255,255,.35), inset 0 -3px 0 rgba(0,0,0,.2);
  transition:transform .18s ease;
}

.dock-brand:hover{transform:rotate(-8deg) scale(1.06)}

.dock-nav{
  flex:1 1 auto;
  display:flex;
  gap:4px;
  overflow-x:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
  scroll-snap-type:x proximity;
}

.dock-nav::-webkit-scrollbar{display:none}

.dock-nav a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 13px;
  border-radius:999px;
  font-size:16px;
  font-weight:600;
  white-space:nowrap;
  text-decoration:none;
  color:var(--dim);
  border:1px solid transparent;
  scroll-snap-align:start;
  transition:color .16s ease, background .16s ease, border-color .16s ease;
}

.dock-nav a:hover{
  color:#0f200e;
  background:var(--irid);
  border-color:rgba(255,255,255,.6);
}

.dock-cta{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  font-size:16px;
  font-weight:800;
  text-decoration:none;
  color:#0b180c;
  background:var(--irid);
  border:1px solid rgba(255,255,255,.6);
  box-shadow:0 8px 22px rgba(105,255,105,.4), inset 0 2px 0 rgba(255,255,255,.85);
  transition:transform .18s ease;
}

.dock-cta:hover{transform:translateY(-2px)}

/* —— 滚动显现 —— */
.js .reveal{
  opacity:0;
  transform:translateY(16px);
}

.js .reveal.in{
  opacity:1;
  transform:none;
  transition:opacity .6s ease, transform .6s ease;
}

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

/* —— 响应式 —— */
@media (max-width:880px){
  .hero{
    grid-template-columns:1fr;
    align-content:start;
    gap:20px;
    padding:clamp(26px,9vw,52px) 20px 72px;
  }

  .hero-desc{font-size:17px;max-width:none}

  .hero-art{
    width:100%;
    aspect-ratio:16 / 10;
    max-height:32svh;
    border-radius:24px;
  }

  h1{font-size:clamp(30px,8.6vw,44px)}

  .sheet{grid-template-columns:1fr}

  .rail{position:static;order:2}

  .foot-cols{grid-template-columns:1fr 1fr}
}

@media (max-width:560px){
  .foot-cols{grid-template-columns:1fr}
  .dock-nav a{padding:0 11px}
}

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