/* ==========================================================================
   启悦运动 QiYue Sports — 宣传站点样式
   ========================================================================== */

:root {
  --bg: #050c09;
  --bg-soft: #08130f;
  --bg-panel: #0b1813;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9f4ee;
  --muted: #9db1a7;
  --muted-2: #74897d;
  --mint: #3ee6a4;
  --mint-soft: #8cf2c6;
  --cyan: #2dd4bf;
  --lime: #d8f57a;
  --coral: #ff8a6b;
  --gradient: linear-gradient(120deg, #3ee6a4 0%, #2dd4bf 55%, #78e6ff 100%);
  --gradient-soft: linear-gradient(140deg, rgba(62, 230, 164, 0.16), rgba(45, 212, 191, 0.04));
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
  --nav-h: 74px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 页面底纹 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 12% -6%, rgba(62, 230, 164, 0.14), transparent 60%),
    radial-gradient(760px 520px at 92% 12%, rgba(45, 212, 191, 0.10), transparent 62%),
    radial-gradient(900px 700px at 50% 108%, rgba(62, 230, 164, 0.07), transparent 65%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 10%, transparent 78%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

::selection { background: rgba(62, 230, 164, 0.28); color: #fff; }

.container {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 12, 9, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(var(--max), 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(62, 230, 164, 0.25), 0 8px 24px -8px rgba(62, 230, 164, 0.55);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  content: "";
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #04130d;
  box-shadow: 0 16px 34px -14px rgba(62, 230, 164, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -14px rgba(62, 230, 164, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(62, 230, 164, 0.5);
  background: rgba(62, 230, 164, 0.08);
  transform: translateY(-2px);
}

.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- 通用排版 ---------- */
.section {
  position: relative;
  padding: 104px 0;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 18%, rgba(255, 255, 255, 0.018) 82%, transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin-bottom: 54px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-soft);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint));
}

.section-head.center .eyebrow::before { background: linear-gradient(90deg, transparent, var(--mint)); }

.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 620px;
}

.section-head.center p { margin-inline: auto; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 72px) 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(62, 230, 164, 0.17), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero-copy h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}

.hero-copy h1 em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats span {
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

/* ---------- 手机演示 ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2%;
  background: radial-gradient(circle at 50% 45%, rgba(62, 230, 164, 0.22), transparent 62%);
  filter: blur(30px);
  z-index: 0;
}

.phone {
  position: relative;
  width: 300px;
  border-radius: 44px;
  padding: 10px;
  background: linear-gradient(160deg, #24332c, #0b1410 40%, #1a2620);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 0 7px rgba(255, 255, 255, 0.035),
    var(--shadow);
  z-index: 1;
  transform: rotate(-1.5deg);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: 999px;
  background: #050a08;
  z-index: 5;
}

.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #07110d;
  height: 590px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cam-view {
  position: relative;
  flex: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 34%, rgba(62, 230, 164, 0.14), transparent 58%),
    linear-gradient(180deg, #0c221a, #07120e 60%, #050b08);
}

.cam-view::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 230, 164, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 230, 164, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 78%);
}

.scan {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(62, 230, 164, 0.9), transparent);
  box-shadow: 0 0 18px rgba(62, 230, 164, 0.8);
  animation: scan 4.6s ease-in-out infinite;
  z-index: 2;
}

@keyframes scan {
  0%, 100% { top: 18%; opacity: 0; }
  12% { opacity: 1; }
  50% { top: 76%; opacity: 0.85; }
  88% { opacity: 0; }
}

.skeleton {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  filter: drop-shadow(0 0 6px rgba(62, 230, 164, 0.55));
}

.cam-top {
  position: absolute;
  top: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mint-soft);
  background: rgba(4, 14, 10, 0.6);
  border: 1px solid rgba(62, 230, 164, 0.25);
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  z-index: 4;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(62, 230, 164, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 230, 164, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(62, 230, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 230, 164, 0); }
}

.rep-counter {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 9px;
  z-index: 4;
}

.rep-counter span {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 30px rgba(62, 230, 164, 0.65);
  font-variant-numeric: tabular-nums;
}

.rep-counter small {
  font-size: 11px;
  color: var(--mint-soft);
  letter-spacing: 0.06em;
  font-weight: 600;
  max-width: 64px;
  line-height: 1.35;
}

.score-chip {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 4;
  font-size: 11px;
  font-weight: 700;
  color: #04130d;
  background: var(--gradient);
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(62, 230, 164, 0.8);
}

.feedback-chip {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 92px;
  z-index: 4;
  font-size: 11.5px;
  color: #d8f7e8;
  background: rgba(6, 20, 14, 0.7);
  border: 1px solid rgba(62, 230, 164, 0.22);
  border-radius: 12px;
  padding: 8px 12px;
  backdrop-filter: blur(8px);
}

.voice-chip {
  position: absolute;
  right: 16px;
  bottom: 56px;
  z-index: 4;
  font-size: 10.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
}

.phone-bar {
  flex: none;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 12px;
  background: #081410;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-bar i {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
}

.phone-bar i.on {
  background: var(--mint);
  box-shadow: 0 0 14px rgba(62, 230, 164, 0.5);
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(8, 20, 15, 0.82);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 12px 16px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: float 6s ease-in-out infinite;
}

.float-card strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--mint-soft);
  line-height: 1.2;
}

.float-card span {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.float-a { top: 16%; left: -6%; }
.float-b { bottom: 14%; right: -6%; animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 技术标签条 ---------- */
.logos {
  padding: 8px 0 0;
}

.logos-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 34px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logos-inner span {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.logos-inner span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.7;
}

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 230, 164, 0.25), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(62, 230, 164, 0.32);
  background: linear-gradient(160deg, rgba(62, 230, 164, 0.09), rgba(255, 255, 255, 0.02));
}

.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(62, 230, 164, 0.1);
  border: 1px solid rgba(62, 230, 164, 0.24);
  color: var(--mint);
  margin-bottom: 20px;
}

.feature-icon svg { width: 24px; height: 24px; }

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

.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
}

.feature-card .tag {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mint-soft);
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* ---------- 动作卡片 ---------- */
.workout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.workout-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.workout-card:hover {
  transform: translateY(-5px);
  border-color: rgba(62, 230, 164, 0.35);
  box-shadow: 0 24px 50px -30px rgba(62, 230, 164, 0.55);
}

.workout-media {
  position: relative;
  height: 150px;
  background: linear-gradient(160deg, #eef5f0, #dfece5);
  overflow: hidden;
}

.workout-media img {
  position: absolute;
  top: 14px;
  left: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  object-fit: contain;
  mix-blend-mode: multiply;
}

.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(5, 15, 11, 0.82);
  color: var(--mint-soft);
  border: 1px solid rgba(62, 230, 164, 0.3);
}

.badge.timed {
  color: #ffe3a3;
  border-color: rgba(255, 200, 90, 0.35);
}

.workout-body {
  padding: 16px 18px 18px;
}

.workout-body h3 {
  font-size: 16.5px;
  margin-bottom: 3px;
}

.workout-body p {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.angle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 9px;
  border-radius: 7px;
}

.angle::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

/* ---------- 拍摄指南 ---------- */
.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: center;
}

.camera-list {
  display: grid;
  gap: 14px;
}

.camera-item {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.camera-item:hover {
  border-color: rgba(62, 230, 164, 0.3);
  background: rgba(62, 230, 164, 0.05);
}

.camera-item .num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--gradient-soft);
  border: 1px solid rgba(62, 230, 164, 0.25);
  color: var(--mint);
  font-weight: 800;
  font-family: var(--mono);
  font-size: 13px;
}

.camera-item h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.camera-item p {
  font-size: 13.5px;
  color: var(--muted);
}

.camera-item p strong { color: var(--mint-soft); font-weight: 600; }

/* ---------- 训练体系 ---------- */
.system-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: step;
}

.system-card {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: rgba(62, 230, 164, 0.3);
}

.system-card .step {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mint);
  letter-spacing: 0.12em;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.system-card .step::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(62, 230, 164, 0.35), transparent);
}

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

.system-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 社交 ---------- */
.social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.social-copy .check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.check-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.check-list li svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--mint);
  margin-top: 2px;
}

.check-list li strong { color: var(--text); font-weight: 650; }

.board {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  padding: 22px;
  box-shadow: var(--shadow);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.board-head strong {
  font-size: 15px;
}

.board-head span {
  font-size: 11px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

.board-row {
  display: grid;
  grid-template-columns: 28px 40px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 8px;
  border-radius: 12px;
}

.board-row.me {
  background: rgba(62, 230, 164, 0.09);
  border: 1px solid rgba(62, 230, 164, 0.24);
}

.rank {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-2);
  text-align: center;
  font-weight: 700;
}

.board-row:nth-child(2) .rank { color: #ffd76e; }
.board-row:nth-child(3) .rank { color: #d7e3ea; }
.board-row:nth-child(4) .rank { color: #e2a878; }

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #04130d;
  background: var(--gradient);
}

.avatar.alt-1 { background: linear-gradient(140deg, #7cc7ff, #a78bfa); }
.avatar.alt-2 { background: linear-gradient(140deg, #ffd76e, #ff9f68); }
.avatar.alt-3 { background: linear-gradient(140deg, #f0a6ca, #ff8a6b); }

.board-row .who {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.board-row .who b {
  font-size: 13.5px;
  font-weight: 650;
}

.board-row .who small {
  font-size: 10.5px;
  color: var(--muted-2);
}

.points {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mint-soft);
  font-weight: 700;
}

/* ---------- 技术 ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tech-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.tech-card:hover {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.06);
}

.tech-card .k {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 14px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.tech-card h3 {
  font-size: 15.5px;
  margin-bottom: 7px;
}

.tech-card p {
  font-size: 12.8px;
  color: var(--muted);
}

.pipeline {
  margin-top: 24px;
  padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px dashed rgba(62, 230, 164, 0.25);
  background: rgba(62, 230, 164, 0.035);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}

.pipeline b { color: var(--mint-soft); font-weight: 600; }
.pipeline .arrow { color: var(--mint); opacity: 0.6; }

/* ---------- 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(62, 230, 164, 0.07), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}

.step-card .big-num {
  position: absolute;
  right: 14px;
  top: -14px;
  font-size: 100px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  letter-spacing: -0.06em;
}

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

.step-card p {
  font-size: 14px;
  color: var(--muted);
  max-width: 280px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  padding: 64px 56px;
  border-radius: 32px;
  border: 1px solid rgba(62, 230, 164, 0.24);
  background:
    radial-gradient(700px 300px at 12% 0%, rgba(62, 230, 164, 0.18), transparent 62%),
    radial-gradient(600px 320px at 100% 100%, rgba(45, 212, 191, 0.16), transparent 60%),
    linear-gradient(160deg, #0b1b15, #07110d);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62, 230, 164, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 230, 164, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 20% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 20%, #000, transparent 72%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 14px;
}

.cta p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  position: relative;
}

.cta-note {
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: center;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-item {
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.028);
}

.faq-item h3 {
  font-size: 15px;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.faq-item h3::before {
  content: "Q";
  font-family: var(--mono);
  color: var(--mint);
  font-size: 12px;
  margin-top: 2px;
}

.faq-item p {
  font-size: 13.5px;
  color: var(--muted);
  padding-left: 20px;
}

.faq-more {
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}

.faq-more a {
  color: var(--mint-soft);
  border-bottom: 1px solid rgba(62, 230, 164, 0.35);
  padding-bottom: 1px;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 36px;
  background: rgba(4, 10, 7, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 320px;
  margin-top: 16px;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 5px 0;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--mint-soft); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

.footer-bottom .made {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ---------- 文档页 ---------- */
.doc-hero {
  padding: calc(var(--nav-h) + 66px) 0 52px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.doc-hero::before {
  content: "";
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(62, 230, 164, 0.14), transparent 68%);
  pointer-events: none;
}

.doc-hero .eyebrow { margin-bottom: 16px; }

.doc-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 14px;
}

.doc-hero p {
  color: var(--muted);
  max-width: 620px;
  font-size: 15.5px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: var(--mono);
}

.doc-meta span { display: inline-flex; gap: 6px; align-items: center; }
.doc-meta span::before { content: "·"; color: var(--mint); }

.doc-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  padding: 56px 0 96px;
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.doc-toc h2 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.doc-toc a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line);
  transition: color 0.2s ease, border-color 0.2s ease;
  line-height: 1.45;
}

.doc-toc a:hover {
  color: var(--mint-soft);
  border-left-color: var(--mint);
}

.doc-content {
  min-width: 0;
}

.doc-content article {
  padding: 0;
}

.doc-content h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  padding-top: 8px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.doc-content h2:first-child { margin-top: 0; }

.doc-content h3 {
  font-size: 16.5px;
  margin: 26px 0 8px;
  color: var(--mint-soft);
}

.doc-content p {
  font-size: 15px;
  color: #c3d3ca;
  margin-bottom: 14px;
  line-height: 1.8;
}

.doc-content ul,
.doc-content ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: #c3d3ca;
  font-size: 15px;
  line-height: 1.8;
}

.doc-content li { margin-bottom: 6px; }

.doc-content a {
  color: var(--mint-soft);
  border-bottom: 1px solid rgba(62, 230, 164, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.doc-content a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.doc-content .date {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 24px;
}

.doc-box {
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(62, 230, 164, 0.22);
  background: rgba(62, 230, 164, 0.055);
  margin: 22px 0;
}

.doc-box strong { color: var(--text); }

.doc-box a { word-break: break-all; }

.doc-footer-note {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

.doc-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ---------- 进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

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

.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 0; }
  .nav-links a { padding: 9px 10px; font-size: 13.5px; }
  .hero-grid { gap: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .workout-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .system-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(7, 17, 13, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav.open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a { padding: 12px 14px; font-size: 15px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { margin-inline: auto; justify-content: center; }
  .hero-visual { order: 2; }
  .split, .social-grid { grid-template-columns: 1fr; gap: 38px; }
  .system-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 44px 32px; }
  .doc-wrap { grid-template-columns: 1fr; gap: 32px; }
  .doc-toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: auto; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 72px 0; }
  .hero-stats { gap: 26px; }
  .hero-stats strong { font-size: 25px; }
  .feature-grid, .workout-grid, .tech-grid, .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { padding: 22px 20px; }
  .workout-media { height: 120px; }
  .workout-body { padding: 14px; }
  .workout-body h3 { font-size: 15px; }
  .workout-body p { font-size: 11.5px; }
  .angle { font-size: 10.5px; }
  .system-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .phone { width: 272px; }
  .phone-screen { height: 540px; }
  .float-a { left: -2%; }
  .float-b { right: -2%; }
  .cta { padding: 36px 24px; border-radius: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .doc-content h2 { font-size: 20px; }
}

@media (max-width: 420px) {
  .feature-grid, .workout-grid, .tech-grid, .faq-grid { grid-template-columns: 1fr; }
  .workout-media { height: 168px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scan, .float-card, .live-dot { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
