@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --ink: #261717;
  --ink-deep: #1a0e0e;
  --red: #ff0000;
  --pink: #ff1493;
  --txt: #f8eeec;
  --dim: rgba(248, 238, 236, 0.74);
  --glass: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --r: 28px;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

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

body {
  margin: 0;
  background: var(--ink-deep);
  color: var(--txt);
  font-family: var(--mono);
  font-size: 16.5px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- 极光背景 ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 82% 0%, #3d1421 0%, rgba(61, 20, 33, 0) 62%),
    radial-gradient(90% 80% at 0% 100%, #2d1414 0%, rgba(45, 20, 20, 0) 58%),
    var(--ink);
  will-change: transform;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px) saturate(1.4);
  mix-blend-mode: screen;
  opacity: 0.5;
}

.blob-a {
  width: 58vmax;
  height: 58vmax;
  left: -16vmax;
  top: -20vmax;
  background: conic-gradient(from 40deg, #ff0000, #ff1493, #7a1bff, #ff0000);
  animation: float-a 11s ease-in-out infinite alternate;
}

.blob-b {
  width: 48vmax;
  height: 48vmax;
  right: -18vmax;
  top: 16vmax;
  background: conic-gradient(from 200deg, #ff1493, #ff5a00, #ff0000, #ff1493);
  animation: float-b 9s ease-in-out infinite alternate;
}

.blob-c {
  width: 40vmax;
  height: 40vmax;
  left: 26vw;
  bottom: -20vmax;
  background: radial-gradient(circle at 40% 40%, #ff1493, #3b0d3b 72%);
  opacity: 0.38;
  animation: float-c 12s ease-in-out infinite alternate;
}

@keyframes float-a {
  to { transform: translate3d(7vw, 5vh, 0) scale(1.18) rotate(22deg); }
}
@keyframes float-b {
  to { transform: translate3d(-6vw, 6vh, 0) scale(1.12) rotate(-18deg); }
}
@keyframes float-c {
  to { transform: translate3d(4vw, -6vh, 0) scale(1.22); }
}

.veil {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(circle at 50% 28%, #000 18%, transparent 82%);
  mask-image: radial-gradient(circle at 50% 28%, #000 18%, transparent 82%);
}

/* ---------- 左侧导航条 ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 232px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 20px;
  border-right: 1px solid var(--line);
  background: rgba(30, 16, 16, 0.55);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.brand-pin {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--red), var(--pink));
  box-shadow: 0 0 16px var(--pink);
}

.brand-mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
}

.brand-name { line-height: 1.3; }

.burger {
  width: 48px;
  height: 48px;
  display: grid;
  place-content: center;
  gap: 5px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--glass);
  cursor: pointer;
}

.burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--pink));
  transition: transform 0.25s ease;
}

html.menu-open .burger-bar:first-child { transform: translateY(3.5px) rotate(45deg); }
html.menu-open .burger-bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 20px;
  background: rgba(20, 10, 11, 0.92);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

html.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

html.menu-open body { overflow: hidden; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  text-align: center;
  max-height: 78vh;
  overflow: auto;
}

.menu-list a {
  display: block;
  min-height: 48px;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.05rem, 4vw, 1.45rem);
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.menu-list a:hover,
.menu-list a:focus-visible {
  border-color: var(--line);
  background: rgba(255, 20, 147, 0.16);
}

.cta {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 65;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(140deg, var(--red), var(--pink));
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(255, 20, 147, 0.35);
}

.cta:hover { filter: saturate(1.25) brightness(1.08); }

/* ---------- 阶段与首屏 ---------- */
.stage {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px clamp(18px, 6vw, 96px) 90px clamp(18px, 3vw, 44px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  min-height: 70vh;
  padding: clamp(20px, 4vw, 40px) 0;
  overflow: hidden;
}

.hero-ghost {
  position: absolute;
  left: -2%;
  top: 0;
  font-size: clamp(3.4rem, 15vw, 11rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 0, 0, 0.6), rgba(255, 20, 147, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.4;
}

.hero-copy {
  position: relative;
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4.4vw, 3rem);
  line-height: 1.3;
  font-weight: 500;
  background: linear-gradient(96deg, #ffffff 0%, #ff8aa6 45%, var(--pink) 70%, var(--red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: saturate(1.15);
}

.hero-lead {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.75;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: 0 30px 80px rgba(255, 0, 60, 0.18);
}

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

.hero-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 120deg, var(--red), var(--pink), #5b1bff, var(--red));
  filter: blur(2px) saturate(1.2);
}

/* ---------- 正文 ---------- */
.prose {
  display: block;
  max-width: 920px;
  overflow-wrap: break-word;
}

.prose div {
  position: relative;
  margin: 0 0 26px;
  padding: clamp(22px, 3.4vw, 38px);
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  scroll-margin-top: 90px;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.prose div:nth-of-type(1) { animation-delay: 0.04s; }
.prose div:nth-of-type(2) { animation-delay: 0.1s; }
.prose div:nth-of-type(3) { animation-delay: 0.16s; }
.prose div:nth-of-type(4) { animation-delay: 0.22s; }
.prose div:nth-of-type(5) { animation-delay: 0.28s; }
.prose div:nth-of-type(6) { animation-delay: 0.34s; }
.prose div:nth-of-type(7) { animation-delay: 0.4s; }
.prose div:nth-of-type(8) { animation-delay: 0.46s; }

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

.prose h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  line-height: 1.4;
  font-weight: 500;
  color: #fff;
}

.prose h3 {
  margin: 1.4em 0 0.4em;
  font-size: 1.06rem;
  font-weight: 500;
  color: #ffc9d8;
}

.prose hr {
  border: 0;
  height: 1px;
  margin: 0 0 18px;
  background: linear-gradient(90deg, var(--red), var(--pink) 42%, transparent);
  opacity: 0.75;
}

.prose p,
.prose li { color: var(--dim); }

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

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

.prose li { margin: 0.25em 0; }

.prose a {
  color: #ff9ab4;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover { color: #fff; }

.prose strong { color: #fff; }

.prose img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: 20px;
}

.prose blockquote {
  margin: 1em 0;
  padding: 12px 16px;
  border-left: 2px solid var(--pink);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 20, 147, 0.08);
  color: var(--dim);
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose table {
  display: block;
  width: 100%;
  margin: 1em 0;
  border-collapse: collapse;
  overflow-x: auto;
  font-size: 16px;
}

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

.prose th { color: #fff; }

.prose div > *:last-child { margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.foot {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(18px, 6vw, 96px) 44px clamp(18px, 3vw, 44px);
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r);
  border: 1px solid rgba(255, 20, 147, 0.3);
  background: linear-gradient(120deg, rgba(255, 0, 0, 0.18), rgba(255, 20, 147, 0.14) 60%, rgba(255, 255, 255, 0.04));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.foot-cta-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  line-height: 1.45;
  color: #fff;
}

.foot-cta-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--red), var(--pink));
  color: #fff;
  font-size: 16px;
  text-decoration: none;
}

.foot-cta-btn:hover { filter: brightness(1.1); }

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 26px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

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

.foot-grid a {
  display: block;
  min-height: 44px;
  padding: 10px 0;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.foot-grid a:hover {
  color: #fff;
  transform: translateX(3px);
}

.foot-addr {
  display: grid;
  gap: 6px;
  padding: 10px 0;
  font-style: normal;
  color: #fff;
}

.foot-host { color: var(--dim); }

.foot-copy {
  margin: 22px 0 0;
  text-align: center;
  font-size: 16px;
  color: rgba(248, 238, 236, 0.5);
}

/* ---------- 断点 ---------- */
@media (min-width: 900px) {
  body { padding-left: 232px; }
}

@media (max-width: 899px) {
  body {
    padding-left: 0;
    padding-top: 66px;
    padding-bottom: 84px;
  }

  .rail {
    right: 0;
    bottom: auto;
    width: 100%;
    height: 66px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .menu { padding: 76px 14px; }

  .stage { padding: 18px 16px 70px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 6px 0 20px;
  }

  .hero-ghost {
    position: static;
    display: block;
    margin-bottom: -6px;
    font-size: clamp(2.6rem, 13vw, 4rem);
    text-align: center;
  }

  .hero-visual { aspect-ratio: 16 / 10; }

  .cta {
    top: auto;
    bottom: 14px;
    right: 14px;
    transform: none;
    padding: 12px 15px;
  }

  .foot { padding: 0 16px 30px; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }
}

@media (max-width: 420px) {
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .prose div { animation: none; }
  .burger-bar { transition: none; }
  .menu { transition: none; }
}

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