/* 九天揽月 · 全站样式（主题色见 :root 与 site_config.THEME） */

:root {
  --brand-900: #1a2d5c;
  --brand-700: #264494;
  --brand-600: #3b6bdb;
  --brand-50: #eef4ff;
  --text: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --radius: 12px;
  --radius-btn: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 24px rgba(26, 45, 92, 0.12);
  --max-w: 1152px;
  --header-h: 72px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --font-num: "Inter", var(--font-sans);

  /* +2px 舒适阅读字号体系（第二轮） */
  --fs-body: 19px;
  --fs-secondary: 17px;
  --fs-small: 15px;
  --fs-nav: 17px;
  --wechat-600: #07C160;
  --wechat-700: #06AD56;
  --wechat-50: #E8F8EF;
  --fs-h2: 2rem;
  --fs-h3: 1.4rem;
  --fs-hero: clamp(2.25rem, 5vw, 3.5rem);
  --lh-body: 1.75;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  padding-bottom: 56px;
}

@media (min-width: 768px) { body { padding-bottom: 0; } }

a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) { .container { padding: 0 24px; } }

/* ── Header v2 ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
  user-select: none;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  transition: height 0.2s;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  line-height: 1.2;
}

.logo__img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--brand-700);
  letter-spacing: -0.02em;
}

.logo__tag {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-muted);
}

.logo:hover .logo__name { color: var(--brand-600); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--fs-nav);
  font-weight: 500;
}

.nav-desktop a {
  color: var(--text-muted);
  text-decoration: none !important;
}

.nav-desktop a:hover,
.nav-desktop a.active { color: var(--brand-600); }

.nav-cta-btn {
  padding: 9px 16px;
  font-size: var(--fs-nav);
  gap: 6px;
}

.menu-btn {
  display: flex;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

@media (min-width: 768px) {
  :root { --fs-nav: 19px; }
  .nav-desktop { display: flex; }
  .menu-btn { display: none; }
}

.mobile-nav {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.mobile-nav[hidden] { display: none; }

.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none !important;
}

.mobile-nav__cta {
  display: flex;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  font-size: var(--fs-secondary);
  gap: 8px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--brand-600); color: var(--white); }
.btn-primary:hover { background: var(--brand-700); }

.btn-wechat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wechat-600);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(7, 193, 96, 0.25);
}

.btn-wechat:hover {
  background: var(--wechat-700);
  box-shadow: 0 4px 12px rgba(7, 193, 96, 0.35);
}

.wechat-btn-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  line-height: 0;
}

.wechat-btn-badge__img,
.btn-wechat__icon .wechat-btn-badge__img,
.wechat-fab__icon .wechat-btn-badge__img {
  width: 18px;
  height: 18px;
  display: block;
}

.wechat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.wechat-badge__img,
.wechat-icon-img { width: 20px; height: 20px; display: block; }

.btn-secondary {
  background: var(--white);
  color: var(--brand-700);
  border: 1px solid var(--border);
}

.btn-secondary:hover { border-color: #bfdbfe; box-shadow: var(--shadow); }

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); }

.btn-on-brand {
  background: var(--white);
  color: var(--brand-700);
}

.btn-on-brand:hover { background: var(--brand-50); }

.link-wechat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--wechat-600);
  cursor: pointer;
  text-decoration: underline;
}

.link-wechat:hover { color: var(--wechat-700); }

.page-hero .link-wechat {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.page-hero .link-wechat:hover { color: rgba(255, 255, 255, 0.9); }


.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
}

.footer-link-btn:hover { color: var(--white); }

/* ── Hero v2 ── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 45%, var(--brand-600) 100%);
  color: var(--white);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 40px;
  padding: 56px 0;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 72px 0;
    gap: 48px;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) { .hero h1 { font-size: 2.75rem; } }

.hero h1 .accent {
  background: linear-gradient(90deg, #fff 0%, #a5c4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  margin: 0 0 28px;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Hero 背书面板 ── */
.hero-cred {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-cred__title {
  font-size: var(--fs-secondary);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-cred__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-cred__list li {
  font-size: var(--fs-secondary);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.hero-cred__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7dd3fc;
  font-weight: 700;
}

.hero-cred__cta {
  align-self: flex-start;
  margin-top: 4px;
}

/* ── Trust bar ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-bar__item strong {
  color: var(--brand-700);
  font-family: var(--font-num);
}

/* ── Sections ── */
.section { padding: 40px 0; }
@media (min-width: 768px) { .section { padding: 56px 0; } }

.section--compact { padding: 32px 0; }
@media (min-width: 768px) { .section--compact { padding: 44px 0; } }

.section-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  text-align: center;
  margin: 0 0 40px;
}

.section-title--left { text-align: left; margin-bottom: 32px; }

@media (min-width: 768px) { .section-title { font-size: var(--fs-h2); } }

.section-alt { background: var(--white); }
.section-tint { background: var(--brand-50); }

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 32px;
}

.section-header-row .section-title { text-align: left; margin: 0; }

/* ── Cards ── */
.card-grid { display: grid; gap: 16px; }

@media (min-width: 768px) {
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-tag {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--brand-600);
  background: var(--brand-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.card h3 { font-size: var(--fs-h3); font-weight: 700; margin: 0 0 8px; }
.card p { font-size: var(--fs-secondary); color: var(--text-muted); margin: 0; }

.card-link {
  display: block;
  color: inherit;
  text-decoration: none !important;
}

.card__footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

/* ── Process ── */
.process-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.process-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.process-card .num {
  font-family: var(--font-num);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-600);
}

.process-card h3 { font-size: var(--fs-h3); margin: 8px 0 6px; }
.process-card p { font-size: var(--fs-secondary); color: var(--text-muted); margin: 0; }

@media (min-width: 768px) {
  .process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .process-scroll { display: none; }
}

@media (max-width: 767px) { .process-grid { display: none; } }

/* ── Mainline cards ── */
.mainline-cards { display: grid; gap: 16px; }

@media (min-width: 768px) { .mainline-cards { grid-template-columns: repeat(3, 1fr); } }

.mainline-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.15s, transform 0.15s;
}

.mainline-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.mainline-card h3 { color: var(--brand-700); margin: 0 0 8px; font-size: 1rem; }
.mainline-card p { font-size: 0.8125rem; color: var(--text-muted); margin: 0; }

/* ── Deliverables / FAQ ── */
.deliverables { display: grid; gap: 12px; }

@media (min-width: 640px) { .deliverables { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .deliverables { grid-template-columns: repeat(3, 1fr); } }

.deliverable-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  font-size: 0.875rem;
}

.deliverable-item .check { color: var(--brand-600); font-weight: 700; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq-list summary { font-weight: 600; cursor: pointer; }
.faq-list p { margin: 12px 0 0; font-size: 0.875rem; color: var(--text-muted); }

/* ── Compare table ── */
.table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 500px;
  font-size: 0.875rem;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.compare-table th { color: var(--text-muted); font-weight: 500; }
.compare-table .col-us { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }

/* ── Services page ── */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-600) 55%, #4f8ef7 100%);
  color: var(--white);
  padding: 40px 0;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { margin: 0 0 12px; font-size: 2rem; letter-spacing: -0.02em; }
.page-hero p { margin: 0; color: rgba(255, 255, 255, 0.9); max-width: 36rem; font-size: var(--fs-secondary); line-height: 1.5; }
.page-hero__lead--wide { max-width: 42rem; }
.page-hero--compact { padding: 32px 0; }

.sticky-tabs {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.tabs-inner {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  min-width: max-content;
}

.tab {
  padding: 10px 18px;
  font-size: var(--fs-secondary);
  font-weight: 500;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-muted);
  white-space: nowrap;
  text-decoration: none !important;
}

.tab:hover { background: var(--brand-50); color: var(--brand-600); }

@media (min-width: 768px) {
  .tab { font-size: var(--fs-body); }
}

.service-block {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 52px);
}

.service-block h2 { font-size: 1.375rem; color: var(--brand-700); margin: 0 0 8px; }
.service-block .tagline { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 24px; }

.service-list { display: grid; gap: 10px; margin-bottom: 24px; }
@media (min-width: 640px) { .service-list { grid-template-columns: repeat(2, 1fr); } }

.service-item,
.service-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  font-size: var(--fs-secondary);
  color: var(--text);
  text-decoration: none !important;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.service-item:hover,
.service-link-card:hover {
  border-color: var(--brand-600);
  box-shadow: var(--shadow);
}

.service-item--highlight {
  border-color: #bfdbfe;
  background: var(--brand-50);
}

.service-item__badge,
.solution-card__badge {
  font-size: var(--fs-small);
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-600);
  color: var(--white);
  font-weight: 600;
  margin-left: 8px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.chip {
  font-size: var(--fs-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 500;
  text-decoration: none !important;
}

.chip--active {
  background: var(--brand-600);
  color: var(--white);
}

.solution-card {
  display: block;
  background: var(--brand-50);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 20px;
  font-weight: 600;
  color: var(--brand-700);
  text-decoration: none !important;
  transition: box-shadow 0.15s;
}

.solution-card:hover { box-shadow: var(--shadow-hover); }

.solution-card--highlight {
  border-color: var(--brand-600);
  background: linear-gradient(135deg, var(--brand-50), #fff);
}

.explore-card {
  display: block;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: var(--fs-secondary);
  color: var(--text-muted);
  text-decoration: none !important;
  transition: border-color 0.15s;
}

.explore-card:hover { border-color: var(--brand-600); color: var(--text); }

.explore-card strong { display: block; color: var(--text); margin-bottom: 6px; }

.service-block__header h2 a {
  color: inherit;
  text-decoration: none !important;
}

.service-block__header h2 a:hover { color: var(--brand-600); }

.tagline--muted { margin-top: -16px; margin-bottom: 24px; font-size: var(--fs-secondary); }

.service-block__cta { margin-top: 20px; }

.subheading { font-size: 0.9375rem; font-weight: 600; margin: 0 0 12px; color: var(--text); }

/* ── Contact ── */
.contact-page { padding: 56px 0 80px; }

.contact-center {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.contact-copy { font-size: 1.0625rem; line-height: 1.8; margin-bottom: 8px; }
.contact-copy--secondary { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 32px; }

.contact-meta {
  text-align: left;
  max-width: 400px;
  margin: 40px auto 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-meta strong { color: var(--text); display: block; margin-bottom: 4px; }
.contact-meta p { margin: 0 0 20px; }

/* ── QR block（modal / contact 共用）── */
.qr-block {
  display: inline-block;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.qr-block__img {
  width: 240px;
  height: 240px;
  display: block;
  object-fit: contain;
}

/* ── CTA band ── */
.cta-band {
  background: linear-gradient(135deg, var(--brand-900), var(--brand-600));
  color: var(--white);
}

.cta-band__inner { text-align: center; padding: 56px 0; }
.cta-band h2 { margin: 0 0 12px; font-size: 1.375rem; }
.cta-band p { color: rgba(255, 255, 255, 0.88); margin: 0 0 24px; }

/* ── Footer ── */
.site-footer {
  background: var(--brand-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 48px 0 0;
  font-size: 0.875rem;
  margin-top: 0;
}

.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-grid h4 { color: var(--white); margin: 0 0 12px; font-size: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.footer-grid a:hover { color: var(--white); }

.footer-slogan { margin-top: 8px; font-size: 0.8125rem; opacity: 0.85; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Mobile bar ── */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) { .mobile-bar { display: none; } }

.mobile-bar__primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: var(--fs-secondary);
  font-weight: 600;
  color: var(--white);
  background: var(--wechat-600);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.mobile-bar__primary:hover { background: var(--wechat-700); }

.mobile-bar__secondary {
  flex: 1;
  text-align: center;
  padding: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── WeChat FAB 胶囊 + Modal ── */
.wechat-fab {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 10px 14px;
  background: var(--wechat-600);
  color: var(--white);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.35);
  cursor: pointer;
  font-size: var(--fs-secondary);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}

.wechat-fab:hover {
  background: var(--wechat-700);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 8px 24px rgba(6, 173, 86, 0.4);
}

@media (max-width: 767px) {
  /* 移动端缩为小圆钮，不展开文字，避免遮挡内容 */
  .wechat-fab { right: 14px; padding: 12px; gap: 0; }
  .wechat-fab__text { display: none; }
}

.wechat-fab__icon { width: 22px; height: 22px; flex-shrink: 0; }
.wechat-fab__text { line-height: 1; }

.wechat-modal[hidden] { display: none; }

.wechat-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.wechat-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.wechat-modal__panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.wechat-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.wechat-modal__title {
  margin: 0 0 20px;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brand-900);
}

.wechat-modal__sub {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.contact-title {
  margin: 0 0 20px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--brand-900);
}

/* ── Blog（保留）── */
.blog-content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.blog-content p { margin-bottom: 1rem; line-height: 1.75; color: var(--text-muted); }
.blog-content ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 四大能力大卡 ── */
.pillar-cards {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .pillar-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
}

.pillar-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.pillar-card__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--brand-700);
  margin: 0;
}

.pillar-card__desc {
  font-size: var(--fs-secondary);
  color: var(--text-muted);
  margin: 0;
  flex: 1;
  line-height: 1.6;
}

.pillar-card__link {
  font-size: var(--fs-secondary);
  font-weight: 600;
  color: var(--brand-600);
}

.pillar-card--primary {
  border-color: #93c5fd;
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--white) 100%);
}

.pillar-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  padding: 2px 10px;
}

.pillar-card--secondary {
  opacity: 0.92;
}

.pillar-card--secondary .pillar-card__title {
  font-size: calc(var(--fs-h3) - 1px);
}

/* ── Mega Menu ── */
.nav-item--mega { position: relative; }

.nav-item--mega > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-chevron { transition: transform 0.15s; }

.nav-item--mega.is-open .nav-chevron { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90vw);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  margin-top: -4px;
  padding: 20px 0 24px;
  padding-top: 20px;
  z-index: 60;
}

/* 桥接区仅覆盖「服务」链接宽度，避免误触右侧菜单项下方区域 */
.nav-item--mega::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.mega-menu__inner {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .mega-menu__inner { grid-template-columns: 1.2fr 1fr 0.9fr; gap: 20px; }
}

.mega-menu__heading {
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.mega-menu__link {
  display: block;
  padding: 8px 0;
  text-decoration: none !important;
  color: var(--text);
  font-size: var(--fs-secondary);
}

.mega-menu__link strong { display: block; color: var(--brand-700); margin-bottom: 2px; }

.mega-menu__link span { color: var(--text-muted); font-size: var(--fs-small); }

.mega-menu__link:hover strong { color: var(--brand-600); }

.mega-menu__link--simple { font-weight: 500; }

.mega-menu__hint {
  font-size: var(--fs-secondary);
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.mega-menu__all {
  display: inline-block;
  margin-top: 12px;
  font-size: var(--fs-secondary);
  font-weight: 600;
}

.mobile-nav__group { border-bottom: 1px solid var(--border); }

.mobile-nav__group summary {
  padding: 14px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.mobile-nav__group summary::-webkit-details-marker { display: none; }

.mobile-nav__sub {
  padding: 0 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav__subheading {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-muted);
  margin: 8px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── 服务详情页 ── */
.detail-page { padding: 48px 0 0; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 48rem;
  margin: 0 auto;
}

.detail-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.detail-block h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--brand-700);
  margin: 0 0 16px;
}

.detail-intro {
  margin: 0;
  font-size: var(--fs-secondary);
  line-height: 1.75;
  color: var(--text);
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-list li {
  padding-left: 20px;
  position: relative;
  font-size: var(--fs-secondary);
  line-height: 1.7;
}

.detail-list li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--brand-600);
  font-weight: 700;
}

.page-hero__eyebrow {
  font-size: var(--fs-secondary);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.card-link__more {
  display: block;
  margin-top: 12px;
  font-size: var(--fs-secondary);
  font-weight: 600;
  color: var(--brand-600);
}

.card-meta {
  font-size: var(--fs-small);
  color: var(--text-muted);
  margin: 0 0 8px;
}

/* ── 内容页 v2 ── */
.content-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 16px 80px;
}

.content-page h2 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--brand-700);
  margin: 2.5rem 0 1rem;
}

.content-page p {
  color: var(--text);
  line-height: var(--lh-body);
  margin-bottom: 1rem;
  font-size: var(--fs-body);
}

.content-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2rem;
}

.content-card h2 { margin-top: 0; }

.pillar-mini {
  display: grid;
  gap: 12px;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .pillar-mini { grid-template-columns: repeat(2, 1fr); }
}

.pillar-mini a {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  text-decoration: none !important;
  font-weight: 600;
  color: var(--brand-700);
}

.pillar-mini a:hover { border-color: var(--brand-600); }

.blog-aside {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.blog-aside h3 {
  font-size: var(--fs-h3);
  margin: 0 0 1rem;
}

.blog-aside__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-aside__links a {
  padding: 8px 14px;
  background: var(--brand-50);
  border-radius: 999px;
  font-size: var(--fs-secondary);
  font-weight: 500;
  text-decoration: none !important;
  color: var(--brand-700);
}

/* ── 页面 TOC ── */
.page-with-toc {
  position: relative;
}

.page-with-toc__main { min-width: 0; }

.section-toc {
  display: none;
}

@media (min-width: 1200px) {
  .page-with-toc {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 32px;
    max-width: calc(var(--max-w) + 220px);
    margin: 0 auto;
    padding: 0 24px;
  }

  .page-with-toc > .section-toc {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
    padding-top: 48px;
  }

  .page-with-toc__main .container {
    max-width: none;
    padding: 0;
  }
}

.section-toc__title {
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.section-toc__link {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--border);
  font-size: var(--fs-small);
  color: var(--text-muted);
  text-decoration: none !important;
  transition: color 0.15s, border-color 0.15s;
}

.section-toc__link:hover,
.section-toc__link.is-active {
  color: var(--brand-600);
  border-left-color: var(--brand-600);
}

/* ── 实战成果卡片 ── */
.showcase-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 768px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .showcase-grid { grid-template-columns: repeat(4, 1fr); }
}

.showcase-grid--page { margin-bottom: 24px; }

.showcase-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  padding: 0;
  font: inherit;
  color: inherit;
}

.showcase-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--shadow-hover);
}

.showcase-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--brand-50);
  overflow: hidden;
}

.showcase-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card__thumb--portrait {
  aspect-ratio: 9/16;
}

.showcase-card__thumb--portrait img {
  object-fit: contain;
}

.showcase-card__type {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 45, 92, 0.85);
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 600;
}

.showcase-card__body {
  padding: 16px 18px 18px;
}

.showcase-card__body h3 {
  margin: 0 0 8px;
  font-size: var(--fs-h3);
  color: var(--brand-700);
}

.showcase-card__body p {
  margin: 0;
  font-size: var(--fs-secondary);
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-card__more {
  display: block;
  margin-top: 10px;
  font-size: var(--fs-secondary);
  font-weight: 600;
  color: var(--brand-600);
}

/* ── 媒体 Lightbox ── */
.media-modal[hidden] { display: none; }

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.media-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
}

.media-modal__panel {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  max-height: 90vh;
  overflow: auto;
}

.media-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-muted);
}

.media-modal__title {
  margin: 0 0 16px;
  font-size: var(--fs-h3);
  color: var(--brand-700);
  padding-right: 32px;
}

.media-modal__switches {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.media-modal__switch {
  padding: 6px 14px;
  font-size: var(--fs-secondary);
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  cursor: pointer;
}

.media-modal__switch.is-active {
  background: var(--brand-600);
  color: var(--white);
  border-color: var(--brand-600);
}

.media-modal__content {
  display: flex;
  justify-content: center;
}

.media-modal__content img,
.media-modal__content video {
  width: 100%;
  height: auto;
  border-radius: var(--radius-btn);
  max-height: 70vh;
}

.media-modal__content--portrait {
  max-width: min(420px, 85vw);
  margin: 0 auto;
}

.media-modal__content--portrait img,
.media-modal__content--portrait video {
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.showcase-card__thumb { position: relative; }

.showcase-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  border-radius: 50%;
  font-size: 14px;
  pointer-events: none;
}

.contact-qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin: 24px 0;
}

.contact-qr-item { text-align: center; }

.contact-qr-item img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
}

.contact-qr-item p {
  margin: 8px 0 0;
  font-size: var(--fs-secondary);
  color: var(--text-muted);
}

.footer-icp {
  margin-left: 8px;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.footer-icp a:hover { color: rgba(255, 255, 255, 0.85); }

.anchor-target {
  scroll-margin-top: calc(var(--header-h) + 56px);
  height: 0;
}

.case-card { margin-bottom: 16px; }

.case-label {
  color: var(--text-muted);
  font-size: var(--fs-small);
  font-weight: 600;
}

.case-link { margin-top: 12px; }

.content-note {
  font-size: var(--fs-secondary);
  color: var(--text-muted);
  margin-top: 16px;
}

.faq-list--full details { margin-bottom: 12px; }

.faq-list p { font-size: var(--fs-secondary); }
