:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #65706c;
  --line: #dce9e3;
  --mint: #08ce88;
  --mint-dark: #059a68;
  --mint-soft: #eafbf4;
  --cream: #fff9ea;
  --surface: #ffffff;
  --page: #f5faf7;
  --shadow: 0 24px 70px rgba(19, 86, 60, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(220, 233, 227, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  color: #46514d;
  text-decoration: none;
}

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

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(158, 237, 180, 0.55), transparent 32%),
    radial-gradient(circle at 85% 15%, rgba(112, 229, 211, 0.42), transparent 32%),
    linear-gradient(145deg, #f7fff9 0%, #effff8 54%, #fffaf0 100%);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  align-items: center;
  gap: 74px;
  padding: 70px 0 78px;
}

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: #52605b;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0edb91, #05a86f);
  box-shadow: 0 15px 30px rgba(5, 168, 111, 0.23);
}

.button-secondary {
  border-color: #b8d8c9;
  color: #24664d;
  background: rgba(255, 255, 255, 0.78);
}

.version-note {
  margin: 18px 0 0;
  color: #75817d;
  font-size: 13px;
}

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  inset: 11% 2% 6%;
  border-radius: 48%;
  background: linear-gradient(145deg, rgba(12, 216, 143, 0.34), rgba(255, 208, 91, 0.3));
  filter: blur(45px);
}

.phone {
  position: relative;
  width: min(360px, 82vw);
  padding: 10px;
  border: 1px solid rgba(23, 32, 29, 0.13);
  border-radius: 42px;
  background: #111915;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.phone img {
  width: 100%;
  aspect-ratio: 1260 / 2750;
  border-radius: 34px;
  object-fit: cover;
  object-position: top;
}

.section {
  padding: 96px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-head p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

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

.service-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 50px rgba(26, 78, 59, 0.07);
}

.service-card .index {
  width: 38px;
  height: 38px;
  margin-bottom: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #08734f;
  background: var(--mint-soft);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 9px;
  font-size: 21px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.gallery-section {
  background: #ecfaf4;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screenshot-card {
  padding: 8px;
  border-radius: 26px;
  background: #111915;
  box-shadow: 0 18px 38px rgba(20, 74, 53, 0.12);
}

.screenshot-card img {
  width: 100%;
  border-radius: 20px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
}

.flow-step {
  min-height: 210px;
  padding: 28px;
  background: #fff;
}

.flow-step strong {
  display: block;
  margin-bottom: 26px;
  color: var(--mint-dark);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.flow-step h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.flow-step p {
  color: var(--muted);
  font-size: 14px;
}

.boundary {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  border-radius: 30px;
  background: linear-gradient(135deg, #123d30, #176348);
  color: #fff;
}

.boundary h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
}

.boundary p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.boundary p:last-child {
  margin-bottom: 0;
}

.download-panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.download-panel img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
}

.download-panel h2 {
  margin-bottom: 2px;
  font-size: 25px;
}

.download-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: #707b77;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #3b5d50;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 96px;
}

.legal-card {
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(26, 78, 59, 0.07);
}

.legal-card h1 {
  margin-bottom: 10px;
  font-size: clamp(34px, 5vw, 54px);
}

.legal-meta {
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 14px;
}

.legal-card h2 {
  margin: 32px 0 8px;
  font-size: 20px;
}

.legal-card p {
  color: #46514d;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy,
  .section-head {
    margin-left: auto;
    margin-right: auto;
  }

  .actions {
    justify-content: center;
  }

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

  .screenshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .boundary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav {
    min-height: 64px;
  }

  .nav-links a:not(.nav-download) {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    padding: 56px 0 64px;
    gap: 52px;
  }

  h1 {
    font-size: 42px;
  }

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

  .section {
    padding: 72px 0;
  }

  .service-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

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

  .boundary {
    padding: 28px;
  }

  .download-panel {
    grid-template-columns: auto 1fr;
  }

  .download-panel .button {
    grid-column: 1 / -1;
  }

  .footer-inner {
    flex-direction: column;
  }
}
