/* ==========================================================================
   GPT68 — 第三方 AI 代充服务 · 样式表
   主题：purple-cyan-gold | 深色 | 响应式
   兼容：iOS Safari 14+ / Chrome 90+ / Firefox 88+ / Edge 90+
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 颜色 */
  --bg: #0a0a0f;
  --bg-2: #0f0f1a;
  --bg-3: #141428;
  --text: #e2e8f0;
  --text-strong: #ffffff;
  --muted: #94a3b8;

  --primary: #7c3aed;
  --primary-light: #8b5cf6;
  --primary-dark: #5b21b6;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --green: #10b981;
  --warning: #fcd34d;

  --card-bg: rgba(255, 255, 255, 0.04);
  --card-bg-hover: rgba(255, 255, 255, 0.06);
  --card-bg-solid: #13132a; /* 卡片滑块激活卡不透明底 */
  --card-bg-solid-2: #0c0c1a;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(124, 58, 237, 0.3);

  /* 字体 */
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Sora", "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  /* 字号 */
  --fs-h1: clamp(2rem, 5.4vw, 3.6rem);
  --fs-h2: clamp(1.6rem, 3.4vw, 2.4rem);
  --fs-h3-card: 1.2rem;
  --fs-h3-section: 1.14rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.94rem;
  --fs-small: 0.86rem;

  /* 布局 */
  --max: 1240px;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-primary: 0 8px 22px rgba(124, 58, 237, 0.35);
}

/* ---------- 2. reset + base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 避免 iOS 滚动时橡皮筋回弹穿透问题 */
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(124, 58, 237, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 10% 70%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #08080e 0%, var(--bg) 50%, #08080e 100%);
  min-height: 100vh;
  /* dvh 解决 iOS Safari 100vh 受地址栏影响的问题，旧浏览器回退到 vh */
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  -webkit-filter: blur(120px);
  filter: blur(120px);
  opacity: 0.55;
  z-index: -1;
}

body::before {
  top: 90px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(124, 58, 237, 0.18);
}

body::after {
  left: -90px;
  bottom: 12vh;
  width: 260px;
  height: 260px;
  background: rgba(6, 182, 212, 0.12);
}

/* 小屏隐藏固定模糊光斑（性能 + 视觉） */
@media (max-width: 760px) {
  body::before,
  body::after {
    display: none;
  }
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid rgba(139, 92, 246, 0.6);
  outline-offset: 2px;
}

/* 无障碍 skip link（可选） */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. 布局容器 ---------- */
.shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

main {
  position: relative;
}

/* ---------- 4. 风险提示条 ---------- */
.risk-banner {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.06));
  border-bottom: 1px solid rgba(245, 158, 11, 0.28);
  color: var(--warning);
  font-size: var(--fs-small);
  font-weight: 500;
  line-height: 1.55;
  padding: 10px 0;
  text-align: center;
  position: relative;
  z-index: 30;
}

.risk-banner .shell {
  padding: 0 8px;
}

.risk-banner strong {
  color: var(--gold-light);
  font-weight: 700;
  margin-right: 6px;
}

/* ---------- 5. 顶栏 ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 15, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.45),
    rgba(6, 182, 212, 0.28),
    transparent
  );
  pointer-events: none;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-primary);
  flex-shrink: 0;
}

.brand-logo {
  width: 22px;
  height: 22px;
  display: block;
}

.brand-name {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  border: 1px solid transparent;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
  /* 触摸目标足够大 */
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:not(.btn):hover,
.nav a:not(.btn):focus-visible {
  color: var(--text);
  background: rgba(124, 58, 237, 0.1);
  outline: none;
}

.nav a.is-active:not(.btn) {
  color: var(--text);
  background: rgba(124, 58, 237, 0.14);
  border-color: var(--border-accent);
}

.nav a.is-active:not(.btn)::after {
  opacity: 1;
  transform: scaleX(1);
}

/* 导航里的按钮：强制保持按钮自身颜色和背景 */
.nav a.btn {
  color: #fff;
}

/* 不换行工具类 */
.nowrap {
  white-space: nowrap;
}

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  min-height: 44px; /* iOS 触摸目标最小建议 */
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.55);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(139, 92, 246, 0.55);
  background: var(--card-bg);
}

/* ---------- 7. Hero ---------- */
.hero {
  padding: 72px 0 48px;
}

.hero-copy {
  position: relative;
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 12% 10%, rgba(124, 58, 237, 0.18), transparent 42%),
    radial-gradient(circle at 90% 18%, rgba(6, 182, 212, 0.1), transparent 44%),
    linear-gradient(180deg, rgba(15, 15, 26, 0.92), rgba(10, 10, 15, 0.97));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: center;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(640px, 84%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.4), transparent);
  opacity: 0.85;
  pointer-events: none;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14), transparent 66%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  border: 1px solid var(--border-accent);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (prefers-reduced-motion: reduce) {
  .eyebrow::before { animation: none; }
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.18;
}

h1 {
  margin-top: 18px;
  font-size: var(--fs-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 20ch;
  /* 英文词不会被拦腰截断，中文词组之间可以换行 */
  overflow-wrap: break-word;
  word-break: keep-all;
  background: linear-gradient(135deg, #a78bfa 0%, var(--accent) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@supports (text-wrap: balance) {
  h1 { text-wrap: balance; }
}

.hero-copy p {
  margin: 18px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.8;
}

@supports (text-wrap: pretty) {
  .hero-copy p { text-wrap: pretty; }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
  max-width: 760px;
}

.micro-list span {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: #cbd5e1;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

/* ---- 通用语义高亮（可用于 micro-list、正文、卡片列表等） ---- */
.hi-accent,
.hi-warn {
  font-style: normal;
  font-weight: 700;
}
.hi-accent {
  color: var(--accent-light);
  text-shadow:
    0 0 8px rgba(103, 232, 249, 0.45),
    0 0 16px rgba(6, 182, 212, 0.25);
}
.hi-warn {
  color: var(--gold-light);
  text-shadow:
    0 0 8px rgba(251, 191, 36, 0.45),
    0 0 16px rgba(245, 158, 11, 0.25);
}

/* ---------- 8. 通用 section ---------- */
.section {
  padding: 44px 0;
}

.section .shell {
  position: relative;
}

.section + .section .shell::before {
  content: "";
  display: block;
  height: 1px;
  margin: 0 0 34px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.28),
    rgba(6, 182, 212, 0.18),
    transparent
  );
  opacity: 0.7;
}

.section-head {
  margin-bottom: 28px;
}

.section-copy {
  max-width: 62ch;
}

.section-copy h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 20ch;
  background: linear-gradient(135deg, #a78bfa 0%, var(--accent) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@supports (text-wrap: balance) {
  .section-copy h2 { text-wrap: balance; }
}

/* h2 句尾的矢量符号 */
.h2-icon {
  flex-shrink: 0;
  width: 0.9em;
  height: 0.9em;
  /* 不参与渐变，单独用紫色（三色渐变中段） */
  color: var(--accent);
  /* 让 SVG 相对基线对齐 */
  vertical-align: -0.1em;
  /* 让图标有轻微的"光晕"呼吸感，但不过度 */
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.35));
}

.section-copy p {
  margin: 12px 0 0;
  font-size: var(--fs-body-sm);
  line-height: 1.78;
  color: var(--muted);
}

.pill {
  display: inline-block;
  color: #a78bfa;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- 9. 卡片套餐滑块 ---------- */
.cards-slider {
  --cards-offset: clamp(110px, 12vw, 150px);
  --cards-offset-far: clamp(160px, 18vw, 220px);
  display: grid;
  gap: 18px;
  /* 横向截断：防止偏移的 prev/next 卡片引发页面水平滚动；y 不截断，阴影和辉光仍可外扩 */
  overflow-x: clip;
  overflow-x: hidden; /* 旧浏览器兜底；clip 优先生效 */
}

.cards-viewport {
  width: min(760px, 100%);
  height: 500px;
  margin: 0 auto;
  overflow: visible;
  -webkit-perspective: 1200px;
  perspective: 1200px;
  touch-action: pan-y;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  height: 100%;
}

.card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 24px;
  text-align: center;
  justify-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cards-slider .card {
  grid-area: 1 / 1;
  width: min(420px, calc(100% - 96px));
  min-height: 392px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  transform: translate3d(0, 18px, -180px) scale(0.8);
  -webkit-filter: saturate(0.72);
  filter: saturate(0.72);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease,
    filter 320ms ease,
    -webkit-filter 320ms ease,
    box-shadow 320ms ease,
    border-color 220ms ease;
}

.cards-slider .card.is-active-card {
  z-index: 5;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  user-select: auto;
  -webkit-user-select: auto;
  transform: translate3d(0, 0, 120px) scale(1);
  -webkit-filter: none;
  filter: none;
  background: linear-gradient(180deg, var(--card-bg-solid) 0%, var(--card-bg-solid-2) 100%);
  border-color: rgba(124, 58, 237, 0.5);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 58, 237, 0.25),
    0 0 60px rgba(124, 58, 237, 0.15);
  /* 水平羽化：中间实、两侧透，让旁边的卡片从边缘浮出 */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 8%,
    #000 22%,
    #000 78%,
    rgba(0, 0, 0, 0.6) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.6) 8%,
    #000 22%,
    #000 78%,
    rgba(0, 0, 0, 0.6) 92%,
    transparent 100%
  );
}

.cards-slider .card.is-prev-card,
.cards-slider .card.is-next-card {
  z-index: 4;
  opacity: 0.75;
  visibility: visible;
  -webkit-filter: saturate(0.85);
  filter: saturate(0.85);
}

.cards-slider .card.is-prev-card {
  transform: translate3d(calc(-1 * var(--cards-offset)), 18px, 0) rotateY(10deg) scale(0.9);
}

.cards-slider .card.is-next-card {
  transform: translate3d(var(--cards-offset), 18px, 0) rotateY(-10deg) scale(0.9);
}

.cards-slider .card.is-hidden-left,
.cards-slider .card.is-hidden-right {
  z-index: 2;
  opacity: 0.35;
  visibility: visible;
  -webkit-filter: saturate(0.7) blur(0.5px);
  filter: saturate(0.7) blur(0.5px);
  transform: translate3d(0, 30px, -120px) scale(0.76);
}

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--accent-light);
  border: 1px solid rgba(6, 182, 212, 0.32);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  font-size: var(--fs-h3-card);
  font-weight: 700;
  letter-spacing: -0.006em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body-sm);
  line-height: 1.7;
}

.price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.008em;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.price .muted {
  color: var(--muted);
  font-weight: 400;
  -webkit-text-fill-color: var(--muted);
}

/* 非激活卡（预览态）的价格：取消渐变剪切，用纯白，避免羽化 + 降饱和后文字几乎消失 */
.cards-slider .card:not(.is-active-card) .price {
  background: none;
  -webkit-text-fill-color: #fff;
  color: #fff;
}
.cards-slider .card:not(.is-active-card) .price .muted {
  -webkit-text-fill-color: var(--muted);
  color: var(--muted);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.card li {
  display: inline-flex;
  gap: 10px;
  align-items: flex-start;
  color: #cbd5e1;
  font-size: var(--fs-body-sm);
  text-align: left;
}

.card li::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  border: 1.5px solid var(--green);
  border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.card .btn {
  width: fit-content;
  justify-self: center;
}

/* 卡片滑块分页控件 */
.cards-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 4px;
}

.cards-slider.is-single-card .cards-controls,
.cards-slider.is-empty-cards .cards-controls {
  display: none;
}

.cards-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.cards-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.cards-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.cards-arrow {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--card-bg);
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.cards-arrow:hover,
.cards-arrow:focus-visible {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.4);
  transform: scale(1.06);
  outline: none;
}

.cards-arrow:active {
  transform: scale(1);
}

.cards-arrow:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

/* ---------- 10. Flow 三步 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.step-index {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(6, 182, 212, 0.15));
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.step h3 {
  margin-top: 18px;
  font-size: var(--fs-h3-section);
  font-weight: 700;
}

.step p {
  margin: 12px 0 0;
  font-size: var(--fs-body-sm);
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 11. Trust features ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(124, 58, 237, 0.28);
  color: #c4b5fd;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* 风险提示那一块：图标色改成琥珀警告色，与内容语义一致 */
.feature-warning .feature-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(245, 158, 11, 0.08));
  border-color: rgba(245, 158, 11, 0.34);
  color: var(--gold-light);
}

.feature h3 {
  font-size: var(--fs-h3-section);
  font-weight: 700;
}

.feature p {
  margin: 12px 0 0;
  font-size: var(--fs-body-sm);
  line-height: 1.72;
  color: var(--muted);
}

/* ---------- 12. FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
  transition: border-color 220ms ease, background 220ms ease;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 18px 22px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font: inherit;
}

.faq-trigger span {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.004em;
}

.faq-trigger strong {
  color: #a78bfa;
  font-size: 1.35rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 220ms ease;
}

.faq-item.open .faq-trigger strong {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-body p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: var(--fs-body-sm);
  line-height: 1.74;
  color: var(--muted);
}

/* ---------- 13. CTA ---------- */
.cta {
  margin: 28px 0 56px;
  padding: 32px;
  border-radius: 28px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  background:
    radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.2), transparent 36%),
    radial-gradient(circle at 92% 30%, rgba(6, 182, 212, 0.12), transparent 36%),
    radial-gradient(circle at 54% 110%, rgba(245, 158, 11, 0.08), transparent 42%),
    linear-gradient(135deg, rgba(20, 20, 38, 0.96), rgba(10, 10, 15, 0.98));
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.cta h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: clamp(1.8rem, 3.8vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #a78bfa 0%, var(--accent) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cta p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: var(--fs-body-sm);
  line-height: 1.74;
  max-width: 52ch;
}

.cta-panel {
  justify-self: end;
  width: 100%;
  max-width: 360px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(124, 58, 237, 0.28);
  background: linear-gradient(130deg, rgba(124, 58, 237, 0.14), rgba(6, 182, 212, 0.08));
}

.cta-panel .muted {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--muted);
}

/* 二维码块 */
.qr-block {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.qr-image {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

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

.qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background:
    repeating-linear-gradient(
      45deg,
      #e5e7eb,
      #e5e7eb 6px,
      #f3f4f6 6px,
      #f3f4f6 12px
    );
  color: #6b7280;
  border-radius: 6px;
}

.qr-placeholder span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #374151;
}

.qr-placeholder small {
  font-size: 0.7rem;
  color: #6b7280;
}

.qr-text {
  flex: 1;
  min-width: 0;
}

.qr-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.qr-btn {
  width: 100%;
}

/* ---------- 14. Footer ---------- */
.footer {
  padding: 28px 0 42px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--fs-body-sm);
  line-height: 1.7;
}

.footer .disclaimer {
  max-width: 780px;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.22);
  color: #e8d4a8;
  font-size: 0.9rem;
  text-align: left;
}

.footer .disclaimer strong {
  color: var(--gold-light);
}

.footer .copyright {
  margin: 14px 0 0;
  text-align: center;
  font-size: var(--fs-small);
  opacity: 0.8;
}

/* ---------- 15. Reveal 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 620ms ease forwards;
}

.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
.delay-4 { animation-delay: 320ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 16. Hover 辉光（仅支持 hover 的设备） ---------- */
@media (hover: hover) and (pointer: fine) {
  .step:hover,
  .feature:hover,
  .cta-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.35);
    background: var(--card-bg-hover);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  }

  .faq-item:hover {
    border-color: rgba(124, 58, 237, 0.28);
    background: var(--card-bg-hover);
  }

  .micro-list span:hover {
    transform: translateY(-2px);
    border-color: rgba(124, 58, 237, 0.32);
    background: rgba(124, 58, 237, 0.08);
  }
}

/* ---------- 17. 响应式 ---------- */

/* 中屏：1060px 及以下，CTA/steps/grid-2 变单列 */
@media (max-width: 1060px) {
  .cta {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    justify-self: stretch;
    max-width: none;
  }

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

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

/* 小屏：760px */
@media (max-width: 760px) {
  :root {
    --fs-h1: clamp(1.9rem, 8vw, 2.4rem);
    --fs-h2: clamp(1.5rem, 5.6vw, 1.95rem);
    --fs-h3-card: 1.1rem;
    --fs-h3-section: 1.06rem;
    --fs-body: 0.96rem;
    --fs-body-sm: 0.92rem;
  }

  .topbar-inner {
    gap: 8px;
    padding: 12px 0;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav {
    gap: 2px;
    justify-content: flex-start;
    width: 100%;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .hero-copy {
    padding: 40px 22px;
  }

  .section {
    padding: 32px 0;
  }

  .card,
  .step,
  .feature {
    padding: 20px;
  }

  .cta {
    padding: 24px;
    margin-bottom: 40px;
  }

  .section + .section .shell::before {
    margin-bottom: 24px;
    opacity: 0.5;
  }

  .section-copy h2 {
    max-width: none;
  }

  .faq-trigger {
    padding: 16px 18px;
  }

  .faq-body p {
    padding: 0 18px 18px;
  }

  /* 二维码块小屏变上下堆叠 */
  .qr-block {
    flex-direction: column;
    text-align: center;
  }
}

/* 超小屏：680px — 卡片滑块 orbit 模式 */
@media (max-width: 680px) {
  .cards-slider {
    --cards-offset: clamp(60px, 20vw, 88px);
    --cards-offset-far: clamp(100px, 32vw, 142px);
  }

  .cards-viewport {
    height: 460px;
    max-width: none;
    perspective: 900px;
    overflow: visible;
    padding: 0 4px;
  }

  .cards-slider .card {
    width: min(340px, calc(100% - 22px));
    min-height: 384px;
  }

  .cards-slider .card.is-prev-card {
    opacity: 0.6;
    transform: translate3d(calc(-1 * var(--cards-offset)), 14px, 0) rotateY(12deg) scale(0.88);
  }

  .cards-slider .card.is-next-card {
    opacity: 0.6;
    transform: translate3d(var(--cards-offset), 14px, 0) rotateY(-12deg) scale(0.88);
  }

  .cards-slider .card.is-hidden-left,
  .cards-slider .card.is-hidden-right {
    opacity: 0.2;
    transform: translate3d(0, 30px, -90px) scale(0.76);
  }

  .cards-controls {
    max-width: none;
  }
}

/* 极窄屏：380px */
@media (max-width: 380px) {
  .shell {
    width: calc(100% - 24px);
  }

  .hero-copy {
    padding: 32px 18px;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .actions {
    width: 100%;
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }
}

/* ---------- 18. 低动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .cards-slider .card {
    transition: opacity 200ms ease;
  }
}

/* ---------- 19. 打印样式 ---------- */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .topbar,
  .cards-controls,
  .risk-banner,
  body::before,
  body::after {
    display: none;
  }
}
