:root {
  --brand: #1f5fa8;
  --brand-dark: #174a82;
  --ink: #1c2430;
  --muted: #5b6675;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --radius: 10px;
}
* { 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;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-size: 20px; font-weight: 700; color: var(--brand); text-decoration: none; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 8px 18px; border-radius: 6px;
}
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #eef4fb 0%, #f8fafc 60%, #ffffff 100%);
  padding: 88px 0;
}
.hero h1 { font-size: 34px; line-height: 1.4; margin: 0 0 16px; max-width: 720px; }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 640px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 8px;
  text-decoration: none; font-size: 16px; font-weight: 600;
}
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-dark); }
.btn.ghost { border: 1px solid var(--brand); color: var(--brand); }
.btn.big { font-size: 18px; padding: 14px 34px; margin: 10px 0 18px; }

/* Sections */
.band { padding-block: 64px; }
.band.alt { background: var(--bg-alt); }
.sec-title { font-size: 26px; margin: 0 0 10px; }
.sec-sub { color: var(--muted); margin: 0 0 32px; }

/* Cards */
.grid { display: grid; gap: 20px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 8px 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-tag {
  display: inline-block; font-size: 12px; color: var(--brand);
  background: #e8f1fb; border-radius: 4px; padding: 2px 10px;
}
.adv-num { font-size: 24px; font-weight: 700; color: var(--brand); opacity: .35; }

/* Scenes */
.scene-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.scene-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 16px 20px; font-weight: 600;
}
.scene-list li::before { content: "◆ "; color: var(--brand); }

/* FAQ */
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 16px 20px; margin-bottom: 12px;
}
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(180deg, var(--bg-alt), #fff); }

/* Lead form */
.lead-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; margin-bottom: 20px; text-align: left;
}
.lead-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form textarea {
  display: block; width: 100%; margin-top: 6px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.lead-form input:focus, .lead-form textarea:focus {
  outline: 2px solid rgba(31, 95, 168, .25); border-color: var(--brand);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-form .btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.form-msg { margin: 12px 0 0; font-size: 14px; text-align: center; min-height: 20px; }
.form-msg.ok { color: #16794c; }
.form-msg.err { color: #b3261e; }
.hp { display: none !important; }

/* Subpage elements */
.crumbs { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { color: var(--muted); }
main.wrap { padding-bottom: 64px; }
main.wrap h1 { font-size: 30px; margin: 18px 0 14px; }
main.wrap h2 { font-size: 22px; margin: 36px 0 14px; }
.lead { font-size: 16px; color: var(--muted); max-width: 860px; }
.feature-list { padding-left: 0; list-style: none; }
.feature-list li { padding: 8px 0 8px 26px; position: relative; }
.feature-list li::before { content: "✔"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.spec-table, .price-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.spec-table th, .spec-table td, .price-table th, .price-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  text-align: left; font-size: 14px;
}
.spec-table th { width: 130px; background: var(--bg-alt); font-weight: 600; white-space: nowrap; }
.price-table thead th { background: var(--bg-alt); font-weight: 600; }
.price-table .price { color: var(--brand); font-weight: 700; }
.card .more { margin-top: 10px !important; }
.card .more a { color: var(--brand); font-size: 14px; }
.sec-sub a { color: var(--brand); }
.cta-box {
  margin-top: 40px; background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.cta-box h2 { margin-top: 0 !important; }
@media (max-width: 520px) {
  .spec-table th, .spec-table td, .price-table th, .price-table td { padding: 10px 10px; font-size: 13px; }
  .spec-table th { white-space: normal; width: 96px; }
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0; text-align: center; font-size: 14px; color: var(--muted);
}
.site-footer p { margin: 6px 0; }

@media (max-width: 860px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .scene-list { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 27px; }
}
@media (max-width: 640px) {
  .nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 20px; }
  .nav-cta { margin: 8px 20px; text-align: center; }
  .nav-toggle { display: block; }
  .cols-3, .cols-4, .scene-list { grid-template-columns: 1fr; }
  .band { padding-block: 44px; }
}

/* ===== 视觉升级 ===== */

/* Hero 数据条 */
.hero-stats {
  list-style: none; margin: 44px 0 0; padding: 22px 0 0;
  border-top: 1px solid rgba(31, 95, 168, .18);
  display: flex; gap: 48px; flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 28px; color: var(--brand); line-height: 1.2; }
.hero-stats span { font-size: 13px; color: var(--muted); }

/* 卡片悬浮 */
.card { transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(28, 36, 48, .08); }

/* 产品卡片（整卡可点） */
a.card.prod {
  display: flex; flex-direction: column;
  color: inherit; text-decoration: none; position: relative;
}
a.card.prod h3 { margin: 10px 0 8px; }
.card.prod p { flex: 1; }
.prod-icon { width: 34px; height: 34px; color: var(--brand); margin-bottom: 6px; }
.card.prod .more { color: var(--brand); font-size: 14px; margin-top: 12px; }

/* 定制流程步骤条 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; position: relative;
}
.step h3 { margin: 10px 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -16px; top: 32px;
  color: var(--brand); opacity: .45; font-weight: 700;
}

.more-line { margin: 18px 0 0; }
.more-line a { color: var(--brand); font-weight: 600; text-decoration: none; }
.more-line a:hover { text-decoration: underline; }

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stats b { font-size: 22px; }
}
