:root {
  --neon: #69ff69;
  --cyan: #00ffff;
  --ink: #172617;
  --bg: #060f08;
  --line: rgba(105, 255, 105, 0.28);
  --chrome: linear-gradient(180deg, #ffffff 0%, #d6ecff 30%, #7fd4ff 52%, #69ff69 76%, #12dcb4 100%);
}

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

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

body {
  margin: 0;
  padding-bottom: 176px;
  background:
    radial-gradient(65vw 42vw at 82% -8%, rgba(0, 255, 255, 0.18), transparent 70%),
    radial-gradient(55vw 45vw at 0% 24%, rgba(105, 255, 105, 0.14), transparent 72%),
    radial-gradient(40vw 40vw at 100% 78%, rgba(0, 255, 255, 0.1), transparent 70%),
    var(--bg);
  color: #e8ffe9;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  overflow-x: hidden;
}

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

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

:focus-visible {
  outline: 2px dashed var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 底部固定条导航 ---------- */

.topbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(7, 18, 10, 0.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 40px rgba(0, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 4px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 10px calc(8px + env(safe-area-inset-bottom));
}

.topbar p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 2px;
  margin: 0;
  min-width: 0;
}

.topbar .nav-l {
  order: 1;
}

.topbar .nav-r {
  order: 2;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 10px;
  font-size: 16px;
  font-weight: 500;
  color: #cdf0ce;
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.topbar a:hover {
  color: #04140a;
  background: var(--neon);
  box-shadow: 0 0 18px rgba(105, 255, 105, 0.65);
}

.mark {
  order: 0;
  flex: 0 0 100%;
  justify-content: center;
  min-height: 38px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--neon);
  text-shadow: 0 0 16px rgba(105, 255, 105, 0.7), 0 0 3px rgba(255, 255, 255, 0.6);
}

/* ---------- 主体骨架 ---------- */

section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px 44px;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 70vh;
  padding: 96px 0 44px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ffffff, #b6f7ff 26%, #12b8c9 58%, #0a3435 100%);
  filter: drop-shadow(0 0 34px rgba(0, 255, 255, 0.5));
  opacity: 0.55;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 24%;
  top: 12%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff, #d2ffd2 24%, var(--neon) 62%, #0f7a2d 100%);
  filter: drop-shadow(0 0 22px rgba(105, 255, 105, 0.55));
  opacity: 0.42;
  z-index: -1;
}

.hero-big {
  position: absolute;
  left: -0.06em;
  top: 0.1em;
  width: 130%;
  font-size: clamp(2.6rem, 11.5vw, 8rem);
  line-height: 0.86;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 255, 255, 0.34);
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.35;
  z-index: -2;
  pointer-events: none;
  user-select: none;
}

.hero-shots {
  position: absolute;
  left: 0;
  top: 16%;
  width: 42%;
  max-width: 300px;
  z-index: 0;
  transform: rotate(-5deg);
  filter: drop-shadow(0 12px 30px rgba(0, 255, 255, 0.24));
}

.shot {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.45);
}

.shot + .shot {
  margin-top: -46%;
  transform: translateX(36%) rotate(9deg);
  border-color: rgba(105, 255, 105, 0.55);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  text-align: right;
  padding-top: 34px;
}

.hero-copy small {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.7);
  margin-bottom: 12px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 4.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(0, 255, 255, 0.35));
}

.lede {
  margin: 18px 0 0 auto;
  max-width: 34em;
  color: #bfe8c6;
  font-size: 1rem;
}

/* ---------- 正文 ---------- */

.sheet {
  min-width: 0;
}

.prose > article {
  scroll-margin-top: 24px;
  background: #0e1d11;
  border-radius: 10px;
  padding: 26px 20px;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.prose > article:nth-child(even) {
  background: var(--neon);
  color: #0d2110;
  box-shadow: 0 10px 34px rgba(105, 255, 105, 0.16);
}

.prose p {
  margin: 0 0 1em;
}

.prose p:last-child,
.prose ul:last-child,
.prose ol:last-child {
  margin-bottom: 0;
}

.prose h2 {
  margin: 0 0 0.6em;
  font-size: clamp(1.32rem, 4.6vw, 1.9rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: #f2fff2;
}

.prose h3 {
  margin: 1.4em 0 0.5em;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--neon);
}

.prose small {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 0.4em;
}

.prose > article:nth-child(even) h2 {
  color: #10270f;
}

.prose > article:nth-child(even) h3 {
  color: #0a5f3f;
}

.prose > article:nth-child(even) small {
  color: #0b7a63;
}

.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.prose > article:nth-child(even) a {
  color: #045f5f;
}

.prose a:hover {
  background: rgba(0, 255, 255, 0.16);
}

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

.prose li {
  margin-bottom: 0.4em;
}

.prose strong {
  color: #ffffff;
  font-weight: 700;
}

.prose > article:nth-child(even) strong {
  color: #08240c;
}

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

.prose > article:nth-child(even) blockquote {
  border-left-color: #08483d;
  background: rgba(6, 60, 40, 0.12);
}

/* ---------- 右侧边栏 ---------- */

.rail {
  align-self: start;
  padding: 18px 16px;
  border-radius: 10px;
  background: linear-gradient(165deg, rgba(0, 255, 255, 0.16), rgba(105, 255, 105, 0.08) 62%, rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(0, 255, 255, 0.24);
}

.rail small {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 0.2em;
}

.rail h2 {
  margin: 0 0 0.7em;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.rail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.rail a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 10px;
  font-size: 16px;
  color: #d9ffd9;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}

.rail a:hover {
  background: var(--neon);
  color: #05140a;
}

/* ---------- 页脚 ---------- */

footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 16px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 20px;
  border-top: 1px solid var(--line);
}

footer .cta {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  line-height: 1;
}

footer .cta a {
  font-size: clamp(1.7rem, 9vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 255, 255, 0.4));
}

footer .intro {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #b7ddba;
}

footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  margin: 0;
}

footer .links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  font-size: 16px;
  color: #cdf0ce;
  text-decoration: none;
}

footer .links a:hover {
  color: var(--neon);
}

footer small {
  font-size: 1rem;
  color: #8fbb95;
}

footer .back {
  text-align: right;
}

footer .back a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--cyan);
  text-decoration: none;
}

/* ---------- 动效 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 宽屏 ---------- */

@media (min-width: 860px) {
  body {
    padding-bottom: 104px;
  }

  .topbar nav {
    flex-wrap: nowrap;
    padding: 4px 16px calc(6px + env(safe-area-inset-bottom));
  }

  .topbar .nav-l {
    order: -1;
    flex: 1 1 0;
    justify-content: flex-end;
  }

  .topbar .nav-r {
    order: 1;
    flex: 1 1 0;
    justify-content: flex-start;
  }

  .mark {
    order: 0;
    flex: 0 0 auto;
    padding: 6px 22px;
    min-height: 44px;
  }

  section {
    grid-template-columns: minmax(0, 1fr) 248px;
    gap: 32px;
    padding: 0 24px 56px;
  }

  .hero {
    grid-column: 1 / -1;
    padding: 120px 0 56px;
  }

  .hero-copy {
    max-width: 58%;
  }

  .sheet {
    grid-column: 1;
  }

  .rail {
    grid-column: 2;
    position: sticky;
    top: 20px;
  }

  .prose > article {
    padding: 34px 30px;
    margin-bottom: 22px;
  }

  footer {
    padding: 46px 24px 56px;
    gap: 18px 32px;
  }
}

@media (min-width: 1180px) {
  .hero-shots {
    width: 34%;
  }
}
`;

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