/* ============================================
   绿帽社 · 绿意新生 · 帽上添花
   设计主题：绿野仙踪 · 自然有机 · 生态美学
   风格：柔和渐变绿 + 自然肌理 + 手绘感
   ============================================ */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #f5f9f0;
  color: #2d3e2d;
  line-height: 1.6;
}

/* 核心布局 — 居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section:nth-child(even) {
  background: #edf5e8;
}

/* 导航 — 固定顶部，自然通透 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 249, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(100, 140, 100, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: #2d5e3a;
  letter-spacing: 1px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #6fad6f, #3d7a3d);
  color: #fff;
  box-shadow: 0 2px 8px rgba(60, 120, 60, 0.25);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: 0.2s;
  color: #3d5e3d;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #5b9e5b;
  transition: 0.3s;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 22px;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 600;
  background: linear-gradient(135deg, #5b9e5b, #3a7a3a);
  box-shadow: 0 2px 10px rgba(70, 140, 70, 0.3);
  transition: 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(70, 140, 70, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #2d5e3a;
  cursor: pointer;
}

/* 首页Hero — 自然生长感 */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #f5f9f0 0%, #dce8d4 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '🌱';
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 8rem;
  opacity: 0.06;
  transform: rotate(-15deg);
}

.hero::after {
  content: '🍃';
  position: absolute;
  bottom: 8%;
  right: 6%;
  font-size: 10rem;
  opacity: 0.05;
  transform: rotate(20deg);
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
  background: rgba(90, 160, 90, 0.15);
  color: #3a7a3a;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(90, 160, 90, 0.2);
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #1d3e1d;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: linear-gradient(120deg, #4d8e4d, #2d6e2d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.75;
  max-width: 560px;
  margin-bottom: 32px;
  color: #3d5e3d;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(60, 120, 60, 0.15);
  border: 2px solid rgba(120, 180, 120, 0.2);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 — 自然圆润 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: 0.25s;
  font-size: 0.95rem;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #5b9e5b, #3a7a3a);
  box-shadow: 0 2px 12px rgba(70, 140, 70, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(70, 140, 70, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid #5b9e5b;
  color: #2d5e3a;
}

.btn-outline:hover {
  background: rgba(90, 160, 90, 0.1);
  transform: translateY(-2px);
}

/* 标签/标题 — 有机感 */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: #5b9e5b;
  text-transform: uppercase;
  position: relative;
  padding-left: 36px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background: #5b9e5b;
  border-radius: 2px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
  color: #1d3e1d;
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 40px;
  color: #3d5e3d;
  font-size: 1.05rem;
}

/* 卡片网格 — 叶子形态 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid rgba(100, 160, 100, 0.15);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #6fad6f, #3d7a3d);
  opacity: 0;
  transition: 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(60, 120, 60, 0.12);
  border-color: rgba(90, 160, 90, 0.3);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #d4e8d4, #b8d8b8);
  color: #2d5e3a;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #3a7a3a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: 0.2s;
}

.card-link:hover {
  gap: 8px;
  color: #1d5e1d;
}

/* 特性块 — 左右自然分割 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(60, 120, 60, 0.1);
  border: 2px solid rgba(120, 180, 120, 0.15);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  padding: 0 8px;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: #2d4e2d;
}

.feature-list li::before {
  content: '🌿';
  font-weight: 700;
  font-size: 1.1rem;
}

/* 数据条 — 自然生长数据 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 20px;
  border: 1px solid rgba(100, 160, 100, 0.15);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transition: 0.3s;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(60, 120, 60, 0.08);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d6e2d;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #3d5e3d;
}

/* 内容墙 — 卡片式 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(100, 160, 100, 0.12);
  background: #fff;
  transition: 0.3s;
}

.content-wall-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(60, 120, 60, 0.1);
  border-color: rgba(90, 160, 90, 0.25);
}

.content-wall-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.content-wall-body {
  padding: 22px 20px;
}

.content-wall-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1d3e1d;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.7;
  color: #3d5e3d;
}

/* FAQ — 自然手风琴 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(100, 160, 100, 0.15);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  transition: 0.2s;
}

.faq-item:hover {
  border-color: rgba(90, 160, 90, 0.3);
}

.faq-item .faq-question {
  padding: 18px 22px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2d5e3a;
  font-size: 1rem;
}

.faq-item .faq-question::after {
  content: '↓';
  font-size: 1.2rem;
  transition: 0.3s;
  color: #5b9e5b;
}

.faq-item.open .faq-question::after {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding: 0 22px 18px;
  display: none;
  opacity: 0.7;
  line-height: 1.7;
  color: #3d5e3d;
}

.faq-item.open .faq-answer {
  display: block;
}

/* CTA横幅 — 绿意沉浸 */
.cta-banner {
  padding: 60px 24px;
  text-align: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #4d8e4d 0%, #2d6e2d 50%, #1d4e1d 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '🌱🌿🍃';
  position: absolute;
  top: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.08;
  transform: rotate(20deg);
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-banner .btn-primary {
  background: #fff;
  color: #2d6e2d;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* 页脚 — 大地色系 */
.site-footer {
  padding: 60px 0 28px;
  background: #2d3e2d;
  color: rgba(220, 240, 220, 0.85);
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  color: #b8d8b8;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #b8d8b8;
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(200, 230, 200, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  color: #b8d8b8;
}

.footer-bottom {
  border-top: 1px solid rgba(180, 210, 180, 0.15);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
  color: rgba(200, 230, 200, 0.7);
}

/* 工具类 */
.text-accent {
  color: #3a7a3a;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #3d5e3d;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 响应式 — 自然适配 */
@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(245, 249, 240, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(100, 140, 100, 0.15);
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cta-banner h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .section {
    padding: 48px 0;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 40px 20px;
  }
}