:root {
  --green: #62c600;
  --green-dark: #3f9e0f;
  --green-soft: #88c850;
  --ink: #24281a;
  --ink-soft: #5a6050;
  --bg: #f4f7f2;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(36, 40, 26, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 40, 26, 0.06);
  transition: box-shadow 0.3s ease;
}

.header.scrolled { box-shadow: 0 4px 24px rgba(36, 40, 26, 0.08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

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

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav { display: flex; gap: 34px; }

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 15px;
  transition: color 0.2s ease;
}

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

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- 首屏 ---------- */
.hero {
  background: linear-gradient(160deg, #f0f8e6 0%, var(--white) 70%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 90px 0 100px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(98, 198, 0, 0.12);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-desc {
  margin-top: 20px;
  max-width: 480px;
  color: var(--ink-soft);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-soft) 100%);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(98, 198, 0, 0.35);
}

.btn-ghost {
  color: var(--green-dark);
  border: 1.5px solid rgba(98, 198, 0, 0.55);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 52px;
  list-style: none;
}

.hero-stats strong {
  display: block;
  font-size: 28px;
  color: var(--green-dark);
}

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

.hero-stats em {
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
}

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

.hero-ring {
  position: relative;
  z-index: 2;
  width: min(320px, 70vw);
  height: min(320px, 70vw);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}

.hero-ring img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.hero-blob {
  position: absolute;
  z-index: 1;
  width: 130%;
  height: 130%;
  border-radius: 42% 58% 55% 45% / 48% 45% 55% 52%;
  background: linear-gradient(140deg, rgba(98, 198, 0, 0.18), rgba(136, 200, 80, 0.08));
  animation: morph 9s ease-in-out infinite;
}

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

@keyframes morph {
  0%, 100% { border-radius: 42% 58% 55% 45% / 48% 45% 55% 52%; }
  50% { border-radius: 55% 45% 42% 58% / 52% 55% 45% 48%; }
}

/* ---------- 通用区块 ---------- */
.section { padding: 96px 0; }

.section-alt { background: var(--bg); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--green);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: 1px;
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
}

/* ---------- 品牌介绍 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.about-card {
  background: var(--white);
  border: 1px solid rgba(36, 40, 26, 0.05);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.about-card:hover { transform: translateY(-6px); }

.about-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(98, 198, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.about-card h3 { font-size: 19px; margin-bottom: 10px; }

.about-card p { color: var(--ink-soft); font-size: 14.5px; }

/* ---------- 产品系列 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.product-card:hover { transform: translateY(-6px); }

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(36, 40, 26, 0.72);
  color: var(--white);
  font-size: 12px;
}

.product-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 2px;
}

.thumb-a { background: linear-gradient(135deg, #e8f6d8, #c9ecab); }
.thumb-b { background: linear-gradient(135deg, #fdf1d8, #f9e0a8); }
.thumb-c { background: linear-gradient(135deg, #e3f2ff, #c8e3fb); }
.thumb-d { background: linear-gradient(135deg, #f4ecff, #e0cdfa); }

.product-card h3 { font-size: 18px; padding: 20px 22px 0; }

.product-card p {
  padding: 8px 22px 24px;
  color: var(--ink-soft);
  font-size: 14px;
}

.product-note {
  margin-top: 34px;
  text-align: center;
  font-size: 13px;
  color: #9aa191;
}

/* ---------- 品牌优势 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.feature-item {
  text-align: center;
  padding: 34px 22px;
  border-radius: var(--radius);
  background: var(--bg);
  transition: background 0.25s ease, transform 0.25s ease;
}

.feature-item:hover {
  background: rgba(98, 198, 0, 0.1);
  transform: translateY(-4px);
}

.feature-item strong {
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

.feature-item p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 社区 ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--green);
}

.quote-card p { font-size: 15.5px; }

.quote-card footer {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* ---------- 小程序 CTA ---------- */
.cta {
  background: linear-gradient(140deg, #3f9e0f 0%, #62c600 60%, #88c850 100%);
  color: var(--white);
}

.cta .section-eyebrow { color: rgba(255, 255, 255, 0.85); }

.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.cta h2 { font-size: clamp(24px, 3vw, 34px); }

.cta-text > p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.cta-list {
  margin-top: 26px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.cta-list li {
  padding-left: 26px;
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
}

.cta-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-visual {
  justify-self: center;
  background: var(--white);
  border-radius: 24px;
  padding: 34px 38px 26px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.cta-visual img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  padding: 12px;
  border: 1.5px dashed rgba(98, 198, 0, 0.5);
  border-radius: 16px;
}

.cta-visual span {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- 页脚 ---------- */
.footer {
  background: #1d2114;
  color: rgba(255, 255, 255, 0.82);
  padding: 56px 0 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img { width: 44px; height: 44px; }

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 18px;
  letter-spacing: 2px;
}

.footer-brand p { font-size: 13px; }

.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-nav a:hover { color: var(--green-soft); }

.footer-copy {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 0 70px;
    text-align: center;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; gap: 34px; }
  .about-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-list li { text-align: left; }
}

@media (max-width: 640px) {
  .nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(36, 40, 26, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 14px 6%; border-bottom: 1px solid rgba(36, 40, 26, 0.05); }
  .menu-btn { display: flex; }
  .product-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .section { padding: 64px 0; }
}
