/* ========================================
   产品展示页面样式
   ======================================== */

/* ---- 页面 Banner ---- */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0A0A0A 0%, #1a0a0c 50%, #0A0A0A 100%);
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(214, 0, 28, 0.08) 0%, transparent 60%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.page-banner h1 span {
  color: var(--color-red);
}

.page-banner p {
  font-size: 18px;
  color: var(--color-gray-light);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-gray-mid);
}

.breadcrumb a:hover {
  color: var(--color-red);
}

/* ---- 产品分类标签 ---- */
.products-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.product-tab {
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-gray-light);
  background: var(--color-gray-dark);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-tab:hover {
  border-color: rgba(214, 0, 28, 0.4);
  color: var(--color-white);
}

.product-tab.active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

/* ---- 产品区块 ---- */
.products-section {
  background-color: var(--color-black);
}

.products-section:nth-child(even) {
  background-color: #0d0d0d;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--color-gray-dark);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover {
  border-color: rgba(214, 0, 28, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 56px;
  height: 56px;
  background: rgba(214, 0, 28, 0.1);
  border: 1px solid rgba(214, 0, 28, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-red);
}

.product-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 12px;
}

.product-card > p {
  font-size: 15px;
  color: var(--color-gray-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-features {
  margin-bottom: 20px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--color-gray-light);
  margin-bottom: 8px;
  line-height: 1.5;
}

.product-features li::before {
  content: '•';
  color: var(--color-red);
  font-weight: bold;
  flex-shrink: 0;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(214, 0, 28, 0.1);
  color: var(--color-red);
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid rgba(214, 0, 28, 0.2);
}

/* ---- 解决方案大卡片 ---- */
.solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-gray-dark);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.solution-card:hover {
  border-color: rgba(214, 0, 28, 0.3);
}

.solution-card:nth-child(even) .solution-visual {
  order: 2;
}

.solution-visual {
  background: linear-gradient(135deg, #1a0a0c 0%, var(--color-gray-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.solution-visual-icon {
  font-size: 100px;
  color: var(--color-red);
  opacity: 0.2;
  z-index: 1;
}

.solution-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.solution-label {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(214, 0, 28, 0.15);
  color: var(--color-red);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.solution-body h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.solution-body > p {
  font-size: 15px;
  color: var(--color-gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-gray-light);
}

.solution-list li svg {
  flex-shrink: 0;
  color: var(--color-red);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1023px) {
  .page-banner {
    padding: 140px 0 60px;
  }

  .page-banner h1 {
    font-size: 38px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-card {
    grid-template-columns: 1fr;
  }

  .solution-card:nth-child(even) .solution-visual {
    order: -1;
  }

  .solution-visual {
    min-height: 240px;
  }

  .solution-body {
    padding: 36px;
  }

  .solution-body h3 {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .page-banner {
    padding: 120px 0 48px;
  }

  .page-banner h1 {
    font-size: 30px;
  }

  .page-banner p {
    font-size: 16px;
  }

  .products-tabs {
    gap: 8px;
  }

  .product-tab {
    padding: 10px 20px;
    font-size: 14px;
  }

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

  .product-card {
    padding: 28px 24px;
  }

  .solution-body {
    padding: 28px 24px;
  }

  .solution-body h3 {
    font-size: 22px;
  }

  .solution-visual {
    min-height: 180px;
  }

  .solution-visual-icon {
    font-size: 60px;
  }
}
