:root {
  --primary: #1a6b4a;
  --primary-light: #2d8f66;
  --primary-dark: #0f4a32;
  --accent: #c9a227;
  --text: #2c3e50;
  --text-light: #5a6c7d;
  --bg: #f8faf9;
  --white: #ffffff;
  --border: #e8ecea;
  --shadow: 0 4px 24px rgba(26, 107, 74, 0.08);
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-light);
}

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-list a {
  display: block;
  padding: 8px 18px;
  color: var(--text);
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
  background: rgba(26, 107, 74, 0.08);
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  max-width: 640px;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  background: #f0f7f4;
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  margin-left: 12px;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 107, 74, 0.12);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(26, 107, 74, 0.1), rgba(45, 143, 102, 0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

/* About preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  background: linear-gradient(135deg, #e8f5ef, #d4ede0);
  border-radius: var(--radius);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.6;
}

.about-text h2 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.news-item:hover {
  border-color: var(--primary-light);
}

.news-item h3 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 6px;
}

.news-item .date {
  color: var(--text-light);
  font-size: 13px;
}

.news-item .tag {
  background: rgba(26, 107, 74, 0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(26, 107, 74, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 16px;
  color: var(--text);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* Page banner */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.page-banner p {
  opacity: 0.85;
  font-size: 16px;
}

/* Content page */
.content-page {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
  margin-top: -40px;
  position: relative;
}

.content-page h2 {
  font-size: 24px;
  color: var(--primary-dark);
  margin: 32px 0 16px;
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.content-page ul {
  color: var(--text-light);
  padding-left: 24px;
  margin-bottom: 16px;
}

.content-page li {
  margin-bottom: 8px;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.product-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.product-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

.icp-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .about-preview,
  .contact-grid,
  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav-list.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
