/* ============================================================
   山西扣点麻将AI助手 · 官网样式（赛博霓虹 v7 · 真·酷炫版）
   3D麻将牌 / 全息环 / 粒子背景 / 霓虹发光 / 玻璃拟态
   ============================================================ */
:root {
  --bg: #000000;
  --bg-alt: #050510;
  --card: rgba(16,16,32,0.6);
  --card-hi: rgba(24,24,48,0.7);
  --line: rgba(255,255,255,0.08);
  --line-hi: rgba(255,255,255,0.15);
  --text: #ffffff;
  --sub: #a0a0c0;
  --mut: #606080;

  /* 霓虹色 */
  --cyan: #00f0ff;
  --cyan-glow: rgba(0,240,255,0.5);
  --violet: #b537f2;
  --violet-glow: rgba(181,55,242,0.5);
  --pink: #ff2d78;
  --pink-glow: rgba(255,45,120,0.5);
  --amber: #ffb800;
  --amber-glow: rgba(255,184,0,0.5);
  --green: #00ff88;
  --green-glow: rgba(0,255,136,0.5);

  /* 兼容变量 */
  --accent: var(--cyan);
  --accent-hover: var(--cyan);
  --ok: var(--green);
  --warn: var(--amber);
  --danger: var(--pink);
  --gold: var(--amber);

  --radius: 20px;
  --maxw: 1200px;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  /* 固定导航会盖住锚点目标，给跳转留出避让空间 */
  scroll-padding-top: calc(var(--nav-h) + 16px);
  /* 守住 iOS 横屏自动放大字号 */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; }

/* ---------- 全局特效层 ---------- */
.scanlines {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0) 0px,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,0.08) 3px,
    rgba(0,0,0,0.08) 4px
  );
  mix-blend-mode: multiply;
}

/* ---------- 玻璃拟态 ---------- */
.glass {
  background: var(--card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

/* ---------- 通用 ---------- */
.muted { color: var(--mut); }
.small { font-size: 13px; }
.center { text-align: center; }

.section { padding: 100px 0; position: relative; z-index: 1; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(5,5,16,0.8)); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section__tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px;
  color: var(--cyan); text-transform: uppercase;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.2);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.section__title {
  font-size: 38px; font-weight: 900; margin-bottom: 14px;
  letter-spacing: -0.5px;
  background: linear-gradient(180deg, #fff, #a0a0c0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__desc { color: var(--sub); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: 14px;
  border: none; cursor: pointer; position: relative;
  transition: all .3s cubic-bezier(.2,.7,.3,1);
  white-space: nowrap; overflow: hidden;
}

.btn--neon {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #000;
  box-shadow: 0 0 20px var(--cyan-glow), 0 0 60px var(--cyan-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--neon:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px var(--cyan-glow), 0 0 80px var(--cyan-glow), 0 0 120px var(--violet-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--neon .btn__glow {
  position: absolute; inset: -2px; border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--pink));
  z-index: -1; opacity: 0; transition: opacity .3s;
  filter: blur(20px);
}
.btn--neon:hover .btn__glow { opacity: 0.6; }

.btn--outline {
  background: transparent;
  border: 2px solid var(--line-hi);
  color: var(--text);
}
.btn--outline:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-glow);
  color: var(--cyan);
}

.btn--lg { padding: 16px 36px; font-size: 16px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.nav.scrolled {
  border-color: var(--line);
  background: rgba(0,0,0,0.85);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: var(--nav-h); display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 12px;
  box-shadow: 0 0 20px var(--cyan-glow);
  transition: all .3s;
}
.brand:hover .brand__logo {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 30px var(--cyan-glow), 0 0 60px var(--violet-glow);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 15px; }
.brand__text small { color: var(--mut); font-size: 11px; letter-spacing: 1px; }
.nav__links { display: flex; gap: 4px; margin-left: 20px; }
.nav__links a {
  color: var(--sub); font-size: 14px; padding: 8px 16px; border-radius: 10px;
  transition: all .2s; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet));
  transition: width .3s; border-radius: 2px;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 60%; }
.nav__cta { margin-left: auto; padding: 10px 20px; font-size: 14px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; margin-left: auto; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(0,240,255,0.08), transparent 50%),
    radial-gradient(50% 40% at 20% 70%, rgba(181,55,242,0.06), transparent 50%),
    radial-gradient(40% 30% at 80% 80%, rgba(255,45,120,0.04), transparent 50%),
    var(--bg);
}

/* 光球 */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  will-change: transform;
}
.orb--1 {
  width: 600px; height: 600px; top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(0,240,255,0.15), transparent 70%);
  animation: orbFloat1 20s ease-in-out infinite;
}
.orb--2 {
  width: 500px; height: 500px; bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(181,55,242,0.12), transparent 70%);
  animation: orbFloat2 25s ease-in-out infinite;
}
.orb--3 {
  width: 400px; height: 400px; top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(255,45,120,0.08), transparent 70%);
  animation: orbFloat3 18s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-60px,40px) scale(1.1)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(80px,-50px) scale(1.15)} }
@keyframes orbFloat3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-40px,-60px) scale(0.9)} }

/* 网格地板 */
.grid-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background-image:
    linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
  mask-image: linear-gradient(180deg, transparent, #000 50%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 50%);
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}

/* Hero 文本 */
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(0,240,255,0.06);
  border: 1px solid rgba(0,240,255,0.2);
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green-glow);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1; box-shadow:0 0 10px var(--green-glow)} 50%{opacity:0.5; box-shadow:0 0 20px var(--green-glow)} }
.hero__badge-text { font-size: 13px; color: var(--cyan); letter-spacing: 1px; }

.hero__title {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.05; font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: 24px;
}
.hero__title-line { display: block; }
.hero__title-glow {
  position: relative;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px var(--cyan-glow));
}

.hero__sub {
  color: var(--sub); font-size: 17px; max-width: 480px;
  margin-bottom: 36px;
}

.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

/* Hero 数据统计 */
.hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.hero__stat { text-align: center; }
.hero__stat-num {
  display: block; font-size: 36px; font-weight: 900;
  background: linear-gradient(180deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stat-num small { font-size: 18px; -webkit-text-fill-color: var(--cyan); }
.hero__stat-label { font-size: 12px; color: var(--mut); margin-top: 6px; }

/* Hero 视觉区 */
.hero__visual {
  position: relative; height: 500px;
  perspective: 1000px;
}

/* Three.js 3D 麻将牌容器 */
.mahjong-3d {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.mahjong-3d canvas {
  width: 100% !important; height: 100% !important;
}

/* AI 决策面板 */
.ai-panel {
  position: absolute; bottom: 0; right: 0;
  width: 280px; padding: 20px;
  z-index: 10;
}
.ai-panel__header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
}
.ai-panel__rec {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink-glow);
  animation: pulseDot 1.5s infinite;
}
.ai-panel__title { font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: 1px; }
.ai-panel__row {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: 13px;
  border-top: 1px solid var(--line);
}
.ai-panel__label { color: var(--sub); }
.ai-panel__value { color: var(--text); font-weight: 600; }
.ai-panel__value--ok { color: var(--green); }
.ai-panel__suggest {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px; margin: 12px 0;
  background: rgba(0,240,255,0.06);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 12px;
}
.ai-panel__tile { font-size: 20px; font-weight: 800; color: var(--cyan); }
.ai-panel__percent { font-size: 16px; font-weight: 700; color: var(--green); }
.ai-panel__bars { margin: 10px 0; }
.ai-panel__bar {
  height: 4px; border-radius: 4px; background: var(--line);
  margin-bottom: 6px; overflow: hidden;
}
.ai-panel__bar span { display: block; height: 100%; border-radius: 4px; }
.ai-panel__bar--cyan span { background: linear-gradient(90deg, var(--cyan), var(--violet)); box-shadow: 0 0 10px var(--cyan-glow); }
.ai-panel__bar--violet span { background: linear-gradient(90deg, var(--violet), var(--pink)); box-shadow: 0 0 10px var(--violet-glow); }
.ai-panel__waits { display: flex; gap: 8px; margin-top: 8px; }
.ai-panel__wait {
  padding: 6px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  background: rgba(181,55,242,0.1);
  border: 1px solid rgba(181,55,242,0.3);
  color: var(--violet);
}

/* 悬浮标签 */
.float-tag {
  position: absolute; z-index: 10;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; font-size: 13px; font-weight: 600;
  border-radius: 12px;
}
.float-tag--1 { top: 15%; left: 5%; animation: floatTag1 5s ease-in-out infinite; }
.float-tag--2 { bottom: 25%; right: 5%; animation: floatTag2 6s ease-in-out infinite; }
@keyframes floatTag1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }
@keyframes floatTag2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(12px)} }
.float-tag__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green-glow);
}
.float-tag__dot--warn { background: var(--amber); box-shadow: 0 0 10px var(--amber-glow); }

/* 滚动提示 */
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--mut); font-size: 12px; z-index: 10;
}
.scroll-hint__mouse {
  width: 24px; height: 40px;
  border: 2px solid var(--line-hi);
  border-radius: 12px;
  position: relative;
}
.scroll-hint__wheel {
  width: 4px; height: 8px;
  background: var(--cyan);
  border-radius: 2px;
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%,100% { opacity: 1; top: 8px; }
  50% { opacity: 0.3; top: 20px; }
}

/* ---------- 决策流水线 ---------- */
.pipeline {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pipeline__line {
  position: absolute; top: 50%; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  opacity: 0.2;
  z-index: 0;
}
.pipeline__step {
  position: relative; z-index: 1;
  padding: 32px; text-align: center;
  transition: all .3s;
}
.pipeline__step:hover {
  transform: translateY(-8px);
  border-color: rgba(0,240,255,0.3);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px var(--cyan-glow);
}
.pipeline__num {
  position: absolute; top: 16px; right: 20px;
  font-size: 48px; font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--cyan);
  opacity: 0.3;
}
.pipeline__icon { font-size: 40px; margin-bottom: 16px; }
.pipeline__step h3 { font-size: 18px; margin-bottom: 10px; }
.pipeline__step p { color: var(--sub); font-size: 14px; }

/* ---------- 功能特性 ---------- */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature {
  position: relative; padding: 36px;
  overflow: hidden;
  transition: all .3s;
}
.feature:hover {
  transform: translateY(-8px);
  border-color: rgba(0,240,255,0.2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.feature__glow {
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  opacity: 0; transition: opacity .5s;
  pointer-events: none;
}
.feature:hover .feature__glow { opacity: 1; }
.feature__glow--cyan { background: radial-gradient(circle at center, var(--cyan-glow), transparent 60%); }
.feature__glow--violet { background: radial-gradient(circle at center, var(--violet-glow), transparent 60%); }
.feature__glow--pink { background: radial-gradient(circle at center, var(--pink-glow), transparent 60%); }
.feature__glow--amber { background: radial-gradient(circle at center, var(--amber-glow), transparent 60%); }
.feature__icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: grid; place-items: center;
  font-size: 28px; font-weight: 800;
  margin-bottom: 20px;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.2);
  color: var(--cyan);
  transition: all .3s;
}
.feature:hover .feature__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 30px var(--cyan-glow);
}
.feature h3 { font-size: 18px; margin-bottom: 12px; }
.feature p { color: var(--sub); font-size: 14px; }

/* ---------- 步骤 ---------- */
.steps {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 700px; margin: 0 auto;
}
.step {
  display: flex; align-items: center; gap: 24px;
  padding: 28px 32px;
  transition: all .3s;
}
.step:hover {
  transform: translateX(10px);
  border-color: rgba(0,240,255,0.2);
}
.step__number {
  font-size: 56px; font-weight: 900;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  flex-shrink: 0;
}
.step__content h3 { font-size: 18px; margin-bottom: 6px; }
.step__content p { color: var(--sub); font-size: 14px; }

/* ---------- 演示 ---------- */
.demo {
  position: relative; overflow: hidden;
  border-radius: 24px;
}
.demo img { border-radius: 24px; }
.demo__overlay {
  position: absolute; bottom: 24px; left: 24px;
  display: flex; gap: 12px; flex-wrap: wrap;
}
.demo__chip {
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  backdrop-filter: blur(10px);
}
.demo__chip--ok { background: rgba(0,255,136,0.15); border: 1px solid rgba(0,255,136,0.3); color: var(--green); }
.demo__chip--warn { background: rgba(255,184,0,0.15); border: 1px solid rgba(255,184,0,0.3); color: var(--amber); }
.demo__chip--gold { background: rgba(255,45,120,0.15); border: 1px solid rgba(255,45,120,0.3); color: var(--pink); }

/* ---------- 规则策略 ---------- */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rule-card { padding: 32px; transition: all .3s; }
.rule-card:hover { transform: translateY(-4px); border-color: rgba(0,240,255,0.2); }
.rule-card h3 { font-size: 18px; margin-bottom: 16px; }
.rule-card__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.chip--cyan { background: rgba(0,240,255,0.1); border: 1px solid rgba(0,240,255,0.3); color: var(--cyan); }
.chip--violet { background: rgba(181,55,242,0.1); border: 1px solid rgba(181,55,242,0.3); color: var(--violet); }
.chip--pink { background: rgba(255,45,120,0.1); border: 1px solid rgba(255,45,120,0.3); color: var(--pink); }
.chip--ok { background: rgba(0,255,136,0.1); border: 1px solid rgba(0,255,136,0.3); color: var(--green); }
.chip--warn { background: rgba(255,184,0,0.1); border: 1px solid rgba(255,184,0,0.3); color: var(--amber); }
.chip--danger { background: rgba(255,45,120,0.1); border: 1px solid rgba(255,45,120,0.3); color: var(--pink); }
.rule-card p { color: var(--sub); font-size: 14px; }

/* ---------- 下载 ---------- */
.download {
  display: flex; gap: 48px; align-items: center;
  padding: 48px;
  position: relative; overflow: hidden;
}
.download::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 20%, var(--cyan-glow), transparent 60%);
  opacity: 0.1; pointer-events: none;
}
.download__content { flex: 1; }
.download__content h2 { font-size: 32px; font-weight: 900; margin: 16px 0 20px; }
.download__list { list-style: none; margin: 20px 0 28px; }
.download__list li {
  color: var(--sub); padding: 8px 0 8px 28px; position: relative;
}
.download__list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--green); font-weight: 700;
}
.download__meta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.download__note { color: var(--mut); font-size: 13px; margin-top: 16px; }
.download__sha {
  color: var(--mut); font-size: 12px; margin-top: 12px;
  font-family: monospace; word-break: break-all;
}
.download__qr { flex-shrink: 0; text-align: center; }
.download__qr-frame {
  width: 160px; height: 160px;
  border-radius: 20px; overflow: hidden;
  border: 2px solid rgba(0,240,255,0.3);
  box-shadow: 0 0 30px var(--cyan-glow);
}
.download__qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.download__qr-tip {
  display: block; margin-top: 12px;
  font-size: 12px; color: var(--mut);
}

/* ---------- 购买 ---------- */
.plans {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.plan {
  position: relative; padding: 36px 28px;
  display: flex; flex-direction: column;
  transition: all .3s;
}
.plan:hover {
  transform: translateY(-8px);
  border-color: rgba(0,240,255,0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px var(--cyan-glow);
}
.plan--hot {
  border-color: rgba(0,240,255,0.3);
  box-shadow: 0 0 40px var(--cyan-glow);
}
.plan__hot {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #000; font-size: 12px; font-weight: 800;
  padding: 6px 18px; border-radius: 999px;
}
.plan h3 { font-size: 18px; color: var(--sub); margin-bottom: 16px; }
.price { font-size: 48px; font-weight: 900; margin-bottom: 24px; }
.price sup { font-size: 20px; color: var(--cyan); }
.price span { font-size: 14px; color: var(--mut); font-weight: 400; }
.plan ul { list-style: none; margin-bottom: 28px; flex: 1; }
.plan ul li { color: var(--sub); padding: 8px 0 8px 28px; position: relative; font-size: 14px; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { margin-bottom: 14px; overflow: hidden; transition: all .3s; }
.faq details:hover { border-color: rgba(0,240,255,0.15); }
.faq details[open] { border-color: rgba(0,240,255,0.3); }
.faq summary {
  cursor: pointer; padding: 22px 26px;
  font-weight: 600; font-size: 16px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--cyan); font-size: 24px; font-weight: 300;
  transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 22px; color: var(--sub); font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer {
  background: rgba(5,5,16,0.9);
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  position: relative; z-index: 1;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.footer__cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.footer__logo {
  width: 56px; height: 56px; border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.footer__brand strong { font-size: 19px; }
.footer__brand p { color: var(--mut); margin-top: 6px; font-size: 13px; }
.footer__cols h4 { font-size: 14px; margin-bottom: 16px; }
.footer__cols a, .footer__cols p { display: block; color: var(--sub); font-size: 14px; padding: 5px 0; }
.footer__cols a:hover { color: var(--cyan); }
.footer__legal {
  border-top: 1px solid var(--line);
  margin-top: 48px; padding-top: 22px;
  font-size: 13px; color: var(--mut);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 8px 24px;
}
.footer__legal a:hover { color: var(--cyan); }
.footer__legal .footer__note { flex-basis: 100%; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(10px); }
.modal__card {
  position: relative; width: 440px; max-width: 100%;
  padding: 36px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.modal__close {
  position: absolute; top: 18px; right: 18px;
  background: none; border: none; color: var(--mut);
  font-size: 22px; cursor: pointer; transition: color .2s;
}
.modal__close:hover { color: var(--text); }
.modal__card h3 { font-size: 24px; margin-bottom: 10px; font-weight: 800; }
.pay__qty { margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; display: flex; justify-content: space-between; align-items: center; }
.pay__qty-label { color: var(--mut); font-size: 13px; }
.pay__qty-value { color: var(--cyan); font-weight: 700; font-size: 18px; }
.pay__field { margin: 20px 0; }
.pay__field-label { display: block; color: var(--sub); font-size: 13px; margin-bottom: 10px; }
.pay__field-req { color: var(--pink); }
.pay__field-input {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
  color: var(--text); font-size: 15px;
  outline: none; transition: all .3s;
}
.pay__field-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,240,255,0.15); }
.pay__field-input::placeholder { color: var(--mut); }
.pay__field-hint { color: var(--mut); font-size: 12px; margin-top: 10px; line-height: 1.5; }
.pay__qr { width: 220px; height: 220px; margin: 0 auto 18px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.pay__qr img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.pay__qr img.pay__qr-img { object-fit: contain; background: #fff; }
.pay__go { width: 100%; margin-bottom: 16px; }
.pay__result { text-align: center; padding: 20px 0 10px; }
.pay__result-title { font-size: 24px; font-weight: 800; color: var(--green); margin-bottom: 10px; }
.pay__card {
  font-family: monospace; font-size: 18px; font-weight: 700; letter-spacing: 1px;
  color: var(--cyan); background: rgba(0,240,255,0.06);
  border: 1px dashed rgba(0,240,255,0.3);
  border-radius: 14px; padding: 16px 18px; margin: 16px 0;
  word-break: break-all; user-select: all;
}
.pay__copy { width: 100%; }
.qr-placeholder { display: grid; place-items: center; width: 100%; height: 100%; color: var(--mut); }

/* ============================================================
   响应式 / 移动端优化
   ============================================================ */

/* ---------- 平板与手机（≤960px）----------
   3D 场景在 fx.js 里也按同一断点关闭，两边保持一致 */
@media (max-width: 960px) {
  :root {
    /* 关掉毛玻璃后需要更高不透明度撑住可读性 */
    --card: rgba(13, 13, 26, 0.9);
    --card-hi: rgba(20, 20, 40, 0.94);
  }

  /* 全屏混合模式覆盖层在移动端拖慢合成，直接去掉 */
  .scanlines { display: none; }

  /* 大量毛玻璃在移动端是滚动掉帧主因，统一降级 */
  .glass,
  .nav,
  .nav.scrolled,
  .modal__backdrop,
  .paypage__card,
  .clog,
  .demo__chip,
  .findpage__field input,
  .pay__field-input {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav { background: rgba(0, 0, 0, 0.86); }
  .nav.scrolled { background: rgba(0, 0, 0, 0.94); }
  .modal__backdrop { background: rgba(0, 0, 0, 0.88); }

  /* 光球模糊半径减半，省一次大范围高斯 */
  .orb { filter: blur(48px); }

  /* 地址栏会改变 100vh 实际高度，改由内容撑开 */
  .hero {
    min-height: auto;
    padding: 104px 0 56px;
  }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__title { font-size: clamp(32px, 9vw, 44px); letter-spacing: -0.01em; }
  .hero__sub { font-size: 16px; }

  /* 3D 未启用，视觉区不能再留 400px 空洞 */
  .mahjong-3d { display: none; }
  .hero__visual { height: auto; perspective: none; }

  /* 决策面板由绝对定位改为正常流 */
  .ai-panel {
    position: relative;
    bottom: auto; right: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 18px;
  }
  .float-tag { display: none; }

  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .hero__stat-num { font-size: 30px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 44px; }
  .section__title { font-size: 30px; }

  .features { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline__line { display: none; }

  .download { padding: 32px 24px; gap: 32px; }
  .step { padding: 24px; gap: 18px; }
  .step__number { font-size: 44px; }

  /* 滚动进度条改用合成层，避免 scroll 时触发布局 */
  .scroll-bar { will-change: width; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .footer__brand, .footer__contact { grid-column: 1 / -1; }

}

/* ---------- 手机（≤640px）---------- */
@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .hero { padding: 92px 0 48px; }
  .hero__title { font-size: clamp(28px, 8.5vw, 34px); }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { flex: 1 1 160px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stat-num { font-size: 26px; }

  .section { padding: 56px 0; }
  .section__title { font-size: 26px; }
  .section__desc { font-size: 15px; }

  .features,
  .rules-grid,
  .plans { grid-template-columns: 1fr; }
  .features { gap: 16px; }
  .feature { padding: 26px 22px; }
  .feature__icon { width: 54px; height: 54px; font-size: 22px; }

  .download { flex-direction: column; padding: 26px 20px; }
  .download__content h2 { font-size: 26px; }
  .download__qr-frame { width: 140px; height: 140px; }

  /* 移动端菜单 */
  .nav__links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.97);
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  }
  .nav__links.open { display: flex; }
  /* 触摸目标补到 44px 以上 */
  .nav__links a { padding: 13px 16px; font-size: 15px; }
  .nav__toggle { display: block; padding: 10px; margin-right: -10px; }
  .nav__cta { display: none; }

  .footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .footer { padding: 48px 0 28px; }
  .footer__legal { flex-direction: column; align-items: flex-start; gap: 8px; }

  .plans { gap: 18px; }
  .plan { padding: 30px 22px; }
  .price { font-size: 40px; }

  .faq summary { padding: 18px 20px; font-size: 15px; }
  .faq details p { padding: 0 20px 18px; }

  .ai-panel { max-width: none; }
  .ai-panel__suggest { padding: 12px; }
  .ai-panel__tile { font-size: 17px; }

  .page-hero { padding: 118px 18px 30px; }
  .page-hero h1 { font-size: 30px; }
  .paypage { padding: 28px 18px; }
  .paypage__card { padding: 32px 22px; }
  .clog { padding: 22px 18px; }
  .legal { font-size: 15px; }
  .legal h2 { font-size: 19px; }
}

/* ---------- 触摸设备：补 :active 反馈 ----------
   原有的 hover 效果在触屏上完全不触发，点了没有任何回应 */
@media (hover: none), (pointer: coarse) {
  .btn { transition: transform .12s ease, box-shadow .2s ease; }
  .btn:active { transform: scale(0.97); }
  .btn--neon:active { box-shadow: 0 0 26px var(--cyan-glow); }

  .feature:active,
  .plan:active,
  .step:active,
  .rule-card:active,
  .clog:active {
    transform: scale(0.985);
    border-color: rgba(0, 240, 255, 0.28);
  }

  .nav__links a:active {
    color: var(--text);
    background: rgba(0, 240, 255, 0.12);
  }

  .faq summary:active { background: rgba(0, 240, 255, 0.06); }
  .sort__btn:active { border-color: var(--cyan); color: var(--text); }

  /* 触屏没有 hover，去掉会卡住的过渡态 */
  .feature:hover,
  .plan:hover,
  .step:hover,
  .pipeline__step:hover { transform: none; }
}

/* ---------- 超窄屏（≤380px）---------- */
@media (max-width: 380px) {
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero__stat-num { font-size: 24px; }
  .hero__stat-label { font-size: 11px; }
  .ai-panel__waits { gap: 6px; }
  .btn--lg { padding: 14px 20px; font-size: 15px; }
  .download__content h2 { font-size: 22px; }
}

/* ---------- 横屏矮视口：别让 Hero 顶掉整屏 ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 88px 0 40px; }
  .hero__visual { display: none; }
}

/* ---------- 滚动渐入 ---------- */
.js .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1);
}
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   子页面：更新日志 / 支付 / 找回卡密 / 协议隐私
   ============================================================ */

/* ---------- 兼容旧版按钮类名 ---------- */
.btn--primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: #000;
  box-shadow: 0 0 20px var(--cyan-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--cyan-glow), 0 0 70px var(--violet-glow), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn--ghost {
  background: transparent;
  border: 2px solid var(--line-hi);
  color: var(--sub);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.btn__text { position: relative; z-index: 1; }

/* ---------- 页头 ---------- */
.page-hero {
  position: relative; text-align: center; overflow: hidden;
  padding: 150px 24px 40px;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(0,240,255,0.10), transparent 62%),
    var(--bg);
}
.page-hero::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: min(720px, 80%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: .35;
}
.page-hero h1 {
  font-size: 44px; font-weight: 900; letter-spacing: -1px; margin: 16px 0 12px;
  background: linear-gradient(180deg, #fff, #9aa0c0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p { color: var(--sub); font-size: 16px; }
.page-hero .tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px;
  color: var(--cyan); background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.2);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 6px;
}

/* ---------- 更新日志 ---------- */
.sort { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.sort__btn {
  cursor: pointer; color: var(--sub);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  transition: all .25s;
}
.sort__btn:hover { border-color: var(--line-hi); color: var(--text); }
.sort__btn.is-on {
  color: var(--text); font-weight: 700;
  border-color: rgba(0,240,255,0.45);
  background: rgba(0,240,255,0.12);
  box-shadow: 0 0 18px rgba(0,240,255,0.22);
}

.changelog {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.clog {
  position: relative; padding: 28px 30px;
  background: var(--card);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all .3s;
}
.clog::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity .3s;
}
.clog:hover { border-color: rgba(0,240,255,0.25); transform: translateY(-3px); }
.clog:hover::before { opacity: 1; }
.clog__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.clog__ver { font-size: 17px; font-weight: 800; color: var(--cyan); letter-spacing: .5px; }
.clog__date { color: var(--mut); font-size: 13px; }
.clog__title { margin: 14px 0 6px; font-size: 16px; }
.clog__list { list-style: none; margin-top: 12px; }
.clog__list li {
  display: flex; align-items: baseline; gap: 12px; padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--sub); font-size: 14px;
}
.clog__list li:last-child { border-bottom: none; }
.clog__text { flex: 1; }

/* ---------- 支付结果 / 找回卡密 ---------- */
.paypage {
  min-height: 100vh; display: grid; place-items: center;
  padding: 40px 24px; position: relative; z-index: 1;
}
.paypage__card {
  width: 100%; max-width: 460px; text-align: center;
  padding: 44px 36px;
  background: var(--card);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 60px rgba(0,240,255,0.08);
}
.paypage__logo {
  width: 64px; height: 64px; border-radius: 18px; object-fit: cover;
  display: block; margin: 0 auto 18px;
  box-shadow: 0 0 24px var(--cyan-glow);
}
.paypage__card h1 {
  font-size: 26px; font-weight: 900; margin-bottom: 18px;
  background: linear-gradient(180deg, #fff, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.paypage__status { font-size: 17px; color: var(--sub); margin: 18px 0; }
.paypage__cardkey, .findpage__cardkey {
  font-family: "Consolas", "Menlo", monospace;
  font-size: 18px; font-weight: 700; letter-spacing: 1px;
  color: var(--cyan);
  background: rgba(0,240,255,0.06);
  border: 1px dashed rgba(0,240,255,0.35);
  border-radius: 14px; padding: 16px 18px; margin: 18px 0;
  word-break: break-all; user-select: all;
}

.findpage__form { text-align: left; margin-top: 10px; }
.findpage__field { margin-bottom: 18px; }
.findpage__field label { display: block; color: var(--sub); font-size: 13px; margin-bottom: 10px; }
.findpage__field .opt { color: var(--mut); }
.findpage__field input {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
  color: var(--text); font-size: 15px;
  outline: none; transition: all .3s;
}
.findpage__field input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,240,255,0.15);
}
.findpage__field input::placeholder { color: var(--mut); }
.findpage__submit { width: 100%; margin-top: 6px; }
.findpage__msg { font-size: 14px; margin-top: 18px; line-height: 1.6; }
.findpage__msg.is-err { color: var(--pink); }
.findpage__msg.is-ok { color: var(--green); }
.findpage__meta { color: var(--mut); font-size: 13px; margin-bottom: 8px; }
.paypage a { color: var(--cyan); }

/* ---------- 协议 / 隐私政策正文 ---------- */
.legal { max-width: 820px; margin: 0 auto; color: var(--text); font-size: 16px; }
.legal__date { color: var(--mut); font-size: 13px; margin-bottom: 24px; }
.legal p { color: #b9bcd4; margin-bottom: 18px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 36px 0 16px; color: var(--text); }
.legal h2::before {
  content: ""; display: inline-block; width: 4px; height: 20px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 2px; margin-right: 12px; vertical-align: -2px;
  box-shadow: 0 0 12px var(--cyan-glow);
}
.legal__list { margin: 0 0 20px; padding-left: 24px; color: #b9bcd4; }
.legal__list li { margin-bottom: 10px; }

.nav__links a.active {
  color: var(--text);
  background: rgba(0,240,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(0,240,255,0.22);
}
.nav__links a.active::after { width: 60%; }

/* ---------- 滚动进度条 ---------- */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
  box-shadow: 0 0 20px var(--cyan-glow);
  z-index: 300; pointer-events: none;
}

/* ---------- 减少动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==================== 文章中心 ==================== */
.article-list {
  max-width: 860px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.article-card {
  display: block; text-decoration: none; color: inherit;
  padding: 28px 32px;
  background: var(--card);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all .3s;
}
.article-card:hover { border-color: rgba(0,240,255,0.3); transform: translateY(-3px); }
.article-card__meta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--mut); margin-bottom: 12px;
}
.article-card__cat {
  color: var(--cyan); background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.2);
  padding: 3px 12px; border-radius: 999px; font-size: 12px;
}
.article-card__title {
  font-size: 20px; font-weight: 800; margin: 0 0 10px;
  color: var(--text); line-height: 1.4;
}
.article-card__title:hover { color: var(--cyan); }
.article-card__desc { color: var(--sub); font-size: 15px; line-height: 1.7; margin: 0; }
.article-card__more {
  margin-top: 14px; font-size: 14px; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 6px;
}

/* 文章详情页 */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 0 24px 60px; }
.article-head { margin-bottom: 36px; }
.article-head__meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 13px; color: var(--mut); margin-bottom: 16px;
}
.article-head__cat {
  color: var(--cyan); background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.2);
  padding: 4px 14px; border-radius: 999px; font-size: 12px;
}
.article-body { color: var(--sub); font-size: 16px; line-height: 1.9; }
.article-body h2 {
  color: var(--text); font-size: 24px; font-weight: 800;
  margin: 44px 0 16px; padding-left: 14px;
  border-left: 4px solid var(--cyan);
}
.article-body h3 {
  color: var(--text); font-size: 19px; font-weight: 700;
  margin: 32px 0 12px;
}
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 0 0 20px;
  font-size: 14px;
}
.article-body th, .article-body td {
  border: 1px solid var(--line); padding: 10px 14px; text-align: left;
}
.article-body th { background: rgba(0,240,255,0.06); color: var(--text); }
.article-body blockquote {
  margin: 0 0 18px; padding: 14px 20px;
  border-left: 4px solid var(--violet);
  background: rgba(181,55,242,0.06); border-radius: 0 8px 8px 0;
  color: var(--sub);
}
.article-footer {
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.article-footer__cta {
  text-align: center; padding: 32px;
  background: linear-gradient(135deg, rgba(0,240,255,0.06), rgba(181,55,242,0.06));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.article-footer__cta h3 { margin: 0 0 10px; font-size: 20px; }
.article-footer__cta p { color: var(--sub); margin: 0 0 20px; }
.article-nav {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 36px; flex-wrap: wrap;
}
.article-nav a {
  color: var(--cyan); text-decoration: none; font-size: 14px;
  max-width: 48%;
}
.article-nav a:hover { text-decoration: underline; }
.article-nav .next { margin-left: auto; text-align: right; }
.back-link { color: var(--mut); text-decoration: none; font-size: 14px; display: inline-block; margin-bottom: 20px; }
.back-link:hover { color: var(--cyan); }

@media (max-width: 640px) {
  .article-card { padding: 20px 22px; }
  .article-card__title { font-size: 18px; }
  .article-body h2 { font-size: 20px; }
  .article-wrap { padding: 0 18px 40px; }
}
