/**
 * MURASIM 产品门户 — 对标客如云：浅蓝渐变双栏首屏、能力条、业态方案区
 */
body.mh-home {
  --mh-blue: #2f6bff;
  --mh-blue-deep: #1f5aeb;
  --mh-orange: #ff6a00;
  --mh-ink: #1f2a37;
  --mh-muted: #667085;
  --mh-line: #e4eaf2;
  --mh-soft: #f5f8ff;
  --mh-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fff;
  color: var(--mh-ink);
  font-family: var(--mh-font);
}

body.mh-home .pj-nav {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: transparent;
}

body.mh-home .pj-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(228, 234, 242, 0.9);
}

body.mh-home .pj-btn--primary,
body.mh-home .pj-btn--nav-cta {
  background: var(--mh-blue);
  box-shadow: 0 8px 18px rgba(47, 107, 255, 0.25);
}

body.mh-home .pj-btn--primary:hover,
body.mh-home .pj-btn--nav-cta:hover {
  background: var(--mh-blue-deep);
}

body.mh-home .pj-logo__mark:not(.pj-logo__mark--img) {
  background: var(--pj-gradient);
  color: #fff;
}

body.mh-home .pj-nav__link.is-active {
  color: var(--mh-blue) !important;
  background: rgba(47, 107, 255, 0.08);
  box-shadow: none;
}

.mh-main { padding-top: 0; }

.mh-container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── hero ── */
.mh-hero {
  position: relative;
  padding: calc(var(--pj-nav-h, 64px) + 48px) 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(120, 160, 255, 0.28), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(180, 200, 255, 0.2), transparent 55%),
    linear-gradient(165deg, #eef3ff 0%, #f7f9ff 45%, #ffffff 100%);
}

.mh-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.mh-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mh-blue);
}

.mh-hero h1 {
  margin: 0 0 16px;
  max-width: 11em;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--mh-ink);
}

.mh-hero__lead {
  margin: 0 0 28px;
  max-width: 32em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--mh-muted);
}

.mh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.mh-hero__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--mh-muted);
}

.mh-hero__points li {
  position: relative;
  padding-left: 12px;
}

.mh-hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mh-blue);
}

.mh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    box-shadow 0.15s ease, transform 0.15s ease;
}

.mh-btn--primary {
  background: var(--mh-blue);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.28);
}

.mh-btn--primary:hover {
  background: var(--mh-blue-deep);
  color: #fff !important;
  transform: translateY(-1px);
}

.mh-btn--ghost {
  background: #fff;
  color: var(--mh-ink) !important;
  border-color: var(--mh-line);
}

.mh-btn--ghost:hover {
  border-color: var(--mh-blue);
  color: var(--mh-blue) !important;
}

.mh-btn--light {
  background: #fff;
  color: var(--mh-blue) !important;
}

.mh-btn--outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.mh-btn--sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* stage */
.mh-stage {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mh-stage__glow {
  position: absolute;
  width: 78%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.22), transparent 68%);
  filter: blur(8px);
}

.mh-stage__card {
  position: relative;
  width: min(420px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 24px 60px rgba(47, 107, 255, 0.16);
  backdrop-filter: blur(8px);
}

.mh-stage__card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 650;
  color: var(--mh-ink);
}

.mh-stage__card header em {
  font-style: normal;
  color: var(--mh-muted);
  font-weight: 500;
}

.mh-stage__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.mh-stage__kpis > div {
  background: var(--mh-soft);
  border-radius: 12px;
  padding: 12px;
}

.mh-stage__kpis small {
  display: block;
  font-size: 12px;
  color: var(--mh-muted);
  margin-bottom: 4px;
}

.mh-stage__kpis strong {
  font-size: 1.25rem;
  color: var(--mh-ink);
}

.mh-stage__rows > div {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 4px;
  border-bottom: 1px solid #eef2f7;
  font-size: 13px;
}

.mh-stage__rows > div:last-child { border-bottom: 0; }

.mh-stage__rows i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5ced9;
}

.mh-stage__rows .is-on i {
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.18);
}

.mh-stage__rows .is-on span { color: var(--mh-ink); font-weight: 600; }

.mh-stage__rows b {
  font-weight: 500;
  color: var(--mh-muted);
  font-size: 12px;
}

/* capability rail */
.mh-caps {
  padding: 8px 0 40px;
  margin-top: -8px;
}

.mh-caps__rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 36px rgba(31, 42, 55, 0.06);
}

.mh-cap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border-top: 3px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mh-cap:hover,
.mh-cap.is-active {
  background: var(--mh-soft);
  border-top-color: var(--mh-blue);
  color: inherit;
}

.mh-cap strong {
  font-size: 15px;
  color: var(--mh-ink);
}

.mh-cap span {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--mh-muted);
}

/* solutions */
.mh-biz {
  padding: 64px 0 72px;
  background: #fff;
}

.mh-section-head {
  text-align: center;
  max-width: 38em;
  margin: 0 auto 28px;
}

.mh-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--mh-ink);
}

.mh-section-head h2 em {
  font-style: normal;
  color: var(--mh-blue);
}

.mh-section-head p {
  margin: 0;
  color: var(--mh-muted);
  line-height: 1.7;
  font-size: 15px;
}

.mh-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 6px;
  background: var(--mh-soft);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.mh-tabs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--mh-muted);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.mh-tabs button.is-active {
  background: var(--pj-gradient);
  color: #fff;
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.28);
}

.mh-biz__panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: var(--mh-soft);
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--mh-line);
}

.mh-biz__tag {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  color: var(--mh-blue);
}

.mh-biz__copy h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--mh-ink);
}

.mh-biz__copy > p {
  margin: 0 0 16px;
  color: var(--mh-muted);
  line-height: 1.7;
  font-size: 14.5px;
}

.mh-biz__copy ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.mh-biz__copy li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 14px;
  color: var(--mh-ink);
}

.mh-biz__copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mh-orange);
}

.mh-biz__mock {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 16px 40px rgba(47, 107, 255, 0.12);
  text-align: center;
}

.mh-biz__mock span {
  display: block;
  font-size: 13px;
  color: var(--mh-muted);
  margin-bottom: 8px;
}

.mh-biz__mock strong {
  display: block;
  font-size: 2rem;
  color: var(--mh-ink);
  margin-bottom: 18px;
}

.mh-biz__bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 88px;
  margin-bottom: 12px;
}

.mh-biz__bars i {
  width: 18px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #7aa4ff, #2f6bff);
}

.mh-biz__bars i:nth-child(1) { height: 36%; }
.mh-biz__bars i:nth-child(2) { height: 58%; }
.mh-biz__bars i:nth-child(3) { height: 44%; }
.mh-biz__bars i:nth-child(4) { height: 78%; }
.mh-biz__bars i:nth-child(5) { height: 62%; }

.mh-biz__mock em {
  font-style: normal;
  font-size: 12px;
  color: var(--mh-muted);
}

/* stats */
.mh-stats {
  background: var(--mh-blue);
  color: #fff;
  padding: 28px 0;
}

.mh-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.mh-stats strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.mh-stats span {
  font-size: 13px;
  opacity: 0.8;
}

/* flow */
.mh-flow-wrap {
  padding: 72px 0;
  background: #fff;
}

.mh-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: flow;
}

.mh-flow li {
  counter-increment: flow;
  background: var(--mh-soft);
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  padding: 24px 20px;
}

.mh-flow li::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--mh-blue);
}

.mh-flow strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.mh-flow p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--mh-muted);
}

/* templates */
.mh-templates-wrap {
  padding: 24px 0 80px;
  background: var(--mh-soft);
}

.mh-templates {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mh-card {
  border: 1px solid var(--mh-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.mh-card__media {
  aspect-ratio: 3 / 4;
  background: #eef2f7;
  display: grid;
  place-items: center;
  color: #98a2b3;
  overflow: hidden;
}

.mh-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mh-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mh-card__body h3 { margin: 0; font-size: 15px; }
.mh-card__body p {
  margin: 0;
  font-size: 13px;
  color: var(--mh-muted);
  line-height: 1.5;
  flex: 1;
}

.mh-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #98a2b3;
}

.mh-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--mh-line);
  border-radius: 16px;
  background: #fff;
}

.mh-empty h3 { margin: 0 0 8px; }
.mh-empty p { margin: 0 0 18px; color: var(--mh-muted); }
.mh-empty .mh-btn--ghost { margin-left: 8px; }

/* cta */
.mh-cta {
  background: linear-gradient(135deg, #1f5aeb 0%, #2f6bff 50%, #4c8dff 100%);
  color: #fff;
  padding: 56px 0;
}

.mh-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.mh-cta h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.mh-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.mh-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* motion */
.mh-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.mh-reveal.is-in {
  opacity: 1;
  transform: none;
}

.mh-hero__copy > * {
  animation: mhIn 0.55s ease both;
}

.mh-hero__copy h1 { animation-delay: 0.05s; }
.mh-hero__lead { animation-delay: 0.1s; }
.mh-hero__actions { animation-delay: 0.15s; }
.mh-hero__points { animation-delay: 0.2s; }
.mh-stage__card { animation: mhIn 0.6s ease 0.12s both; }

@keyframes mhIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mh-hero__copy > *,
  .mh-stage__card,
  .mh-reveal {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 960px) {
  .mh-hero__grid,
  .mh-biz__panel,
  .mh-flow,
  .mh-templates,
  .mh-stats__grid {
    grid-template-columns: 1fr;
  }

  .mh-caps__rail {
    grid-template-columns: 1fr 1fr;
  }

  .mh-hero h1 { max-width: none; }
}

@media (max-width: 640px) {
  .mh-caps__rail {
    grid-template-columns: 1fr;
  }

  .mh-tabs {
    border-radius: 16px;
  }
}
