:root {
  --blue: #1684e8;
  --blue-deep: #0f6fe0;
  --ink: #1c2430;
  --muted: #5c6b7a;
  --line: #e6eef6;
  --page: #f3f7fb;
  --card: #ffffff;
  --max: 1040px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 650;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 600;
}

.hero-panel {
  margin: 0 calc(50% - 50vw);
  padding: 0 calc(50vw - 50%);
  background: linear-gradient(145deg, #0f6fe0 0%, #3aa7f5 55%, #5eb8f8 100%);
  color: #fff;
}

.hero-panel .wrap {
  padding: 56px 0 48px;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}

.hero-panel .kicker {
  color: rgba(255, 255, 255, 0.88);
}

.hero-panel h1 {
  color: #fff;
}

.hero-panel .lead {
  color: rgba(255, 255, 255, 0.92);
}

.hero-panel .hero-note {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.hero-panel .btn {
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 8px 24px rgba(15, 111, 224, 0.25);
}

.hero-panel .qr {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.3;
}

h1 {
  font-size: 44px;
  font-weight: 700;
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3aa0f5, var(--blue));
  color: #fff;
  font-weight: 600;
}

.qr {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.qr img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section {
  padding: 28px 0 8px;
}

.section h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.grid-4,
.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

/* 关于我们：说明段与下方双栏、承诺列表拉开间距；收束句跟在列表下，不用高亮条。（2026-11-07） */
.about-split,
.section > p + .promise {
  margin-top: 16px;
}

.about-close {
  margin: 20px 0 0;
}

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.card p,
.plain p {
  margin: 0;
  color: var(--muted);
}

.plain p + p {
  margin-top: 12px;
}

.step-no {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e8f3fe;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}

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

/* 承诺列表与 .card 同元素时须恢复内边距，.promise 的 padding:0 会冲掉 .card。（2026-11-07） */
ul.promise.card {
  padding: 18px 32px 22px;
}

.section h2 + .promise {
  margin-top: 4px;
}

.promise li {
  padding: 20px 6px;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
  color: var(--ink);
}

.promise li:last-child {
  border-bottom: none;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(90deg, #eef6ff 0%, #fff 100%);
}

.trust-strip p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.trust-strip a {
  color: var(--blue);
  font-weight: 600;
}

/* 条里的胶囊按钮要白字，避免被上面的蓝色链接色盖住。（2026-11-07） */
.trust-strip a.btn {
  color: #fff;
}

.card h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

/* 联系页正文：在线客服、商务邮件、服务时间。（2026-11-07） */
.contact-blocks {
  display: grid;
  gap: 16px;
}

.contact-blocks .card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.contact-ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-blocks .card p {
  color: var(--ink);
}

.contact-blocks .card p + p {
  margin-top: 14px;
}

.contact-blocks .card .contact-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f4f6f8;
  color: var(--muted);
  font-size: 14px;
}

.contact-mail {
  color: #5b4ad6;
  font-size: 18px;
  font-weight: 700;
}

.contact-hours {
  margin-top: 4px;
  font-size: 16px;
}

.page-head {
  padding: 48px 0 8px;
}

.page-head p {
  max-width: 640px;
  margin: 12px 0 0;
  color: var(--muted);
}

.price-num {
  margin: 8px 0 4px;
  color: var(--blue-deep);
  font-size: 40px;
  font-weight: 700;
}

.price-num span {
  font-size: 16px;
  font-weight: 500;
}

.fields {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.field {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.field b {
  display: block;
  margin-bottom: 4px;
}

.field span {
  color: #98a2ad;
}

.field span a {
  color: var(--blue);
}

/* 全站页脚：居中两行，协议在上，主体与备案在下。（2026-11-07） */
.site-footer {
  margin-top: 48px;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  line-height: 2;
}

.site-footer-legal a,
.site-footer-icp {
  color: inherit;
  text-decoration: none;
}

.site-footer-sep {
  margin: 0 10px;
  color: #c5ced6;
}

.site-footer-legal a:hover,
.site-footer-icp:hover {
  color: var(--blue);
  text-decoration: underline;
}

.site-footer-legal a[aria-current="page"] {
  font-weight: 600;
}

.legal-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-doc {
  padding: 8px 0 24px;
  color: var(--ink);
  font-size: 15px;
}

.legal-doc h2 {
  margin: 28px 0 12px;
  font-size: 18px;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.legal-doc ol,
.legal-doc ul {
  margin: 0;
  padding-left: 1.35em;
}

.legal-doc li + li {
  margin-top: 8px;
}

.legal-doc strong {
  color: var(--ink);
  font-weight: 600;
}

.section-categories .section-lead {
  max-width: 640px;
  margin: -4px 0 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.category-sphere-stage {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background-color: #fff;
  background-image:
    radial-gradient(ellipse 75% 65% at 50% 42%, rgba(22, 132, 232, 0.14), transparent 68%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 52%, #f3f8fd 100%);
  box-shadow: 0 24px 48px rgba(22, 132, 232, 0.08);
}

.category-sphere-stage.is-fallback {
  display: none;
}

.category-sphere-stage::before,
.category-sphere-stage::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  border: 1px dashed rgba(22, 132, 232, 0.28);
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

.category-sphere-stage::before {
  width: min(92%, 520px);
  aspect-ratio: 1;
  opacity: 0.12;
  animation: category-orbit 60s linear infinite reverse;
}

.category-sphere-stage::after {
  width: min(72%, 400px);
  aspect-ratio: 1;
  opacity: 0.1;
  animation: category-orbit 48s linear infinite;
}

@keyframes category-orbit {
  to {
    rotate: 360deg;
  }
}

.category-sphere-canvas {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.category-sphere-canvas:active {
  cursor: grabbing;
}

.category-sphere-hint {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  color: rgba(92, 107, 122, 0.75);
  font-size: 12px;
  pointer-events: none;
}

.category-sphere-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.category-sphere-fallback[hidden] {
  display: none !important;
}

.category-sphere-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: #eef6ff;
  color: var(--blue);
  font-size: 14px;
  line-height: 1.3;
}

@media (min-width: 801px) {
  .category-sphere-stage {
    height: 500px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .category-sphere-stage::before,
  .category-sphere-stage::after {
    animation: none;
  }

  .category-sphere-hint {
    display: none;
  }
}

@media (max-width: 800px) {
  h1 {
    font-size: 34px;
  }

  .hero,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .qr {
    margin-inline: auto;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }
}

/* 首页滚动故事。选择器都挂在 .story 下，避免染黑其他页的卡片。（2026-11-07） */
body.home {
  background: #0b0d17;
  overflow-x: hidden;
}

body.home .site-footer {
  position: relative;
  z-index: 2;
}

.story {
  position: relative;
  z-index: 1;
  color: #fff;
}

.story-wave {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  opacity: 0.4;
}

.story-hero,
.story-pin-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: 32px 20px 48px;
  text-align: center;
}

.story-hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.story-hero h1 span {
  color: #a78bfa;
}

.story-hero p {
  margin: 20px 0 0;
  color: #b0b5d0;
  font-size: 18px;
  letter-spacing: 2px;
}

.story-pin {
  position: relative;
  overflow: hidden;
}

.story-title {
  margin-bottom: 36px;
}

.story-title h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  color: #fff;
}

.story-title p {
  margin: 0;
  color: #7b8099;
  font-size: 17px;
}

.story-title a {
  color: #a78bfa;
  text-decoration: underline;
}

.story-raw {
  max-width: 800px;
  margin: 0;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.6;
}

.story-cards,
.story-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 100%;
}

.story-cards {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
}

.story-card {
  min-width: 160px;
  padding: 22px 28px;
  border: 1px solid rgba(108, 92, 231, 0.35);
  border-radius: 20px;
  background: rgba(28, 32, 50, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.story-card-icon {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
}

.story-k,
.story-v {
  display: block;
}

.story-k {
  margin-bottom: 4px;
  color: #7b8099;
  font-size: 14px;
}

.story-v {
  color: #a78bfa;
  font-size: 22px;
  font-weight: 700;
}

.story-channels {
  gap: 72px;
  opacity: 0;
  transform: scale(0.9);
}

.story-channel h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: #fff;
}

.story-channel p {
  margin: 0;
  color: #b0b5d0;
}

.story-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border: 2px dashed #6c5ce7;
  border-radius: 50%;
  font-size: 40px;
}

.story-channel-icon--near {
  background: rgba(108, 92, 231, 0.12);
}

.story-channel-icon--far {
  border-color: #ff7a45;
  background: rgba(255, 122, 69, 0.12);
}

.story-scan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(300px, 80vw);
  height: 300px;
  overflow: hidden;
  border: 2px solid #1c2032;
  border-radius: 20px;
  background: #121422;
}

.story-scan-face {
  color: #3a4158;
  font-size: 88px;
  line-height: 1;
}

.story-scan-line {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 4px;
  background: #07c160;
  box-shadow: 0 0 20px #07c160;
}

.story-scan-ok {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(7, 193, 96, 0.12);
  opacity: 0;
}

.story-scan-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #07c160;
  color: #fff;
  font-size: 40px;
}

.story-scan-ok p {
  margin: 16px 0 0;
  color: #07c160;
  font-size: 18px;
  font-weight: 700;
}

.story-flow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(560px, 92vw);
  height: 160px;
}

.story-node {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: #1c2032;
  font-weight: 700;
}

.story-node--helper {
  color: #07c160;
}

.story-coin {
  position: absolute;
  top: 50%;
  left: 14%;
  z-index: 3;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  border-radius: 50%;
  background: #ffd700;
  box-shadow: 0 0 10px #ffd700;
  opacity: 0;
}

.story-cut {
  position: absolute;
  left: 50%;
  z-index: 2;
  margin: 0;
  color: #ffd700;
  font-weight: 700;
  transform: translateX(-50%);
  opacity: 0;
}

html.story-static .story-wave {
  display: none;
}

html.story-static .story-raw {
  display: none;
}

html.story-static .story-cards,
html.story-static .story-channels,
html.story-static .story-scan-ok,
html.story-static .story-cut,
html.story-static .story-coin {
  opacity: 1;
  transform: none;
}

html.story-static .story-scan-line {
  display: none;
}

html.story-static .story-coin {
  left: 78%;
}

.story-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: 48px 20px 32px;
  text-align: center;
}

.story-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.story-cta-title {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
}

.story-cta-sub {
  margin: 0 0 40px;
  color: #b0b5d0;
  font-size: 18px;
  letter-spacing: 1px;
}

.story-qr {
  position: relative;
  margin: 0;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 60px -10px rgba(108, 92, 231, 0.4);
  opacity: 0;
  transform: scale(0.8);
}

.story-qr::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px;
  border-radius: 30px;
  background: linear-gradient(135deg, #6c5ce7, #a78bfa, #ff7a45);
  opacity: 0.5;
  filter: blur(20px);
  animation: storyQrGlow 3s infinite alternate;
}

.story-qr img {
  display: block;
  width: 220px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
}

.story-qr-hint {
  margin: 16px 0 0;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

@keyframes storyQrGlow {
  from {
    opacity: 0.3;
    transform: scale(0.98);
  }
  to {
    opacity: 0.7;
    transform: scale(1.02);
  }
}

html.story-static .story-qr {
  opacity: 1;
  transform: none;
}

html.story-static .story-qr::before {
  animation: none;
}

@media (max-height: 800px) {
  .story-cta-title {
    margin-bottom: 8px;
    font-size: 32px;
  }

  .story-cta-sub {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .story-qr {
    padding: 16px;
  }

  .story-qr img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 800px) {
  .story-cards,
  .story-channels {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .story-cards {
    position: static;
    margin-top: 28px;
  }

  .story-hero h1 {
    font-size: 36px;
  }
}

/* 找不到页面：居中大号 404，颜色沿用站内蓝。（2026-11-10 张其鉴） */
body.miss {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.miss-main {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 72px;
  text-align: center;
  animation: missIn 0.8s ease-out;
}

.miss-blob {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e7f4ff, #c5e4fb);
  filter: blur(60px);
  opacity: 0.85;
  transform: translate(-50%, -50%);
}

.miss-code,
.miss-msg,
.miss-sub,
.miss-main .btn {
  position: relative;
  z-index: 1;
}

.miss-code {
  margin: 0 0 20px;
  color: var(--blue-deep);
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -4px;
}

.miss-msg {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 600;
}

.miss-sub {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 600px) {
  .miss-code {
    font-size: 90px;
  }

  .miss-msg {
    font-size: 18px;
  }
}
