:root {
  --hgmxz-bg: #ffffff;
  --hgmxz-soft: #f6f7f9;
  --hgmxz-line: rgba(15, 23, 42, 0.08);
  --hgmxz-text: #161b26;
  --hgmxz-muted: #5a6275;
  --hgmxz-light: #8a92a3;
  --hgmxz-brand: #d8890c;
  --hgmxz-brand-soft: #fff6e8;
  --hgmxz-brand-dark: #b87200;
  --hgmxz-blue: #2563eb;
  --hgmxz-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
  --hgmxz-radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--hgmxz-text);
  background: var(--hgmxz-bg);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
section { scroll-margin-top: 72px; }

.hgmxz-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.hgmxz-header {
  position: fixed;
  inset: 0 0 auto;
  height: 68px;
  z-index: 120;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hgmxz-line);
}
.hgmxz-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}
.hgmxz-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.hgmxz-brand img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(216, 137, 12, 0.16);
}
.hgmxz-brand span { font-size: 16px; font-weight: 800; }
.hgmxz-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex: 1;
}
.hgmxz-nav a {
  color: var(--hgmxz-muted);
  font-size: 14px;
  transition: color 0.2s;
}
.hgmxz-nav a:hover { color: var(--hgmxz-text); }
.hgmxz-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--hgmxz-brand), #f0a832);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.hgmxz-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--hgmxz-line);
  border-radius: 8px;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}
.hgmxz-mobile-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 110;
  padding: 12px 20px 20px;
  background: #fff;
  border-bottom: 1px solid var(--hgmxz-line);
  flex-direction: column;
  gap: 4px;
}
.hgmxz-mobile-nav.open { display: flex; }
.hgmxz-mobile-nav a {
  padding: 12px 8px;
  border-bottom: 1px solid var(--hgmxz-line);
  color: var(--hgmxz-muted);
  font-size: 14px;
}

/* Ads */
.ads-wrap { padding-top: 68px; background: #fff; }

/* Split hero 50/50 */
.hgmxz-split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
  background: #fff;
}
.hgmxz-split-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 68px);
  padding: 48px clamp(24px, 5vw, 64px) 56px clamp(24px, 6vw, 80px);
  border-right: 1px solid var(--hgmxz-line);
}
.hgmxz-split-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--hgmxz-brand-soft);
  color: var(--hgmxz-brand-dark);
  font-size: 12px;
  font-weight: 700;
}
.hgmxz-split-left h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.hgmxz-split-left h1 em {
  font-style: normal;
  color: var(--hgmxz-brand);
}
.hgmxz-split-lead {
  margin: 0 0 22px;
  max-width: 520px;
  color: var(--hgmxz-muted);
  font-size: 15px;
  line-height: 1.85;
}
.hgmxz-split-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 28px;
  padding: 18px 0;
  border-top: 1px solid var(--hgmxz-line);
  border-bottom: 1px solid var(--hgmxz-line);
}
.hgmxz-split-stats div strong {
  display: block;
  font-size: 20px;
  color: var(--hgmxz-text);
}
.hgmxz-split-stats div span {
  font-size: 12px;
  color: var(--hgmxz-light);
}
.hgmxz-split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.hgmxz-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hgmxz-btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--hgmxz-brand), #f0a832);
  box-shadow: 0 8px 22px rgba(216, 137, 12, 0.2);
}
.hgmxz-btn-secondary {
  border: 1px solid var(--hgmxz-line);
  background: #fff;
  color: var(--hgmxz-text);
}
.hgmxz-btn:hover { transform: translateY(-1px); }
.hgmxz-split-links {
  font-size: 13px;
  color: var(--hgmxz-light);
  line-height: 1.8;
}
.hgmxz-split-links a {
  color: var(--hgmxz-brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hgmxz-split-right {
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
  overflow: hidden;
}
.hgmxz-visual-frame {
  position: relative;
  width: min(100%, 320px);
}
.hgmxz-visual-frame::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(circle, rgba(216, 137, 12, 0.08), transparent 65%);
  pointer-events: none;
}
.hgmxz-phone {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  border: 3px solid #1a1f2e;
  overflow: hidden;
  box-shadow: var(--hgmxz-shadow);
  background: #000;
}
.hgmxz-phone img { width: 100%; height: auto; }
.hgmxz-visual-badge {
  position: absolute;
  right: -12px;
  bottom: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--hgmxz-line);
  box-shadow: var(--hgmxz-shadow);
  font-size: 12px;
  font-weight: 700;
}
.hgmxz-visual-badge img { width: 26px; height: 26px; border-radius: 6px; }

/* Sections */
.hgmxz-section { padding: 72px 0; background: #fff; }
.hgmxz-section-alt { background: var(--hgmxz-soft); }
.hgmxz-head { margin-bottom: 36px; }
.hgmxz-head-num {
  display: block;
  margin-bottom: 8px;
  color: var(--hgmxz-brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.hgmxz-head-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
}
.hgmxz-head p { max-width: 640px; margin: 12px 0 0; color: var(--hgmxz-muted); }
.hgmxz-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hgmxz-card {
  padding: 28px;
  border: 1px solid var(--hgmxz-line);
  border-radius: var(--hgmxz-radius);
  background: #fff;
}
.hgmxz-section-alt .hgmxz-card { background: #fff; }
.hgmxz-card-num {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--hgmxz-brand);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}
.hgmxz-card h3 { margin: 0 0 10px; font-size: 17px; }
.hgmxz-card p { margin: 0; color: var(--hgmxz-muted); font-size: 14px; line-height: 1.8; }
.hgmxz-card a { color: var(--hgmxz-brand-dark); text-decoration: underline; text-underline-offset: 3px; }

.hgmxz-prose h2 {
  margin: 36px 0 14px;
  font-size: 21px;
}
.hgmxz-prose h2:first-child { margin-top: 0; }
.hgmxz-prose p {
  margin: 0 0 16px;
  color: var(--hgmxz-muted);
  line-height: 1.9;
}
.hgmxz-prose ul, .hgmxz-prose ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--hgmxz-muted);
  line-height: 1.85;
}
.hgmxz-prose a { color: var(--hgmxz-brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.hgmxz-callout {
  margin: 24px 0;
  padding: 16px 18px;
  border-left: 3px solid var(--hgmxz-brand);
  background: var(--hgmxz-brand-soft);
  color: var(--hgmxz-text);
  font-size: 14px;
  line-height: 1.75;
}

.hgmxz-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.hgmxz-showcase figure {
  margin: 0;
  border-radius: var(--hgmxz-radius);
  overflow: hidden;
  border: 1px solid var(--hgmxz-line);
  background: #fff;
}
.hgmxz-showcase figcaption {
  padding: 12px 14px;
  font-size: 12px;
  color: var(--hgmxz-muted);
}
.hgmxz-showcase figcaption strong { display: block; color: var(--hgmxz-text); font-size: 13px; }

.hgmxz-faq details {
  border: 1px solid var(--hgmxz-line);
  border-radius: var(--hgmxz-radius);
  margin-bottom: 10px;
  background: #fff;
}
.hgmxz-faq summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.hgmxz-faq summary::-webkit-details-marker { display: none; }
.hgmxz-faq details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--hgmxz-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* Footer */
.hgmxz-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--hgmxz-line);
  background: #fff;
}
.hgmxz-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.hgmxz-footer-grid p { margin: 12px 0 0; color: var(--hgmxz-muted); font-size: 13px; line-height: 1.75; }
.hgmxz-footer-col strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
}
.hgmxz-footer-col a {
  display: block;
  margin-bottom: 8px;
  color: var(--hgmxz-muted);
  font-size: 13px;
}
.hgmxz-footer-col a:hover { color: var(--hgmxz-text); }
.hgmxz-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hgmxz-line);
  color: var(--hgmxz-light);
  font-size: 11px;
}
.hgmxz-footer-bottom a { margin-left: auto; color: var(--hgmxz-muted); }

/* Inner pages */
.hgmxz-page { padding: 96px 0 64px; }
.hgmxz-page-head { margin-bottom: 28px; }
.hgmxz-page-head h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); }
.hgmxz-page-meta { margin-top: 8px; color: var(--hgmxz-light); font-size: 13px; }
.hgmxz-article { max-width: 740px; margin: 0 auto; }
.hgmxz-article h2 { margin: 28px 0 12px; font-size: 20px; }
.hgmxz-article p { margin: 0 0 14px; color: var(--hgmxz-muted); line-height: 1.9; }
.hgmxz-article ul, .hgmxz-article ol { margin: 0 0 14px; padding-left: 22px; color: var(--hgmxz-muted); line-height: 1.85; }
.hgmxz-article a { color: var(--hgmxz-brand-dark); text-decoration: underline; text-underline-offset: 3px; }
.hgmxz-article img {
  margin: 18px auto;
  border-radius: var(--hgmxz-radius);
  border: 1px solid var(--hgmxz-line);
}

/* Error */
.hgmxz-error {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background: var(--hgmxz-soft);
}
.hgmxz-error h1 { margin: 0; font-size: 72px; color: var(--hgmxz-brand); }
.hgmxz-error p { color: var(--hgmxz-muted); }
.hgmxz-error a { color: var(--hgmxz-brand-dark); font-weight: 700; }

@media (max-width: 960px) {
  .hgmxz-nav, .hgmxz-header-btn { display: none; }
  .hgmxz-menu-btn { display: grid; place-items: center; margin-left: auto; }
  .hgmxz-split-hero { grid-template-columns: 1fr; }
  .hgmxz-split-left {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--hgmxz-line);
    padding: 40px 24px 48px;
  }
  .hgmxz-split-right {
    position: relative;
    top: 0;
    height: auto;
    min-height: 420px;
  }
  .hgmxz-grid-3 { grid-template-columns: 1fr; }
  .hgmxz-showcase {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .hgmxz-showcase::-webkit-scrollbar { display: none; }
  .hgmxz-showcase figure { flex: 0 0 min(72vw, 260px); scroll-snap-align: start; }
  .hgmxz-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hgmxz-footer-bottom a { margin-left: 0; width: 100%; }
}

@media (max-width: 520px) {
  .hgmxz-split-actions { flex-direction: column; }
  .hgmxz-btn { width: 100%; justify-content: center; }
  .hgmxz-visual-badge { right: 0; bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
