* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --blue: #165DFF;
  --dark: #1d1d1f;
  --gray: #86868b;
  --light: #f5f5f7;
  --white: #fff;
  --orange: #FF7D00;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; color: var(--dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 导航 */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.1); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.logo { font-size: 20px; font-weight: 600; color: var(--dark); display: inline-flex;
  align-items: center;
  gap: 10px; /* 图标和文字的间距 */
  text-decoration: none; /* 去掉a标签默认下划线 */}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 14px; color: var(--dark); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.menu-btn span { width: 20px; height: 2px; background: var(--dark); transition: 0.3s; }

/* Hero */
/*.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%); padding: 80px 24px; }*/
/*.hero h1 { font-size: clamp(40px, 8vw, 72px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; }*/
/*.hero p { font-size: clamp(18px, 3vw, 24px); color: var(--gray); margin-bottom: 32px; max-width: 600px; }*/
/*.btn-primary { display: inline-block; padding: 14px 32px; background: var(--blue); color: var(--white); border-radius: 980px; font-size: 16px; font-weight: 500; transition: transform 0.2s, background 0.2s; }*/
/*.btn-primary:hover { transform: scale(1.02); background: #1249cc; }*/





/* Hero区域样式（新增底图相关配置） */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  padding: 80px 24px;
  position: relative; /* 为底图绝对定位做准备 */
  overflow: hidden; /* 防止底图超出区域 */
}

/* 底图容器样式（核心） */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* 底图在内容下方 */
  opacity: 0.15; /* 降低透明度，避免遮挡文字 */
  background-image: url("./img/hero1.jpg"); /* 替换为你的底图路径 */
  background-size: cover; /* 覆盖整个区域 */
  background-position: center; /* 居中显示 */
  background-repeat: no-repeat; /* 不重复 */
}

.hero-content {
  position: relative; /* 让内容浮在底图上方 */
  z-index: 1; /* 确保内容层级高于底图 */
}

.hero h1 {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero p {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--gray);
  margin-bottom: 32px;
  max-width: 600px;
}
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--blue);
  color: var(--white);
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none; /* 去掉链接下划线 */
}
.btn-primary:hover {
  transform: scale(1.02);
  background: #1249cc;
}

/* 通用区块 */
section { padding: 100px 0; }
section h2 { font-size: 40px; font-weight: 600; text-align: center; margin-bottom: 12px; }
.section-desc { text-align: center; color: var(--gray); font-size: 18px; margin-bottom: 48px; }

/*!* 关于我们 *!*/
/*.about { background: var(--white); }*/
/*.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }*/
/*.feature-card { background: var(--light); padding: 40px 32px; border-radius: 20px; text-align: center; transition: transform 0.3s; }*/
/*.feature-card:hover { transform: translateY(-4px); }*/
/*.feature-icon { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--blue); }*/
/*.feature-icon svg { width: 100%; height: 100%; }*/
/*.feature-card h3 { font-size: 20px; margin-bottom: 12px; }*/
/*.feature-card p { color: var(--gray); font-size: 15px; }*/


/* 关于我们 */
.about { background: var(--white); padding: 80px 0; } /* 新增上下内边距，避免内容贴边 */
.about .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; } /* 统一容器宽度和内边距 */
.about h2 { font-size: 32px; font-weight: 700; text-align: center; margin-bottom: 24px; color: var(--dark); } /* 标题样式优化，居中对齐 */

/* 新增：公司描述容器样式，呼应下方卡片 */
.about-desc-container {
  background: var(--light);
  padding: 32px 40px;
  border-radius: 20px; /* 和feature-card圆角一致 */
  margin-bottom: 40px; /* 与下方features保持合适间距 */
}

/* 优化描述文字样式 */
.section-desc {
  color: var(--dark);
  font-size: 16px;
  line-height: 1.8; /* 增加行高，提升阅读舒适度 */
  margin-bottom: 16px; /* 段落之间间距 */
  text-align: justify; /* 文字两端对齐，更整洁 */
}
.section-desc:last-child { margin-bottom: 0; } /* 最后一段取消底部间距 */

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { background: var(--light); padding: 40px 32px; border-radius: 20px; text-align: center; transition: transform 0.3s; }
.feature-card:hover { transform: translateY(-4px); }
.feature-icon { width: 56px; height: 56px; margin: 0 auto 20px; color: var(--blue); }
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--dark); }
.feature-card p { color: var(--gray); font-size: 15px; line-height: 1.6; }


/* 产品 */
.products { background: var(--light); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.product-card { background: var(--white); padding: 40px 32px; border-radius: 20px; text-align: center; transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.product-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.product-icon svg { width: 32px; height: 32px; }
.product-icon.blue { background: #e8f3ff; color: var(--blue); }
.product-icon.green { background: #e8fff3; color: #00b96b; }
.product-icon.purple { background: #f3e8ff; color: #722ed1; }
.product-icon.orange { background: #fff7e8; color: var(--orange); }
.product-card h3 { font-size: 20px; margin-bottom: 8px; }
.product-card p { color: var(--gray); font-size: 14px; margin-bottom: 16px; }
.product-link { color: var(--blue); font-size: 14px; font-weight: 500; }

/* 联系 */
.contact { background: var(--white); text-align: center; }
.contact-card { max-width: 320px; margin: 0 auto; padding: 40px; background: var(--light); border-radius: 20px; }
.qr-placeholder { width: 250px; height: 250px; margin: 0 auto 16px; background: var(--white); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gray); }
.qr-placeholder svg { width: 64px; height: 64px; margin-bottom: 8px; }
.qr-placeholder span { font-size: 12px; }
.contact-card > p { color: var(--gray); font-size: 14px; }

/* 页脚 */
.footer { background: var(--dark); color: var(--white); padding: 40px 0; text-align: center; }
.footer p { font-size: 14px; margin-bottom: 8px; opacity: 0.8; }
.footer a { color: var(--white); text-decoration: underline; }

/* 产品详情页 */
.page-header { padding: 120px 0 60px; background: var(--light); text-align: center; }
.page-header .tag { display: inline-block; padding: 6px 16px; background: var(--blue); color: var(--white); border-radius: 980px; font-size: 13px; margin-bottom: 16px; }
.page-header h1 { font-size: 48px; font-weight: 600; margin-bottom: 12px; }
.page-header p { font-size: 20px; color: var(--gray); }
.content-section { padding: 80px 0; }
.content-section:nth-child(even) { background: var(--light); }
.content-section h2 { font-size: 32px; text-align: center; margin-bottom: 40px; }
.func-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.func-item { background: var(--white); padding: 32px; border-radius: 16px; }
.func-item h4 { font-size: 18px; margin-bottom: 8px; color: var(--blue); }
.func-item p { font-size: 14px; color: var(--gray); }
.value-list { max-width: 800px; margin: 0 auto; }
.value-item { display: flex; gap: 16px; margin-bottom: 24px; padding: 24px; background: var(--white); border-radius: 16px; }
.value-item .num { width: 40px; height: 40px; background: var(--blue); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; flex-shrink: 0; }
.value-item h4 { font-size: 18px; margin-bottom: 4px; }
.value-item p { font-size: 14px; color: var(--gray); }
.scene-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.scene-tag { padding: 12px 24px; background: var(--white); border-radius: 980px; font-size: 14px; border: 1px solid #e5e5e5; }
.cta-section { text-align: center; padding: 80px 0; background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%); }
.cta-section h2 { font-size: 32px; margin-bottom: 16px; }
.cta-section p { color: var(--gray); margin-bottom: 24px; }
.related-products { padding: 60px 0; background: var(--white); }
.related-products h3 { text-align: center; font-size: 24px; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 800px; margin: 0 auto; }
.related-item { padding: 24px; background: var(--light); border-radius: 12px; text-align: center; transition: transform 0.2s; }
.related-item:hover { transform: translateY(-2px); }
.related-item h4 { font-size: 16px; margin-bottom: 4px; }
.related-item span { font-size: 13px; color: var(--blue); }

/* 响应式 */
@media (max-width: 768px) {
  .menu-btn { display: flex; }
  .nav-links { position: absolute; top: 56px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; gap: 16px; display: none; border-bottom: 1px solid #e5e5e5; }
  .nav-links.active { display: flex; }
  section { padding: 60px 0; }
  section h2 { font-size: 32px; }
  .page-header h1 { font-size: 36px; }
}
