/* RocketCopy 官网样式 */
:root {
  --ink: #16161a;
  --ink-soft: #4a4a55;
  --muted: #7b7b88;
  --line: #e6e6ec;
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --brand: #6d4aff;
  --brand-dark: #5638e0;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 940px; margin: 0 auto; padding: 0 20px; }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 页头 ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 60px;
}
.brand { font-weight: 700; font-size: 17px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
.site-head nav a { color: var(--ink-soft); }
.site-head nav a:hover { color: var(--brand); text-decoration: none; }

/* ---------- 通用区块 ---------- */
main { padding: 0 0 64px; }
section { padding: 56px 0 8px; }
h1 { font-size: 34px; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.5px; }
h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -.2px; }
h3 { font-size: 17px; margin: 24px 0 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--ink-soft); }
.muted { color: var(--muted); font-size: 14px; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 64px 0 32px; }
.hero h1 { font-size: 42px; }
.hero .lead { max-width: 620px; margin: 0 auto 26px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .06s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 窗口示意图 ---------- */
.shot {
  margin: 36px auto 0; max-width: 720px; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 18px 40px -22px rgba(20,20,40,.35);
}
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.shot-title { margin-left: 8px; font-size: 12px; color: var(--muted); }
.shot-body { padding: 18px 20px 22px; text-align: left; font-size: 14px; }
.row { display: flex; align-items: center; justify-content: space-between;
       padding: 9px 0; border-bottom: 1px dashed var(--line); }
.row:last-child { border-bottom: 0; }
.row .k { color: var(--ink-soft); }
.row .v { font-weight: 600; }
.engine-tag {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: #efeaff; color: var(--brand-dark); font-size: 12px; font-weight: 600;
}
.progress { height: 7px; border-radius: 4px; background: #ececf3; overflow: hidden; margin-top: 12px; }
.progress > i { display: block; height: 100%; width: 68%; background: var(--brand); }

/* ---------- Features ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 20px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; background: #fff;
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--ink-soft); font-size: 15px; }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-size: 14px; }

ul { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 6px; }
ul.lettered { list-style: lower-alpha; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 22px; }
.plan {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; background: #fff; text-align: center;
}
.plan.featured { border-color: var(--brand); box-shadow: 0 14px 34px -20px rgba(109,74,255,.5); }
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -1px; margin: 8px 0 2px; }
.plan .per { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan ul { text-align: left; margin: 18px 0 20px; font-size: 15px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq h3 { margin-bottom: 4px; }
.faq p { color: var(--ink-soft); }

/* ---------- 法务页 ---------- */
.doc-meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
main h2 { border-top: 1px solid var(--line); padding-top: 26px; }
main h2:first-of-type { border-top: 0; padding-top: 0; }

/* ---------- 页脚 ---------- */
.site-foot {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 32px 0; text-align: center; color: var(--muted); font-size: 14px;
}
.site-foot .links { margin-bottom: 10px; }
.site-foot p { margin: 4px 0; }

@media (max-width: 620px) {
  .hero h1 { font-size: 32px; }
  .site-head .wrap { flex-direction: column; align-items: flex-start; padding: 12px 20px; }
}
