/* ===== 产品服务页面样式 ===== */

/* 品牌导航Tab */
.brand-nav-bar {
  position: sticky;
  top: 70px;
  z-index: 90;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand-tabs {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  color: var(--text-mid);
  font-size: 14px;
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.brand-tab:hover {
  color: var(--primary);
  background: rgba(0,102,255,0.04);
}

.brand-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.bt-icon {
  font-size: 20px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  border-radius: 6px;
}

.brand-tab strong {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.brand-tab span {
  font-size: 11px;
  color: var(--text-light);
  display: block;
}

/* 品牌区块 */
.brand-section {
  padding-bottom: 80px;
  background: white;
}

.brand-section-hero {
  padding: 56px 0;
  margin-bottom: 64px;
}

.green-bg { background: linear-gradient(135deg, #e8f5ee, #d0eed8); }
.blue-bg { background: linear-gradient(135deg, #e3f0ff, #c8deff); }
.purple-bg { background: linear-gradient(135deg, #f3e8ff, #e2ceff); }
.earth-bg { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }

.bsh-content {
  display: flex;
  align-items: center;
  gap: 28px;
}

.bsh-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  flex-shrink: 0;
  overflow: hidden;
}

.bsh-logo.blue { background: linear-gradient(135deg, #0550ae, #1a7fe8); }
.bsh-logo.purple { background: linear-gradient(135deg, #7c3aed, #9b4dca); }
.bsh-logo.earth { background: linear-gradient(135deg, #0066ff, #00e5ff); }

.bsh-tag {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.blue-bg .bsh-tag { color: #0550ae; }
.purple-bg .bsh-tag { color: #7c3aed; }
.earth-bg .bsh-tag { color: #e64000; }

.bsh-content h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.bsh-content > div > p {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 600px;
}

.brand-section-body {
  padding-top: 0;
}

/* 产品卡片 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,102,255,0.2);
}

.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.pc-header.green { background: linear-gradient(135deg, #e8f5ee, #c8e8d4); }
.pc-header.teal { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.pc-header.orange { background: linear-gradient(135deg, #fff3e0, #ffe0b2); }
.pc-header.pink { background: linear-gradient(135deg, #fce4ec, #f8bbd0); }
.pc-header.brown { background: linear-gradient(135deg, #efebe9, #d7ccc8); }
.pc-header.purple { background: linear-gradient(135deg, #f3e5f5, #e1bee7); }

.pc-age {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  background: rgba(255,255,255,0.7);
  padding: 4px 12px;
  border-radius: 20px;
}

.pc-icon { font-size: 28px; width:34px; height:34px; overflow:hidden; flex-shrink:0; }

.product-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 20px 20px 8px;
}

.pc-count {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  padding: 0 20px 12px;
}

.product-card > p {
  font-size: 13px;
  color: var(--text-mid);
  padding: 0 20px 16px;
  line-height: 1.7;
}

.pc-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 20px 20px;
}

.pc-features li {
  font-size: 12px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pc-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 11px;
}

/* 硬件产品 */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hw-item {
  padding: 28px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.hw-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.hw-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display:flex; align-items:center; justify-content:center;
  width:48px; height:48px; overflow:hidden;
  margin-left:auto; margin-right:auto;
}

.hw-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.hw-item p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* 服务卡片 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  position: relative;
  padding: 32px 28px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(5,80,174,0.2);
}

.svc-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 42px;
  font-weight: 900;
  color: rgba(5,80,174,0.06);
  line-height: 1;
}

.svc-icon {
  font-size: 32px;
  margin-bottom: 14px;
  width:42px; height:42px; overflow:hidden;
}

.service-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.leping-specs {
  background: linear-gradient(135deg, #e3f0ff, #d0e4ff);
  border-radius: var(--radius-md);
  padding: 32px 40px;
}

.leping-specs h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0550ae;
  margin-bottom: 24px;
}

.specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.spec-item {
  text-align: center;
}

.spec-icon { font-size: 28px; margin-bottom: 10px; width:36px; height:36px; overflow:hidden; margin-left:auto; margin-right:auto; }

.spec-val {
  font-size: 18px;
  font-weight: 700;
  color: #0550ae;
  margin-bottom: 4px;
}

.spec-key {
  font-size: 13px;
  color: var(--text-mid);
}

/* 功能卡片 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 24px 18px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.2);
}

.fc-icon {
  font-size: 28px;
  margin-bottom: 12px;
  width:36px; height:36px; overflow:hidden;
  margin-left:auto; margin-right:auto;
}

.feature-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* 研学基地 */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.research-item {
  padding: 36px 32px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.ri-icon { font-size: 40px; margin-bottom: 16px; width:48px; height:48px; overflow:hidden; }

.research-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.research-item p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.ri-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ri-tags span {
  background: rgba(230,64,0,0.08);
  color: #e64000;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}

/* 服务生态 */
.section-service-eco {
  padding: 100px 0;
  background: white;
}

.eco-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 48px;
}

.eco-step {
  flex: 1;
  padding: 32px 28px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.eco-step:hover {
  background: white;
  box-shadow: var(--shadow-md);
}

.es-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.es-icon { font-size: 32px; margin-bottom: 12px; width:44px; height:44px; overflow:hidden; margin-left:auto; margin-right:auto; }

.eco-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.eco-step p {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

.eco-arrow {
  font-size: 24px;
  color: var(--primary);
  padding: 0 12px;
  flex-shrink: 0;
}

.eco-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 28px 36px;
  background: linear-gradient(135deg, rgba(0,102,255,0.06), rgba(0,102,255,0.02));
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,102,255,0.12);
}

.eh-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eh-icon { font-size: 24px; width:30px; height:30px; overflow:hidden; flex-shrink:0; }

.eh-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.eh-item span {
  font-size: 13px;
  color: var(--text-mid);
}

/* 响应式 */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hardware-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .research-grid { grid-template-columns: 1fr; }
  .eco-flow { flex-direction: column; gap: 16px; }
  .eco-arrow { transform: rotate(90deg); }
  .specs-row { grid-template-columns: repeat(2, 1fr); }
  .brand-tabs { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .product-grid { grid-template-columns: 1fr; }
  .hardware-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .eco-highlights { grid-template-columns: 1fr; }
  .brand-tab { padding: 12px 16px; }
  .bsh-content { flex-direction: column; text-align: center; }
}
