:root {
  --bg: #070a12;
  --panel: rgba(13, 20, 34, .78);
  --panel-strong: rgba(16, 25, 42, .94);
  --line: rgba(255, 203, 82, .24);
  --line-strong: rgba(255, 203, 82, .5);
  --gold: #ffd35f;
  --amber: #ff9f2f;
  --blue: #47c7ff;
  --blue-deep: #1167df;
  --text: #f8fbff;
  --muted: #b7c3d4;
  --soft: #8090a6;
  --shadow: 0 24px 80px rgba(0, 0, 0, .32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 6%, rgba(71, 199, 255, .14), transparent 30%),
    radial-gradient(circle at 82% 12%, rgba(255, 159, 47, .18), transparent 28%),
    linear-gradient(135deg, rgba(255, 211, 95, .045) 25%, transparent 25%) 0 0 / 42px 72px,
    linear-gradient(225deg, rgba(255, 211, 95, .045) 25%, transparent 25%) 0 0 / 42px 72px,
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.micropay-govcn {
  outline-offset: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(7, 10, 18, .78);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 10, 18, .93);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .26);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  border-radius: 12px;
  filter: drop-shadow(0 0 18px rgba(255, 203, 82, .28));
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a,
.footer-links a {
  text-decoration: none;
}

.nav a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 14px;
  transition: color .2s ease, background .2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  background: rgba(255, 211, 95, .12);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #11151c;
  text-decoration: none;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  box-shadow: 0 12px 34px rgba(255, 159, 47, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(255, 159, 47, .34);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: none;
}

.btn-secondary {
  color: var(--text);
  background: rgba(71, 199, 255, .14);
  border: 1px solid rgba(71, 199, 255, .28);
  box-shadow: none;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

.hero {
  position: relative;
  padding: 82px 0 74px;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(71, 199, 255, .12) 18.5%, transparent 19% 48%, rgba(255, 211, 95, .13) 48.5%, transparent 49%),
    radial-gradient(circle at 70% 46%, rgba(255, 211, 95, .12), transparent 32%);
}

.hero-grid,
.split-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 52px;
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(420px, .9fr) minmax(0, 1fr);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.hero-lead,
.page-hero p,
.section-title p,
.split-layout p,
.download-copy p {
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-metrics span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: var(--muted);
}

.hero-metrics strong {
  color: var(--gold);
}

.hero-honey-panel {
  position: relative;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 211, 95, .13), rgba(71, 199, 255, .09));
  box-shadow: var(--shadow);
}

.hero-honey-panel img,
.image-card img {
  width: 100%;
  border-radius: 18px;
}

.status-card {
  position: absolute;
  min-width: 170px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 211, 95, .34);
  border-radius: 16px;
  background: rgba(8, 12, 20, .78);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

.status-card strong,
.status-card small {
  display: block;
}

.status-card small {
  color: var(--muted);
}

.status-node {
  left: -24px;
  top: 12%;
}

.status-device {
  right: -20px;
  bottom: 16%;
}

.status-route {
  left: 22%;
  bottom: -18px;
}

.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(71, 199, 255, .14);
}

.section {
  padding: 78px 0;
  position: relative;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 22px;
}

.device-grid,
.comparison-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(5, 1fr);
}

.download-grid,
.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.device-card,
.download-card,
.news-card,
.matrix-card,
.note-box,
.faq,
.image-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .22);
}

.card,
.device-card,
.download-card,
.news-card,
.matrix-card,
.note-box,
.faq {
  border-radius: 8px;
  padding: 24px;
}

.image-card {
  border-radius: 24px;
  padding: 12px;
}

.feature {
  min-height: 180px;
}

.feature p,
.device-card p,
.download-card p,
.news-card p,
.matrix-card p,
.note-box p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.hex-icon {
  width: 54px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #101318;
  font-weight: 900;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: linear-gradient(135deg, var(--gold), var(--blue));
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mini-list span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
  color: var(--muted);
}

.route-meter {
  margin-top: 18px;
}

.route-meter span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.route-meter div {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
}

.route-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--amber));
}

.step-list,
.guide-timeline {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li,
.guide-timeline li {
  counter-increment: steps;
  position: relative;
  margin-bottom: 14px;
  padding: 18px 18px 18px 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .055);
}

.step-list li::before,
.guide-timeline li::before {
  content: counter(steps);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #101318;
  font-weight: 900;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--amber));
}

.step-list strong,
.step-list span,
.guide-timeline strong {
  display: block;
}

.step-list span,
.guide-timeline p {
  color: var(--muted);
  margin: 3px 0 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin-top: 12px;
}

.news-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 211, 95, .14), rgba(71, 199, 255, .08));
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 64px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.page-hero .container {
  position: relative;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--soft);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb span::before {
  content: "/";
  margin-right: 10px;
  color: var(--soft);
}

.matrix-grid {
  grid-template-columns: 1.35fr 1fr 1fr;
}

.matrix-card.large {
  grid-row: span 2;
  min-height: 280px;
  background:
    linear-gradient(145deg, rgba(255, 211, 95, .18), rgba(71, 199, 255, .1)),
    var(--panel-strong);
}

.download-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-card .btn {
  margin-top: auto;
}

.news-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold);
  font-weight: 900;
}

.news-card h2 {
  font-size: 24px;
}

.note-box {
  max-width: 940px;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(4, 7, 13, .72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  align-items: center;
}

.site-footer p {
  color: var(--soft);
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a {
  color: var(--muted);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #101318;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .header-inner {
    gap: 12px;
  }

  .mobile-menu-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 10, 18, .97);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    border-radius: 10px;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .split-layout,
  .reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .download-grid,
  .news-grid,
  .device-grid,
  .comparison-grid,
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .matrix-card.large {
    grid-row: span 1;
  }

  .status-card {
    position: static;
    margin-top: 10px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero,
  .page-hero,
  .section {
    padding: 52px 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .feature-grid,
  .download-grid,
  .news-grid,
  .device-grid,
  .comparison-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .news-band {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .header-cta {
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }
}