:root {
  --safe-green: #1f7a3f;
  --alert-red: #b32828;
  --soil-gray: #3a3f42;
  --ink: #1f2328;
  --bg: #f8fbf8;
  --card: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.75;
}
.wrap { width: min(1100px, 92vw); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #1d6f3a;
  color: #fff;
  border-bottom: 2px solid #2c8a4f;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
}
.brand { font-weight: 800; color: #fff; text-decoration: none; }
.top-nav {
  display: flex;
  gap: 12px;
  align-items: center;
}
.top-nav a {
  color: #e8f5ec;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.top-nav a:hover { text-decoration: underline; }
.cta-mini {
  color: #fff; text-decoration: none; font-weight: 700;
  background: #2e8f53; padding: 10px 14px; border-radius: 10px;
  font-size: 16px;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #2f5a3e;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.hero::before {
  background-image:
    linear-gradient(120deg, rgba(44, 79, 55, 0.45), rgba(87, 118, 96, 0.30)),
    url("https://images.unsplash.com/photo-1606851184880-79a3adf6f2ac?auto=format&fit=crop&w=1800&q=72");
  animation: heroFadeA 12s ease-in-out infinite;
}
.hero::after {
  background-image:
    linear-gradient(120deg, rgba(37, 70, 48, 0.40), rgba(72, 103, 81, 0.28)),
    url("https://images.unsplash.com/photo-1598787993441-1e5bd7f66ca0?auto=format&fit=crop&w=1800&q=72");
  animation: heroFadeB 12s ease-in-out infinite;
}
@keyframes heroFadeA {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0; }
}
@keyframes heroFadeB {
  0%, 45% { opacity: 0; }
  55%, 100% { opacity: 1; }
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 32px 0; }
.hero h1 { font-size: clamp(34px, 5.6vw, 56px); line-height: 1.2; margin: 0 0 14px; }
.lead { font-size: clamp(21px, 2.8vw, 27px); margin-bottom: 18px; max-width: 760px; }
.scene-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.scene-tags span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.88);
  color: #234d35;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 15px;
  font-weight: 700;
}
.chat-demo {
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 14px;
  margin: 12px 0 16px;
  max-width: 760px;
  font-size: 18px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 0 16px;
}
.hero-metrics div {
  background: rgba(255, 255, 255, 0.90);
  color: #224634;
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.98);
}
.hero-metrics strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
}
.hero-metrics span {
  display: block;
  font-size: 15px;
  margin-top: 3px;
}
.cta {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  background: var(--alert-red);
  padding: 16px 22px;
  border-radius: 10px;
}
.note { font-size: 16px; color: #e8efea; margin-top: 10px; }

.section { padding: 54px 0; }
.section h2 { font-size: clamp(30px, 4.2vw, 40px); line-height: 1.25; margin: 0 0 22px; }
.alt { background: #f1f8f2; border-top: 1px solid #deebdf; border-bottom: 1px solid #deebdf; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  background: var(--card);
  border: 1px solid #dce8de;
  border-left: 5px solid var(--safe-green);
  border-radius: 12px;
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 28px; }
.inline-link {
  color: var(--safe-green);
  font-weight: 700;
  text-decoration: none;
}
.inline-link:hover { text-decoration: underline; }
.link-grid .card { min-height: 220px; }
.bullet-list {
  margin: 0;
  padding-left: 20px;
}
.bullet-list li { margin-bottom: 8px; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-block;
  text-decoration: none;
  background: #e8f3eb;
  border: 1px solid #cfe2d5;
  color: #1f2328;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 16px;
}
.chip:hover {
  border-color: var(--safe-green);
  color: var(--safe-green);
}
.story-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.story-nav a {
  display: inline-block;
  text-decoration: none;
  border: 1px solid #cfe2d5;
  background: #f5faf6;
  color: #1f2328;
  padding: 8px 10px;
  border-radius: 10px;
}
.story-nav a:hover {
  border-color: var(--safe-green);
  color: var(--safe-green);
}
.faq-item {
  background: #fff;
  border: 1px solid #d8e0da;
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 10px;
}
.faq-item h3 { margin: 0 0 8px; color: var(--soil-gray); font-size: 26px; }

.contact-section {
  background: #f3f9f4;
  border-top: 1px solid #dce6de;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.contact-card, .qr-card {
  background: #fff;
  border: 1px solid #dce8de;
  border-radius: 12px;
  padding: 20px;
}
.contact-card a {
  color: var(--safe-green);
  font-weight: 700;
}
.contact-prompts {
  margin: 10px 0 14px;
  padding-left: 20px;
}
.contact-prompts li { margin-bottom: 6px; }
.scenario-cta {
  display: inline-block;
  text-decoration: none;
  background: #1f7a3f;
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
}
.scenario-cta:hover { background: #1a6836; }
.qr-card {
  text-align: center;
}
.qr-card img {
  width: min(210px, 100%);
  border: 1px solid #d8e0da;
  border-radius: 10px;
  background: #fff;
}

.footer {
  background: #245b3b;
  color: #dbe4dc;
  padding: 22px 0 26px;
  border-top: 2px solid #2f7d51;
}
.footer a { color: #dbe4dc; }
.visit-stats {
  font-size: 14px;
  opacity: 0.92;
}
.mobile-fab {
  position: fixed;
  right: 14px;
  bottom: 78px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: #1f7a3f;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: none;
}
.mobile-fab:hover { background: #1a6836; }
.mobile-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background: rgba(29, 111, 58, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bottom-nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  padding: 10px 8px;
}
.mobile-bottom-nav a.primary {
  background: #b32828;
  border-color: #b32828;
}

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; }
  body { font-size: 22px; line-height: 1.8; }
  .section { padding: 40px 0; }
  .card h3 { font-size: 26px; }
  .faq-item h3 { font-size: 24px; }
  .topbar .wrap { gap: 8px; flex-wrap: wrap; }
  .top-nav { width: 100%; justify-content: space-between; }
  .top-nav a { font-size: 16px; }
  .cta, .cta-mini { width: 100%; text-align: center; font-size: 20px; }
  .cta { padding: 16px 18px; }
  .chip { font-size: 17px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .qr-card img { width: min(180px, 100%); }
  .hero { min-height: auto; }
  .hero-content { padding: 26px 0 32px; }
  .hero h1 { font-size: 38px; }
  .lead { font-size: 24px; }
  .scene-tags span { font-size: 17px; padding: 8px 12px; }
  .chat-demo { font-size: 20px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics strong { font-size: 28px; }
  .hero-metrics span { font-size: 17px; }
  .note { font-size: 18px; }
  .mobile-fab { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 84px; }
}
