/* ==========================================================================
   1. 初始化与全局变量 (CSS Reset & Global Variables)
   ========================================================================== */
:root {
  /* 品牌色彩系统 */
  --color-primary: #0B6623;       /* 深邃绿（环保与专业） */
  --color-primary-hover: #084d1a; /* 深绿悬停色 */
  --color-secondary: #4FFFB0;     /* 辅助薄荷绿 */
  --color-accent: #0A84FF;        /* 科技蓝 */
  --color-accent-hover: #0066cc;  /* 科技蓝悬停色 */
  
  /* 中性色系 */
  --color-bg-light: #F8F9FA;      /* 浅灰白背景 */
  --color-bg-white: #FFFFFF;      /* 纯白 */
  --color-text-dark: #212529;     /* 深灰文字 */
  --color-text-muted: #6C757D;    /* 弱化灰色文字 */
  --color-border: #DEE2E6;        /* 边框色 */
  
  /* 字体与阴影 */
  --font-sans: 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(11, 102, 35, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 15px rgba(79, 255, 176, 0.4);
  
  /* 布局控制 */
  --container-max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 全局重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  overflow-x: hidden;
}

/* 排版基础 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

/* ==========================================================================
   2. 辅助与通用类 (Utility Classes)
   ========================================================================== */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.25rem;
  padding-left: 1.25rem;
  max-width: var(--container-max-width);
}

.section {
  padding: 5rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   3. 置顶吸顶式导航栏 (Header & Navigation)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

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

/* 纯文字CSS Logo */
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo span {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 导航链接 (PC默认，手机端用媒体查询隐藏折叠) */
.nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* 导航区按钮 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 汉堡菜单按钮 (移动端专用) */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

/* 汉堡按钮活动状态 */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 移动端下拉菜单容器 */
.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-bg-white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition-smooth);
  z-index: 999;
}

.mobile-nav.active {
  height: calc(100vh - 70px);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 0;
  gap: 2rem;
  list-style: none;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   4. 按钮样式与 Hover 动画 (Buttons & CTA)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: scale(1.05);
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-bg-white);
  border: 2px solid var(--color-bg-white);
}

.btn-secondary:hover {
  transform: scale(1.05);
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

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

.btn-accent:hover {
  transform: scale(1.05);
  background-color: var(--color-accent-hover);
  box-shadow: 0 5px 15px rgba(10, 132, 255, 0.4);
}

/* 呼吸灯效果主要用于主呼吁按钮 */
@keyframes breathing-glow {
  0% { box-shadow: 0 0 5px rgba(11, 102, 35, 0.4); }
  50% { box-shadow: 0 0 20px rgba(79, 255, 176, 0.7); }
  100% { box-shadow: 0 0 5px rgba(11, 102, 35, 0.4); }
}

.btn-glow {
  animation: breathing-glow 2.5s infinite ease-in-out;
}

/* ==========================================================================
   5. 英雄区 (Hero Section)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-bg-white);
}

/* 暗色线性渐变遮罩，提高文字可读性与商业科技美感 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 40, 15, 0.9) 0%, rgba(10, 30, 50, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--color-bg-white);
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--color-secondary);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   6. 痛点分析区 (Pain Points Section)
   ========================================================================== */
.painpoints-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.painpoint-card {
  background-color: var(--color-bg-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
  transition: var(--transition-smooth);
}

.painpoint-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.painpoint-icon {
  font-size: 2.5rem;
  color: #DC3545; /* 红色警告感 */
  margin-bottom: 1.25rem;
}

.painpoint-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.painpoint-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   7. 核心解决方案 (Solutions Section)
   ========================================================================== */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.solution-card {
  background-color: var(--color-bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.solution-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.solution-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.solution-card:hover .solution-img {
  transform: scale(1.1);
}

.solution-info {
  padding: 2rem;
}

.solution-title {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.solution-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.solution-features {
  list-style: none;
}

.solution-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.solution-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* ==========================================================================
   8. 信任背书与资质 (Social Proof Section)
   ========================================================================== */
.proof-section {
  background: linear-gradient(180deg, var(--color-bg-white) 0%, var(--color-bg-light) 100%);
}

.qualification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.qualification-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.qualification-title {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: bold;
}

.qualification-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.testimonial-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background: var(--color-bg-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 5rem;
  color: rgba(11, 102, 35, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--color-text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-meta h4 {
  font-size: 1rem;
  color: var(--color-primary);
}

.author-meta p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   9. 关于我们 (About Us Section)
   ========================================================================== */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h3 {
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.about-text {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.contact-info-list {
  list-style: none;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-icon {
  color: var(--color-primary);
  font-weight: bold;
}

.contact-text h4 {
  font-size: 0.95rem;
  color: var(--color-text-dark);
}

.contact-text p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   10. 常见问题 (FAQ Accordion Section)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-white);
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--color-bg-white);
  transition: var(--transition-smooth);
  user-select: none;
}

.faq-header:hover {
  background-color: rgba(11, 102, 35, 0.03);
}

.faq-title {
  font-size: 1.05rem;
  color: var(--color-text-dark);
  font-weight: 600;
  padding-right: 1rem;
}

.faq-icon {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
}

/* 加号与减号切换效果 */
.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  max-height: 1000px; /* 展开动画 */
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   11. 终极呼吁与表单 (Final CTA & Form Section)
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, rgba(11, 102, 35, 0.95) 0%, rgba(10, 50, 30, 0.95) 100%);
  color: var(--color-bg-white);
}

.final-cta .section-title {
  color: var(--color-bg-white);
}

.final-cta .section-title::after {
  background-color: var(--color-secondary);
}

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

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-bg-white);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  color: var(--color-text-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11, 102, 35, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B6623' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

/* ==========================================================================
   12. 页尾与合规信息 (Footer Section)
   ========================================================================== */
.footer {
  background-color: #121C15;
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 4px solid var(--color-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-info-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-bg-white);
  margin-bottom: 1rem;
}

.footer-info-desc {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--color-bg-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a:hover {
  color: var(--color-secondary);
  padding-left: 0.25rem;
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a:hover {
  color: var(--color-bg-white);
}

.beian-link {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.beian-link:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   13. 响应式布局优化 (Responsive Media Queries)
   ========================================================================== */

/* 中型屏幕 (平板 - 768px 及以上) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-btns {
    flex-direction: row;
  }
  
  .painpoints-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .qualification-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .testimonial-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* 大型屏幕 (台式机 - 992px 及以上) */
@media (min-width: 992px) {
  .header-container {
    height: 80px;
  }
  
  .menu-toggle {
    display: none; /* 隐藏汉堡菜单 */
  }
  
  .nav {
    display: block; /* 展示PC端导航 */
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .painpoints-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-wrapper {
    grid-template-columns: 1.1fr 0.9fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}