:root {
  --bg: #ffffff;
  --ink: #10231f;
  --muted: #65746f;
  --line: #dce8e3;
  --soft: #f2f8f5;
  --soft-2: #e8f5ee;
  --green: #0f9f68;
  --green-dark: #08764d;
  --mint: #b9f4cf;
  --gold: #f3b342;
  --orange: #ef7d35;
  --shadow: 0 24px 70px rgba(16, 35, 31, 0.12);
  --radius: 8px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 232, 227, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(15, 159, 104, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #40514c;
  font-size: 14px;
  font-weight: 650;
}

.nav a:hover {
  color: var(--green-dark);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 760;
}

.header-cta,
.btn.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 15px 32px rgba(15, 159, 104, 0.24);
}

.btn.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.section-band {
  background:
    linear-gradient(180deg, rgba(242, 248, 245, 0.65), rgba(255, 255, 255, 0)),
    #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(34px, 5vw, 72px);
  min-height: calc(100vh - 76px);
  padding: clamp(70px, 8vw, 108px) clamp(20px, 5vw, 72px) 88px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  align-self: center;
  max-width: 670px;
}

.hero h1 {
  margin: 0 0 24px;
  max-width: 650px;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
  color: #09221b;
}

.hero-lead {
  margin: 0;
  max-width: 610px;
  color: #40514c;
  font-size: 19px;
  line-height: 1.8;
}

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

.hero-actions .btn {
  min-height: 52px;
  padding: 0 24px;
  font-size: 15px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin: 48px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.hero-stats dt {
  margin: 0;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  align-self: center;
  min-height: 580px;
}

.map-panel {
  position: absolute;
  inset: 70px 8px 52px 20px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.62) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(255,255,255,0.62) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(135deg, #dff6e9 0%, #f8fbf6 48%, #e8f2ff 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-panel::before {
  content: "";
  position: absolute;
  inset: 90px -40px auto 30px;
  height: 86px;
  border-top: 18px solid rgba(15, 159, 104, 0.13);
  border-radius: 50%;
  transform: rotate(-13deg);
}

.pin {
  position: absolute;
  z-index: 3;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 3px;
  transform: rotate(-45deg);
  box-shadow: 0 10px 20px rgba(16, 35, 31, 0.18);
}

.pin::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #fff;
}

.pin.shop {
  top: 160px;
  left: 52%;
  background: var(--orange);
}

.pin.user {
  right: 84px;
  bottom: 132px;
  background: var(--green);
}

.route {
  position: absolute;
  top: 192px;
  right: 105px;
  z-index: 2;
  width: 150px;
  height: 190px;
  border: 4px dashed rgba(8, 118, 77, 0.55);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 90px 0 0;
}

.map-card {
  position: absolute;
  right: 34px;
  top: 40px;
  z-index: 4;
  display: grid;
  gap: 4px;
  width: 190px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.86);
  border-radius: 8px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 16px 36px rgba(16, 35, 31, 0.12);
}

.map-card strong {
  font-size: 14px;
}

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

.phone {
  position: absolute;
  left: 16px;
  top: 26px;
  z-index: 5;
  width: 226px;
  height: 452px;
  padding: 18px;
  border: 8px solid #142820;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(10, 30, 24, 0.24);
}

.phone-top {
  width: 74px;
  height: 7px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: #142820;
}

.screen-title {
  margin-bottom: 18px;
  color: #132720;
  font-size: 19px;
  font-weight: 900;
}

.store-row {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f0;
}

.store-row span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7c66d, #ef7d35);
}

.store-row:nth-child(4) span {
  background: linear-gradient(135deg, #b9f4cf, #0f9f68);
}

.store-row b,
.store-row em {
  display: block;
  font-style: normal;
}

.store-row b {
  font-size: 14px;
}

.store-row em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.order-button {
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
  display: grid;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.desktop-panel {
  position: absolute;
  right: 0;
  top: 208px;
  z-index: 6;
  width: 370px;
  padding: 20px;
  border: 1px solid rgba(220, 232, 227, 0.9);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.panel-head span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7e1dd;
}

.desktop-panel h3 {
  margin: 0 0 18px;
  font-size: 20px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.metric-grid div {
  padding: 16px;
  border-radius: 8px;
  background: var(--soft);
}

.metric-grid b,
.metric-grid span {
  display: block;
}

.metric-grid b {
  color: var(--green-dark);
  font-size: 27px;
  line-height: 1;
}

.metric-grid span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.bar-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 105px;
  margin-top: 18px;
}

.bar-chart i {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--green), #9ce6bc);
}

.bar-chart i:nth-child(1) { height: 48%; }
.bar-chart i:nth-child(2) { height: 72%; }
.bar-chart i:nth-child(3) { height: 56%; }
.bar-chart i:nth-child(4) { height: 88%; }
.bar-chart i:nth-child(5) { height: 66%; }

.rider-card {
  position: absolute;
  right: 56px;
  bottom: 26px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 230px;
  padding: 15px;
  border-radius: 8px;
  background: #10231f;
  color: #fff;
  box-shadow: 0 24px 55px rgba(16, 35, 31, 0.28);
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 7px rgba(185, 244, 207, 0.18);
}

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

.rider-card small {
  margin-top: 2px;
  color: #bcd2cc;
}

section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head.align-left {
  margin-left: 0;
  text-align: left;
}

.section-head h2,
.seo-copy h2,
.deploy-card h2,
.contact h2 {
  margin: 0 0 16px;
  color: #10231f;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: 0;
}

.section-head p,
.seo-copy p,
.deploy-card p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.flow,
.feature-grid,
.terminal-grid {
  display: grid;
  gap: 18px;
}

.flow {
  grid-template-columns: repeat(4, 1fr);
}

.flow article,
.feature-grid article,
.terminal-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow article {
  padding: 28px;
}

.flow span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.flow h3,
.feature-grid h3,
.terminal-grid h3,
.solution-copy h3 {
  margin: 10px 0 10px;
  font-size: 21px;
  line-height: 1.25;
}

.flow p,
.feature-grid p,
.terminal-grid p,
.solution-copy p,
.faq p {
  margin: 0;
  color: var(--muted);
}

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

.feature-grid article {
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(16, 35, 31, 0.08);
}

.feature-grid svg {
  width: 42px;
  height: 42px;
  color: var(--green);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solutions {
  background: #fff;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 44px;
  align-items: center;
}

.solution-copy {
  display: grid;
  gap: 18px;
}

.solution-copy article {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.scenario-board {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fcfa, #eef8f2);
  box-shadow: var(--shadow);
}

.scenario-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.scenario-row b {
  color: var(--ink);
}

.scenario-row em {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.scenario-row.active {
  border-color: rgba(15, 159, 104, 0.34);
  box-shadow: inset 4px 0 0 var(--green);
}

.terminal-grid {
  grid-template-columns: repeat(4, 1fr);
}

.terminal-grid article {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px;
}

.terminal-grid span {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.seo-copy {
  background:
    linear-gradient(90deg, rgba(15,159,104,0.08), transparent 50%),
    #fff;
}

.seo-copy > div {
  max-width: 960px;
}

.seo-copy p + p {
  margin-top: 18px;
}

.deploy {
  background: #10231f;
}

.deploy-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 46px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15,159,104,0.32), transparent 45%),
    #17362d;
  color: #fff;
}

.deploy-card h2 {
  color: #fff;
}

.deploy-card p {
  color: #d5e4df;
}

.deploy-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deploy-card li {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  font-weight: 750;
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

details {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

summary {
  cursor: pointer;
  padding: 22px 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 850;
}

details p {
  padding: 0 0 22px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--soft);
}

.contact div {
  max-width: 780px;
}

.contact .btn {
  min-width: 148px;
  min-height: 52px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .solution-layout,
  .deploy-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
    padding: 0 16px;
  }

  .brand span:last-child {
    max-width: 116px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    padding: 52px 16px 68px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 16px;
  }

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

  .hero-stats,
  .flow,
  .feature-grid,
  .terminal-grid,
  .deploy-card ul {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 470px;
  }

  .map-panel {
    inset: 74px 0 24px 0;
  }

  .phone {
    left: 0;
    width: 190px;
    height: 390px;
    border-width: 7px;
  }

  .desktop-panel {
    right: 0;
    top: 230px;
    width: min(270px, 82vw);
  }

  .rider-card {
    right: 16px;
    bottom: 0;
  }

  section {
    padding: 68px 16px;
  }

  .section-head {
    margin-bottom: 30px;
    text-align: left;
  }

  .solution-layout {
    gap: 26px;
  }

  .scenario-board {
    padding: 16px;
  }

  .contact,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .route {
    animation: pulse-route 2.8s ease-in-out infinite;
  }

  .rider-card {
    animation: float-card 5s ease-in-out infinite;
  }
}

@keyframes pulse-route {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.9; }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
