:root {
  --teal: #0ea5a4;
  --teal-dark: #0b8483;
  --navy: #0f3d5c;
  --navy-2: #14507a;
  --ink: #1f2a37;
  --muted: #5b6b7b;
  --line: #e4ebf1;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(15, 61, 92, 0.08);
  --grad: linear-gradient(135deg, #0ea5a4 0%, #14507a 100%);
  --grad-soft: linear-gradient(135deg, #34bcf7 0%, #0ea5a4 55%, #14507a 100%);
  --glow: 0 12px 36px rgba(14, 165, 164, 0.28);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(rgba(20, 80, 122, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 80, 122, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  background-attachment: fixed;
}

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

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  z-index: 1;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo {
  width: 32px; height: 32px;
  border-radius: 9px;
}
.brand-name { font-size: 18px; letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--grad); filter: brightness(1.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 460px at 82% -12%, rgba(52,188,247,.18), transparent),
    radial-gradient(820px 460px at 8% 0%, rgba(14,165,164,.14), transparent),
    linear-gradient(180deg, #f3fafe 0%, #ffffff 70%);
  padding: 64px 20px 40px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 80, 122, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 80, 122, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none;
}
.hero-inner { max-width: var(--maxw); margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid rgba(14,165,164,.4);
  color: var(--teal-dark);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  margin: 0 0 18px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(14,165,164,.12);
}
.hero-title {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 800;
  background: var(--grad-soft);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  max-width: 720px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(14,165,164,.34); }
.btn-primary:hover { background: var(--grad); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(14,165,164,.46); }
.btn-ghost { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- 价格表 ---------- */
.pricing { margin-top: 44px; }
.pricing-title {
  text-align: center; font-size: 20px; font-weight: 700;
  margin-bottom: 24px; letter-spacing: .5px;
  background: var(--grad-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.pricing-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; max-width: 780px; margin: 0 auto;
  align-items: stretch;
}
.p-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 14px 18px;
  text-align: center; position: relative;
  transition: box-shadow .2s ease, transform .15s ease, border-color .2s ease;
  opacity: .9;
  transform: scale(0.93);
}
.p-card:hover { box-shadow: var(--glow); border-color: rgba(14,165,164,.4); transform: scale(0.93) translateY(-3px); opacity: 1; }
.p-card-hot {
  border-color: var(--teal);
  background: linear-gradient(180deg, #f0fffe, #fff);
  box-shadow: var(--glow);
  padding: 28px 18px 26px;
  opacity: 1;
  transform: scale(1.05);
  z-index: 1;
}
.p-card-hot:hover { transform: scale(1.05) translateY(-3px); }
.p-name { font-size: 17px; font-weight: 800; color: var(--navy); }
.p-desc { font-size: 12px; color: var(--muted); margin-top: 4px; }
.p-price { margin: 14px 0 8px; display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.p-cny { font-size: 18px; font-weight: 700; color: var(--teal-dark); }
.p-num { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1; }
.p-unit { font-size: 13px; color: var(--muted); margin-left: 2px; }
.p-btn {
  display: inline-block; padding: 8px 28px; border-radius: 999px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: all .15s ease; margin: 10px auto 14px;
}
.p-btn-primary { background: var(--teal); color: #fff; }
.p-btn-primary:hover { background: var(--teal-dark); }
.p-btn-outline { border: 1px solid var(--line); color: var(--navy); background: #fff; }
.p-btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.p-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.p-list li {
  padding: 5px 0 5px 22px; font-size: 13px; color: #556; position: relative; line-height: 1.45;
}
.p-list li::before {
  content: '✓'; position: absolute; left: 0; top: 4px;
  color: var(--teal); font-weight: 700; font-size: 13px;
}
.pricing-note {
  text-align: center; font-size: 12px; color: var(--muted);
  margin-top: 18px; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto;
}

@media (max-width: 640px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 340px; }
}

/* ---------- 通用 section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 72px 20px; }
.section-alt { background: var(--bg-alt); max-width: none; }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 {
  font-size: clamp(24px, 3.5vw, 34px); margin: 0 0 14px; font-weight: 800;
  display: inline-block; position: relative;
  background: var(--grad-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head h2::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  width: 52px; height: 4px; border-radius: 4px; background: var(--grad);
  box-shadow: 0 2px 10px rgba(14,165,164,.4);
}
.section-head p { color: var(--muted); margin: 6px 0 0; font-size: 16px; }

/* ---------- 功能卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(14,165,164,.18); border-color: rgba(14,165,164,.35); }
.card:hover::after { opacity: 1; }
.card-ic {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(52,188,247,.18), rgba(14,165,164,.16));
  border-radius: 12px;
  font-size: 24px;
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(14,165,164,.14);
}
.card h3 { margin: 0 0 8px; font-size: 18px; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- 模块图文 ---------- */
.module {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}
.module:last-child { margin-bottom: 0; }
.module.reverse .module-text { order: 2; }
.module-no {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
  background: var(--grad-soft);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.module-text h3 { font-size: clamp(20px, 3vw, 26px); color: var(--navy); margin: 0 0 12px; font-weight: 800; }
.module-text p { color: var(--muted); margin: 0; font-size: 15.5px; }

/* ---------- 移动协同 ---------- */
.mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.mobile-text h3 { font-size: clamp(20px, 3vw, 26px); color: var(--navy); margin: 0 0 18px; font-weight: 800; }
.tick { list-style: none; padding: 0; margin: 0; }
.tick li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 15.5px;
}
.tick li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  background: var(--grad);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px;
  font-weight: 700;
}

/* ---------- 资质证书 ---------- */
.certs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  max-width: 760px;
  margin: 0 auto;
}
.cert { margin: 0; text-align: center; }
.cert-shot { min-height: 340px; }
.cert figcaption {
  margin-top: 14px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- 技术特点 ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tech {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .2s ease;
}
.tech:hover { transform: translateY(-4px); box-shadow: var(--glow); border-color: rgba(14,165,164,.35); }
.tech span { font-size: 24px; display: inline-block; padding: 9px 12px; border-radius: 12px; background: linear-gradient(135deg, rgba(52,188,247,.2), rgba(14,165,164,.18)); }
.tech h4 { margin: 10px 0 6px; color: var(--navy); font-size: 16px; }
.tech p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 截图占位 ---------- */
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 280px;
}
.shot img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 1;
}
.shot img.broken { display: none; }
.shot-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 1px;
  background:
    repeating-linear-gradient(45deg, #eef3f7, #eef3f7 12px, #e7eef4 12px, #e7eef4 24px);
  border: 2px dashed var(--line);
  border-radius: var(--radius);
}
/* 移动端 App 截图（竖屏手机比例）缩小居中，避免撑满整行 */
.shot-app { text-align: center; min-height: auto; background: linear-gradient(180deg, #f3f7fa, #eaf1f6); }
.shot-app img {
  width: auto;
  max-width: 280px;
  height: auto;
  max-height: 520px;
  margin: 20px auto 24px;
  border-radius: 22px;
  border: 6px solid #fff;
  box-shadow: 0 14px 34px rgba(15, 61, 92, .28);
}

/* ---------- 右侧悬浮栏 ---------- */
.sidebar {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-item {
  position: relative;
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15,61,92,.12);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sidebar-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,61,92,.18);
  background: var(--teal);
}
.sidebar-item:hover .sidebar-ic { filter: brightness(0) invert(1); }
.sidebar-ic { font-size: 20px; line-height: 1; transition: filter .2s ease; }
.sidebar-top { text-decoration: none; color: inherit; }

/* 二维码弹出层 */
.sidebar-pop {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 30px rgba(15,61,92,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
  white-space: nowrap;
}
.sidebar-pop::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  margin-top: -7px;
  border-left: 8px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.sidebar-item:hover .sidebar-pop {
  opacity: 1;
  visibility: visible;
}
.sidebar-pop img {
  width: 140px;
  height: 140px;
  display: block;
  border-radius: 8px;
  margin-bottom: 6px;
}
.sidebar-pop p {
  margin: 0;
  font-size: 13px;
  color: var(--navy);
  text-align: center;
  font-weight: 600;
}
.phone-num {
  display: block;
  font-size: 20px !important;
  color: var(--teal) !important;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 0 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  transition: color .2s ease;
}
.phone-num:hover { color: var(--teal-dark) !important; }
.phone-hint {
  font-size: 12px !important;
  color: var(--muted) !important;
  font-weight: 400 !important;
}

/* ---------- 预约演示弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.show { display: flex; }
.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 45, .55);
  backdrop-filter: blur(2px);
}
.modal-box {
  position: relative;
  z-index: 1;
  width: calc(100% - 32px);
  max-width: 440px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 30px 30px;
  box-shadow: 0 24px 60px rgba(15, 61, 92, .3);
  animation: modalPop .22s ease;
  overflow: hidden;
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s ease, color .2s ease;
}
.modal-close:hover { background: var(--bg-alt); color: var(--navy); }
#bookTitle { margin: 0 0 6px; font-size: 23px; color: var(--navy); font-weight: 800; }
.modal-desc { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; }
.book-form { display: flex; flex-direction: column; gap: 16px; }
.bf-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
}
.bf-label input,
.bf-label textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 14.5px;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bf-label input:focus,
.bf-label textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, .15);
}
.book-submit { margin-top: 4px; width: 100%; text-align: center; }
.book-msg { margin: 4px 0 0; font-size: 14px; min-height: 20px; }
.book-msg.ok { color: #0b8483; font-weight: 600; }
.book-msg.err { color: #d6453f; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- 预约成功弹窗（带二维码） ---------- */
.ok-box { text-align: center; max-width: 380px; position: relative; }
#okTitle { margin: 0 0 8px; font-size: 22px; color: var(--navy); font-weight: 800; }
.ok-tip { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ok-qr {
  margin: 0 auto;
}
.ok-qr img {
  width: 80%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(15, 61, 92, .1);
}

/* 阻止浏览器自动填充样式 */
.bf-label input:-webkit-autofill,
.bf-label input:-webkit-autofill:hover,
.bf-label input:-webkit-autofill:focus,
.bf-label textarea:-webkit-autofill,
.bf-label textarea:-webkit-autofill:hover,
.bf-label textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 30px #fff inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* ---------- CTA ---------- */
.cta-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.cta h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 12px; font-weight: 800; }
.cta p { color: rgba(255,255,255,.82); margin: 0 0 26px; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- 页脚 ---------- */
.footer { background: #0b2a40; color: rgba(255,255,255,.7); padding: 24px 20px; }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.footer-brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.footer .brand-name { color: #fff; font-weight: 700; }
.footer-meta { font-size: 13px; }
.footer-beian { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.beian {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.22);
  padding: 5px 12px;
  border-radius: 999px;
  transition: color .15s ease, border-color .15s ease;
}
a.beian:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.beian-pending {
  font-style: italic;
  opacity: .8;
  cursor: default;
}
.footer-copy {
  max-width: var(--maxw);
  margin: 14px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}

/* ---------- 响应式 ---------- */
@media (max-width: 880px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .module, .mobile { grid-template-columns: 1fr; gap: 22px; }
  .module.reverse .module-text { order: 0; }
  .nav-links { gap: 14px; font-size: 14px; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .section { padding: 52px 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .sidebar { display: none; }
  .modal-box { width: calc(100% - 24px); padding: 24px 20px; }
  .ok-box { max-width: 280px; }
}

/* ---------- 图片灯箱 ---------- */
.shot img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(8, 20, 30, .82);
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease;
}
.lightbox.show { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  cursor: zoom-out;
}
