/* ============================================
   硬件产品详情页通用样式
   适用于所有硬件/终端产品页面
   ============================================ */

/* 页面标题 */
.page-header {
  background: linear-gradient(135deg, #0a1f5c, #1535a0, #1e5eff);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  color: #fff;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at 20% 50%, rgba(91,140,255,0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(30,94,255,0.1) 0%, transparent 40%);
  z-index: 0;
}

.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: 38px; margin-bottom: 15px; font-weight: 700; }
.page-header p { font-size: 18px; max-width: 650px; opacity: 0.9; }

/* 面包屑 */
.breadcrumb { padding: 16px 0; background: #f8f9fc; border-bottom: 1px solid #eee; }
.breadcrumb .container { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #999; }
.breadcrumb a { color: var(--primary-color); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .separator { color: #ccc; }

/* 通用区块容器：替代详情页中 <section style="padding:60px 0;"> 内联样式，统一区块垂直间距 */
.section-block { padding: 60px 0; }

/* 标题徽章 */
.header-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge { background: rgba(255,255,255,0.2); color: #fff; padding: 8px 15px; border-radius: 20px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; transition: all 0.3s ease; }
.badge:hover { background: rgba(255,255,255,0.3); transform: translateY(-3px); }
.badge i { margin-right: 6px; }

/* 产品展示区 */
.product-showcase-section { padding: 60px 0; background-color: #f9f9f9; }
.product-showcase-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.product-main-image { border-radius: 0; overflow: visible; box-shadow: none; }
.product-main-image:hover { transform: none; box-shadow: none; }
.product-main-image img { width: 100%; height: auto; display: block; }

.product-showcase-info h2 { color: #0037cc; font-size: 28px; margin-bottom: 20px; position: relative; padding-bottom: 15px; }
.product-showcase-info h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background-color: var(--primary-color); }
.product-description { font-size: 16px; line-height: 1.8; color: #555; margin-bottom: 30px; }

.highlight-list { background-color: #eef3ff; border-radius: 12px; padding: 25px; margin-bottom: 30px; }
.highlight-list li { margin-bottom: 12px; display: flex; align-items: flex-start; }
.highlight-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; min-width: 24px; background-color: var(--primary-color); color: white; border-radius: 50%; margin-right: 12px; font-size: 14px; margin-top: 2px; }
.highlight-text { line-height: 1.6; }

/* 通用章节标题 */
.section-title { text-align: center; font-size: 32px; margin-bottom: 40px; color: #333; position: relative; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background-color: var(--primary-color); }

/* 系统示意图 */
.product-diagram { padding: 60px 0; background: #fff; }
.product-diagram h2 { font-size: 28px; margin-bottom: 30px; color: #333; text-align: center; }
.diagram-image { border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-width: 900px; margin: 0 auto; }
.diagram-image img { width: 100%; height: auto; display: block; }

/* 产品优势/特点卡片 */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 30px; margin-top: 30px; }
.advantage-item { background-color: #fff; border-radius: 15px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; text-align: center; }
.advantage-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(30,94,255,0.15); }
.advantage-icon { width: 70px; height: 70px; background: linear-gradient(135deg, #1e5eff, #5b8cff); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: white; font-size: 28px; box-shadow: 0 10px 20px rgba(30,94,255,0.2); }
.advantage-item h3 { font-size: 20px; margin-bottom: 15px; color: #333; }
.advantage-item p { color: #666; line-height: 1.6; font-size: 14px; }

/* 功能卡片 */
.features-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.feature-card { background-color: #f8f9fa; border-radius: 15px; padding: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; border-top: 4px solid transparent; text-align: left; }
.feature-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(30,94,255,0.15); border-top-color: var(--primary-color); }
.feature-icon { width: 56px; height: 56px; background: linear-gradient(135deg, #1e5eff, #5b8cff); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: #fff; font-size: 22px; box-shadow: 0 6px 16px rgba(30,94,255,0.25); transition: all 0.3s ease; }
.feature-card:hover .feature-icon { transform: scale(1.1); box-shadow: 0 8px 20px rgba(30,94,255,0.35); }
.feature-card h3 { font-size: 18px; margin-bottom: 12px; color: #0037cc; }
.feature-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* 技术参数表 */
.params-section { padding: 60px 0; background-color: #f8f9fa; }
.params-table-container { overflow-x: auto; margin-bottom: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.params-table { width: 100%; border-collapse: collapse; background-color: #fff; }
.params-table th, .params-table td { padding: 15px; text-align: left; border-bottom: 1px solid #eee; }
.params-table th { background-color: #eef3ff; color: #0037cc; font-weight: 600; width: 25%; }
.params-table tr:last-child th, .params-table tr:last-child td { border-bottom: none; }

/* 技术规格进度条 */
.tech-specs-section { padding: 60px 0; background-color: #f8f9fa; }
.tech-specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; margin-bottom: 30px; }
.tech-spec-item { background-color: #fff; border-radius: 12px; padding: 22px; transition: all 0.3s ease; box-shadow: 0 3px 12px rgba(0,0,0,0.06); }
.tech-spec-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(30,94,255,0.15); }
.tech-spec-icon { width: 48px; height: 48px; background: linear-gradient(135deg, #1e5eff, #5b8cff); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; margin-bottom: 14px; box-shadow: 0 4px 12px rgba(30,94,255,0.2); }
.tech-spec-value { font-size: 26px; font-weight: 700; color: #333; margin-bottom: 4px; }
.tech-spec-label { font-size: 14px; color: #666; margin-bottom: 10px; }
.tech-spec-bar { height: 6px; background-color: #e0e0e0; border-radius: 3px; overflow: hidden; }
.tech-spec-progress { height: 100%; background: linear-gradient(to right, #1e5eff, #5b8cff); border-radius: 3px; width: 0; transition: width 1.5s ease; }
.tech-specs-note { display: flex; align-items: flex-start; background-color: rgba(30,94,255,0.05); border-radius: 10px; padding: 15px 20px; border-left: 4px solid var(--primary-color); }
.note-icon { font-size: 20px; color: var(--primary-color); margin-right: 15px; margin-top: 2px; }
.note-text p { margin: 0; color: #666; font-size: 14px; line-height: 1.6; }

/* 产品配置表 */
.config-table-container { overflow-x: auto; margin-bottom: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.config-table { width: 100%; border-collapse: collapse; background-color: #fff; }
.config-table th, .config-table td { padding: 15px; text-align: center; border-bottom: 1px solid #eee; }
.config-table thead th { background: linear-gradient(135deg, #1e5eff, #5b8cff); color: #fff; font-weight: 600; }
.config-table thead th:first-child { border-radius: 10px 0 0 0; }
.config-table thead th:last-child { border-radius: 0 10px 0 0; }
.config-table tbody th { background-color: #eef3ff; color: #0037cc; font-weight: 600; text-align: left; padding-left: 20px; }
.config-table tbody tr:last-child td, .config-table tbody tr:last-child th { border-bottom: none; }
.config-table .highlight-col { background-color: #fffbf0; }
.config-note { text-align: center; color: #999; font-size: 14px; margin-top: -20px; }

/* 应用场景 */
.scene-section { padding: 60px 0; }
.scene-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; margin-top: 30px; }
.scene-card { background: #fff; border-radius: 12px; padding: 30px 25px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.scene-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(30,94,255,0.12); }
.scene-card .scene-icon { width: 64px; height: 64px; background: linear-gradient(135deg, #1e5eff, #5b8cff); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: #fff; font-size: 26px; }
.scene-card h3 { font-size: 18px; color: #333; margin-bottom: 10px; }
.scene-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* 相关产品 */
.related-section { padding: 60px 0; background: #f8f9fc; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; }
.related-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.related-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.related-card img { width: 100%; height: 180px; object-fit: cover; }
.related-card-body { padding: 20px; }
.related-card-body h3 { font-size: 16px; color: #333; margin-bottom: 8px; }
.related-card-body p { font-size: 13px; color: #999; margin-bottom: 12px; }
.related-card-body a { color: var(--primary-color); font-weight: 500; font-size: 14px; text-decoration: none; }
.related-card-body a:hover { text-decoration: underline; }

/* 咨询CTA */
.contact-section { padding: 60px 0; text-align: center; }
.contact-section.bg-light { background-color: #f8f9fc; }
.contact-content h2 { font-size: 28px; color: #333; margin-bottom: 15px; }
.contact-content p { font-size: 16px; color: #666; margin-bottom: 25px; }

.btn { display: inline-block; background: linear-gradient(135deg, #1e5eff, #5b8cff); color: #fff; padding: 12px 28px; border-radius: 30px; text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(30,94,255,0.35); }
.btn-lg { padding: 16px 40px; font-size: 18px; }
.btn i { margin-left: 6px; }
.btn-outline { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background: var(--primary-color); color: #fff; }

/* 响应式 */
@media (max-width: 992px) {
  .product-showcase-wrapper { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-header h1 { font-size: 28px; }
  .page-header { padding: 50px 0; }
  .features-container, .advantages-grid, .tech-specs-grid, .scene-grid, .related-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .product-showcase-info h2 { font-size: 24px; }
}
@media (max-width: 576px) {
  .page-header h1 { font-size: 24px; }
  .page-header p { font-size: 15px; }
}
