/* ============================================================
   施主PDF 官网样式表
   主色沿用软件界面里的 #2f6bff，保证官网与软件视觉统一
   ============================================================ */

:root {
  --brand: #2f6bff;
  --brand-dark: #1f52d6;
  --brand-soft: #eaf1ff;
  --brand-softer: #f5f8ff;
  --gold: #f59e0b;
  --gold-dark: #d97706;
  --gold-soft: #fff8e8;

  --text: #1f2329;
  --text-sec: #6b7280;
  --text-light: #9aa3af;
  --border: #e5e7eb;
  --border-soft: #eef0f3;
  --bg: #f5f6f8;
  --card: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 4px 16px rgba(16, 24, 40, .07);
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, .12);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------------- 顶栏 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  height: 64px; display: flex; align-items: center; gap: 32px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.logo .mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(140deg, #4f86ff, var(--brand) 55%, #1f52d6);
  display: grid; place-items: center; box-shadow: 0 3px 10px rgba(47, 107, 255, .32);
}
.logo .mark svg { width: 18px; height: 18px; }
.logo b { color: var(--brand); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: 9px; font-size: 15px; color: var(--text-sec);
  transition: .18s;
}
.nav a:hover { color: var(--text); background: var(--bg); }
.nav a.active { color: var(--brand); background: var(--brand-soft); }

.header-cta { margin-left: 8px; }

.nav-toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--text);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 10px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: .18s; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(47, 107, 255, .3); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 7px 20px rgba(47, 107, 255, .35); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: #cfd6e4; background: var(--bg); }
.btn-gold { background: linear-gradient(135deg, #ffb340, var(--gold)); color: #4a2c00; box-shadow: 0 4px 14px rgba(245, 158, 11, .32); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(245, 158, 11, .4); }
.btn-sm { padding: 8px 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------------- 通用板块 ---------------- */
.section { padding: 92px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .6px;
  color: var(--brand); background: var(--brand-soft);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow.gold { color: var(--gold-dark); background: var(--gold-soft); }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; letter-spacing: -.4px; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
.section-head p { margin: 16px 0 0; color: var(--text-sec); font-size: 17px; }
.muted { color: var(--text-sec); }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 84px 0 0;
  background:
    radial-gradient(900px 380px at 50% -80px, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%),
    #fff;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 15px 6px 8px; font-size: 13.5px; color: var(--text-sec);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-left: 5px; }
.hero-badge b { color: var(--brand); font-weight: 700; }
.hero h1 { font-size: 54px; font-weight: 800; letter-spacing: -1.4px; }
.hero h1 .hl {
  background: linear-gradient(120deg, var(--brand), #6d9bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub {
  max-width: 680px; margin: 22px auto 0; font-size: 18.5px; color: var(--text-sec);
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { margin-top: 18px; font-size: 13.5px; color: var(--text-light); }
.hero-meta span + span::before { content: "·"; margin: 0 9px; }

.hero-shot {
  margin: 60px auto 0; max-width: 980px; padding: 0 24px;
  position: relative;
}
.hero-shot::after {
  content: ""; position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%);
  width: 70%; height: 80px; background: rgba(47, 107, 255, .1); filter: blur(60px); z-index: 0;
}
.window {
  position: relative; z-index: 1;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden; border: 1px solid var(--border); border-bottom: none;
  box-shadow: var(--shadow-lg); background: #fff;
}
.window img { width: 100%; }

/* ---------------- 信任条 ---------------- */
.trustbar { border-top: 1px solid var(--border-soft); background: #fff; padding: 26px 0; }
.trustbar ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  font-size: 14.5px; color: var(--text-sec);
}
.trustbar li { display: flex; align-items: center; gap: 9px; }
.trustbar svg { width: 17px; height: 17px; color: #22c55e; flex: none; }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 28px 26px;
  transition: .2s;
}
.card:hover { border-color: #dbe2ee; box-shadow: var(--shadow); transform: translateY(-2px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 9px; }
.card p { margin: 0; color: var(--text-sec); font-size: 15px; }

/* ---------------- 图文交替 ---------------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.feature-row + .feature-row { margin-top: 96px; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-copy .tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--brand);
  background: var(--brand-soft); padding: 4px 11px; border-radius: 999px; margin-bottom: 16px;
}
.feature-copy h3 { font-size: 27px; margin-bottom: 14px; }
.feature-copy p { color: var(--text-sec); font-size: 16.5px; margin: 0 0 18px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 11px; font-size: 15px; color: #3b4252; }
.checklist svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }
.feature-shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); background: #fff;
}

/* ---------------- 自绘示意图：打印后整理文件 ---------------- */
.mock {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); font-size: 14.5px;
}
.mock-file {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--border-soft); border-radius: 10px;
  padding: 11px 14px; background: #fff;
}
.mock-file + .mock-file { margin-top: 10px; }
.mock-file .ico {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.mock-file .name { flex: 1; color: var(--text); }
.mock-file .tagx {
  font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: #e9f9ef; color: #1a7f37; white-space: nowrap;
}
.mock-file .tagx.wait { background: var(--bg); color: var(--text-light); }
.mock-arrow {
  text-align: center; color: var(--text-light); font-size: 13px;
  margin: 16px 0; display: flex; align-items: center; gap: 12px;
}
.mock-arrow::before, .mock-arrow::after {
  content: ""; height: 1px; background: var(--border-soft); flex: 1;
}
.mock-folder {
  background: var(--gold-soft); border: 1px dashed #f0cf95;
  border-radius: 10px; padding: 15px 18px; color: #7a5310;
}
.mock-folder b { display: block; font-size: 14px; margin-bottom: 8px; color: #6b4405; }
.mock-folder div { font-size: 13.5px; padding: 3px 0; }

/* ---------------- 对比表 ---------------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.compare thead th { font-size: 14px; color: var(--text-sec); font-weight: 600; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare .col-good { background: var(--brand-softer); }
.compare thead .col-good { color: var(--brand); font-weight: 700; }
.compare .yes { color: #1a7f37; font-weight: 600; }
.compare .no { color: var(--text-light); }
.compare .mid { color: var(--gold-dark); font-weight: 600; }
.table-card { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-scroll { overflow-x: auto; }

/* ---------------- 会员 ---------------- */
.plan-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; max-width: 840px; margin: 0 auto; }
.plan {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 30px; display: flex; flex-direction: column; position: relative;
}
.plan.pro {
  border: 2px solid var(--gold); box-shadow: 0 16px 40px rgba(245, 158, 11, .16);
  background: linear-gradient(180deg, #fffdf7, #fff 40%);
}
.plan .ribbon {
  position: absolute; top: -13px; left: 30px;
  background: linear-gradient(135deg, #ffb340, var(--gold)); color: #4a2c00;
  font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, .3);
}
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan .desc { color: var(--text-sec); font-size: 14.5px; margin: 0 0 20px; min-height: 44px; }
.price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 4px; }
.price .cur { font-size: 20px; font-weight: 700; }
.price .num { font-size: 46px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.price .unit { font-size: 15px; color: var(--text-sec); }
.plan .sub-price { font-size: 13.5px; color: var(--text-light); margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: 15px; color: #3b4252; }
.plan li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #22c55e; }
.plan li.off { color: var(--text-light); }
.plan li.off svg { color: #d1d5db; }
.plan li .soon {
  font-size: 11.5px; color: var(--gold-dark); background: var(--gold-soft);
  padding: 1px 7px; border-radius: 5px; margin-left: 6px; white-space: nowrap;
}

/* 三档定价（免费 / 年费 / 买断） */
.plan-wrap.three { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.plan .was {
  font-size: 17px; color: var(--text-light); text-decoration: line-through;
  font-weight: 600; margin-left: 2px;
}
.plan .save-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: #b42318; background: #fee4e2; padding: 3px 10px;
  border-radius: 999px; margin-bottom: 10px;
}
/* 首发价档：金色描边，跟旁边两档拉开 */
.plan.featured {
  border: 2px solid var(--gold);
  box-shadow: 0 16px 40px rgba(245, 158, 11, .16);
  background: linear-gradient(180deg, #fffdf7, #fff 40%);
}
.plan [hidden] { display: none !important; }

/* ---------------- 首发倒计时 ---------------- */
.launch-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 14px 22px; flex-wrap: wrap; text-align: center;
  background: linear-gradient(135deg, #fff8e8, #fffdf8);
  border: 1px solid #f0cf95; border-radius: var(--radius);
  padding: 16px 24px; max-width: 860px; margin: 0 auto 34px;
}
.launch-bar .lb-text { font-size: 15.5px; color: #7a5310; font-weight: 600; }
.launch-bar .lb-text b { color: #b42318; font-size: 17px; }
.countdown { display: flex; gap: 8px; }
.countdown .cell {
  min-width: 62px; background: #fff; border: 1px solid #f0cf95;
  border-radius: 10px; padding: 6px 10px;
}
.countdown .n {
  font-size: 21px; font-weight: 800; color: #b8801a; line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.countdown .u { font-size: 11.5px; color: var(--text-light); }
.launch-bar.is-over { display: none; }

/* ---------------- FAQ ---------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 4px; font-size: 16.5px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 16px; font-family: inherit;
}
.faq-q:hover { color: var(--brand); }
.faq-q .arrow { margin-left: auto; flex: none; transition: .22s; color: var(--text-light); }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); color: var(--brand); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.faq-a > div { padding: 0 4px 24px; color: var(--text-sec); font-size: 15.5px; }
.faq-item.open .faq-a { max-height: 620px; }

/* ---------------- 评价 ---------------- */
.quote {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 26px 26px 22px; display: flex; flex-direction: column;
}
.quote p { margin: 0 0 18px; font-size: 15.5px; color: #3b4252; }
.quote .who { margin-top: auto; display: flex; align-items: center; gap: 11px; }
.quote .avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft);
  color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: 14px; flex: none;
}
.quote .who b { font-size: 14.5px; display: block; }
.quote .who span { font-size: 13px; color: var(--text-light); }

/* ---------------- 结尾 CTA ---------------- */
.cta-band {
  background: linear-gradient(135deg, #2f6bff, #1f52d6);
  border-radius: var(--radius-lg); padding: 54px 40px; text-align: center; color: #fff;
  box-shadow: 0 20px 50px rgba(47, 107, 255, .28);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); margin: 14px auto 28px; max-width: 560px; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .24); }
.cta-band .btn-white { background: #fff; color: var(--brand); }
.cta-band .btn-white:hover { background: #f0f4ff; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #fff; border-top: 1px solid var(--border-soft); padding: 60px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 14px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-grid a { font-size: 14.5px; color: var(--text-sec); }
.footer-grid a:hover { color: var(--brand); }
.footer-about p { color: var(--text-sec); font-size: 14.5px; margin: 14px 0 0; max-width: 300px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 13.5px; color: var(--text-light);
}
.footer-bottom a { color: var(--text-light); }
.footer-bottom a:hover { color: var(--brand); }

/* ---------------- 内页头 ---------------- */
.page-head {
  padding: 66px 0 44px; text-align: center;
  background: radial-gradient(700px 300px at 50% -60px, #e8f0ff 0%, rgba(232, 240, 255, 0) 70%), #fff;
  border-bottom: 1px solid var(--border-soft);
}
.page-head h1 { font-size: 42px; font-weight: 800; letter-spacing: -1px; }
.page-head p { color: var(--text-sec); font-size: 17px; margin: 16px auto 0; max-width: 620px; }

/* ---------------- 步骤 ---------------- */
.steps { counter-reset: s; display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: 46px 1fr; gap: 20px;
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 24px 26px;
}
.step::before {
  counter-increment: s; content: counter(s);
  width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; font-size: 18px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-sec); font-size: 15px; }
.step code, .doc code {
  background: var(--bg); border: 1px solid var(--border-soft); border-radius: 6px;
  padding: 2px 7px; font-size: .92em; font-family: Consolas, Monaco, monospace;
}

/* ---------------- 提示块 ---------------- */
.note {
  border-radius: var(--radius); padding: 20px 22px; font-size: 15px;
  border: 1px solid #d9e5ff; background: var(--brand-softer); color: #2b3550;
}
.note.gold { border-color: #f6e0b4; background: var(--gold-soft); color: #6b4405; }
.note b { display: block; margin-bottom: 5px; }

/* ---------------- 移动端 ---------------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .plan-wrap.three { grid-template-columns: 1fr; max-width: 460px; }
  .feature-row { grid-template-columns: 1fr; gap: 34px; }
  .feature-row.reverse .feature-copy { order: 0; }
  .feature-row + .feature-row { margin-top: 68px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  h2 { font-size: 30px; }
}
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .grid-2, .plan-wrap { grid-template-columns: 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; top: 64px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); padding: 12px; box-shadow: var(--shadow);
  }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 32px; }
  .hero .sub { font-size: 16.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-head h1 { font-size: 31px; }
}

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: .6s cubic-bezier(.2, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
