/* ==========================================================================
   机器人APP下载 内页骨架：横向 Stepper + 平台卡片网格
   ========================================================================== */

:root {
  --st-bg: #080d18;
  --st-panel: #0f1829;
  --st-orange: #f97316;
  --st-orange-lt: #fdba74;
  --st-text: #e7ecf5;
  --st-muted: #8392a8;
  --st-line: rgba(249, 115, 22, .18);
}

body.st-page { background: var(--st-bg); color: var(--st-text); }

.st-page .site-header { background: rgba(8, 13, 24, .88); border-bottom-color: rgba(249, 115, 22, .16); }
.st-page .brand-text { color: #fff; }
.st-page .site-nav a { color: #8b98ae; }
.st-page .site-nav a:hover { color: #fff; background: rgba(249, 115, 22, .1); }
.st-page .site-nav a.is-active { color: #fde4cf; background: rgba(249, 115, 22, .16); }
.st-page .nav-toggle { background: transparent; border-color: rgba(249, 115, 22, .3); }
.st-page .nav-toggle span { background: var(--st-orange-lt); }

@media (max-width: 1060px) {
  .st-page .site-nav { background: #0f1829; border-bottom-color: rgba(249, 115, 22, .22); }
  .st-page .site-nav a { color: #8b98ae; }
}

/* ---------------- Hero ---------------- */
.st-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 84px;
  background:
    radial-gradient(660px 400px at 80% 8%, rgba(249, 115, 22, .18), transparent 64%),
    radial-gradient(520px 360px at 2% 92%, rgba(194, 65, 12, .1), transparent 70%),
    var(--st-bg);
}

.st-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(249, 115, 22, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 115, 22, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 40% 30%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 40% 30%, #000, transparent 72%);
  pointer-events: none;
}

.st-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 46px;
  align-items: center;
}

.st-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--st-orange-lt);
}

.st-tag i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--st-orange);
  box-shadow: 0 0 10px var(--st-orange);
}

.st-hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(30px, 4.1vw, 46px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -.6px;
  color: #fff;
  text-wrap: balance;
}

.st-hero h1 em { font-style: normal; color: var(--st-orange-lt); }

.st-hero .lead {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--st-muted);
  max-width: 500px;
}

.st-hero .lead strong { color: var(--st-text); }

.st-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 28px; }

.st-actions .btn-primary {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #1a0d04;
  box-shadow: 0 16px 34px rgba(234, 88, 12, .3);
}

.st-actions .btn-room {
  border-color: rgba(249, 115, 22, .3);
  background: rgba(249, 115, 22, .06);
  color: var(--st-text);
}

.st-actions .btn-room b { color: var(--st-orange-lt); letter-spacing: 2px; }

.st-visual img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(249, 115, 22, .16);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .55);
}

/* ---------------- Stepper ---------------- */
.st-section { padding: 78px 0; }

.st-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }

.st-head .k { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--st-orange); }
.st-head h2 { margin: 12px 0 10px; font-size: clamp(24px, 3.1vw, 36px); font-weight: 900; color: #fff; line-height: 1.3; text-wrap: balance; }
.st-head p { font-size: 15.5px; color: var(--st-muted); }

.stepper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stepper::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(249, 115, 22, .5) 0 6px, transparent 6px 14px);
}

.step {
  position: relative;
  z-index: 2;
  padding: 0;
  text-align: center;
}

.step .num {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--st-bg);
  border: 2px solid var(--st-orange);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--st-orange-lt);
  box-shadow: 0 0 0 8px rgba(249, 115, 22, .07);
}

.step h3 { font-size: 16.5px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.8; color: var(--st-muted); max-width: 240px; margin-inline: auto; }

/* ---------------- 平台卡 ---------------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plat {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(165deg, #111b2c, #0a1120);
  transition: border-color .25s, transform .25s;
}

.plat:hover { border-color: rgba(249, 115, 22, .45); transform: translateY(-4px); }

.plat.primary {
  border-color: rgba(249, 115, 22, .42);
  background:
    radial-gradient(280px 180px at 92% 0%, rgba(249, 115, 22, .2), transparent 70%),
    linear-gradient(165deg, #1a1524, #0b1020);
}

.plat .top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.plat .ic {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: rgba(249, 115, 22, .12);
  font-size: 21px;
}

.plat.primary .ic { background: linear-gradient(135deg, #fb923c, #ea580c); }

.plat h3 { font-size: 16.5px; font-weight: 800; color: #fff; }
.plat .top span { display: block; font-family: var(--mono); font-size: 11.5px; color: #7c8ba3; margin-top: 2px; }

.plat ul { flex: 1; display: grid; gap: 8px; margin-bottom: 18px; }

.plat li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--st-muted);
}

.plat li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(249, 115, 22, .55);
}

.plat .btn-dl {
  display: block;
  padding: 12px 18px;
  border-radius: 10px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  border: 1px solid rgba(249, 115, 22, .4);
  color: var(--st-orange-lt);
  transition: background .2s, color .2s;
}

.plat .btn-dl:hover { background: rgba(249, 115, 22, .14); }

.plat.primary .btn-dl {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  border-color: transparent;
  color: #1a0d04;
}

/* ---------------- 要求 + FAQ ---------------- */
.st-two {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.req-box {
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--st-line);
  background: rgba(15, 24, 41, .7);
}

.req-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; color: #fff; }

.req-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
  font-size: 13.5px;
}

.req-row:last-child { border-bottom: 0; }
.req-row span { color: var(--st-muted); }
.req-row b { color: #fff; font-weight: 700; }

.faq-acc { display: grid; gap: 10px; }

.acc-item {
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(15, 24, 41, .7);
  overflow: hidden;
  transition: border-color .2s;
}

.acc-item.is-open { border-color: rgba(249, 115, 22, .45); }

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--st-text);
}

.acc-trigger .sign {
  flex: none;
  margin-left: auto;
  position: relative;
  width: 18px; height: 18px;
}

.acc-trigger .sign::before,
.acc-trigger .sign::after {
  content: "";
  position: absolute;
  inset: 50% 0;
  height: 2px;
  background: var(--st-orange);
  transition: transform .25s;
}

.acc-trigger .sign::after { transform: rotate(90deg); }
.acc-item.is-open .acc-trigger .sign::after { transform: rotate(0); }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 20px 18px; font-size: 13.5px; line-height: 1.85; color: var(--st-muted); }
.acc-panel a { color: var(--st-orange-lt); }

/* ---------------- 相关 ---------------- */
.st-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.st-related a {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
  transition: border-color .2s, transform .2s;
}

.st-related a:hover { border-color: rgba(249, 115, 22, .42); transform: translateY(-3px); }
.st-related strong { display: block; font-size: 14.5px; color: #fff; margin-bottom: 4px; }
.st-related span { font-size: 12.5px; color: var(--st-muted); }

/* 入场 */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s, transform .7s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1000px) {
  .st-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .st-visual { order: -1; }
  .stepper { grid-template-columns: 1fr 1fr; gap: 26px; }
  .stepper::before { display: none; }
  .platforms { grid-template-columns: 1fr; }
  .st-two { grid-template-columns: 1fr; }
  .st-related { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .st-hero { padding: 48px 0 58px; }
  .st-hero h1 { font-size: 27px; }
  .st-actions .btn { width: 100%; }
  .st-section { padding: 58px 0; }
  .stepper { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: 68px 1fr; gap: 18px; }
  .step .num { margin: 0; width: 56px; height: 56px; font-size: 17px; grid-row: span 2; }
  .step h3 { margin-top: 4px; }
  .step p { grid-column: 2; max-width: none; }
}
