:root {
  /* ===== 客自来 · qnzhibo 蓝紫渐变主题 ===== */
  --accent: #3b6bff;                 /* 主蓝 */
  --accent-strong: #2b4fe0;          /* 深蓝 */
  --accent-soft: #eef2ff;            /* 浅蓝底 */
  --violet: #6b4cff;                 /* 紫 */
  --grad: linear-gradient(120deg, #3b6bff 0%, #6b4cff 60%, #8b5cff 100%);
  --grad-soft: linear-gradient(120deg, #eef2ff, #f4eeff);
  --ink: #151b3d;                    /* 深墨蓝 */
  --muted: #5a6484;
  --border: #e6e9f5;
  --bg: #ffffff;
  --bg-alt: #f5f7ff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(59, 107, 255, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 800; letter-spacing: -.4px; }
h1 { font-size: clamp(36px, 6vw, 62px); letter-spacing: -.5px; }
h2 { font-size: clamp(26px, 4vw, 38px); }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Top bar ===== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px;
  background: var(--grad); color: #fff; border-radius: 10px; font-size: 16px;
  box-shadow: 0 6px 16px rgba(59,107,255,.35);
}
.brand-name { font-size: 18px; }
.nav { display: flex; gap: 6px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav a { padding: 8px 14px; border-radius: 10px; font-weight: 500; }
.nav a:hover { background: var(--accent-soft); color: var(--accent); }
.cta-sm {
  padding: 9px 20px; border-radius: 12px; font-size: 14px; font-weight: 700;
  background: var(--grad); color: #fff; white-space: nowrap;
  box-shadow: 0 8px 20px rgba(59,107,255,.28);
}
.cta-sm:hover { filter: brightness(1.06); }

/* ===== Hero（蓝紫渐变光晕 + 玻璃拟态） ===== */
.hero {
  position: relative; padding: 88px 0 76px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(107,76,255,.14), transparent 65%),
    radial-gradient(ellipse 55% 60% at 8% 80%, rgba(59,107,255,.10), transparent 65%),
    linear-gradient(180deg, #f6f8ff 0%, #ffffff 100%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700;
  color: var(--accent); background: var(--accent-soft); padding: 6px 15px;
  border-radius: 999px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.hero h1 { margin-bottom: 22px; }
.hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18px; color: var(--muted); max-width: 660px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 15px 30px; border-radius: 13px;
  font-size: 16px; font-weight: 700; border: none; cursor: pointer; transition: .18s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(59,107,255,.32); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--accent-strong); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-stats {
  list-style: none; display: flex; gap: 14px; flex-wrap: wrap; padding: 0; margin: 0;
}
.hero-stats li {
  flex: 1 1 170px; background: rgba(255,255,255,.7); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 3px; box-shadow: var(--shadow);
}
.hero-stats strong {
  font-size: 21px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { font-size: 13px; color: var(--muted); }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { margin-bottom: 14px; }
.sub { color: var(--muted); font-size: 16px; margin-bottom: 44px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: box-shadow .2s, transform .2s; position: relative;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #d3ddf7; }
.card-ico { width: 52px; height: 52px; margin-bottom: 18px; display: block; }
.card-num {
  font-size: 13px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card h3 { margin: 10px 0 8px; }
.card p { font-size: 14px; color: var(--muted); }

/* ===== Steps ===== */
.flow-diagram { margin: 8px 0 38px; }
.flow-diagram svg { width: 100%; height: auto; display: block; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li {
  display: flex; gap: 18px; align-items: flex-start; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px;
  transition: box-shadow .2s;
}
.steps li:hover { box-shadow: var(--shadow); }
.step-dot {
  flex: 0 0 42px; height: 42px; display: grid; place-items: center;
  background: var(--grad); color: #fff; border-radius: 12px; font-weight: 800;
}
.steps h3 { margin-bottom: 5px; }
.steps p { font-size: 14px; color: var(--muted); }

/* ===== Cases ===== */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s;
}
.case:hover { box-shadow: var(--shadow); }
.case-wide { grid-column: 1 / -1; }
.case-ico { width: 48px; height: 48px; margin-bottom: 14px; display: block; }
.case h3 { margin-bottom: 12px; }
.case-pain {
  font-size: 14px; color: var(--muted); margin-bottom: 14px;
  padding-left: 12px; border-left: 3px solid var(--border);
}
.case-sol { font-size: 14px; color: var(--ink); }

/* ===== FAQ ===== */
.faq { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 400; font-size: 20px; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 22px 18px; font-size: 14px; color: var(--muted); }

/* ===== CTA band（蓝紫渐变底） ===== */
.cta-band { background: var(--grad); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .sub { color: rgba(255,255,255,.9); }
.lead-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 660px; margin: 0 auto; }
.lead-form input, .lead-form select {
  flex: 1 1 160px; padding: 15px 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.14); color: #fff; font-size: 15px; backdrop-filter: blur(6px);
}
.lead-form input::placeholder { color: rgba(255,255,255,.75); }
.lead-form select { color: #fff; }
.lead-form select option { color: var(--ink); }
.lead-form .btn-primary { background: #fff; color: var(--accent-strong); box-shadow: 0 10px 26px rgba(0,0,0,.15); }
.form-status { margin-top: 18px; font-size: 14px; min-height: 20px; }

/* ===== Footer ===== */
.footer { padding: 42px 0; text-align: center; border-top: 1px solid var(--border); }
.footer p { font-size: 15px; color: var(--ink); }
.footer-note { font-size: 13px; color: var(--muted); margin-top: 6px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .cases { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .lead-form { flex-direction: column; }
}
