:root {
  --bg: #07111f;
  --panel: rgba(9, 23, 42, .74);
  --panel-strong: rgba(12, 31, 56, .9);
  --line: rgba(98, 210, 255, .24);
  --text: #f3fbff;
  --muted: #a6b9c8;
  --cyan: #28d7ff;
  --blue: #3d7bff;
  --violet: #a36bff;
  --green: #36f0a7;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); }
body { overflow: hidden; }
a { color: inherit; text-decoration: none; }

#space {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(61,123,255,.25), transparent 34%),
    radial-gradient(circle at 78% 16%, rgba(163,107,255,.22), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #0a1728 52%, #06101d 100%);
}

.deck {
  position: relative;
  z-index: 1;
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.page {
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  display: grid;
  align-items: center;
  padding: 48px 22px 82px;
  overflow: hidden;
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(98,210,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98,210,255,.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent, black 15%, black 85%, transparent);
}

.page::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(40,215,255,.18);
  border-radius: 50%;
  right: -180px;
  top: 90px;
  animation: rotate 18s linear infinite;
}

.content {
  position: relative;
  z-index: 2;
  width: min(100%, 620px);
}

.kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(40,215,255,.55);
}

h1, h2 {
  margin: 0;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

h1 { font-size: clamp(42px, 12vw, 78px); }
h1 span { display: block; }
h2 { font-size: clamp(34px, 9.6vw, 62px); max-width: 9em; }

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.chips, .core-grid, .flow, .tool-cloud, .storyboard, .trade-grid, .service-cards, .stats {
  margin-top: 28px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips b, .core-grid b, .flow span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 0 22px rgba(40,215,255,.05);
  color: #dff8ff;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 540px;
}
.core-grid b {
  position: relative;
  justify-content: center;
  overflow: hidden;
  min-height: 44px;
  font-size: 14px;
  animation: floatServiceArt 4.8s ease-in-out infinite;
}
.core-grid b::after {
  content: "";
  position: absolute;
  inset: auto 12px 8px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(40,215,255,.8), transparent);
  box-shadow: 0 0 14px rgba(40,215,255,.5);
}
.core-grid b:nth-child(2) { animation-delay: .2s; }
.core-grid b:nth-child(3) { animation-delay: .4s; }
.core-grid b:nth-child(4) { animation-delay: .6s; }
.core-grid b:nth-child(5) { animation-delay: .8s; }
.core-grid b:nth-child(6) { animation-delay: 1s; }

.orbital {
  position: absolute;
  z-index: 1;
  width: 230px;
  height: 230px;
  right: -66px;
  bottom: 104px;
  border-radius: 50%;
  border: 1px solid rgba(40,215,255,.35);
  animation: pulse 2.4s ease-in-out infinite;
}
.orbital i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}
.orbital i:nth-child(1) { left: 26px; top: 32px; }
.orbital i:nth-child(2) { right: 34px; top: 82px; background: var(--violet); }
.orbital i:nth-child(3) { left: 112px; bottom: 20px; background: var(--green); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stats article {
  min-height: 106px;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-align: center;
}
.stats strong {
  display: block;
  font-size: 38px;
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(40,215,255,.4);
}
.stats span { color: var(--muted); font-size: 13px; }

.service-cards {
  display: grid;
  gap: 14px;
}
.service-cards article, .storyboard article, .trade-grid article, .contact-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(14,37,66,.86), rgba(10,23,42,.72));
  box-shadow: 0 18px 60px rgba(0,0,0,.25), inset 0 0 24px rgba(40,215,255,.04);
}
.service-cards article {
  min-height: 122px;
  padding: 18px;
  overflow: hidden;
}
.service-cards article > em,
.service-cards article > b,
.service-cards article > span {
  position: relative;
  z-index: 2;
}
.service-cards em {
  color: var(--cyan);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
}
.service-cards b, .storyboard b {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}
.service-cards span, .storyboard span {
  color: var(--muted);
  line-height: 1.65;
}
.service-art {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 118px;
  height: 82px;
  opacity: .68;
  filter: drop-shadow(0 0 14px rgba(40,215,255,.32));
  animation: floatServiceArt 4.6s ease-in-out infinite;
}
.service-art svg {
  width: 100%;
  height: 100%;
}
.service-art path,
.service-art rect,
.service-art circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-art rect,
.service-art circle {
  fill: rgba(40,215,255,.12);
}
.trend-art { color: #36f0a7; }
.flow-art { color: #28d7ff; animation-delay: .55s; }
.circuit-art { color: #a36bff; animation-delay: 1.1s; }
.service-cards article::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -32px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40,215,255,.14), transparent 62%);
  pointer-events: none;
}

.focus .content::before {
  content: "";
  position: absolute;
  inset: -22px -18px;
  border-left: 2px solid rgba(40,215,255,.65);
  border-bottom: 2px solid rgba(40,215,255,.18);
  pointer-events: none;
}

.flow {
  display: grid;
  gap: 10px;
}
.flow span {
  justify-content: center;
  position: relative;
}
.flow span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 1px;
  height: 10px;
  background: var(--line);
}
.flow span:last-child::after { display: none; }

.tool-cloud {
  min-height: 190px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: 10px 12px;
  padding: 16px 10px;
  border: 1px solid rgba(40,215,255,.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 22% 24%, rgba(40,215,255,.12), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  box-shadow: inset 0 0 28px rgba(40,215,255,.05);
}
.word {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 18px currentColor;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  animation: floatLogo 4s ease-in-out infinite;
}
.word:nth-child(2) { animation-delay: .2s; }
.word:nth-child(3) { animation-delay: .45s; }
.word:nth-child(4) { animation-delay: .7s; }
.word:nth-child(5) { animation-delay: .95s; }
.word:nth-child(6) { animation-delay: 1.2s; }
.word:nth-child(7) { animation-delay: 1.45s; }
.word:nth-child(8) { animation-delay: 1.7s; }
.word:nth-child(9) { animation-delay: 1.95s; }
.word:nth-child(10) { animation-delay: 2.2s; }
.word-xl { font-size: 25px; padding: 9px 16px; }
.word-lg { font-size: 19px; padding: 8px 14px; }
.word-md { font-size: 16px; }
.word-sm { font-size: 14px; opacity: .9; }
.workbuddy { color: #38d9ff; }
.codex { color: #d5e1ff; }
.claude-code { color: #ffad4d; }
.coze { color: #ff5fc8; }
.deepseek { color: #4df0b6; }
.gemini { color: #8fb7ff; }
.skill { color: #c4f255; }
.mcp { color: #58ffe5; }
.prompt { color: #c084fc; }
.agent { color: #60a5fa; }

.storyboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.storyboard article {
  min-height: 138px;
  padding: 15px;
}

.trade-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.trade-grid article {
  min-height: 132px;
  padding: 15px;
  overflow: hidden;
}
.trade-grid article::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(54,240,167,.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(54,240,167,.16), transparent 64%);
  animation: pulse 3.6s ease-in-out infinite;
}
.trade-grid article::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 22px;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(54,240,167,.86));
  box-shadow: 0 0 16px rgba(54,240,167,.55);
}
.trade-grid b,
.trade-grid span {
  position: relative;
  z-index: 2;
}
.trade-grid b {
  display: block;
  margin-bottom: 9px;
  font-size: 17px;
}
.trade-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.contact-card {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding: 20px;
}
.contact-card b { font-size: 20px; }
.contact-card span, .contact-card a { color: var(--muted); line-height: 1.6; }
.wechat-qr-wrap {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 4px;
}
.wechat-qr {
  width: 160px;
  height: 160px;
  max-width: 52vw;
  max-height: 52vw;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(0,0,0,.28), 0 0 24px rgba(238,103,0,.16);
}
.wechat-qr-wrap small {
  color: #e9fff6;
  font-size: 15px;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(40,215,255,.32);
}

.pager {
  position: fixed;
  z-index: 4;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 8px;
}
.pager button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(166,185,200,.42);
}
.pager button.active {
  height: 24px;
  background: var(--cyan);
  box-shadow: 0 0 16px rgba(40,215,255,.85);
}
.next {
  position: fixed;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(40,215,255,.35);
  background: rgba(7,17,31,.72);
  color: var(--cyan);
  font-size: 22px;
  box-shadow: 0 0 24px rgba(40,215,255,.2);
}

.page .content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.page.active .content > * {
  opacity: 1;
  transform: translateY(0);
}
.page.active .content > *:nth-child(2) { transition-delay: .08s; }
.page.active .content > *:nth-child(3) { transition-delay: .16s; }
.page.active .content > *:nth-child(4) { transition-delay: .24s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: .88; }
  50% { transform: scale(1.06); opacity: 1; }
}
@keyframes rotate {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}
@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes floatServiceArt {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.03); }
}

@media (min-width: 760px) {
  .page { padding: 70px 84px 90px; }
  .service-cards { grid-template-columns: repeat(3, 1fr); }
  .flow { grid-template-columns: repeat(5, 1fr); }
  .flow span::after {
    left: auto;
    right: -10px;
    top: 50%;
    bottom: auto;
    width: 10px;
    height: 1px;
  }
  .storyboard { grid-template-columns: repeat(4, 1fr); }
  .tool-cloud { max-width: 760px; min-height: 170px; justify-content: flex-start; }
}

@media (max-width: 430px) {
  .wechat-qr {
    width: 128px;
    height: 128px;
    max-width: 46vw;
    max-height: 46vw;
  }
  .trade-grid {
    gap: 10px;
  }
  .trade-grid article {
    min-height: 126px;
    padding: 13px;
  }
  .trade-grid b {
    margin-bottom: 7px;
    font-size: 15px;
  }
  .trade-grid span {
    font-size: 12px;
    line-height: 1.45;
  }
}
