:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-dark: #0f1115;
  --text: #16181d;
  --text-soft: #5b6270;
  --border: #e6e8ec;
  --primary: #3d5afe;
  --primary-dark: #2f47d6;
  --accent: #00c2a8;
  --warn: #f04438;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.06);
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 2rem; margin-bottom: 12px; }
h3 { font-size: 1.125rem; margin-bottom: 8px; }

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

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-size: 15px; font-weight: 800;
}
.logo-text { font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: .925rem; }
.nav-links a { color: var(--text-soft); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border-radius: 10px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  font-size: .95rem; padding: 11px 20px; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(61,90,254,.25); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; margin-top: auto; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 72px; text-align: center; background:
  radial-gradient(1000px 400px at 50% -100px, rgba(61,90,254,.08), transparent 70%); }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-size: .82rem; color: var(--text-soft); font-weight: 600;
  margin-bottom: 22px; box-shadow: var(--shadow);
}
.hero h1 { font-size: 3.25rem; margin-bottom: 20px; }
.grad { background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 640px; margin: 0 auto 32px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hint { font-size: .875rem; color: var(--text-soft); margin-top: 16px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.problem { background: var(--bg-soft); border-block: 1px solid var(--border); }
.problem h2, .features h2, .steps h2, .pricing h2, .faq h2 { text-align: center; }
.section-sub { text-align: center; color: var(--text-soft); margin-bottom: 40px; }

.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
}
.card-icon {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-weight: 800; margin-bottom: 14px;
}
.card-icon.warn { background: #fef3f2; color: var(--warn); }
.card p { color: var(--text-soft); font-size: .95rem; }

.feature {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { box-shadow: var(--shadow); border-color: #d8dce4; }
.feature p { color: var(--text-soft); font-size: .95rem; }

.steps { background: var(--bg-soft); border-block: 1px solid var(--border); }
.step { text-align: center; padding: 20px; }
.step-num {
  width: 42px; height: 42px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  font-weight: 800; font-size: 1.05rem;
}
.step p { color: var(--text-soft); font-size: .95rem; }
kbd {
  background: #fff; border: 1px solid var(--border); border-bottom-width: 2px;
  border-radius: 5px; padding: 1px 6px; font-size: .8rem; font-family: ui-monospace, monospace;
}

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 12px 40px rgba(61,90,254,.14); }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase;
}
.price { margin: 14px 0 4px; display: flex; align-items: baseline; gap: 8px; }
.amount { font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; }
.period { color: var(--text-soft); font-size: .95rem; }
.alt-price { color: var(--text-soft); font-size: .875rem; margin-bottom: 8px; }
.checks { list-style: none; margin: 20px 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; font-size: .95rem; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); border-top: 1px solid var(--border); }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin-top: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--text-soft); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--text-soft); font-size: .95rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #9aa1ae; padding: 52px 0 36px; }
.footer-inner { text-align: center; }
.footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; margin-bottom: 18px;
}
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.footer-links a { color: #9aa1ae; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.disclaimer {
  font-size: .78rem; max-width: 620px; margin: 0 auto 16px;
  color: #6b7280; line-height: 1.6;
}
.copyright { font-size: .82rem; color: #6b7280; }

/* ---------- Legal pages ---------- */
.legal { padding: 52px 0 80px; }
.legal h1 { font-size: 2.25rem; margin-bottom: 8px; }
.legal .updated { color: var(--text-soft); font-size: .9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; text-align: left; }
.legal p, .legal li { color: #3d434e; font-size: .96rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.legal th { background: var(--bg-soft); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero h1 { font-size: 2.35rem; }
  .grid-3, .grid-2, .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 52px 0; }
  h2 { font-size: 1.6rem; }
}

/* ------------------------------------------------------------------ */
/* 线索收集表单（pro.html 使用）                                        */
/* ------------------------------------------------------------------ */

.text-input {
  width: 100%;
  padding: 12px 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.text-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61, 90, 254, .15);
}

.text-input::placeholder {
  color: #9aa1ad;
}

.field-hint {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.notice {
  padding: 12px 16px;
  font-size: .875rem;
  line-height: 1.5;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
}

.notice-error {
  border-color: #f5c2c0;
  background: #fdf3f2;
  color: #a3332c;
}

.notice-success {
  border-color: #bfe3cd;
  background: #f1faf4;
  color: #1f6b3f;
}
