/* =========================================================
   外勤管家 · 公开官网
   浅色商务风 / 主色 #1a73e8 / CSS 独立文件
   ========================================================= */

:root {
  --blue: #1a73e8;
  --blue-deep: #0b57d0;
  --blue-soft: #e8f0fe;
  --ink: #0f1e33;
  --ink-2: #172a44;
  --muted: #5c6b7e;
  --hint: #8b96a8;
  --line: #dce4ef;
  --bg: #f4f7fb;
  --paper: #ffffff;
  --green: #0d904f;
  --orange: #e37400;
  --red: #d93026;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(15, 30, 51, .09);
  --shadow-soft: 0 8px 24px rgba(15, 30, 51, .06);
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

section[id] { scroll-margin-top: 92px; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

h1, h2, h3, p, ul, ol { margin: 0; }

ul, ol { padding: 0; list-style: none; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-16 { width: 16px; height: 16px; }

.wrap {
  width: min(1160px, calc(100% - 56px));
  margin: 0 auto;
}

/* ---------- 顶部提示条 ---------- */
.topbar {
  background: var(--ink);
  color: #c6d2e2;
  font-size: 12px;
}

.topbar-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.34); }
.topbar a:hover { color: #9bc4ff; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-width: 0;
}

.brand-mark { width: 32px; height: 32px; flex: none; }

.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-copy b { font-size: 18px; line-height: 1.2; letter-spacing: .01em; }
.brand-copy em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--hint);
  margin-top: 2px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 13px;
  color: #3b4a5e;
}

.nav-links a { position: relative; padding: 6px 0; white-space: nowrap; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.mobile-nav { display: none; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, transform .12s ease, box-shadow .18s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(26, 115, 232, .22);
}
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

.btn-quiet {
  background: #fff;
  border-color: #c8d5e6;
  color: var(--ink);
}
.btn-quiet:hover { border-color: var(--blue); color: var(--blue); }

.btn-light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn-light:hover { background: #dce9ff; border-color: #dce9ff; }

.btn-sm { min-height: 36px; padding: 0 14px; font-size: 12.5px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 13.5px;
  font-weight: 650;
  padding: 0;
}
.text-link:hover { text-decoration: underline; }
.text-link-light { color: #9bc4ff; }

/* ---------- 公共标题 ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.eyebrow-light { color: #9bc4ff; }

.section { padding: 88px 0; }

.section-head { max-width: 720px; }
.section-head-wide { max-width: 820px; }

.section-head h2,
.capability-intro h2,
.workday-copy h2,
.modules-copy h2,
.download-copy h2,
.faq-intro h2 {
  margin-top: 14px;
  font-size: 40px;
  line-height: 1.16;
  letter-spacing: -.02em;
  font-weight: 800;
}

.section-lead {
  margin-top: 16px;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: #f6f9ff;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 44px;
  align-items: center;
  min-height: 636px;
  padding: 70px 0 78px;
}

.hero-copy { max-width: 620px; }

.hero h1 {
  margin-top: 16px;
  font-size: 62px;
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 800;
}

.lead {
  margin-top: 22px;
  max-width: 540px;
  color: #4c5c70;
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  color: #627085;
  font-size: 12.5px;
}
.trust-row li { display: flex; align-items: center; gap: 7px; }
.trust-row li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: #e2edff;
  top: 50%;
  left: 50%;
  transform: translate(-46%, -50%);
}

.app-board {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  padding: 8px 8px 9px;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: 0 30px 70px rgba(15, 30, 51, .22);
  transform: rotate(-1deg);
}

.app-board-head {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 8px;
  color: #dbe8fb;
  font-size: 11px;
}

.app-dots { display: flex; gap: 4px; margin-right: 2px; }
.app-dots span { width: 5px; height: 5px; border-radius: 50%; background: #6c85a5; }

.app-board-head strong { font-weight: 600; letter-spacing: .04em; }
.app-live { margin-left: auto; font-size: 9px; color: #9bc4ff; }

.app-screen {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.app-screen img { display: block; width: 100%; height: auto; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  padding: 11px 14px 11px 11px;
  border: 1px solid #dae5f4;
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.float-card b { display: block; font-size: 12px; line-height: 1.3; }
.float-card span { display: block; margin-top: 3px; font-size: 10px; color: var(--hint); }

.float-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex: none;
}

.float-icon-green { background: #e6f4ec; color: var(--green); }

.float-top { left: -2%; top: 68px; }
.float-bottom { right: -4%; bottom: 66px; }

.float-counter {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border-left: 2px solid var(--blue);
  background: rgba(255,255,255,.72);
}
.float-counter strong { font-size: 25px; line-height: 1; color: var(--blue); }
.float-counter strong span { font-size: 11px; color: var(--hint); font-weight: 500; }
.float-counter em { font-style: normal; font-size: 10px; color: var(--muted); }

/* ---------- 事实带 ---------- */
.fact-band { background: #fff; border-bottom: 1px solid var(--line); }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: 25px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact strong { font-size: 32px; line-height: 1; color: var(--blue); letter-spacing: -.04em; }
.fact span { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- 痛点 ---------- */
.pain { background: var(--paper); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 44px;
  margin-top: 46px;
}

.pain-item { padding-top: 24px; border-top: 1px solid var(--line); }

.pain-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff3e8;
  color: var(--orange);
}

.pain-item h3 { margin-top: 18px; font-size: 18px; line-height: 1.35; }
.pain-item p { margin-top: 10px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }

/* ---------- 能力 ---------- */
.capabilities {
  background: var(--ink);
  color: #fff;
}

.capability-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 76px;
  align-items: start;
}

.capability-intro { position: sticky; top: 108px; }
.capability-intro h2 { font-size: 40px; color: #f2f7ff; }
.capability-intro p { margin-top: 18px; color: #aebdd2; font-size: 14px; line-height: 1.85; max-width: 300px; }

.capability-points { margin-top: 26px; display: flex; flex-direction: column; gap: 9px; }
.capability-points li { display: flex; align-items: flex-start; gap: 9px; color: #8fa2bc; font-size: 12px; line-height: 1.5; }
.capability-points li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: #5b90ff;
  flex: none;
}

.capability-list { min-width: 0; }

.cap-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.cap-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }

.cap-icon {
  width: 46px;
  height: 46px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1b3150;
  color: #8ab9ff;
}

.cap-copy h3 { font-size: 17px; line-height: 1.4; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.cap-copy h3 span {
  font-size: 9.5px;
  letter-spacing: .06em;
  color: #9bc4ff;
  border: 1px solid rgba(155, 196, 255, .32);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.cap-copy p { margin-top: 7px; color: #9eb0c8; font-size: 13px; line-height: 1.75; }

/* ---------- 角色 ---------- */
.roles { background: var(--paper); }

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.role-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid #cbd8e8;
  background: #fbfcfe;
}

.role-card-main { border-top-color: var(--blue); background: #f4f9ff; }

.role-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); }
.role-badge { font-size: 11px; letter-spacing: .1em; font-weight: 700; color: var(--blue); }
.role-card-main .role-badge { color: var(--blue-deep); }
.role-top .icon { width: 22px; height: 22px; color: #8aa2be; }

.role-card h3 { margin-top: 24px; font-size: 21px; }
.role-card p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.8; min-height: 72px; }

.role-card ul { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.role-card li { display: flex; align-items: center; gap: 8px; color: #415168; font-size: 12px; }
.role-card li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.role-demo { margin-top: 16px; }
.role-demo .text-link { font-size: 12.5px; }

.roles-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.roles-cta p { color: var(--muted); font-size: 13px; }

/* ---------- 按需开启 ---------- */
.modules { background: #edf5ff; }

.modules-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.modules-copy h2 { font-size: 38px; }
.modules-copy p { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.85; }

.module-panels { display: flex; flex-direction: column; gap: 12px; }

.module-panel {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #d6e4f6;
}

.module-panel-main { border-left: 3px solid var(--blue); }

.module-panel header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.module-panel header strong { font-size: 14px; }
.module-panel header span { font-size: 10px; color: var(--hint); letter-spacing: .06em; }

.module-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.module-tags span {
  padding: 6px 10px;
  background: #f4f8fe;
  border: 1px solid #e1eaf6;
  border-radius: 5px;
  color: #26384f;
  font-size: 12px;
}
.module-tags-muted span { color: #5e7088; background: #f8fafc; }

/* ---------- 一天怎么跑 ---------- */
.workday { background: var(--paper); }

.workday-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 70px;
  align-items: center;
}

.map-card {
  padding: 9px 9px 14px;
  background: var(--ink);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(15, 30, 51, .16);
  transform: rotate(-.8deg);
}

.map-card-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 3px 10px;
  color: #d5e3f7;
  font-size: 10px;
}
.map-card-head em { font-style: normal; color: #8fa9c9; }

.map-card img { display: block; width: 100%; height: auto; border-radius: 5px; background: #fff; }
.map-card p { padding: 11px 3px 0; color: #9eb0c8; font-size: 10px; line-height: 1.5; }

.workday-copy h2 { font-size: 38px; }

.timeline { margin-top: 30px; display: flex; flex-direction: column; }
.timeline li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline-time {
  font-size: 11px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: .03em;
  padding-top: 3px;
}
.timeline h3 { font-size: 16px; }
.timeline p { margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.7; }

/* ---------- 价格 ---------- */
.pricing { background: #f7f9fd; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
  align-items: start;
}

.price-col {
  padding: 26px 24px;
  border: 1px solid var(--line);
  background: #fff;
}
.price-col-main { border-top: 3px solid var(--blue); box-shadow: var(--shadow-soft); }

.price-kicker { color: var(--hint); font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.price-col h3 { margin-top: 9px; font-size: 18px; }

.price-figure { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.price-figure b { font-size: 30px; line-height: 1; letter-spacing: -.03em; }
.price-figure span { font-size: 11px; color: var(--hint); }
.price-col-main .price-figure b { color: var(--blue); }

.price-desc { margin-top: 13px; min-height: 54px; color: var(--muted); font-size: 12px; line-height: 1.75; }

.price-col ul { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.price-col li { display: flex; align-items: flex-start; gap: 7px; color: #415168; font-size: 12px; }
.price-col li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

.price-col .btn { margin-top: 22px; }

.price-note { margin-top: 18px; color: var(--hint); font-size: 11px; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }

.faq-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.faq-intro { position: sticky; top: 108px; }
.faq-intro h2 { font-size: 38px; }
.faq-intro p { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.faq-intro .text-link { margin-top: 18px; }

.faq-list { border-top: 1px solid var(--line); }

details { border-bottom: 1px solid var(--line); }
details summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 0;
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: #1d2e45;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 18px;
  font-size: 20px;
  line-height: 1;
  color: var(--blue);
  font-weight: 400;
}
details[open] summary::after { content: "–"; }
details p { padding: 0 34px 22px 0; color: var(--muted); font-size: 13px; line-height: 1.85; }

/* ---------- 下载 ---------- */
.download {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 76px 0;
}

.download::before,
.download::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.download::before { width: 420px; height: 420px; right: -120px; top: -180px; background: #17375f; }
.download::after { width: 260px; height: 260px; left: -140px; bottom: -160px; background: #142d4f; }

.download-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 60px;
  align-items: center;
}

.download-copy h2 { font-size: 44px; color: #f3f8ff; }
.download-copy p { margin-top: 16px; max-width: 420px; color: #aebdd2; font-size: 14px; line-height: 1.85; }
.download-copy .text-link { margin-top: 18px; }

.download-actions { display: flex; flex-direction: column; gap: 10px; }

.download-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  background: rgba(255,255,255,.06);
  color: #fff;
  text-align: left;
  transition: background .18s ease, border-color .18s ease;
}
.download-btn:hover { background: rgba(255,255,255,.12); border-color: #8ab9ff; }
.download-icon { width: 28px; height: 28px; color: #9bc4ff; }
.download-btn b { display: block; font-size: 14px; }
.download-btn em { display: block; margin-top: 2px; font-style: normal; font-size: 10px; color: #93a6bf; }
.download-btn .arrow { margin-left: auto; color: #9bc4ff; }
.download-note { margin-top: 6px; color: #8297b2; font-size: 10px; }

/* ---------- 页脚 ---------- */
.footer { background: #0b1524; color: #c2d0e1; padding: 54px 0 20px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.footer-brand .brand-copy b { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 300px; color: #8297b2; font-size: 11.5px; line-height: 1.7; }

.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { color: #fff; font-size: 12px; margin-bottom: 4px; }
.footer-links a { color: #9eb0c8; font-size: 11.5px; }
.footer-links a:hover { color: #fff; }

.footer-cta strong { color: #fff; font-size: 12px; }
.footer-cta p { margin: 8px 0 13px; color: #8297b2; font-size: 11.5px; line-height: 1.6; }
.footer-cta .btn { min-height: 38px; font-size: 12px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #6f829b;
  font-size: 10.5px;
}

/* ---------- Toast / Modal ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 120;
  transform: translate(-50%, 14px);
  padding: 12px 18px;
  border-radius: 8px;
  background: #13253c;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 16px 36px rgba(0,0,0,.22);
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
  white-space: nowrap;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

body.is-locked { overflow: hidden; }

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-mask { position: absolute; inset: 0; background: rgba(8, 18, 32, .62); }

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.modal-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.modal-head h2 { margin-top: 10px; font-size: 24px; line-height: 1.3; }

.modal-x {
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.modal-x:hover { color: var(--ink); border-color: #b8c6d8; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field span { color: #43536a; font-size: 11.5px; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cedaea;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  padding: 10px 12px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,115,232,.1); }

.field-error { min-height: 13px; color: var(--red); font-size: 10px; font-style: normal; line-height: 1.3; }

.form-note { margin-top: 12px; color: var(--hint); font-size: 10.5px; line-height: 1.6; }

.modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; font-size: 12.5px; }
  .nav-inner { gap: 24px; }
  .hero-grid { gap: 28px; min-height: 600px; }
  .hero h1 { font-size: 54px; }
  .hero-visual { min-height: 500px; }
  .capability-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 50px; }
  .workday-grid { gap: 44px; }
  .faq-grid { gap: 44px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { justify-content: space-between; flex-wrap: wrap; }
  .mobile-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    flex-basis: 100%;
    width: 100%;
    padding: 10px 0 18px;
    border-top: 1px solid var(--line);
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 10px 2px; font-size: 13.5px; color: #3f4b5d; border-bottom: 1px solid #f0f3f8; }
  .mobile-nav a:hover { color: var(--blue); }
  .mobile-cta { margin-top: 12px; width: 100%; min-height: 42px; }

  .hero-grid { grid-template-columns: 1fr; gap: 18px; padding: 54px 0 58px; min-height: 0; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: 52px; }
  .hero-visual { min-height: 500px; margin-top: 4px; }
  .float-top { left: 2%; }
  .float-bottom { right: 1%; }

  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 18px 18px; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .fact:nth-child(3) { padding-left: 0; }
  .fact strong { font-size: 27px; }

  .pain-grid { grid-template-columns: 1fr; gap: 26px; margin-top: 32px; }
  .capability-grid { grid-template-columns: 1fr; gap: 34px; }
  .capability-intro { position: static; }
  .capability-intro p { max-width: 540px; }
  .capability-points { display: none; }

  .role-grid { grid-template-columns: 1fr; gap: 12px; }
  .role-card p { min-height: 0; }
  .roles-cta { align-items: flex-start; flex-direction: column; }

  .modules-grid { grid-template-columns: 1fr; gap: 30px; }
  .workday-grid { grid-template-columns: 1fr; gap: 34px; }
  .workday-visual { max-width: 500px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .price-desc { min-height: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-intro { position: static; }

  .download-grid { grid-template-columns: 1fr; gap: 30px; }
  .download-actions { max-width: 430px; }
  .download-copy h2 { font-size: 38px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .topbar { font-size: 10.5px; }
  .topbar-inner { min-height: 30px; }
  .brand-copy em { display: none; }
  .brand-copy b { font-size: 17px; }

  .section { padding: 62px 0; }
  .section-head h2,
  .capability-intro h2,
  .workday-copy h2,
  .modules-copy h2,
  .faq-intro h2 { font-size: 31px; }
  .hero h1 { font-size: 40px; letter-spacing: -.035em; }
  .lead { font-size: 14px; line-height: 1.8; }
  .hero-actions { gap: 9px; margin-top: 22px; }
  .hero-actions .btn { width: 100%; }
  .trust-row { gap: 8px 16px; font-size: 11.5px; margin-top: 20px; }
  .hero-visual { min-height: 430px; margin-top: 10px; }
  .app-board { width: min(360px, 100%); }
  .float-card { min-width: 0; max-width: 210px; padding: 9px 11px 9px 9px; }
  .float-icon { width: 30px; height: 30px; }
  .float-card b { font-size: 11px; }
  .float-card span { font-size: 9.5px; }
  .float-top { left: 0; top: 12px; }
  .float-bottom { right: 0; bottom: 10px; }
  .float-counter { display: none; }
  .hero-glow { width: 280px; height: 280px; }

  .fact { gap: 8px; padding: 15px 12px; }
  .fact strong { font-size: 23px; }
  .fact span { font-size: 10.5px; white-space: normal; }

  .pain-item h3 { font-size: 16px; }
  .cap-row { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 19px 0; }
  .cap-icon { width: 40px; height: 40px; }
  .cap-copy h3 { font-size: 15px; }
  .cap-copy h3 span { font-size: 9px; }
  .cap-copy p { font-size: 12px; }

  .role-card { padding: 19px 18px; }
  .role-card h3 { margin-top: 18px; font-size: 18px; }
  .roles-cta { padding-top: 18px; }
  .roles-cta .btn { width: 100%; }

  .module-panel { padding: 18px; }
  .module-tags span { padding: 5px 8px; font-size: 11px; }

  .map-card { transform: none; }
  .timeline li { grid-template-columns: 50px minmax(0, 1fr); gap: 13px; padding: 16px 0; }
  .timeline h3 { font-size: 15px; }
  .timeline p { font-size: 12px; }

  .price-col { padding: 22px 18px; }
  .price-col h3 { font-size: 17px; }
  .price-figure b { font-size: 26px; }
  .price-desc { font-size: 11.5px; }
  .price-col li { font-size: 11.5px; }

  details summary { font-size: 14px; padding: 17px 30px 17px 0; }
  details summary::after { top: 15px; }
  details p { padding: 0 18px 18px 0; font-size: 12px; }

  .download { padding: 58px 0; }
  .download-copy h2 { font-size: 34px; }
  .download-copy p { font-size: 12.5px; }
  .download-btn { padding: 12px 14px; }

  .footer { padding-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
  .footer-cta { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 5px; margin-top: 28px; }

  .modal { padding: 12px; align-items: flex-end; }
  .modal-panel { max-height: calc(100vh - 24px); padding: 20px; border-radius: 14px 14px 10px 10px; }
  .modal-head h2 { font-size: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .field-full { grid-column: auto; }
  .modal-foot .btn { flex: 1; }
  .toast { max-width: calc(100% - 32px); white-space: normal; text-align: center; }
}

/* ---------- 在线体验入口 ---------- */
.demo-entry {
  padding-top: 58px;
  background:
    radial-gradient(720px 340px at 82% 0%, rgba(26, 115, 232, .09), transparent 68%),
    #f7f9fc;
}

.demo-head { max-width: 760px; }
.demo-head h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.12;
  letter-spacing: -.04em;
}
.demo-head .section-lead { margin-top: 18px; }

.demo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
  align-items: stretch;
}
.demo-grid .role-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.demo-grid .role-card p { min-height: 0; }
.demo-grid .demo-account {
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid #dce7f5;
  background: #fff;
  color: #415168;
  font-size: 12px;
  line-height: 1.6;
}
.demo-grid .role-demo { margin-top: auto; padding-top: 18px; }
.demo-actions { display: flex; flex-direction: column; gap: 8px; }
.demo-note { margin-top: 10px; color: #7b8da3; font-size: 11.5px; line-height: 1.7; }

.demo-foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.demo-foot p { max-width: 760px; color: var(--muted); font-size: 12.5px; line-height: 1.8; }
.demo-foot p:last-child { flex: none; display: flex; gap: 16px; }

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-foot { flex-direction: column; gap: 10px; }
}

@media (max-width: 640px) {
  .demo-entry { padding-top: 38px; }
  .demo-head h1 { font-size: 32px; }
  .demo-grid { margin-top: 24px; }
  .demo-foot p:last-child { flex-direction: column; gap: 8px; }
}
