/* 房签宝官网 · pyvvv.com — 视觉对齐 DESIGN.md「纸·墨·印」，主色 #1E3A5F */

:root {
  --bg: #F9F9F9;
  --card: #FFFFFF;
  --ink: #0A1628;
  --text: #475569;
  --muted: #6B7280;
  --faint: #94A3B8;
  --line: #EAEAEA;
  --navy: #1E3A5F;
  --navy-hover: #2A4E78;
  --navy-deep: #0F2438;
  --tint: #EEF3F8;
  --tint-2: #F1F5F9;
  --tint-3: #F6F8FB;
  --amber: #B45309;
  --amber-l: #F5B94B;
  --on-dark: #FFFFFF;
  --on-dark-soft: #C9D7E8;
  --on-dark-muted: #8FA8C6;
  --shadow: 0 2px 8px rgba(30, 58, 95, .06);
  --shadow-lg: 0 24px 48px -8px rgba(15, 36, 56, .28);
  --r-card: 32px;
  --r-big: 48px;
  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* 锚点跳转时为吸顶导航留出偏移，避免标题被遮住 */
section[id], #top { scroll-margin-top: 96px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h2 { font-size: 40px; }
p { color: var(--text); }

/* ---------- 通用 ---------- */
.section { padding: 96px 120px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-sub { font-size: 17px; color: var(--muted); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--amber); }
.body-lg { font-size: 16px; line-height: 1.75; }
.cross-note { font-size: 14px; line-height: 1.7; color: var(--muted); }
.cross-note a { color: var(--navy); font-weight: 600; white-space: nowrap; }
.cross-note a:hover { text-decoration: underline; }
.on-dark { color: var(--on-dark); }
.on-dark-soft { color: #A9BDD6; }

.pill {
  display: inline-block; padding: 8px 16px; border-radius: 50px;
  font-size: 13px; font-weight: 500;
}
.pill-ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #D9E4F2; }
.pill-amber { background: rgba(245,185,75,.16); color: var(--amber-l); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 50px; padding: 16px 34px; font-size: 17px; font-weight: 600;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 22px; font-size: 15px; }
.btn-lg { padding: 18px 44px; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -6px rgba(30,58,95,.45); }
.btn-primary:hover { background: var(--navy-hover); }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 8px 24px -4px rgba(0,0,0,.18); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; padding: 0 40px;
  background: rgba(249,249,249,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 12px; background: var(--navy);
}
.brand-mark-light { background: #fff; }
.brand-name { font-size: 20px; font-weight: 700; color: var(--ink); }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text); transition: color .15s; }
.nav-links a:hover { color: var(--navy); }

/* ---------- Hero ---------- */
.hero { padding: 8px 24px 0; }
.hero-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 56px;
  min-height: 640px; padding: 72px 80px; border-radius: var(--r-big);
  background: linear-gradient(135deg, #1E3A5F 0%, #0F2438 100%);
}
.hero-glow-a, .hero-glow-b { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-glow-a { width: 560px; height: 560px; right: -80px; top: -160px;
  background: radial-gradient(circle, rgba(159,199,255,.25), transparent 70%); }
.hero-glow-b { width: 480px; height: 480px; left: -140px; bottom: -180px;
  background: radial-gradient(circle, rgba(245,185,75,.10), transparent 70%); }
.hero-copy { position: relative; flex: 1 1 52%; min-width: 0; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero-copy h1 { font-size: clamp(44px, 5.2vw, 76px); font-weight: 800; line-height: 1.2; color: #fff; }
.hero-sub { font-size: 20px; line-height: 1.7; color: var(--on-dark-soft); max-width: 34em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust { font-size: 14px; color: var(--on-dark-muted); }
.hero-visual { position: relative; flex: 0 1 44%; min-width: 0; }
.browser {
  border-radius: 20px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-lg);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  background: var(--tint);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-red { background: #F26D63; } .dot-yellow { background: #F5BE4F; } .dot-green { background: #5FC454; }
.browser-url {
  margin-left: 8px; padding: 4px 14px; border-radius: 8px;
  background: #fff; font-size: 12px; color: var(--faint);
}
.browser img { width: 100%; height: auto; display: block; }

/* ---------- 优势卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.feature h3 { font-size: 19px; font-weight: 600; }
.feature p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.icon-tile {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--tint);
}

/* ---------- 功能细节 ---------- */
.detail-list { display: flex; flex-direction: column; gap: 24px; }
.detail {
  display: flex; align-items: center; gap: 40px; padding: 40px 48px;
}
.detail-copy { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.detail-num { font-size: 13px; font-weight: 600; color: var(--amber); }
.detail h3 { font-size: 22px; }
.detail p:not(.detail-num) { font-size: 16px; line-height: 1.7; color: var(--text); }
.detail-art {
  flex: 0 0 220px; height: 150px; border-radius: 20px; background: var(--tint);
  display: grid; place-items: center;
}
.detail-art svg { width: 160px; height: 110px; }
.group-title { font-size: 16px; font-weight: 600; color: var(--navy); margin-top: 8px; }

.summary { padding: 40px 48px; display: flex; flex-direction: column; gap: 24px; }
.summary h3 { font-size: 22px; }
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.summary-item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border-radius: 16px; background: var(--tint-3);
}
.summary-item h4 { font-size: 15px; font-weight: 600; }
.summary-item p { font-size: 13px; line-height: 1.55; color: #64748B; }

/* ---------- 贴牌定制 ---------- */
.oem-card { display: flex; align-items: center; gap: 64px; padding: 64px 72px; border-radius: var(--r-big); }
.oem-copy { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.oem-copy h2 { font-size: 38px; line-height: 1.35; }
.checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; font-weight: 500; color: #334155; }
.check {
  flex: 0 0 auto; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 3px;
  color: var(--amber-l); font-weight: 700;
}
.tags { display: flex; gap: 12px; flex-wrap: wrap; }
.tags span {
  padding: 8px 16px; border-radius: 50px; background: var(--tint-2);
  font-size: 13px; font-weight: 500; color: var(--text);
}
.oem-visual { flex: 0 0 460px; }
.compare-panel {
  display: flex; flex-direction: column; gap: 14px; padding: 24px;
  border-radius: 24px; background: linear-gradient(180deg, #1E3A5F, #0F2438);
}
.mini-card { border-radius: 14px; overflow: hidden; background: #fff; }
.mini-bar { padding: 8px 12px; font-size: 11px; font-weight: 500; }
.mini-bar-plain { background: var(--tint); color: #64748B; }
.mini-bar-brand { background: var(--navy); color: #fff; font-weight: 600; }
.mini-card img { width: 100%; height: auto; display: block; }
.mini-placeholder {
  display: grid; place-items: center; aspect-ratio: 820 / 293;
  background: repeating-linear-gradient(45deg, #F1F5F9, #F1F5F9 10px, #E7EDF4 10px, #E7EDF4 20px);
  color: var(--faint); font-size: 12px;
}
.compare-arrow { text-align: center; font-size: 13px; font-weight: 600; color: var(--amber-l); }
.compare-arrow span { display: inline-block; margin-right: 6px; }

/* ---------- 演示体验 ---------- */
.demo-card {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  padding: 56px 64px; border-radius: var(--r-big);
}
.demo-copy { flex: 1; display: flex; flex-direction: column; gap: 18px; }
.demo-copy h2 { font-size: 34px; }
.demo-cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.note { font-size: 13px; color: var(--faint); }
.steps { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.step {
  padding: 8px 16px; border-radius: 50px; background: var(--tint);
  font-size: 14px; font-weight: 500; color: var(--navy);
}
.chev { color: var(--faint); font-size: 16px; }

/* ---------- AI 数字员工 ---------- */
.ai-card {
  position: relative; overflow: hidden; padding: 56px 64px; border-radius: var(--r-big);
  background: var(--navy-deep); display: flex; flex-direction: column; gap: 28px; align-items: flex-start;
}
.ai-glow {
  position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(92,140,217,.22), transparent 70%);
}
.ai-card > :not(.ai-glow) { position: relative; }
.ai-card h2 { font-size: 36px; }
.ai-card .body-lg { max-width: 720px; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.ai-item {
  padding: 24px; border-radius: 20px; display: flex; flex-direction: column; gap: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.ai-item h4 { font-size: 17px; font-weight: 600; color: #fff; }
.ai-item p { font-size: 13px; line-height: 1.6; color: #A9BDD6; }

/* ---------- 联系我们 ---------- */
.contact-card { display: flex; align-items: center; gap: 64px; padding: 56px 64px; border-radius: var(--r-big); margin-bottom: 96px; }
.contact-copy { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.contact-copy h2 { font-size: 34px; }
.contact-info {
  flex: 0 0 400px; display: flex; flex-direction: column; gap: 16px;
  padding: 28px; border-radius: 24px; background: var(--tint-3); border: 1px solid var(--line);
}
.contact-line { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.qr-row { display: flex; align-items: center; gap: 14px; }
.qr { width: 140px; height: 140px; border-radius: 12px; }
.qr-note { display: flex; flex-direction: column; gap: 6px; }
.qr-note strong { font-size: 14px; font-weight: 500; color: var(--ink); }
.qr-note span { font-size: 12px; color: var(--faint); }

/* ---------- 页脚 ---------- */
.footer {
  position: relative; overflow: hidden;
  padding: 56px 120px 32px; background: var(--navy-deep);
  display: flex; flex-direction: column; gap: 36px;
}
.footer-watermark {
  position: absolute; right: 40px; top: 10px;
  font-size: 140px; font-weight: 800; line-height: 1; color: #fff; opacity: .045;
  pointer-events: none; user-select: none;
}
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.brand-on-dark .brand-name { color: #fff; }
.footer-tagline { font-size: 14px; color: var(--on-dark-muted); }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--on-dark-soft); }
.footer-links a:hover { color: #fff; }
.footer-divider { height: 1px; background: rgba(255,255,255,.08); }
.footer-copy { font-size: 13px; color: #6B83A3; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .section { padding: 72px 64px 0; }
  .hero { padding: 8px 16px 0; }
  .hero-card { padding: 56px; gap: 40px; min-height: 0; }
  .hero-copy h1 { font-size: 60px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .summary-grid, .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-card, .contact-card, .demo-card { padding: 48px; gap: 40px; }
  .oem-visual, .contact-info { flex-basis: 380px; }
  .footer { padding: 48px 64px 28px; }
}

@media (max-width: 860px) {
  .nav { height: 68px; padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 56px 20px 0; }
  h2 { font-size: 30px; }
  .hero { padding: 4px 12px 0; }
  .hero-card { flex-direction: column; align-items: stretch; padding: 40px 24px; border-radius: 32px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-sub { font-size: 17px; }
  .hero-visual { flex: 1 1 auto; }
  .card-grid, .summary-grid, .ai-grid { grid-template-columns: 1fr; }
  .detail { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 20px; }
  .detail-art { width: 100%; flex-basis: auto; }
  .oem-card, .demo-card, .contact-card { flex-direction: column; align-items: stretch; padding: 32px 24px; border-radius: 32px; }
  .oem-visual, .contact-info { flex-basis: auto; width: 100%; }
  .oem-copy h2, .contact-copy h2, .demo-copy h2, .ai-card h2 { font-size: 28px; }
  .demo-cta { align-items: stretch; text-align: center; }
  .ai-card { padding: 36px 24px; border-radius: 32px; }
  .footer { padding: 40px 20px 24px; }
  .footer-watermark { font-size: 88px; right: 12px; }
  .contact-card { margin-bottom: 64px; }
  .summary { padding: 28px 24px; }
}
