:root {
  --green-950: #0b2f24;
  --green-800: #155b45;
  --green-700: #1e7457;
  --green-100: #dff2e8;
  --green-50: #f3faf6;
  --mint: #8fd8af;
  --ink: #13251d;
  --muted: #5d7168;
  --line: #d8e7df;
  --paper: #fbfefc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(9, 48, 35, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(30, 116, 87, 0.34);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(251, 254, 252, 0.86);
  border-bottom: 1px solid rgba(216, 231, 223, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(9, 48, 35, 0.12);
}

.brand-text {
  font-size: 18px;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-button {
  min-width: 44px;
  height: 34px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.language-button.is-active {
  color: var(--white);
  background: var(--green-700);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.72fr);
  gap: clamp(36px, 6vw, 88px);
  min-height: 100vh;
  padding: 128px clamp(20px, 6vw, 86px) 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 23%, rgba(143, 216, 175, 0.42), transparent 30%),
    linear-gradient(135deg, #f7fcf8 0%, #e7f6ee 56%, #d5eddf 100%);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero-backdrop::before,
.hero-backdrop::after {
  position: absolute;
  content: "";
  border-radius: 999px 999px 80px 999px;
  background: rgba(30, 116, 87, 0.12);
  transform: rotate(-18deg);
}

.hero-backdrop::before {
  width: 360px;
  height: 180px;
  right: 7%;
  top: 17%;
}

.hero-backdrop::after {
  width: 260px;
  height: 126px;
  left: -72px;
  bottom: 12%;
  transform: rotate(18deg);
}

.hero-content,
.app-preview {
  position: relative;
  z-index: 1;
}

.hero-content {
  align-self: center;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-700);
  font-size: 15px;
  font-weight: 800;
}

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

h1 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(48px, 6.8vw, 84px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 16px 0 0;
  color: #27483b;
  font-size: clamp(17px, 1.8vw, 22px);
}

.hero-slogan {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--green-800);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 850;
  line-height: 1.25;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.download-button {
  display: inline-flex;
  min-width: 210px;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  padding: 14px 22px;
  text-decoration: none;
  background: var(--white);
  border: 1px solid rgba(21, 91, 69, 0.22);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(9, 48, 35, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.download-button:hover,
.download-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(21, 91, 69, 0.48);
  box-shadow: 0 16px 42px rgba(9, 48, 35, 0.14);
}

.download-button.primary {
  color: var(--white);
  background: var(--green-800);
  border-color: var(--green-800);
}

.button-kicker {
  color: inherit;
  opacity: 0.78;
  font-size: 13px;
  font-weight: 700;
}

.button-label {
  margin-top: 2px;
  font-size: 21px;
  font-weight: 850;
}

.app-preview {
  align-self: center;
  justify-self: center;
}

.phone-shell {
  width: min(330px, 78vw);
  padding: 12px;
  background: #123c2f;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.phone-top {
  width: 82px;
  height: 6px;
  margin: 0 auto 10px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.phone-screen {
  position: relative;
  min-height: 586px;
  background: #e9f8ef;
  border-radius: 28px;
  overflow: hidden;
}

.preview-screenshot {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 586px;
  object-fit: cover;
  object-position: top center;
}

.preview-panel {
  position: absolute;
  right: 18px;
  bottom: 82px;
  left: 18px;
  padding: 18px;
  color: var(--white);
  background: rgba(21, 91, 69, 0.9);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.preview-panel p {
  margin: 0;
  opacity: 0.72;
  font-size: 13px;
  font-weight: 700;
}

.preview-panel strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  line-height: 1.15;
}

.preview-tags {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-tags span {
  padding: 8px 10px;
  color: var(--green-800);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 91, 69, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.features {
  padding: 84px clamp(20px, 6vw, 86px) 92px;
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
}

h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.12;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.feature-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(9, 48, 35, 0.08);
}

.feature-shot {
  position: relative;
  height: clamp(300px, 28vw, 390px);
  margin: 0;
  overflow: hidden;
  background: #f3faf6;
}

.feature-shot::after {
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  pointer-events: none;
}

.feature-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.feature-copy {
  display: flex;
  min-height: 238px;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.feature-number {
  align-self: flex-start;
  padding: 4px 9px;
  color: var(--green-700);
  background: var(--green-50);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.feature-card h3 {
  margin: 18px 0 10px;
  color: var(--green-950);
  font-size: 21px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.site-footer {
  padding: 26px clamp(20px, 6vw, 86px);
  color: var(--muted);
  background: var(--green-50);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1180px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 126px;
  }

  .app-preview {
    justify-self: start;
  }

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

  .feature-shot {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-text {
    max-width: clamp(84px, 30vw, 136px);
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-button {
    min-width: 36px;
    height: 32px;
    padding: 0 8px;
  }

  .hero {
    gap: 30px;
    min-height: 100svh;
    padding: 94px 18px 54px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 14px;
  }

  h1 {
    font-size: clamp(44px, 15vw, 62px);
    line-height: 1.04;
  }

  .hero-slogan {
    margin-top: 16px;
    font-size: clamp(20px, 6vw, 28px);
  }

  .hero-copy {
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.65;
  }

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

  .download-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .download-button {
    min-height: 64px;
    padding: 12px 18px;
  }

  .button-label {
    font-size: 19px;
  }

  .app-preview {
    justify-self: center;
    width: min(100%, 300px);
  }

  .phone-shell {
    width: 100%;
    border-radius: 26px;
  }

  .phone-screen {
    min-height: 532px;
    border-radius: 20px;
  }

  .preview-screenshot {
    min-height: 532px;
  }

  .preview-panel strong {
    font-size: 24px;
  }

  .features {
    padding: 64px 18px 70px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .feature-card {
    display: grid;
    grid-template-columns: minmax(114px, 34%) minmax(0, 1fr);
    align-items: stretch;
  }

  .feature-shot {
    height: auto;
    min-height: 238px;
  }

  .feature-shot::after {
    display: none;
  }

  .feature-copy {
    min-height: 0;
    padding: 18px;
  }

  .feature-card h3 {
    margin-top: 14px;
    font-size: 20px;
  }

  .feature-card p {
    font-size: 14px;
    line-height: 1.65;
  }
}
