/* ROB RUN 简体中文汉化 · 官网设计变量
   品牌气质：夜间、硬派、战术感。石墨底 + 单一青柠绿强调 + 琥珀色仅用于福利/赞助。 */

:root {
  /* 底色：带一点蓝绿倾向的石墨，避免纯黑死板 */
  --bg: #0c0e11;
  --surface: #14171c;
  --surface-2: #1a1e25;
  --surface-3: #222732;
  --line: #262c36;
  --line-soft: #1e232b;

  /* 文字：三档 */
  --text: #edf1f5;
  --text-2: #a8b3c1;
  --text-3: #8b96a5;

  /* 强调色：与工具界面同款青柠绿，只占很小面积 */
  --accent: #b6f04a;
  --accent-deep: #93cc2c;
  --accent-ink: #16200a;
  --warm: #ffc45c;
  --warm-ink: #241904;

  /* 字号阶梯 1.25 比例 */
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-32: 32px;
  --fs-40: 40px;
  --fs-56: 56px;

  /* 间距 4/8 栅格 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;
  --r-4: 20px;
  --r-pill: 999px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-16);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 通用小件 ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-12);
  letter-spacing: .14em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--r-2);
  border: 1px solid transparent;
  font-size: var(--fs-16);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: #c6ff5e; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: #3a4452; background: var(--surface-2); }

.section {
  padding: var(--s-10) 0;
  border-top: 1px solid var(--line-soft);
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.sec-head h2 {
  margin: 8px 0 0;
  font-size: var(--fs-32);
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 700;
}
.sec-head p {
  margin: 0;
  max-width: 34em;
  color: var(--text-2);
  font-size: var(--fs-14);
}

/* ---------- 顶栏 ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 14, 17, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.brand b {
  display: block;
  font-size: var(--fs-16);
  letter-spacing: .02em;
  line-height: 1.2;
}
.brand span {
  display: block;
  font-size: var(--fs-12);
  color: var(--text-3);
  letter-spacing: .06em;
}
.nav-links {
  display: flex;
  gap: var(--s-5);
  margin-left: auto;
  font-size: var(--fs-14);
  color: var(--text-2);
}
.nav-links a {
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.nav-links a:hover { color: var(--text); border-color: var(--accent); }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: var(--fs-14); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-8);
  overflow: hidden;
}
.hero::after {
  /* 一道极淡的青柠斜向光晕，只做层次，不抢内容 */
  content: "";
  position: absolute;
  top: -160px;
  right: -180px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(182, 240, 74, .12), transparent 62%);
  pointer-events: none;
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.hero h1 {
  margin: 18px 0 0;
  font-size: var(--fs-56);
  line-height: 1.1;
  letter-spacing: -.025em;
  font-weight: 700;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .lead {
  margin: 20px 0 0;
  max-width: 30em;
  color: var(--text-2);
  font-size: var(--fs-16);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: var(--s-5);
  font-size: var(--fs-12);
  color: var(--text-3);
}
.hero-meta b { color: var(--text-2); font-weight: 500; }

.shot {
  position: relative;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.shot img { width: 100%; height: auto; }
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.shot-bar i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #333b47;
}
.shot-bar span {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: var(--fs-12);
  color: var(--text-3);
  letter-spacing: .04em;
}

/* ---------- 数据条 ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--surface);
  overflow: hidden;
}
.stat {
  padding: var(--s-5) var(--s-5);
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-size: var(--fs-32);
  line-height: 1.1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.01em;
}
.stat b i {
  font-style: normal;
  font-size: var(--fs-16);
  color: var(--text-3);
  margin-left: 2px;
  font-weight: 500;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-12);
  color: var(--text-3);
  letter-spacing: .04em;
}

/* ---------- 特性 ---------- */

.feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-3);
  overflow: hidden;
}
.feat {
  background: var(--bg);
  padding: var(--s-6);
}
.feat .no {
  font-family: var(--mono);
  font-size: var(--fs-12);
  color: var(--accent);
  letter-spacing: .1em;
}
.feat h3 {
  margin: 14px 0 8px;
  font-size: var(--fs-20);
  font-weight: 600;
  letter-spacing: -.005em;
}
.feat p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-14);
  max-width: 32em;
}
.feat p b { color: var(--text); font-weight: 600; }

/* ---------- 截图 ---------- */

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.gallery figure {
  margin: 0;
  border-radius: var(--r-3);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.gallery figure:first-child { grid-column: span 2; }
.gallery img {
  width: 100%;
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
}
.gallery figcaption { flex: 0 0 auto; }
.gallery figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: var(--fs-12);
  color: var(--text-3);
  border-top: 1px solid var(--line-soft);
}
.gallery figcaption b { color: var(--text-2); font-weight: 500; }

/* ---------- 步骤 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--s-6) var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--surface);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: var(--fs-14);
  color: var(--text-3);
  letter-spacing: .1em;
}
.step h3 {
  margin: 10px 0 6px;
  font-size: var(--fs-16);
  font-weight: 600;
}
.step p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--text-2);
}
.step code {
  font-family: var(--mono);
  font-size: var(--fs-12);
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--surface-3);
  color: var(--text);
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line-soft);
}
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq details[open] { padding-bottom: var(--s-5); }
.faq summary {
  position: relative;
  padding: var(--s-5) 44px var(--s-5) 0;
  font-size: var(--fs-16);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  line-height: 1.5;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-3);
  line-height: 1;
  transition: transform .2s var(--ease), color .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--accent); }
.faq p {
  margin: 0;
  max-width: 40em;
  color: var(--text-2);
  font-size: var(--fs-14);
}

/* ---------- 社区 ---------- */

.cta {
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: var(--s-7);
  align-items: center;
}
.cta h2 {
  margin: 0 0 10px;
  font-size: var(--fs-32);
  line-height: 1.2;
  letter-spacing: -.015em;
}
.cta p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--fs-14);
  max-width: 30em;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-2);
  border: 1px solid var(--line);
  background: var(--surface-3);
  font-size: var(--fs-14);
  font-weight: 500;
  transition: border-color .16s var(--ease), background .16s var(--ease);
  min-height: 44px;
}
.chip:hover { border-color: #3d4858; background: #262c36; }
.chip i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  font-style: normal;
}
.chip.warm i { background: var(--warm); }

.bonus {
  border-left: 2px solid var(--warm);
  padding: 14px 0 14px 16px;
  background: linear-gradient(90deg, rgba(255, 196, 92, .07), transparent 70%);
  border-radius: 0 var(--r-2) var(--r-2) 0;
}
.bonus .tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--warm);
  color: var(--warm-ink);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: .06em;
}
.bonus p {
  margin: 8px 0 0;
  font-size: var(--fs-14);
  color: var(--text);
}
.bonus p small {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: var(--fs-12);
}

/* ---------- 页脚 ---------- */

.foot {
  padding: var(--s-7) 0 var(--s-6);
  border-top: 1px solid var(--line-soft);
  color: var(--text-3);
  font-size: var(--fs-12);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  align-items: flex-start;
  justify-content: space-between;
}
.foot p { margin: 0; max-width: 52em; line-height: 1.8; }
.foot .sponsor { color: var(--text-3); }
.foot .sponsor b { color: #c4e2a8; font-weight: 500; }

@media (max-width: 980px) {
  .hero { padding: var(--s-7) 0 var(--s-6); }
  .hero-in { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero h1 { font-size: var(--fs-40); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .feats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; padding: var(--s-5); gap: var(--s-5); }
  .nav-links { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .section { padding: var(--s-8) 0; }
}

@media (max-width: 600px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: var(--fs-32); }
  .sec-head h2 { font-size: var(--fs-20); }
  .cta h2 { font-size: var(--fs-20); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------- Hero 社区入口卡 ---------- */

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9);
}
.hc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-14);
}
.hc-head b { font-weight: 600; letter-spacing: .01em; }
.hc-head .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(182, 240, 74, .12);
}
.hc-tag {
  margin-left: auto;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  background: rgba(182, 240, 74, .12);
  color: var(--accent);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: .04em;
}
.crow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  min-height: 44px;
  transition: background .16s var(--ease);
}
.crow:hover { background: var(--surface-3); }
.crow b {
  display: block;
  font-size: var(--fs-16);
  font-weight: 600;
}
.crow small {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-12);
  color: var(--text-3);
  letter-spacing: .02em;
}
.crow .arrow {
  color: var(--text-3);
  font-size: var(--fs-16);
  transition: transform .16s var(--ease), color .16s var(--ease);
}
.crow:hover .arrow { color: var(--accent); transform: translateX(3px); }
.hc-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: var(--fs-12);
  background: rgba(255, 196, 92, .06);
}
.hc-foot span {
  color: var(--warm);
  font-weight: 600;
  letter-spacing: .04em;
}
.hc-foot b { color: var(--text-2); font-weight: 500; }

/* ---------- VIP 社区福利 ---------- */

.perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
}
.perk {
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  background: var(--surface);
  padding: var(--s-5);
}
.pi {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(182, 240, 74, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.pi svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.perk h3 {
  margin: 0 0 6px;
  font-size: var(--fs-16);
  font-weight: 600;
}
.perk p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--text-2);
}

/* ---------- 下载 CTA 细节 ---------- */

.chip-solid {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  font-weight: 700;
}
.chip-solid:hover { background: #c6ff5e; }
.chip-solid i { background: var(--accent-ink); }
.cta-note {
  margin: 20px 0 0;
  font-size: var(--fs-12);
  color: var(--text-3);
  line-height: 1.8;
}
.cta-note b { color: var(--text-2); font-weight: 500; }
