:root {
  --ink: #111827;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e5e7eb;
  --page: #f7f8fa;
  --paper: #ffffff;
  --brand: #ffe60f;
  --green: #059669;
  --blue: #2563eb;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
}

.brand span {
  display: grid;
  line-height: 1.2;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--ink-soft);
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(58px, 8vw, 100px) clamp(20px, 6vw, 88px) clamp(42px, 6vw, 76px);
  background:
    linear-gradient(135deg, rgba(255, 230, 15, 0.18), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.hero-lead,
.section-heading p,
.solution-card p,
.local-stack p,
.about-panel p,
.contact-card p {
  color: var(--muted);
}

.hero-lead {
  max-width: 720px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.secondary {
  background: var(--brand);
  color: var(--ink);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span,
.tech-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.hero-proof span {
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.hero-map {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    #ffffff;
  background-size: 36px 36px, 36px 36px, auto;
  box-shadow: var(--shadow);
}

.hero-map::before {
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(5, 150, 105, 0.24);
  border-radius: var(--radius);
  content: "";
}

.flow-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 6px;
  width: 220px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.flow-card span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.flow-card strong {
  font-size: 20px;
}

.flow-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.merchant {
  top: 58px;
  left: 36px;
}

.platform {
  top: 210px;
  right: 34px;
}

.system {
  bottom: 42px;
  left: 48px;
}

.badge-card {
  right: 46px;
  bottom: 56px;
  width: 174px;
  place-items: center;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
}

.badge-card img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
}

.badge-card small {
  color: #d1d5db;
}

.flow-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform-origin: left center;
}

.line-one {
  top: 190px;
  left: 190px;
  width: 190px;
  transform: rotate(24deg);
}

.line-two {
  right: 194px;
  bottom: 204px;
  width: 168px;
  transform: rotate(139deg);
}

.section {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 88px);
}

.section-heading,
.solution-grid,
.split-layout,
.tech-grid,
.about-panel,
.contact-card {
  max-width: 1140px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 720px;
}

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

.solution-card,
.local-stack article,
.about-panel,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.solution-card {
  min-height: 260px;
  padding: 28px;
}

.solution-card.featured {
  background: linear-gradient(135deg, #111827, #263449);
  color: var(--paper);
}

.solution-card.featured p {
  color: #d5dce8;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-bottom: 30px;
  border-radius: var(--radius);
  background: var(--brand);
  color: var(--ink);
  font-weight: 900;
}

.local-section,
.about-section {
  background: var(--paper);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.section-heading.left {
  position: sticky;
  top: 104px;
  margin: 0;
}

.local-stack {
  display: grid;
  gap: 14px;
}

.local-stack article {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 18px;
  padding: 22px;
}

.local-stack article > span {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.12);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tech-grid div {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: var(--ink-soft);
  font-weight: 800;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  padding: clamp(26px, 4vw, 44px);
}

.company-facts {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-facts div {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.company-facts div:last-child {
  border-bottom: 0;
}

.company-facts dt {
  color: var(--muted);
  font-size: 13px;
}

.company-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 28px;
  padding: clamp(28px, 5vw, 44px);
}

.contact-card address {
  display: grid;
  gap: 14px;
  font-style: normal;
}

.contact-card address > * {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
}

.contact-card strong {
  font-size: 17px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  padding: 30px 20px 36px;
  color: #cbd5e1;
  background: #0b1120;
  font-size: 14px;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
}

@media (max-width: 980px) {
  .hero,
  .split-layout,
  .about-panel,
  .contact-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section-heading.left {
    position: static;
  }

  .solution-grid,
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 14px;
  }

  h1 {
    font-size: clamp(34px, 12vw, 46px);
  }

  .hero-map {
    min-height: 560px;
  }

  .flow-card {
    width: calc(100% - 48px);
    left: 24px;
    right: 24px;
  }

  .merchant {
    top: 28px;
  }

  .platform {
    top: 154px;
  }

  .system {
    bottom: 150px;
  }

  .badge-card {
    bottom: 28px;
    width: calc(100% - 48px);
  }

  .flow-line {
    display: none;
  }

  .solution-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: auto;
  }
}
