:root {
  --brand: #3D7EFF;
  --brand-dark: #2B66E8;
  --brand-deep: #1A4FD6;
  --brand-soft: #E8F1FF;
  --brand-mist: #F0F5FF;
  --bg: #EAF0F8;
  --card: #FFFFFF;
  --title: #152033;
  --body: #445066;
  --muted: #8B95A7;
  --line: #E3EAF4;
  --shadow: 0 10px 28px rgba(45, 84, 160, 0.08);
  --shadow-press: 0 4px 12px rgba(45, 84, 160, 0.1);
  --radius: 16px;
  --radius-sm: 12px;
  --tabbar-h: 62px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--title);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

body { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px)); }

a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* —— 顶栏 —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(234, 240, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227, 234, 244, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(145deg, #5B91FF 0%, #3D7EFF 55%, #2B66E8 100%);
  box-shadow: 0 6px 14px rgba(61, 126, 255, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.logo-mark .mp-icon { width: 20px; height: 20px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16px; font-weight: 650; letter-spacing: 0.02em; }
.brand-text span { font-size: 11px; color: var(--muted); margin-top: 2px; }

.top-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 12px;
  border-radius: 18px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(61, 126, 255, 0.28);
}
.top-link:active { transform: scale(0.97); background: var(--brand-dark); }
.top-link .mp-icon { width: 16px; height: 16px; }

/* —— 主视觉 —— */
.hero {
  margin: 12px 16px 0;
  padding: 22px 20px 24px;
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,0.35) 0%, transparent 55%),
    radial-gradient(80% 70% at 0% 100%, rgba(26, 79, 214, 0.35) 0%, transparent 50%),
    linear-gradient(160deg, #4C88FF 0%, #3D7EFF 48%, #2B66E8 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(61, 126, 255, 0.28);
}

.hero::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -36px;
  top: -48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: 48px;
  bottom: -30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  pointer-events: none;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.22);
  margin: 0 0 14px;
  position: relative;
  z-index: 1;
}
.hero-kicker .mp-icon { width: 14px; height: 14px; }

.hero h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 720;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.hero p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn .mp-icon { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }

.btn-light {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: 0 6px 16px rgba(16, 40, 90, 0.12);
}
.btn-light:active { background: #F4F8FF; }

.btn-ghost {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost:active { background: rgba(255,255,255,0.22); }

.btn-primary {
  width: 100%;
  background: linear-gradient(180deg, #5B91FF 0%, #3D7EFF 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(61, 126, 255, 0.32);
  border: none;
}
.btn-primary:active {
  transform: scale(0.98);
  background: var(--brand-dark);
  box-shadow: var(--shadow-press);
}
.btn-primary[disabled] { opacity: 0.6; pointer-events: none; }

/* —— 区块 —— */
.section { padding: 22px 16px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.section-head .more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: var(--brand);
  min-height: 32px;
  padding: 0 4px;
  font-weight: 600;
}
.section-head .more .mp-icon { width: 16px; height: 16px; }
.section-head .more:active { opacity: 0.7; }

.lead {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--body);
}

/* —— 卡片 —— */
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
  padding: 16px;
}

.intro-card { padding: 18px; }
.intro-card h3 { margin: 0 0 8px; font-size: 16px; }
.intro-card p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--body); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.stat {
  text-align: center;
  background: var(--brand-mist);
  border-radius: 12px;
  padding: 12px 4px;
}
.stat b {
  display: block;
  font-size: 16px;
  color: var(--brand-dark);
  font-weight: 720;
}
.stat span { font-size: 11px; color: var(--muted); }

/* 业务宫格 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.svc {
  display: flex;
  flex-direction: column;
  min-height: 132px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
}
.svc:active { transform: scale(0.98); box-shadow: var(--shadow-press); }
.svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 12px;
}
.svc-icon .mp-icon { width: 22px; height: 22px; }
.svc h3 { margin: 0 0 6px; font-size: 15px; font-weight: 650; }
.svc p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--muted); }

/* 优势列表 */
.adv-list { display: flex; flex-direction: column; gap: 10px; }
.adv {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.adv-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.adv h3 { margin: 0 0 4px; font-size: 15px; }
.adv p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--body); }

/* CTA 条 */
.cta-banner {
  margin: 22px 16px 0;
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #F7FAFF 0%, #E8F1FF 100%);
  border: 1px solid #D7E4FF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cta-banner h3 { margin: 0 0 4px; font-size: 16px; }
.cta-banner p { margin: 0; font-size: 12px; color: var(--muted); }
.cta-banner .btn {
  flex-shrink: 0;
  background: var(--brand);
  color: #fff;
  min-height: 40px;
  padding: 0 14px;
  box-shadow: 0 6px 14px rgba(61, 126, 255, 0.25);
}
.cta-banner .btn:active { background: var(--brand-dark); }

/* —— 关于页 —— */
.page-hero {
  margin: 12px 16px 0;
  padding: 20px 18px;
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.page-hero .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 10px;
}
.page-hero h1 { margin: 0 0 8px; font-size: 22px; }
.page-hero p { margin: 0; font-size: 14px; line-height: 1.75; color: var(--body); }

.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.value {
  padding: 16px 14px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.value .mp-icon { color: var(--brand); margin-bottom: 8px; }
.value h3 { margin: 0 0 6px; font-size: 15px; }
.value p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }

.timeline { padding: 6px 4px 0; }
.tl-item {
  position: relative;
  padding: 0 0 18px 22px;
  border-left: 2px solid #D6E4FF;
}
.tl-item:last-child { padding-bottom: 0; border-left-color: transparent; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px #D6E4FF;
}
.tl-item h3 { margin: 0 0 4px; font-size: 15px; }
.tl-item p { margin: 0; font-size: 13px; color: var(--body); line-height: 1.6; }

/* 业务详情 */
.svc-detail {
  display: block;
  padding: 16px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 10px;
}
.svc-detail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.svc-detail h3 { margin: 0; font-size: 16px; }
.svc-detail p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--body); }
.svc-detail ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.svc-detail li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.55;
  padding: 5px 0;
}
.svc-detail li .mp-icon {
  width: 16px;
  height: 16px;
  color: var(--brand);
  margin-top: 2px;
  flex-shrink: 0;
}

/* 联系 */
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  min-height: 56px;
}
.contact-row:last-child { border-bottom: none; }
.contact-row .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-row .txt b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.contact-row .txt span { font-size: 15px; color: var(--title); }

.form { display: flex; flex-direction: column; gap: 12px; }
.form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 6px;
}
.form .field { margin: 0; }
.form input, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #F7F9FC;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--title);
  outline: none;
  min-height: 46px;
}
.form textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.form input:focus, .form textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(61, 126, 255, 0.15);
}

.hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* 页脚备案 */
.site-footer {
  margin: 28px 16px 18px;
  padding: 18px 12px 8px;
  text-align: center;
}
.site-footer .co {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--body);
}
.site-footer .copy {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.icp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--muted);
  border-radius: 8px;
}
.icp:active { background: rgba(61, 126, 255, 0.08); color: var(--brand); }
.icp .mp-icon { width: 14px; height: 14px; }
.contact-row .icp {
  min-height: auto;
  padding: 0;
  color: var(--brand);
  font-size: 15px;
}

/* 底栏 */
.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  padding: 6px 8px env(safe-area-inset-bottom, 0px);
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--line);
  display: flex;
  z-index: 30;
  box-shadow: 0 -8px 24px rgba(21, 32, 51, 0.04);
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--muted);
  font-size: 11px;
  min-height: 48px;
  border-radius: 10px;
}
.tab .mp-icon { width: 22px; height: 22px; }
.tab.active { color: var(--brand); font-weight: 650; }
.tab:active { background: var(--brand-mist); }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  background: rgba(21, 32, 51, 0.92);
  color: #fff;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 50;
  max-width: 80%;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
