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

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

:root {
  --neon: #69ff69;
  --cyan: #00ffff;
  --ink: #172617;
  --line: rgba(105, 255, 105, 0.24);
  --glass: rgba(23, 38, 23, 0.5);
  --chrome: linear-gradient(180deg, #f2ffe9 0%, #a8ffba 38%, #2cc051 62%, #ddffe6 100%);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Outfit', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #ddf4e2;
  background:
    radial-gradient(1000px 520px at 10% -12%, rgba(0, 255, 255, 0.16), transparent 68%),
    radial-gradient(760px 460px at 95% 2%, rgba(105, 255, 105, 0.15), transparent 66%),
    linear-gradient(180deg, #08160f 0%, #060f0a 52%, #081a11 100%);
  background-attachment: fixed;
}

a {
  color: var(--cyan);
}

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  padding: 14px clamp(14px, 4vw, 32px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 15, 10, 0.72);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: conic-gradient(from 200deg, var(--neon), var(--cyan), #eaffea, var(--neon));
  box-shadow: 0 0 16px rgba(105, 255, 105, 0.7);
}

.brand-img {
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(105, 255, 105, 0.6);
}

.brand-name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(105, 255, 105, 0.4));
}

.nav-main {
  flex: 1 1 320px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-main::-webkit-scrollbar {
  display: none;
}

.nav-main p {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 2px 0;
}

.nav-main a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #c7f5d2;
  text-decoration: none;
  white-space: nowrap;
}

.nav-main a:hover,
.nav-main a:focus-visible {
  color: #04140a;
  background: var(--chrome);
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 20px rgba(105, 255, 105, 0.55);
}

.anchorbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 15, 10, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.anchorbar nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px clamp(12px, 4vw, 32px);
  overflow-x: auto;
  scrollbar-width: none;
}

.anchorbar nav::-webkit-scrollbar {
  display: none;
}

.anchorbar p {
  display: flex;
  gap: 6px;
  margin: 0;
}

.anchorbar a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(23, 38, 23, 0.62);
  font-size: 14px;
  color: #bff3cd;
  text-decoration: none;
  white-space: nowrap;
}

.anchorbar a:hover,
.anchorbar a:focus-visible {
  color: #04140a;
  background: var(--chrome);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 68vh;
  padding: 46px 18px 64px;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
  filter: blur(2px);
}

.hero::before {
  width: 260px;
  height: 260px;
  left: -90px;
  top: 6%;
  background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), rgba(0, 255, 255, 0.45) 42%, rgba(0, 255, 255, 0) 70%);
}

.hero::after {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: 0;
  background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.8), rgba(105, 255, 105, 0.4) 45%, rgba(105, 255, 105, 0) 72%);
}

.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 255, 0.45);
  box-shadow: inset 0 0 22px rgba(0, 255, 255, 0.35), 0 0 22px rgba(105, 255, 105, 0.3);
  pointer-events: none;
  animation: float 7s ease-in-out infinite;
}

.b1 {
  width: 64px;
  height: 64px;
  left: 12%;
  bottom: 22%;
}

.b2 {
  width: 38px;
  height: 38px;
  right: 16%;
  top: 20%;
  animation-delay: -3s;
}

.badge {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 8px 18px;
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.1);
  box-shadow: inset 0 0 22px rgba(0, 255, 255, 0.32), 0 0 18px rgba(0, 255, 255, 0.25);
  animation: float 5s ease-in-out infinite;
}

.badge span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #c9ffff;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.1rem, 7.4vw, 4.6rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.01em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(105, 255, 105, 0.45));
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.hero-desc {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 56ch;
  font-size: clamp(15px, 2vw, 18px);
  color: #bfe8cc;
  animation: rise 0.9s 0.08s both;
}

.cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: var(--chrome);
  color: #04140a;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.45), 0 0 26px rgba(105, 255, 105, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: rise 1s 0.16s both;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 rgba(0, 0, 0, 0.45), 0 0 34px rgba(0, 255, 255, 0.6);
}

.cta:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
}

.wrap {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 32px) 72px;
}

.side {
  position: sticky;
  top: 76px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 12px 30px rgba(0, 0, 0, 0.4);
}

.side h2 {
  display: flex;
  align-items: center;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #9effb6;
}

.side h2:not(:first-child) {
  margin-top: 20px;
}

.side h2 > span {
  position: relative;
  padding-left: 16px;
}

.side h2 > span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

.side-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-list li {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(var(--i, 0) * 45ms);
}

.side-list.is-in li {
  opacity: 1;
  transform: none;
}

.side-list a,
.side-top a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  color: #d7f6e0;
  text-decoration: none;
}

.side-list a:hover,
.side-top a:hover {
  border-color: var(--line);
  background: rgba(105, 255, 105, 0.12);
  color: #eafff0;
}

.side-top {
  margin: 0;
}

.body {
  min-width: 0;
}

.prose {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 44px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.prose.is-in {
  opacity: 1;
  transform: none;
}

.prose div {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px dashed rgba(105, 255, 105, 0.28);
  scroll-margin-top: 104px;
}

.prose div:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #eafff1;
  text-shadow: 0 0 16px rgba(0, 255, 255, 0.32);
}

.prose h2 > span {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.prose h2 > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--neon), var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(105, 255, 105, 0.6);
}

.prose h3 {
  margin: 22px 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  color: #c8ffd8;
}

.prose h3 > span {
  display: inline-block;
  padding-left: 12px;
  border-left: 3px solid var(--cyan);
}

.prose p {
  margin: 0 0 14px;
}

.prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 255, 0.5);
}

.prose a:hover {
  color: #eafcff;
  border-bottom-color: var(--neon);
}

.prose ul,
.prose ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.prose li {
  margin: 0 0 8px;
}

.prose strong {
  color: #eafff0;
}

.prose blockquote {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--neon);
  border-radius: 0 10px 10px 0;
  background: rgba(105, 255, 105, 0.08);
}

.prose hr {
  margin: 26px 0;
  border: 0;
  border-top: 1px dashed var(--line);
}

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.prose table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  font-size: 15px;
}

.prose td,
.prose th {
  padding: 8px 10px;
  border: 1px solid var(--line);
}

footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 18px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px clamp(14px, 4vw, 32px) 48px;
  border-top: 1px solid var(--line);
}

footer p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: 15px;
}

footer .f-brand {
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #d6ffdf;
  text-shadow: 0 0 14px rgba(105, 255, 105, 0.4);
}

footer a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 15px;
  color: #bfe9cb;
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: var(--neon);
}

footer small {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px dashed rgba(105, 255, 105, 0.2);
  text-align: center;
  font-size: 13px;
  color: #8fb89c;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@media (max-width: 880px) {
  .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .side {
    position: static;
  }
  footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 56vh;
    padding: 30px 16px 44px;
  }
  .nav-main p {
    justify-content: flex-start;
  }
  .b1 {
    left: 6%;
    bottom: 12%;
  }
  footer {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .prose,
  .side-list li {
    opacity: 1;
    transform: none;
  }
}

@media (scripting: none) {
  .prose,
  .side-list li {
    opacity: 1;
    transform: none;
  }
}

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