@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --p: #6514ff;
  --m: #bf00ff;
  --ink: #1c1726;
  --ink2: #241d33;
  --ink3: #2c2340;
  --paper: #f4f0ff;
  --dim: #b7aad8;
  --line: rgba(255, 255, 255, .15);
  --r: 18px;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: #e8e1f6;
  font-family: "Source Sans 3", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  opacity: .18;
  background-image: repeating-linear-gradient(45deg, transparent 0 30px, rgba(191, 0, 255, .4) 30px 32px);
  animation: drift 22s linear infinite;
}

@keyframes drift {
  to { transform: translate3d(-64px, -64px, 0); }
}

body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.14; letter-spacing: -.015em; }
figure { margin: 0; }
p { margin: 0 0 16px; }

/* ---------- 左侧固定竖排导航 ---------- */
.dock {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(21, 16, 32, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--p), var(--m));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  overflow: hidden;
  transition: transform .22s ease, filter .22s ease;
}

.mark img { width: 100%; height: 100%; object-fit: cover; }
.mark:hover { transform: rotate(-6deg); filter: saturate(1.3); }

.key {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-left: auto;
  padding: 10px 16px;
  border-radius: var(--r);
  background: linear-gradient(115deg, var(--p), var(--m));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
  transition: transform .22s ease, box-shadow .22s ease;
}

.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(101, 20, 255, .45); }

.dock-nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  max-height: 72vh;
  overflow-y: auto;
  padding: 12px 16px 20px;
  background: #181227;
  border-bottom: 3px solid var(--m);
}

.dock.open .dock-nav { display: flex; }

.dock-nav a {
  display: block;
  padding: 12px 12px;
  min-height: 44px;
  border-radius: 12px;
  font-size: 16px;
  color: #e6ddff;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.dock-nav a:hover { background: var(--p); color: #fff; transform: translateX(3px); }

.dock-grp + .dock-grp {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* ---------- 首屏 ---------- */
.stage {
  position: relative;
  display: grid;
  gap: 26px;
  align-content: center;
  min-height: 45vh;
  padding: 92px 20px 48px;
  overflow: hidden;
}

.stage::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--p), var(--m) 55%, var(--ink));
  transform: skewY(-1.4deg);
  transform-origin: left bottom;
}

.stage-copy { position: relative; z-index: 2; }

h1 {
  font-size: clamp(34px, 7.6vw, 66px);
  max-width: 18ch;
  background: linear-gradient(100deg, #ffffff 25%, #d9c2ff 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: 17px;
  color: var(--dim);
}

.collage {
  position: relative;
  height: 190px;
}

.slab {
  position: absolute;
  border-radius: var(--r);
  overflow: hidden;
  background: linear-gradient(145deg, var(--p), var(--m));
}

.slab-a { inset: 0 30% 20% 0; transform: rotate(-3deg); z-index: 2; }
.slab-b { inset: 24% 0 0 32%; transform: rotate(4deg); background: linear-gradient(325deg, var(--m), var(--p)); }

.slab-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: .92;
}

/* ---------- 主体区 ---------- */
.deck {
  display: grid;
  gap: 32px;
  padding: 40px 20px 8px;
}

.rail {
  background: var(--ink2);
  border-radius: var(--r);
  border-top: 5px solid var(--m);
  padding: 18px;
}

.rail h2 {
  font-size: 18px;
  letter-spacing: .14em;
  color: var(--paper);
  margin-bottom: 10px;
}

.rail h2 span { display: inline-block; border-bottom: 3px solid var(--p); padding-bottom: 4px; }

.rail-list a {
  display: block;
  padding: 11px 2px;
  min-height: 42px;
  font-size: 16px;
  color: #d7cbee;
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
  transition: color .2s ease, padding-left .2s ease;
}

.rail-list a:last-child { border-bottom: 0; }
.rail-list a:hover { color: #fff; padding-left: 8px; }

.flows { min-width: 0; }

.flows section[id] {
  background: var(--ink2);
  border-radius: var(--r);
  padding: 26px 20px;
  margin-bottom: 44px;
  scroll-margin-top: 92px;
}

.flows section[id]:nth-child(even) { background: var(--ink3); }

.flows h2 {
  font-size: clamp(23px, 4.4vw, 33px);
  margin-bottom: 16px;
  color: #fff;
}

.flows h3 { font-size: 20px; margin: 22px 0 10px; color: #ece1ff; }
.flows p { color: #ded5f2; max-width: 68ch; line-height: 1.85; }
.flows ul, .flows ol { margin: 0 0 16px; padding-left: 22px; line-height: 1.85; color: #ded5f2; }
.flows li { margin-bottom: 8px; }
.flows strong { color: #fff; }
.flows a { color: #cbb4ff; text-decoration: underline; text-underline-offset: 3px; }
.flows a:hover { color: #fff; }
.flows blockquote {
  margin: 0 0 16px;
  padding: 14px 18px;
  background: var(--ink);
  border-left: 6px solid var(--m);
  border-radius: 0 12px 12px 0;
  color: #e6dcfa;
}
.flows blockquote p:last-child { margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.base {
  margin-top: 56px;
  border-top: 5px solid var(--p);
  background: #151020;
}

.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 20px;
  background: linear-gradient(115deg, var(--p), var(--m));
}

.foot-cta h2 { font-size: 26px; color: #fff; }
.foot-cta h2 span { display: inline-block; border-bottom: 4px solid rgba(0, 0, 0, .35); padding-bottom: 3px; }

.cta.ghost {
  margin-left: 0;
  background: #fff;
  color: #3a0a8f;
}

.foot-row {
  display: grid;
  gap: 26px;
  padding: 30px 20px 34px;
}

.foot-brand { text-align: center; }
.foot-brand a { display: inline-grid; }
.foot-brand p { margin: 10px 0 0; font-weight: 700; letter-spacing: .04em; color: var(--paper); }

.foot-nav dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  margin: 0;
}

.foot-nav dt {
  grid-column: 1 / -1;
  font-size: 16px;
  letter-spacing: .16em;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  margin-bottom: 4px;
}

.foot-nav dd { margin: 0; }

.foot-nav a {
  display: block;
  padding: 10px 0;
  min-height: 42px;
  font-size: 16px;
  color: #d9cdf0;
  transition: color .2s ease, transform .2s ease;
}

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

.foot-legal { text-align: center; font-size: 16px; color: var(--dim); }
.foot-legal p { margin: 0 0 6px; }
.foot-legal .mini { font-size: 16px; opacity: .8; word-break: break-all; }

/* ---------- 滚动显现 ---------- */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease; }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ---------- 大屏 ---------- */
@media (min-width: 900px) {
  body { padding-left: 136px; }

  .dock {
    right: auto;
    bottom: 0;
    width: 136px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 14px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    overflow-y: auto;
  }

  .mark { align-self: center; }
  .key { display: none; }

  .dock-nav {
    position: static;
    display: flex;
    flex: 1 1 auto;
    gap: 3px;
    padding: 0;
    border: 0;
    background: none;
    max-height: none;
    overflow: visible;
  }

  .dock-nav a { padding: 11px 9px; font-size: 16px; }
  .cta { margin-left: 0; }

  .stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
    align-items: center;
    gap: 48px;
    min-height: 45vh;
    padding: 64px 48px 56px 52px;
  }

  .collage { height: 250px; }

  .deck {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 48px;
    padding: 56px 52px 8px;
  }

  .rail { position: sticky; top: 28px; align-self: start; }

  .flows section[id] { padding: 36px 34px; margin-bottom: 56px; scroll-margin-top: 40px; }

  .foot-cta { padding: 44px 52px; }
  .foot-cta h2 { font-size: 34px; }

  .foot-row {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr) minmax(0, .9fr);
    gap: 40px;
    padding: 38px 52px 46px;
    align-items: start;
  }

  .foot-brand { text-align: left; }
  .foot-brand a { display: inline-grid; }
  .foot-legal { text-align: center; }
}

@media (min-width: 1180px) {
  h1 { font-size: clamp(48px, 5vw, 68px); }
  .flows p { font-size: 17.5px; }
}

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