:root {
  --ink: #14213d;
  --muted: #627083;
  --line: #dde5ea;
  --paper: #ffffff;
  --soft: #f3f7f5;
  --mint: #1f9d7a;
  --mint-dark: #126650;
  --coral: #f06f5c;
  --amber: #f4b24d;
  --sky: #4a8fd8;
  --shadow: 0 24px 70px rgba(20, 33, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fbfcfb;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(31, 157, 122, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(31, 157, 122, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  background: rgba(251, 252, 251, 0.82);
  backdrop-filter: blur(18px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(221, 229, 234, 0.86);
  box-shadow: 0 12px 28px rgba(20, 33, 61, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--mint-dark);
  box-shadow: 0 10px 22px rgba(18, 102, 80, 0.24);
}

.brand-name {
  font-size: 20px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: #405066;
  font-size: 15px;
}

.nav a,
.site-footer a {
  transition: color 0.2s ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--mint-dark);
}

.header-action {
  min-width: max-content;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--mint-dark);
  font-weight: 700;
  background: #fff;
}

.hero {
  display: grid;
  min-height: calc(100vh - 69px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 72px) clamp(28px, 5vw, 48px);
  overflow: hidden;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint-dark);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 12vw, 126px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(17px, 2.1vw, 21px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--mint-dark);
  box-shadow: 0 16px 30px rgba(18, 102, 80, 0.24);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

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

.hero-metrics span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(221, 229, 234, 0.9);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong {
  color: var(--ink);
  font-size: 20px;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.hero-visual::before {
  position: absolute;
  inset: 7% -10% 8% 8%;
  z-index: -1;
  content: "";
  border-radius: 24px;
  background:
    linear-gradient(rgba(20, 33, 61, 0.18), rgba(20, 33, 61, 0.18)),
    url("./assets/hero-local-life.jpg") center / cover;
  box-shadow: var(--shadow);
}

.phone-preview,
.dashboard-preview {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.phone-preview {
  top: 18px;
  left: 2%;
  width: min(310px, 47vw);
  min-height: 545px;
  padding: 16px;
  border-radius: 28px;
}

.phone-top {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 6px 0 14px;
}

.phone-top span {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: #c7d2d8;
}

.mini-app-cover {
  height: 170px;
  border-radius: 20px;
  background:
    linear-gradient(rgba(18, 102, 80, 0.1), rgba(18, 102, 80, 0.1)),
    url("./assets/mini-app-food.jpg") center / cover;
}

.mini-app-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.mini-app-content p {
  margin-bottom: 2px;
  font-size: 13px;
}

.mini-app-content strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.mini-app-content button {
  min-width: 64px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
  background: var(--coral);
}

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

.mini-grid span {
  display: grid;
  min-height: 84px;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
  background: var(--soft);
}

.mini-grid span:nth-child(2) {
  background: #fff2e1;
}

.mini-grid span:nth-child(3) {
  background: #eaf2fc;
}

.mini-grid span:nth-child(4) {
  background: #ffeceb;
}

.dashboard-preview {
  right: 0;
  bottom: 24px;
  width: min(430px, 58vw);
  padding: 22px;
  border-radius: 20px;
}

.dashboard-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.dashboard-head span {
  color: var(--muted);
}

.dashboard-head strong {
  font-size: 28px;
}

.chart-bars {
  display: grid;
  height: 170px;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  align-items: end;
  padding: 16px;
  border-radius: 14px;
  background: #f5f8fa;
}

.chart-bars span {
  min-height: 32px;
  border-radius: 8px 8px 3px 3px;
  background: var(--mint);
}

.chart-bars span:nth-child(2n) {
  background: var(--amber);
}

.chart-bars span:nth-child(3n) {
  background: var(--sky);
}

.dashboard-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: #405066;
  font-weight: 700;
}

.dashboard-list span {
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(243, 247, 245, 0.9);
}

.scene-strip,
.features-section,
.workflow,
.contact-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  max-width: 1180px;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
  gap: 36px;
  align-items: end;
  margin: 0 auto 32px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-inline: 0;
}

.scene-grid {
  display: grid;
  max-width: 1180px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
}

.scene-grid article {
  overflow: hidden;
  min-height: 360px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 33, 61, 0.08);
}

.scene-grid img {
  height: 220px;
}

.scene-grid div {
  padding: 20px;
}

.scene-grid p,
.feature-grid p,
.workflow p,
.contact-section p {
  margin-bottom: 0;
}

.features-section {
  background: #fff;
}

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

.feature-grid article {
  min-height: 244px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  background: var(--mint-dark);
}

.feature-grid article:nth-child(2) .feature-icon,
.feature-grid article:nth-child(5) .feature-icon {
  background: var(--coral);
}

.feature-grid article:nth-child(3) .feature-icon,
.feature-grid article:nth-child(6) .feature-icon {
  background: var(--sky);
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: var(--soft);
}

.workflow-copy {
  max-width: 520px;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 98px;
  padding: 22px;
  border: 1px solid rgba(221, 229, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.steps span {
  color: var(--mint-dark);
  font-size: 24px;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.contact-section > div {
  max-width: 660px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(20, 33, 61, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #405066;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

input:focus,
select:focus {
  border-color: rgba(31, 157, 122, 0.78);
  box-shadow: 0 0 0 4px rgba(31, 157, 122, 0.12);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 26px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer div,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-footer span,
.site-footer nav {
  color: var(--muted);
}

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

  .hero,
  .workflow,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-action {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero,
  .scene-strip,
  .features-section,
  .workflow,
  .contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 76px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .hero-visual::before {
    inset: 10% -24px 14% 28px;
  }

  .phone-preview {
    left: 0;
    width: min(286px, 84vw);
    min-height: 492px;
  }

  .mini-app-cover {
    height: 135px;
  }

  .mini-grid span {
    min-height: 70px;
  }

  .dashboard-preview {
    right: 0;
    bottom: 0;
    width: min(330px, 86vw);
    padding: 18px;
  }

  .chart-bars {
    height: 128px;
    gap: 8px;
  }

  .scene-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .scene-grid article {
    min-height: auto;
  }

  .steps li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .site-footer div,
  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
  }
}
