:root {
  --green: #1B6B48;
  --green2: #2D6A4F;
  --green-light: #E8F2EC;
  --bg: #F5F7F4;
  --card: #ffffff;
  --text: #1f2d27;
  --muted: #5b6b63;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* 导航 */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef1ee;
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.brand { font-weight: 800; font-size: 20px; color: var(--green); letter-spacing: .5px; }
.nav-links { display: flex; gap: 24px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--green); }

/* Hero */
.hero {
  background: linear-gradient(160deg, #1B6B48 0%, #2D6A4F 60%, #38865e 100%);
  color: #fff; padding: 88px 20px 96px; text-align: center;
}
.hero-inner { max-width: 720px; margin: 0 auto; }
.eyebrow {
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  opacity: .85; margin-bottom: 18px;
}
.hero h1 { font-size: 44px; line-height: 1.25; font-weight: 800; margin-bottom: 20px; }
.hero-sub { font-size: 17px; opacity: .92; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: #fff; color: var(--green); font-weight: 700;
  padding: 13px 28px; border-radius: 999px; font-size: 16px;
  transition: transform .15s ease;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.6); color: #fff;
  padding: 13px 28px; border-radius: 999px; font-size: 16px;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* 区块通用 */
.section { max-width: var(--maxw); margin: 0 auto; padding: 72px 20px; }
.section-alt { max-width: none; background: var(--green-light); }
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-title { font-size: 30px; font-weight: 800; text-align: center; color: var(--green); margin-bottom: 12px; }
.section-desc { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; font-size: 15px; }

/* 小程序卡片 */
.apps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.app-card {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid #eef1ee; box-shadow: 0 4px 18px rgba(27,107,72,.06);
  display: flex; flex-direction: column;
}
.app-card.main { border: 2px solid var(--green); }
.app-tag {
  display: inline-block; align-self: flex-start;
  background: var(--green-light); color: var(--green);
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.app-card h3 { font-size: 22px; margin-bottom: 10px; }
.app-desc { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.app-feat { list-style: none; margin-bottom: 18px; }
.app-feat li {
  font-size: 14px; color: var(--text); padding-left: 20px; position: relative; margin-bottom: 8px;
}
.app-feat li::before { content: "✓"; color: var(--green); position: absolute; left: 0; font-weight: 700; }

.qr-wrap {
  margin-top: auto; align-self: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.qr-img {
  width: 130px; height: 130px; border-radius: 12px;
  border: 1px solid #e0e8e3; background: #fff;
  box-shadow: 0 4px 12px rgba(27,107,72,.08);
  object-fit: cover;
}
.qr-img.small { width: 110px; height: 110px; }
.qr-label {
  font-size: 12px; color: var(--muted); text-align: center;
}

/* 产品方向 */
.product-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.product-card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  border: 1px solid #eef1ee; box-shadow: 0 4px 18px rgba(27,107,72,.06);
  text-align: center;
}
.product-icon { font-size: 40px; margin-bottom: 12px; }
.product-card h3 { font-size: 20px; color: var(--green); margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.product-status {
  display: inline-block;
  background: var(--green-light); color: var(--green);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}

/* 新书预告 */
#book { background: #fff; }
.book-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px;
  align-items: center;
}
.book-images {
  display: flex; align-items: flex-end; justify-content: center; gap: 16px;
}
.book-cover {
  width: 220px; border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.book-spine {
  width: 140px; border-radius: 6px;
  box-shadow: 0 14px 36px rgba(0,0,0,.14);
  margin-bottom: -20px;
}
.book-text .eyebrow { color: var(--green); font-weight: 700; }
.book-text h2 { font-size: 34px; color: var(--green); margin-bottom: 12px; }
.book-sub { font-size: 16px; color: var(--muted); margin-bottom: 22px; }
.book-text blockquote {
  border-left: 4px solid var(--green);
  padding-left: 18px; margin-bottom: 22px;
  font-size: 18px; color: var(--text); font-style: italic;
}
.book-text blockquote cite {
  display: block; margin-top: 8px;
  font-size: 13px; color: var(--muted); font-style: normal;
}
.book-desc { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.book-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: var(--muted);
}
.book-meta span {
  background: var(--green-light); color: var(--green);
  padding: 4px 12px; border-radius: 999px; font-weight: 600;
}

/* 科普 */
.science-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.science-card {
  background: var(--card); border-radius: var(--radius); padding: 26px;
  border: 1px solid #eef1ee;
}
.science-card h3 { font-size: 19px; color: var(--green); margin-bottom: 10px; }
.science-card p { font-size: 14px; color: var(--muted); }

/* IP */
.ip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ip-card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  border: 1px solid #eef1ee; box-shadow: 0 4px 18px rgba(27,107,72,.06);
  text-align: center;
}
.ip-card h3 { font-size: 20px; color: var(--green); margin-bottom: 10px; }
.ip-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* CTA */
.cta-section { background: linear-gradient(160deg, #1B6B48 0%, #2D6A4F 100%); color: #fff; }
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-section h2 { font-size: 30px; margin-bottom: 14px; }
.cta-section p { font-size: 15px; opacity: .92; margin-bottom: 32px; }
.cta-qrs {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.cta-qrs .qr-img { width: 150px; height: 150px; }
.cta-qrs .qr-label { color: rgba(255,255,255,.9); font-size: 13px; }

/* Footer */
.footer { background: #163d2c; color: #cfe3d8; padding: 40px 20px; text-align: center; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.footer-note { font-size: 13px; opacity: .8; max-width: 600px; margin: 0 auto 12px; }
.footer-icp { font-size: 13px; opacity: .7; }

/* 响应式 */
@media (max-width: 920px) {
  .book-inner { grid-template-columns: 1fr; text-align: center; }
  .book-images { justify-content: center; }
  .book-meta { justify-content: center; }
}
@media (max-width: 820px) {
  .apps-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .science-grid { grid-template-columns: 1fr; }
  .ip-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 25px; }
  .nav-links { gap: 16px; font-size: 14px; }
  .book-cover { width: 180px; }
  .book-spine { width: 110px; }
}
