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

:root {
  color-scheme: dark;
  --bg: #0c1011;
  --surface: #141a1a;
  --line: #2b3835;
  --muted: #9aa9a3;
  --text: #eef4ee;
  --lime: #c0fb77;
  --mono: "IBM Plex Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px Inter, "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
p { color: var(--muted); line-height: 1.8; }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: #101415; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; font: 600 23px var(--mono); letter-spacing: -.07em; white-space: nowrap; }
.brand > span:last-child { color: var(--lime); }
.logo { display: grid; place-items: center; width: 32px; height: 32px; margin-right: 10px; border-radius: 8px; color: #172310; background: var(--lime); font-size: 32px; line-height: 1; transform: rotate(-4deg); }
nav { display: flex; gap: 30px; color: #aebbb5; font-size: 13px; }
nav a:hover, .site-footer > a:last-child:hover { color: var(--lime); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.button span { font-family: var(--mono); }
.button:hover { filter: brightness(1.15); border-color: #6c8c63; }
.button.primary { color: #162110; background: var(--lime); border-color: var(--lime); }
.button.outline { background: #151b1b; }
.button.compact { min-height: 36px; padding: 7px 11px; font-size: 12px; }
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(55px, 8vw, 113px) 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 81% 49%, #243626 0, #101918 47%, var(--bg) 78%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(#b8eba311 1px, transparent 1px), linear-gradient(90deg, #b8eba311 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(90deg, transparent 28%, black);
}
.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(26px, 6vw, 90px); }
.kicker { display: flex; align-items: center; gap: 9px; color: #b6e99d; font: 500 13px var(--mono); }
.kicker span, .flow-header i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #bcfb7780; }
h1 { margin: 22px 0 18px; font-size: clamp(36px, 4.5vw, 67px); line-height: 1.18; letter-spacing: -.065em; }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy p { max-width: 460px; margin: 0 0 25px; font-size: 15px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.demo-note { display: block; color: var(--muted); margin-top: 14px; font-size: 12px; }
.flow { min-width: 0; border: 1px solid #486348; border-radius: 12px; background: #111918; overflow: hidden; box-shadow: 0 20px 58px #02080395; }
.flow-header, .flow-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 13px 16px; color: #a4b7ab; font: 11px var(--mono); background: #19231e; }
.flow-header { border-bottom: 1px solid #334838; }
.flow-header i { margin-right: 5px; width: 6px; height: 6px; }
.flow-body { padding: 20px 17px 16px; }
.vault { display: flex; gap: 10px; align-items: center; padding: 11px; border: 1px solid #3d553e; border-radius: 7px; background: #1b2920; }
.vault-icon { display: grid; place-items: center; width: 35px; height: 35px; flex: 0 0 35px; background: #334929; color: var(--lime); border-radius: 6px; font-size: 19px; }
.flow small { display: block; color: #a7b9ac; font-size: 11px; }
.vault strong { display: block; margin-top: 3px; font: 600 clamp(16px, 2vw, 25px) var(--mono); }
.vault em { font-size: 11px; color: #a7b9ac; font-style: normal; }
.chip { margin-left: auto; font: 11px var(--mono); white-space: nowrap; color: #aeea94; }
.pipe { display: flex; flex-direction: column; align-items: center; color: #a8c8aa; font-size: 11px; }
.pipe span { height: 10px; width: 1px; background: #5e875b; }
.pipe b { padding: 4px 8px; border: 1px solid #3a543c; border-radius: 4px; font-weight: 500; }
.distribution { display: flex; justify-content: space-between; margin: 0 16.7%; height: 13px; border-top: 1px solid #5e875b; }
.distribution i { width: 1px; height: 100%; background: #5e875b; }
.recipients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.recipients div { padding: 9px; background: #1b2720; border: 1px solid #354c3a; border-radius: 6px; font-family: var(--mono); }
.recipients strong { display: block; font-size: 20px; margin: 4px 0; }
.recipients span { color: var(--lime); font-size: 11px; }
.flow-footer { border-top: 1px solid #334838; }
.flow-footer > span:first-child { color: var(--lime); }
.flow-footer b { padding: 0 3px; }

/* 分账流转：钱包呼吸 → 光点下行 → 横向分流 → 收款卡依次到账 */
.vault { animation: vaultPulse 5s ease-in-out infinite; }
.pipe span { position: relative; }
.pipe span::after { content: ''; position: absolute; top: 0; left: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px #bcfb77cc; opacity: 0; animation: drip 5s ease-in infinite; }
.pipe span:last-of-type::after { animation-delay: .3s; }
.distribution { position: relative; }
.distribution::after { content: ''; position: absolute; top: -3px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px #bcfb77cc; opacity: 0; animation: flowAcross 5s ease-in-out infinite; }
.recipients div { animation: receive 5s ease-in-out infinite; }
.recipients div:nth-child(2) { animation-delay: .12s; }
.recipients div:nth-child(3) { animation-delay: .24s; }

@keyframes vaultPulse {
  0%, 45%, 100% { box-shadow: 0 0 0 0 #bcfb7700; }
  12% { box-shadow: 0 0 0 4px #bcfb771a; }
}
@keyframes drip {
  0% { transform: translateY(-6px); opacity: 0; }
  8% { opacity: 1; }
  30% { transform: translateY(12px); opacity: 1; }
  38%, 100% { transform: translateY(12px); opacity: 0; }
}
@keyframes flowAcross {
  0%, 34% { left: 0; opacity: 0; }
  38% { opacity: 1; }
  56% { left: calc(100% - 6px); opacity: 1; }
  62%, 100% { left: calc(100% - 6px); opacity: 0; }
}
@keyframes receive {
  0%, 56% { border-color: #354c3a; background: #1b2720; box-shadow: none; }
  62% { border-color: #8fbf6a; background: #22331f; box-shadow: 0 0 0 1px #bcfb7733; }
  76%, 100% { border-color: #354c3a; background: #1b2720; box-shadow: none; }
}
.section { padding: 54px 0 0; scroll-margin-top: 10px; }
.section-title { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; }
.section-title h2, .closing h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.04em; }
.prompt { color: var(--lime); font: 600 22px var(--mono); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.features article { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.feature-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #253525; color: var(--lime); font: 20px var(--mono); }
h3 { margin: 12px 0 6px; font-size: 15px; }
.features p, .steps p, .questions p { margin: 0; font-size: 13px; }
.security-note { margin: 12px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: #101615; color: var(--muted); font-size: 13px; line-height: 1.7; }
.security-note b { color: var(--text); font-weight: 600; }
.security-map { margin: 0 0 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(ellipse at 50% 42%, #18211d 0, #101615 72%); overflow-x: auto; }
.security-map svg { display: block; width: 100%; min-width: 620px; height: auto; }
.security-map .flow { stroke-dasharray: 6 6; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -12; } }
.dao-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: linear-gradient(110deg, #18241c, var(--surface));
  border: 1px solid #354a38;
  border-radius: 8px;
}
.dao-copy p { margin: 0; }
.dao-copy p + p { margin-top: 12px; }
.dao-example {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
}
.dao-example-title, .dao-example dl > div { display: flex; justify-content: space-between; gap: 8px; }
.dao-example-title { color: var(--muted); font-size: 12px; }
.dao-example dl { margin: 8px 0 0; }
.dao-example dl > div { padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.dao-example dl > div:last-child { padding-bottom: 0; }
.dao-example dd { margin: 0; color: var(--lime); font: 500 13px var(--mono); }
.steps { counter-reset: step; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; border-block: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 17px 15px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps li::before { content: "0" counter(step); color: var(--lime); font: 500 12px var(--mono); }
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.questions summary { cursor: pointer; font-weight: 600; }
.questions summary::marker { color: var(--lime); }
.questions p { margin: 9px 0 0; }
.closing { margin-block: 51px 35px; border: 1px solid #3e563d; border-radius: 9px; padding: 24px; background: linear-gradient(100deg,#1b2720,#18241b); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.closing p { margin: 8px 0 0; font-size: 13px; }
.site-footer { display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding: 18px 0; color: var(--muted); font-size: 12px; }
.site-footer .brand { color: var(--text); font-size: 17px; }
.site-footer .logo { display: none; }
.site-footer > a:last-child { margin-left: auto; }
@media (max-width: 850px) {
  .wrap { width: calc(100% - 44px); }
  .hero-layout { gap: 22px; }
  nav { gap: 14px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; gap: 8px; }
  .header-inner nav { display: none; }
  .hero { padding: 39px 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 25px; }
  h1 { margin-top: 16px; }
  .flow { width: 100%; max-width: 460px; }
  .section { padding-top: 37px; }
  .features { grid-template-columns: 1fr; }
  .dao-panel { grid-template-columns: 1fr; gap: 16px; padding: 16px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .closing { align-items: flex-start; flex-direction: column; margin-top: 37px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vault, .pipe span::after, .distribution::after, .recipients div, .security-map .flow { animation: none; }
}
