/* ============ 主题变量 ============ */
:root {
  --canvas: #fcfcfc;
  --tint: #f0f7f2;          /* 生态绿浅色底 */
  --card: #ffffff;
  --ink: #06251b;           /* 午夜墨绿主标题 */
  --graphite: #142019;      /* 石墨绿次级标题 */
  --slate: #37413c;         /* 石板灰正文 */
  --fog: #6a746e;           /* 雾灰辅助文字 */
  --muted: #959b98;         /* 深雾灰占位 */
  --brand: #16a34a;         /* 生态绿主色 */
  --brand-dark: #0f7a37;    /* 深绿 */
  --brand-deep: #0f3d2a;    /* 主行动深绿（按钮/链接） */
  --emerald: #16ca2e;       /* 翡翠状态绿 */
  --coral: #f26052;
  --radius-sm: 8px;
  --radius-card: 40px;
  --radius-pill: 100px;
  --radius-btn: 12px;
  --shadow-card: rgba(0, 0, 0, 0.1) 0 0 4px -2px;
  --shadow-feature: rgba(0, 0, 0, 0.082) 0 0.36px 1.81px -1.42px,
                    rgba(0, 0, 0, 0.07) 0 1.37px 6.87px -2.83px,
                    rgba(0, 0, 0, 0.016) 0 6px 30px -4.25px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: 'Roboto Mono', 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--canvas);
  color: var(--slate);
  font-size: 14px;
  line-height: 1.43;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

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

/* ============ 导航栏 ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(252, 252, 252, 0.85);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  flex-shrink: 0;
}
.logo-mark { color: var(--brand); }
.logo-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
  line-height: 1;
}
.logo-text em {
  display: block;
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--fog);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  gap: 4px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--tint); color: var(--ink); }
.nav-links a.active { background: var(--tint); color: var(--brand-dark); font-weight: 500; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-fill {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px -6px rgba(22,163,74,0.5);
}
.btn-fill:hover { box-shadow: 0 8px 24px -6px rgba(22,163,74,0.6); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255,255,255,0.8);
  color: var(--brand-deep);
  border-color: var(--brand-deep);
}
.btn-ghost:hover { background: var(--tint); }
.btn-ghost-pill {
  background: #fcfcfc;
  color: var(--brand-dark);
  border-color: rgba(22,163,74,0.4);
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 16px;
}
.btn-ghost-pill:hover { background: #fff; box-shadow: 0 4px 14px -6px rgba(0,0,0,0.2); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 160px 0 120px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 0%, rgba(134, 239, 172, 0.55) 0%, rgba(240, 247, 242, 0) 70%),
    radial-gradient(50% 60% at 80% 30%, rgba(34, 197, 94, 0.28) 0%, rgba(240, 247, 242, 0) 70%),
    var(--tint);
  z-index: -1;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.7);
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(22,202,46,0.2);
}
.hero-title {
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.51px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fog);
  max-width: 640px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 64px; }

.hero-stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num {
  font-family: var(--mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.stat-num sup { font-size: 18px; color: var(--brand); }
.stat-label { font-size: 13px; color: var(--fog); }

/* ============ 区块通用 ============ */
.section { padding: 80px 0; }
.section.tint { background: var(--tint); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-dark);
  letter-spacing: 0.21px;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(22,163,74,0.25);
  background: rgba(22,163,74,0.06);
  margin-bottom: 16px;
}
.section-title {
  font-size: 40px;
  line-height: 1.08;
  letter-spacing: -0.76px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-sub { font-size: 16px; color: var(--fog); line-height: 1.6; }

/* ============ 网格 ============ */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ============ 核心优势 ============ */
.adv-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-feature);
  transition: transform .25s ease, box-shadow .25s ease;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-feature), rgba(0,0,0,0.06) 0 12px 30px -8px; }
.adv-card .icon {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(22,163,74,0.08);
  color: var(--brand-dark);
  margin-bottom: 20px;
}
.adv-card .icon svg { width: 24px; height: 24px; }
.adv-card h3 { font-size: 18px; font-weight: 600; color: var(--graphite); margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--fog); line-height: 1.6; }

/* ============ 关于我们 ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.about-text .lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--graphite);
  font-weight: 500;
  margin-bottom: 16px;
}
.about-text p { font-size: 15px; color: var(--slate); line-height: 1.8; }
.values { display: grid; gap: 16px; }
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  background: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}
.v-num {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  flex-shrink: 0;
  padding-top: 2px;
}
.value-item h4 { font-size: 15px; font-weight: 600; color: var(--graphite); margin-bottom: 2px; }
.value-item p { font-size: 13px; color: var(--fog); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tl-item { position: relative; padding-left: 16px; }
.tl-item::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 2px; height: 100%;
  background: rgba(22,163,74,0.18);
}
.tl-year {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-dark);
  display: block;
  margin-bottom: 6px;
}
.tl-item h4 { font-size: 15px; font-weight: 600; color: var(--graphite); margin-bottom: 4px; }
.tl-item p { font-size: 13px; color: var(--fog); line-height: 1.6; }

/* ============ 产品卡片 ============ */
.product-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-feature);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-feature), rgba(0,0,0,0.06) 0 12px 30px -8px; }
.product-thumb {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(22,163,74,0.08);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.product-thumb svg { width: 32px; height: 32px; }
.product-card h3 { font-size: 18px; font-weight: 600; color: var(--graphite); margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--fog); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.more {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.more span { transition: transform .2s ease; }
.more:hover span { transform: translateX(4px); }

/* ============ 新闻卡片 ============ */
.news-card {
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card), rgba(0,0,0,0.06) 0 12px 24px -8px; }
.news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-meta time { font-size: 12px; color: var(--muted); }
.badge {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-dark);
  background: rgba(22,163,74,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}
.news-card h3 { font-size: 17px; font-weight: 600; color: var(--graphite); line-height: 1.4; margin-bottom: 10px; }
.news-card p { font-size: 14px; color: var(--fog); line-height: 1.6; margin-bottom: 18px; flex: 1; }

/* ============ 客户 Logo ============ */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 56px;
}
.client-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
  filter: grayscale(1);
  opacity: 0.7;
  transition: opacity .2s ease;
}
.client-logo:hover { opacity: 1; }

/* ============ 联系我们 ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(22,163,74,0.08);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.contact-list p { font-size: 15px; color: var(--graphite); }
.social { display: flex; gap: 12px; margin-top: 28px; }
.social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.social a:hover { color: var(--brand-dark); border-color: rgba(22,163,74,0.3); background: var(--tint); }
.social svg { width: 18px; height: 18px; }

.contact-form {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--shadow-feature);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #cfcfcf;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 14px;
  color: var(--graphite);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: rgba(22,163,74,1) 0 0 0 3px;
}
.form-tip { font-size: 13px; margin-top: 12px; min-height: 18px; }
.form-tip.ok { color: var(--brand-dark); }
.form-tip.err { color: var(--coral); }

/* ============ 页脚 ============ */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}
.footer-brand .nav-logo { color: #fff; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text em { color: rgba(255,255,255,0.5); }
.footer-brand .logo-mark { color: var(--emerald); }
.footer-brand p { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.footer-col a { display: block; font-size: 14px; margin-bottom: 12px; color: rgba(255,255,255,0.7); transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 14px; margin-bottom: 12px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ============ 响应式 ============ */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 44px; letter-spacing: -1.2px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--canvas);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 130px 0 80px; }
  .hero-title { font-size: 34px; letter-spacing: -0.8px; }
  .hero-sub { font-size: 16px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 300px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 24px; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; letter-spacing: -0.5px; }
  .section { padding: 60px 0; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
