/* ==========================================================================
   东莞市佳净清洗材料有限公司 - 官网全局样式表
   Design System & SEO-optimized Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计变量系统 (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* 色彩规范 */
  --primary-color: #0A4D68;          /* 科技/深海蓝 - 传递稳重与专业 */
  --primary-hover: #083C52;          /* 主色悬停深色 */
  --primary-light: #0582CA;          /* 亮蓝色 - 用于微高亮与焦点 */
  --secondary-color: #00A86B;        /* 环保绿 - 代表生态与合规认证 */
  --secondary-hover: #008F5B;        /* 辅助色悬停 */
  --accent-color: #FF6B35;           /* 暖色调 CTA 警示/行动按钮 */
  
  /* 中性色 */
  --text-primary: #1A1D20;           /* 正文高对比度深灰 */
  --text-secondary: #4A5568;         /* 次要信息灰 */
  --text-light: #718096;             /* 补充/说明文字灰 */
  --bg-main: #FFFFFF;                /* 纯白主背景 */
  --bg-secondary: #F8F9FA;           /* 浅灰区块背景 */
  --bg-dark: #0F172A;                 /* 页脚/深色背景区 */
  --border-color: #E2E8F0;           /* 边框分割线颜色 */

  /* 字体系统 */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  
  /* 布局与留白 */
  --site-max-width: 1200px;
  --section-padding-desktop: 90px 0;
  --section-padding-mobile: 50px 0;
  --container-padding: 0 20px;

  /* 阴影与微调 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. 基础重置与全局规则 (Reset & Base)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* 全站平滑锚点滚动 */
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
}

/* --------------------------------------------------------------------------
   3. 排版网格与排版系统 (Layout & Typography)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding-desktop);
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary-color);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   4. UI 组件库 (Buttons, Badges & Cards)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 77, 104, 0.25);
}

.btn-accent {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-accent:hover {
  background-color: #e55a27;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
}

.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   5. 导航栏 (Header & Sticky Nav)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-fast);
}

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

/* CSS 设计感 Logo (无图片依赖) */
.brand-logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.brand-logo .logo-mark {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-right: 10px;
  font-size: 1.1rem;
}

.brand-logo .logo-tag {
  font-size: 0.75rem;
  background: var(--bg-secondary);
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  font-weight: 600;
}

/* 导航菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

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

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

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.phone-link {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 移动端汉堡按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   6. 英雄区 (Hero Section)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: 160px;
  padding-bottom: 110px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(10, 77, 104, 0.82)),
              url('images/hero-bg.jpg') center/cover no-repeat;
  color: #ffffff;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 168, 107, 0.2);
  border: 1px solid var(--secondary-color);
  color: #26e69a;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-features {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.hero-feature-item svg {
  fill: var(--secondary-color);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. 痛点分析区 (Pain Points)
   -------------------------------------------------------------------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pain-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-left: 4px solid #e53e3e;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

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

.pain-card .icon-box {
  width: 48px;
  height: 48px;
  background-color: #fff5f5;
  color: #e53e3e;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.pain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.pain-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   8. 解决方案与产品展示 (Solutions & Products)
   -------------------------------------------------------------------------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.solution-card {
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

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

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

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

.solution-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.solution-body {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.solution-body h3 {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.solution-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.solution-list {
  margin-bottom: 24px;
}

.solution-list li {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-list li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   9. E-E-A-T 信任背书与权威认证 (Social Proof)
   -------------------------------------------------------------------------- */
.proof-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
  text-align: center;
}

.stat-card {
  padding: 24px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cert-icon {
  width: 44px;
  height: 44px;
  background: #e6f7f0;
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. 关于我们与在地化 SEO (About Us)
   -------------------------------------------------------------------------- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.about-highlight-item {
  background: var(--bg-secondary);
  padding: 16px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-color);
}

.about-highlight-item h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.about-highlight-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   11. FAQ 问答区块 (FAQ Section)
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  background-color: #fafafa;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px 24px;
}

/* --------------------------------------------------------------------------
   12. 转化表单与终极呼吁 (CTA & Lead Form)
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: #ffffff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-info h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.cta-info p {
  color: #cbd5e1;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* 表单容器 */
.lead-form {
  background: #ffffff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
}

.lead-form h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #fdfdfd;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(5, 130, 202, 0.15);
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
}

.form-checkbox-group input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.form-checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   13. 页尾 (Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding-top: 60px;
  padding-bottom: 30px;
  font-size: 0.9rem;
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 16px;
  line-height: 1.6;
}

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

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-beian a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-beian a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   14. 响应式断点适配 (Responsive Design)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .section {
    padding: var(--section-padding-mobile);
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .about-wrapper, .cta-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-features {
    flex-direction: column;
    gap: 12px;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .header-cta .phone-link {
    display: none; /* 移动端隐藏完整电话文字，保留询价按钮 */
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

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