:root {
  --green: #35b86b;
  --green-dark: #177245;
  --green-soft: #e8f7ed;
  --leaf: #6fbe44;
  --cream: #fffaf0;
  --paper: #ffffff;
  --ink: #17231c;
  --muted: #66746c;
  --line: rgba(23, 114, 69, 0.12);
  --shadow: 0 24px 80px rgba(33, 92, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(78, 199, 128, 0.22), transparent 34rem),
    radial-gradient(circle at 84% 6%, rgba(255, 197, 67, 0.16), transparent 30rem),
    linear-gradient(180deg, #f5fff8 0%, #fffaf2 50%, #ffffff 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(53, 184, 107, 0.24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
}

.site-nav a {
  padding: 9px 16px;
  border-radius: 999px;
  transition: 0.2s ease;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 72px 0 64px;
}

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

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font-weight: 800;
  border-radius: 999px;
}

.primary-link {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #73c84a);
  box-shadow: 0 16px 36px rgba(53, 184, 107, 0.26);
}

.secondary-link {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

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

.hero-stats div,
.feature-grid article,
.crop-card,
.download-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-stats div {
  padding: 18px;
  border-radius: 24px;
}

.hero-stats strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.iphone-frame {
  position: relative;
  width: min(390px, 100%);
  padding: 12px;
  background:
    linear-gradient(145deg, #111a14, #35423a 48%, #111711),
    #151b17;
  border-radius: 58px;
  box-shadow:
    0 44px 90px rgba(20, 72, 44, 0.26),
    inset 0 0 0 2px rgba(255, 255, 255, 0.12),
    inset 0 0 0 7px rgba(0, 0, 0, 0.34);
}

.iphone-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 52px;
  pointer-events: none;
}

.iphone-frame::after {
  content: "";
  position: absolute;
  inset: auto 28% 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.iphone-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1179 / 2556;
  background: #f8f4eb;
  border-radius: 46px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 0 34px rgba(0, 0, 0, 0.12);
}

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

.dynamic-island {
  position: absolute;
  top: 13px;
  left: 50%;
  z-index: 2;
  width: 96px;
  height: 28px;
  background: #0b0c0a;
  border-radius: 999px;
  transform: translateX(-50%);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.08);
}

.side-button {
  position: absolute;
  width: 4px;
  background: linear-gradient(180deg, #5b665e, #18201a);
  border-radius: 999px;
}

.side-button-left {
  left: -3px;
  top: 140px;
  height: 82px;
}

.side-button-right {
  right: -3px;
  top: 194px;
  height: 112px;
}

.phone {
  position: relative;
  width: min(390px, 100%);
  min-height: 660px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(240, 255, 246, 0.96), rgba(255, 255, 255, 0.96)),
    var(--paper);
  border: 12px solid #1d2c24;
  border-radius: 46px;
  box-shadow: 0 34px 88px rgba(20, 72, 44, 0.24);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(53, 184, 107, 0.14), transparent 45%),
    radial-gradient(circle at 74% 18%, rgba(255, 197, 67, 0.2), transparent 10rem);
  pointer-events: none;
}

.phone > * {
  position: relative;
}

.phone-bar {
  width: 88px;
  height: 6px;
  margin: 0 auto 30px;
  background: #23382c;
  border-radius: 999px;
}

.app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.app-top img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

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

.app-top h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.recommend-card {
  margin-top: 34px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 22px 46px rgba(36, 86, 52, 0.12);
}

.score {
  float: right;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--leaf));
  border-radius: 18px;
}

.recommend-card h3 {
  margin: 0;
  font-size: 34px;
}

.recommend-card p {
  margin: 16px 0;
  color: var(--muted);
  line-height: 1.7;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 7px 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  background: var(--green-soft);
  border-radius: 999px;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

.mini-grid div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.mini-grid span,
.crop-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.mini-grid strong {
  display: block;
  margin-top: 8px;
}

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

.intro {
  padding-top: 12px;
}

.intro p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(25px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.35;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.section-heading h2,
.download-card h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
}

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

.feature-grid article {
  padding: 24px;
  border-radius: 28px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 27px;
  background: var(--green-soft);
  border-radius: 18px;
}

.feature-grid h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.feature-grid p,
.crop-card p,
.download-card p,
.site-footer span,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

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

.crop-card {
  min-height: 230px;
  padding: 28px;
  border-radius: 32px;
}

.crop-card strong {
  display: block;
  margin-top: 18px;
  font-size: 27px;
  line-height: 1.35;
}

.crop-card.hot {
  background: linear-gradient(145deg, rgba(232, 247, 237, 0.92), rgba(255, 255, 255, 0.84));
}

.crop-card.cool {
  background: linear-gradient(145deg, rgba(233, 247, 255, 0.86), rgba(255, 255, 255, 0.84));
}

.crop-card.fruit {
  background: linear-gradient(145deg, rgba(255, 244, 218, 0.9), rgba(255, 255, 255, 0.84));
}

.share-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(53, 184, 107, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 250, 242, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.share-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.14;
}

.share-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.share-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.share-points span {
  padding: 10px 14px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.share-preview {
  position: relative;
  min-height: 660px;
}

.share-screenshot {
  position: absolute;
  display: block;
  width: min(360px, 72%);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: 0 24px 62px rgba(31, 91, 55, 0.2);
}

.share-screenshot-record {
  top: 0;
  left: 0;
  z-index: 2;
  transform: rotate(-3deg);
}

.share-screenshot-plant {
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: rotate(4deg);
}

.download-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 40px;
}

.app-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 18px;
  color: #fff;
  background: #111;
  border-radius: 18px;
}

.app-store.disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.app-store img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.app-store small {
  display: block;
  font-size: 11px;
  line-height: 1;
}

.app-store span {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.05;
}

.coming-soon {
  color: var(--green-dark);
  font-weight: 800;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  width: 180px;
  height: 180px;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
  background: #fff;
  border: 1px dashed rgba(23, 114, 69, 0.28);
  border-radius: 28px;
}

.qr-placeholder.has-image {
  padding: 8px;
  border-style: solid;
}

.qr-image-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.qr-placeholder.has-image .qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 23%;
  height: 23%;
  padding: 5px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(20, 72, 44, 0.18);
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.qr-grid {
  width: 96px;
  height: 96px;
  opacity: 0.62;
  background:
    linear-gradient(90deg, var(--green-dark) 10px, transparent 10px) 0 0 / 24px 24px,
    linear-gradient(var(--green-dark) 10px, transparent 10px) 0 0 / 24px 24px,
    var(--green-soft);
  border-radius: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 52px;
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer p {
  margin: 0;
}

.footer-legal {
  text-align: center;
}

.icp-placeholder {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 0 !important;
  font-size: 13px;
}

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

@media (max-width: 920px) {
  .hero,
  .download-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-visual {
    justify-content: center;
  }

  .feature-grid,
  .crop-showcase,
  .share-layout {
    grid-template-columns: 1fr 1fr;
  }

  .share-layout {
    grid-template-columns: 1fr;
  }

  .qr-placeholder {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: min(100% - 28px, 1160px);
  }

  .site-nav {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .hero,
  .section,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px 0 42px;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .hero-text {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.72;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .primary-link,
  .secondary-link {
    min-height: 48px;
    padding: 0 14px;
    font-size: 15px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .hero-stats div {
    padding: 14px 10px;
    border-radius: 18px;
  }

  .hero-stats strong {
    font-size: 21px;
  }

  .hero-stats span {
    font-size: 12px;
    line-height: 1.35;
  }

  .feature-grid,
  .crop-showcase,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .share-layout {
    padding: 24px;
    border-radius: 30px;
  }

  .share-copy h2,
  .section-heading h2,
  .download-card h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .share-copy p {
    font-size: 16px;
    line-height: 1.72;
  }

  .share-preview {
    display: grid;
    gap: 16px;
    min-height: 0;
  }

  .share-screenshot {
    position: static;
    width: min(100%, 360px);
    margin: 0 auto;
    border-radius: 22px;
    transform: none;
  }

  .share-screenshot-record {
    left: 0;
  }

  .share-screenshot-plant {
    right: 0;
  }

  .phone,
  .iphone-frame {
    min-height: 590px;
    border-width: 8px;
    border-radius: 38px;
  }

  .iphone-frame {
    width: min(315px, 100%);
    min-height: 0;
    padding: 8px;
    border-radius: 44px;
  }

  .iphone-screen {
    border-radius: 36px;
  }

  .dynamic-island {
    top: 10px;
    width: 74px;
    height: 22px;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    display: block;
  }

  .download-card {
    gap: 24px;
    padding: 24px;
    border-radius: 30px;
  }

  .download-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .app-store {
    justify-content: center;
    width: 100%;
  }

  .coming-soon {
    text-align: center;
  }

  .qr-placeholder {
    width: 168px;
    height: 168px;
    justify-self: center;
  }

  .site-footer {
    display: block;
    width: min(100% - 24px, 1160px);
    padding: 28px 0 42px;
  }

  .site-footer p {
    margin-top: 0;
  }

  .footer-legal {
    text-align: center;
  }

  .icp-placeholder {
    justify-content: center;
  }
}
