:root {
  --main-green: #4CAF50;
  --earth-brown: #8D6E63;
  --light-yellow: #FFF9C4;
  --light-gray: #F5F5F5;
  --font-main: '思源黑体', 'Microsoft YaHei', Arial, sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--light-gray);
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  padding-top: 70px; /* 根据导航栏高度调整 */
}

/* 导航栏样式 */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 8vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--main-green);
  font-weight: bold;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

.navbar-logo span {
  margin-right: 8px;
}

.navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-menu li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--main-green);
  transition: width 0.3s ease;
}

.navbar-menu li a:hover,
.navbar-menu li a.active {
  color: var(--main-green);
}

.navbar-menu li a:hover::after,
.navbar-menu li a.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-consult {
  background: var(--main-green);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76,175,80,0.2);
}

.btn-consult:hover {
  transform: translateY(-2px);
  background: #388e3c;
  box-shadow: 0 6px 20px rgba(76,175,80,0.3);
}

.lang-switch {
  padding: 0.5rem 1rem;
  border: 2px solid var(--main-green);
  border-radius: 20px;
  background: white;
  color: var(--main-green);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: var(--light-yellow);
  transform: translateY(-2px);
}

/* Banner区 */
.banner {
  position: relative;
  background: linear-gradient(120deg, var(--main-green) 60%, var(--earth-brown) 100%);
  min-height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 4rem 12vw;
  color: #fff;
  overflow: hidden;
}

.banner:before {
  content: '🌾';
  position: absolute;
  top: 5%;
  right: 15%;
  font-size: 8em;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.banner:after {
  content: '🌱';
  position: absolute;
  bottom: 10%;
  right: 25%;
  font-size: 6em;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.banner-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 50vw;
  max-width: 800px;
  height: 100%;
  background: url('https://img1.imgtp.com/2023/07/21/0QwQwQwQwQ.png') no-repeat right bottom/contain;
  opacity: 0.15;
  pointer-events: none;
  animation: fadeIn 1.5s ease-out;
}

.banner-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  animation: slideUp 1s ease-out;
}

.banner-subtitle {
  font-size: 1.6em;
  margin-bottom: 3rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
  animation: slideUp 1s ease-out 0.2s backwards;
}

.banner-funcs {
  display: flex;
  gap: 2.5rem;
  margin-top: 1rem;
  animation: slideUp 1s ease-out 0.4s backwards;
}

.func-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 1.5rem 2.5rem;
  color: #fff;
  font-weight: 500;
  font-size: 1.2em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.func-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.func-btn .icon {
  font-size: 2.8em;
  margin-bottom: 12px;
}

/* 特色功能区 */
.features {
  padding: 5rem 8vw;
  background: #fff;
  text-align: center;
}

.section-title, .features-title {
  font-size: 2.4em;
  color: var(--earth-brown);
  margin-bottom: 3rem;
  font-weight: bold;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--main-green);
  border-radius: 3px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 20px;
  transition: all 0.3s;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.feature-icon {
  font-size: 3em;
  color: var(--main-green);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
}

.feature-desc {
  color: #666;
  line-height: 1.6;
  font-size: 1.1em;
}

/* 数据统计区 */
.stats {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, var(--light-gray) 100%);
  padding: 4rem 8vw;
  margin-top: -2rem;
}

.stats-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}

.stat-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--main-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 1.2em;
}

/* 页脚区域 */
.footer {
  position: relative;
  background: var(--light-gray);
  color: #333;
  padding-top: 4rem;
}

.footer-wave {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-content {
  position: relative;
  z-index: 1;
  padding: 0 8vw 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--main-green);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--main-green);
  transition: width 0.3s;
}

.footer-section:hover h3::after {
  width: 100%;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #666;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

.footer-section a:hover {
  color: var(--main-green);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: var(--main-green) !important;
  text-decoration: none;
  transition: all 0.3s !important;
}

.social-link:hover {
  background: var(--main-green);
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(76,175,80,0.3);
}

.qr-code {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
}

.qr-code:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom p {
  margin: 0.5rem 0;
  color: #666;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
  margin: 0 10px;
  transition: all 0.3s;
}

.footer-bottom a:hover {
  color: var(--main-green);
}

/* 新闻动态区域 */
.news {
  padding: 5rem 8vw;
  background: var(--light-gray);
  text-align: center;
}

.news .section-title {
  margin-bottom: 3rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.12);
}

.news-image {
  height: 200px;
  background: var(--light-gray);
  background-size: cover;
  background-position: center;
}

.news-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--light-yellow);
  color: var(--earth-brown);
  border-radius: 20px;
  font-size: 0.9em;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.news-title {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 1rem;
  font-weight: bold;
  line-height: 1.4;
}

.news-excerpt {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  color: #999;
  font-size: 0.9em;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 1rem;
}

.news-meta span::before {
  margin-right: 5px;
  font-size: 1.1em;
}

.news-views::before {
  content: '👁️';
}

.news-date::before {
  content: '📅';
}

/* 用户评价轮播 */
.testimonials {
  padding: 5rem 8vw;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.testimonials-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('path/to/pattern.png');
  opacity: 0.1;
  pointer-events: none;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
  height: 300px;
}

.testimonial-card {
  position: absolute;
  width: 100%;
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  text-align: center;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  top: 0;
  left: 0;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-avatar {
  font-size: 3.5em;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.testimonial-content {
  font-size: 1.2em;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  color: var(--main-green);
  font-weight: bold;
  font-size: 1.1em;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--main-green);
  transform: scale(1.2);
}

/* 动画 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 0.15; transform: translateX(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 页面滚动显示动画 */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-in-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式样式 */
@media (max-width: 900px) {
  .navbar {
    padding: 0.6rem 4vw;
  }
  
  .navbar-menu {
    gap: 1rem;
  }
  
  .navbar-menu li a {
    font-size: 0.95em;
  }
  
  .btn-consult {
    padding: 0.6rem 1.2rem;
    font-size: 0.9em;
  }
  
  .lang-switch {
    padding: 0.5rem 1rem;
    font-size: 0.9em;
  }

  .banner {
    padding: 3rem 6vw;
    min-height: auto;
  }
  .banner-title {
    font-size: 2.2em;
  }
  .banner-subtitle {
    font-size: 1.3em;
  }
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.5rem 4vw;
  }

  .navbar-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0;
    gap: 0.8rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .navbar-menu::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    padding: 1rem 4vw;
  }
  .navbar-menu {
    gap: 1rem;
    font-size: 1em;
    margin: 1rem 0;
  }
  .banner {
    padding: 2rem 4vw;
    text-align: center;
    align-items: center;
  }
  .banner-title {
    font-size: 1.8em;
  }
  .banner-subtitle {
    font-size: 1.1em;
  }
  .banner-funcs {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  .func-btn {
    width: 100%;
    max-width: 280px;
  }
  .features {
    padding: 3rem 4vw;
  }
  .features-title {
    font-size: 1.8em;
  }
}