:root {
  --bean: #f2c21a;
  --bean-deep: #e0a800;
  --leaf: #2f9e5d;
  --leaf-deep: #217a46;
  --soil: #2a241c;
  --paper: #f7f3e8;
  --sky1: #cfeaf7;
  --sky2: #eef8e8;
  --ink: #1f2a22;
  --muted: #5d6b61;
  --line: rgba(31, 42, 34, 0.1);
  --shadow: 0 24px 60px rgba(42, 36, 28, 0.14);
  --font-display: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 70% 50% at 15% 10%, rgba(242, 194, 26, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 45% at 90% 0%, rgba(47, 158, 93, 0.22), transparent 50%),
    linear-gradient(180deg, var(--sky1) 0%, var(--sky2) 42%, var(--paper) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.28;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

.top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}

.top nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.top nav a:hover { color: var(--ink); }

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3.5rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  min-height: calc(100vh - 5rem);
}

.eyebrow {
  margin: 0 0 0.6rem;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--leaf-deep);
}

.logo-type {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 8rem);
  line-height: 0.92;
  color: var(--soil);
}

.tagline {
  margin: 1rem 0 0;
  max-width: 22rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--leaf); color: #fff; }
.btn.primary:hover { background: var(--leaf-deep); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--line);
}
.btn.disabled { opacity: 0.55; cursor: not-allowed; }

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(380px, 90vw);
  height: 420px;
}

.hero-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  z-index: 2;
}

.hero-phone-back {
  right: auto;
  left: 0;
  bottom: 36px;
  width: 64%;
  z-index: 1;
  transform: rotate(-8deg);
  opacity: 0.92;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  padding: 1.35rem 1.2rem;
  border-top: 1px solid var(--line);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.phones {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
}

.phone {
  margin: 0;
  text-align: center;
}

.phone-mid { transform: translateY(-12px); }

.phone-frame {
  background: #1a1f1c;
  border-radius: 1.6rem;
  padding: 0.55rem;
  box-shadow: var(--shadow);
}

.phone-bar {
  width: 34%;
  height: 0.28rem;
  border-radius: 999px;
  background: #3a433d;
  margin: 0.25rem auto 0.55rem;
}

.screen {
  background: #f8fbf7;
  border-radius: 1.15rem;
  min-height: 280px;
  padding: 0.85rem;
  text-align: left;
  color: var(--ink);
}

.screen header {
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
}

.bubble {
  max-width: 85%;
  padding: 0.55rem 0.7rem;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.bubble.left {
  background: #e7f5ec;
  border-bottom-left-radius: 0.25rem;
}

.bubble.right {
  background: var(--bean);
  margin-left: auto;
  border-bottom-right-radius: 0.25rem;
}

.screen-map .map {
  position: relative;
  height: 170px;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(47, 158, 93, 0.2), rgba(207, 234, 247, 0.7)),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 18px,
      rgba(31, 42, 34, 0.04) 18px,
      rgba(31, 42, 34, 0.04) 19px
    );
}

.pin {
  position: absolute;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  font-size: 0.72rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.pin.done {
  left: 18%;
  top: 28%;
  background: var(--leaf);
  color: #fff;
}

.pin:not(.done):not(.shop) {
  right: 18%;
  top: 55%;
}

.pin.shop {
  left: 40%;
  top: 68%;
  background: var(--bean);
}

.map-note {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.ai-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.7rem;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}

.ai-reply {
  background: #eef8f1;
  border-radius: 0.9rem;
  padding: 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.phone figcaption {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.download-panel {
  border-radius: 1.8rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(242, 194, 26, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  text-align: center;
}

.download-panel h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.download-panel > p {
  margin: 0 auto 1.3rem;
  max-width: 32rem;
  color: var(--muted);
}

.dl-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dl-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.dl-note.warn { color: #b35a00; }

.qr-box {
  margin-top: 1.4rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.qr {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 0.8rem;
  padding: 0.4rem;
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-rise { animation: rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both; }
.animate-float { animation: float 6.5s ease-in-out infinite; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 1.5rem;
  }
  .hero-copy { order: 1; }
  .hero-visual { order: 0; }
  .feature-grid,
  .phones { grid-template-columns: 1fr; }
  .phone-mid { transform: none; }
  .hero-visual {
    height: 360px;
    margin-bottom: 0.5rem;
  }
  .top nav {
    gap: 0.8rem;
    font-size: 0.85rem;
  }
}
