/* ==========================================================================
   ShadowrocketX 小火箭加速 — 独立样式表
   主题：轻量 · 靛紫渐变 · 清爽 SaaS 风
   ========================================================================== */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #f5f6fb;
  --bg-soft: #eef0f8;
  --surface: #ffffff;
  --ink: #11182b;
  --muted: #5c6a88;
  --faint: #8b96ad;
  --line: #e5e9f3;
  --line-strong: #d5dcec;

  --brand: #4f46e5;
  --brand-2: #7c3aed;
  --brand-ink: #312e81;
  --sky: #0ea5e9;
  --ok: #10b981;
  --warn: #f59e0b;

  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(79, 70, 229, .12), rgba(168, 85, 247, .08));

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 43, .05), 0 4px 14px rgba(17, 24, 43, .05);
  --shadow-md: 0 14px 40px -18px rgba(79, 70, 229, .35);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), 92%); margin: 0 auto; }
section { scroll-margin-top: 92px; }

h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.3px; }
h1 { font-size: clamp(30px, 4.6vw, 52px); }
h2 { font-size: clamp(23px, 2.9vw, 34px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }

.section-pad { padding: 76px 0; }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad);
  color: #fff; box-shadow: 0 10px 26px -12px rgba(79, 70, 229, .75);
}
.btn-primary:hover { box-shadow: 0 16px 36px -12px rgba(124, 58, 237, .85); transform: translateY(-2px); }
.btn-ghost {
  background: var(--surface); border-color: var(--line-strong); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 52px; padding: 0 32px; font-size: 16px; }

/* ---------- 公告条 ---------- */
.announce {
  background: var(--grad);
  color: #fff;
  font-size: 13.5px;
}
.announce .container {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 0; flex-wrap: wrap; text-align: center;
}
.announce a { color: #fff; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: .2px; }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
  background: var(--grad);
  display: grid; place-items: center; font-size: 17px; color: #fff;
  box-shadow: 0 6px 16px -8px rgba(79, 70, 229, .8);
}
.nav-links { display: flex; gap: 24px; font-size: 14.5px; color: var(--muted); }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-actions .lang { font-size: 13.5px; color: var(--muted); padding: 0 4px; }
.nav-actions .lang:hover { color: var(--brand); }
@media (max-width: 980px) {
  .nav-wrap { flex-wrap: wrap; gap: 10px; }
  .nav-links {
    order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap;
    padding: 2px 0 8px; gap: 18px; font-size: 14px; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-actions .btn { padding: 0 16px; min-height: 40px; font-size: 14px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 78px 0 88px;
  background:
    radial-gradient(900px 480px at 82% -12%, rgba(124, 58, 237, .16), transparent 62%),
    radial-gradient(760px 460px at 6% 18%, rgba(14, 165, 233, .15), transparent 65%),
    var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(79, 70, 229, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 480px at 50% 0%, #000 30%, transparent 78%);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 52px; align-items: center; position: relative; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--brand-ink); background: var(--grad-soft);
  border: 1px solid rgba(124, 58, 237, .25); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: 16.5px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 18px; }
.hero-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta i { color: var(--ok); font-style: normal; }

/* 套餐速览卡片 */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px; padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.hc-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px dashed var(--line-strong); margin-bottom: 16px;
}
.hc-status { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; }
.dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .16);
}
.hc-badge {
  font-size: 12px; color: var(--brand); border: 1px solid rgba(124, 58, 237, .3);
  border-radius: 999px; padding: 3px 10px; background: var(--grad-soft); font-weight: 600;
}
.hc-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; font-size: 14px; border-bottom: 1px solid var(--line);
}
.hc-row:last-of-type { border-bottom: none; }
.hc-row span { color: var(--muted); }
.hc-row strong { font-weight: 600; }
.hc-bar { height: 8px; border-radius: 999px; background: var(--bg-soft); overflow: hidden; margin-top: 16px; }
.hc-bar i { display: block; height: 100%; width: 76%; border-radius: 999px; background: var(--grad); }
.hc-note { font-size: 12px; color: var(--faint); margin-top: 10px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 50px 0 62px; }
}

/* ---------- 信任条 ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 30px 0; }
.trust-item { text-align: center; }
.trust-item b { display: block; font-size: clamp(20px, 2.6vw, 28px); color: var(--brand-ink); }
.trust-item span { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }

/* ---------- 通用卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-4px); border-color: rgba(124, 58, 237, .35); box-shadow: var(--shadow-md); }
.card .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 21px;
  background: var(--grad-soft); border: 1px solid rgba(124, 58, 237, .22); margin-bottom: 14px;
}
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 场景 ---------- */
.scene {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
}
.scene h3 { display: flex; align-items: center; gap: 10px; }
.scene h3 em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--brand); background: var(--grad-soft); padding: 2px 10px; border-radius: 999px; }
.scene .pain { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.scene ul { margin: 0 0 18px; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.scene ul li { margin-bottom: 6px; }

/* ---------- 教程步骤 ---------- */
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; font-weight: 800; font-size: 16px;
  color: #fff; background: var(--grad); margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 价格套餐 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.plan.featured {
  border-color: rgba(124, 58, 237, .5);
  box-shadow: 0 26px 60px -30px rgba(124, 58, 237, .55);
}
.plan .rec {
  position: absolute; top: -13px; left: 26px; font-size: 12px; font-weight: 700;
  background: var(--grad); color: #fff; border-radius: 999px; padding: 4px 12px;
}
.plan .tag-line {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: var(--brand); margin-bottom: 8px;
}
.plan h3 { margin-bottom: 4px; }
.plan .desc { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.plan .price b { font-size: 36px; letter-spacing: -1px; color: var(--brand-ink); }
.plan .price small { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14.5px; color: var(--muted); flex: 1; }
.plan ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.plan ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 700;
}
.price-note {
  margin-top: 24px; font-size: 13px; color: var(--muted);
  border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; background: var(--surface);
}

/* ---------- 评价 ---------- */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review .stars { color: var(--warn); letter-spacing: 2px; font-size: 14px; margin-bottom: 10px; }
.review p { font-size: 14.5px; color: #3c4a66; margin-bottom: 16px; }
.review .who { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--grad); color: #fff;
}
.review .who span { color: var(--muted); }

/* ---------- 安全 ---------- */
.safe-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .safe-wrap { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.check-list li:last-child { border-bottom: none; }
.check-list b { color: var(--ink); display: block; font-weight: 600; margin-bottom: 2px; }
.check-list .ck { color: var(--ok); font-weight: 800; flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq-cat { margin-bottom: 34px; }
.faq-cat > h3 {
  display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--brand);
  margin-bottom: 14px; letter-spacing: .4px;
}
.faq-cat > h3::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--grad); }
details.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm);
}
details.faq-item[open] { border-color: rgba(124, 58, 237, .4); }
details.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font-weight: 600; font-size: 15.5px; color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--brand); line-height: 1;
}
details.faq-item[open] summary::after { content: "−"; }
.faq-body { padding: 0 20px 20px; border-top: 1px solid var(--line); }
.faq-body > p.lead { color: var(--muted); font-size: 14.5px; margin: 14px 0 16px; }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
ol.steps li {
  counter-increment: step; position: relative; padding: 0 0 16px 44px; font-size: 14.5px; color: #46546f;
}
ol.steps li:last-child { padding-bottom: 0; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--grad);
}
ol.steps li strong { color: var(--ink); font-weight: 600; }

/* ---------- 最终 CTA ---------- */
.final-cta {
  border-radius: 26px; padding: 58px 32px; text-align: center; color: #fff;
  background: var(--grad);
  box-shadow: 0 30px 70px -30px rgba(124, 58, 237, .75);
}
.final-cta p { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto 26px; }
.final-cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.final-cta .btn-primary { background: #fff; color: var(--brand-ink); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .4); }
.final-cta .btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; box-shadow: none; }
.final-cta .btn-ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 560px) { .final-cta .btns .btn { width: 100%; } }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 56px 0 28px; margin-top: 20px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 14px; color: var(--ink); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; font-size: 14px; color: var(--muted); }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid ul li a:hover { color: var(--brand); }
.footer-brand p { font-size: 14px; color: var(--muted); max-width: 320px; }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: var(--muted);
}
.disclaimer { margin-top: 16px; font-size: 12.5px; color: var(--faint); line-height: 1.8; }

/* ---------- 悬浮客服 ---------- */
.float-support {
  position: fixed; right: 20px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 16px 34px -14px rgba(124, 58, 237, .9);
}
.float-support:hover { transform: translateY(-2px); }
@media (max-width: 560px) { .float-support { right: 14px; bottom: 14px; padding: 10px 14px; font-size: 13px; } }

/* ---------- 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
