/* ========== Product Center pages (builds on about.css) ========== */

/* Banner */
.prod-hero {
  position: relative;
  width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 0 120px;
  gap: 16px;
  height: 320px;
}
.prod-hero::before {
  content:''; position:absolute; inset:0;
  background: url('../banner/hero_1.jpg') center/cover;
  z-index: 0;
}
.prod-hero::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.78) 0%, rgba(17, 25, 40, 0.62) 50%, rgba(11, 18, 32, 0.78) 100%);
  z-index: 1;
}
.prod-hero > * { position: relative; z-index: 2; }
.prod-hero .breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: rgba(255,255,255,0.73);
}
.prod-hero .breadcrumb .current { color: #fff; font-weight: 600; }
.prod-hero .breadcrumb i { width: 14px; height: 14px; stroke: rgba(255,255,255,0.6); }
.prod-hero h1 { color: #fff; font-size: 44px; font-weight: 800; }
.prod-hero .tagline { color: rgba(255,255,255,0.8); font-size: 15px; letter-spacing: 4px; }

/* Category tabs */
.prod-cat-bar {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  padding: 0 120px;
  height: 88px;
  display: flex; align-items: center;
}
.prod-cat-bar .inner {
  max-width: 1440px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; gap: 40px;
}
.prod-cat-bar .cat-title {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 700; color: #111827;
  flex-shrink: 0;
}
.prod-cat-bar .cat-title i {
  width: 16px; height: 16px; stroke: #9CA3AF; stroke-width: 2;
}
.prod-cat-bar .tabs-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: 1;
}
.prod-cat-tab {
  padding: 10px 20px; border-radius: 6px;
  font-size: 14px; color: #374151;
  background: transparent;
  transition: all .2s;
}
.prod-cat-tab:hover { color: #CC0000; background: rgba(204,0,0,0.06); }
.prod-cat-tab.active {
  color: #CC0000;
  background: rgba(204,0,0,0.08);
  font-weight: 600;
}

/* Breadcrumb strip (under tabs on list page) */
.prod-brd-bar {
  background: #F7F8FA;
  padding: 20px 120px;
}
.prod-brd-bar .inner {
  max-width: 1440px; margin: 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #6B7280;
}
.prod-brd-bar .inner .current { color: #1A1A1A; font-weight: 600; }
.prod-brd-bar .inner i { width: 14px; height: 14px; stroke: #9CA3AF; }

/* Section utilities */
.prod-sec { padding: 80px 120px; scroll-margin-top: 80px; }
.prod-sec.muted { background: #F7F8FA; }
.prod-sec.white { background: #fff; }
.prod-sec-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 48px;
}
.prod-sec-header {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.prod-sec-header .kicker {
  color: #CC0000; font-size: 12px; font-weight: 700; letter-spacing: 2px;
}
.prod-sec-header h2 { color: #1A1A1A; font-size: 36px; font-weight: 800; }
.prod-sec-header .sub { color: #6B7280; font-size: 15px; }

/* Hero software block 2-col */
.sw-hero {
  width: 100%; max-width: 1200px;
  display: grid; grid-template-columns: 1fr 520px; gap: 56px; align-items: center;
}
.sw-hero.reverse { grid-template-columns: 520px 1fr; }
.sw-hero .text { display: flex; flex-direction: column; gap: 20px; }
.sw-hero .text .badge {
  align-self: flex-start;
  padding: 4px 12px; border-radius: 4px;
  background: rgba(204,0,0,0.08); color: #CC0000;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
}
.sw-hero .text h3 { color: #1A1A1A; font-size: 30px; font-weight: 700; line-height: 1.35; }
.sw-hero .text p { color: #555; font-size: 14px; line-height: 1.9; }
.sw-hero .text .more-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 6px;
  background: #CC0000; color: #fff;
  font-size: 14px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.sw-hero .text .more-btn:hover { background: #a30000; transform: translateY(-2px); }
.sw-hero .text .more-btn i { width: 16px; height: 16px; }
.sw-hero .image {
  height: 340px; border-radius: 16px;
  border: 1px solid #E5E7EB;
  background-size: cover; background-position: center;
  box-shadow: 0 12px 36px rgba(10, 10, 16, 0.08);
}

/* Feature icon cards (2-col or 4-col) */
.feat-grid {
  width: 100%; max-width: 1200px;
  display: grid; gap: 16px;
}
.feat-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feat-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.feat-icon-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 12px;
  padding: 28px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.feat-icon-card:hover {
  transform: translateY(-3px);
  border-color: #CC0000;
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.feat-icon-card .ic {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(204,0,0,0.08); color: #CC0000;
  display: inline-flex; align-items: center; justify-content: center;
}
.feat-icon-card .ic i { width: 22px; height: 22px; }
.feat-icon-card .body { display: flex; flex-direction: column; gap: 6px; }
.feat-icon-card .body h4 { color: #1A1A1A; font-size: 16px; font-weight: 700; }
.feat-icon-card .body p { color: #6B7280; font-size: 13px; line-height: 1.7; }

/* Product list cards (category list page) */
.prod-list-hdr {
  width: 100%; max-width: 1200px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.prod-list-hdr .title-grp { display: flex; flex-direction: column; gap: 8px; }
.prod-list-hdr .title-grp .eng { color: #CC0000; font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.prod-list-hdr .title-grp h2 { color: #1A1A1A; font-size: 32px; font-weight: 800; }
.prod-list-hdr .title-grp .meta { color: #6B7280; font-size: 13px; }
.prod-list-hdr .meta-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid #E5E7EB;
  color: #6B7280; font-size: 13px;
}
.prod-list-hdr .meta-pill i { width: 14px; height: 14px; }

.equipment-list {
  width: 100%; max-width: 1200px;
  display: flex; flex-direction: column; gap: 24px;
}
.equipment-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 12px;
  padding: 32px 40px;
  display: grid; grid-template-columns: 1fr 280px; gap: 32px; align-items: center;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  text-decoration: none; color: inherit;
}
.equipment-card:hover {
  transform: translateY(-3px); border-color: #CC0000;
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}
.equipment-card .eq-left { display: flex; flex-direction: column; gap: 14px; }
.equipment-card h3 { color: #1A1A1A; font-size: 28px; font-weight: 800; }
.equipment-card p { color: #6B7280; font-size: 14px; line-height: 1.8; }
.equipment-card .view-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 18px; border-radius: 6px;
  background: #CC0000; color: #fff;
  font-size: 13px; font-weight: 600;
}
.equipment-card .view-btn i { width: 14px; height: 14px; }
.equipment-card .eq-img {
  height: 200px; border-radius: 8px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
  background-color: #F7F8FA;
}

/* Pagination */
.prod-pag {
  display: inline-flex; gap: 8px;
  padding-top: 20px;
}
.prod-pag .pg {
  width: 40px; height: 40px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #E5E7EB; background: #fff;
  color: #555; font-size: 14px;
  transition: all .2s;
}
.prod-pag .pg:hover { border-color: #CC0000; color: #CC0000; }
.prod-pag .pg.active { background: #CC0000; color: #fff; border-color: #CC0000; font-weight: 700; }
.prod-pag .pg i { width: 16px; height: 16px; }

/* Detail page hero */
.detail-hero {
  position: relative;
  width: 100%; height: 520px;
  padding: 0 120px;
  display: flex; align-items: center; gap: 60px; justify-content: space-between;
  overflow: hidden;
}
.detail-hero::before {
  content:''; position:absolute; inset:0;
  background: url('../../assets/ss.media.yidingyi.com.cn/site_res/223/20240527092719_rw5wkWEL.png') center/cover;
  z-index: 0;
}
.detail-hero::after {
  content:''; position:absolute; inset:0;
  background: rgba(255,255,255,0.9);
  z-index: 1;
}
.detail-hero > * { position: relative; z-index: 2; }
.detail-hero .text {
  max-width: 560px;
  display: flex; flex-direction: column; gap: 24px;
}
.detail-hero .text .brd { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #6B7280; }
.detail-hero .text .brd i { width: 14px; height: 14px; stroke: #9CA3AF; }
.detail-hero .text .brd .current { color: #CC0000; font-weight: 600; }
.detail-hero h1 {
  color: #1A1A1A; font-size: 58px; font-weight: 800; line-height: 1.1; letter-spacing: -1px;
}
.detail-hero .subtitle {
  color: #CC0000; font-size: 18px; font-weight: 700;
}
.detail-hero .desc {
  color: #4B5563; font-size: 15px; line-height: 1.9;
}
.detail-hero .btn-row { display: flex; gap: 12px; margin-top: 8px; }
.detail-hero .btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 6px;
  background: #CC0000; color: #fff;
  font-size: 14px; font-weight: 600;
}
.detail-hero .btn-primary:hover { background: #a30000; }
.detail-hero .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 6px;
  background: #fff; color: #1A1A1A;
  border: 1px solid #E5E7EB;
  font-size: 14px; font-weight: 600;
}
.detail-hero .btn-ghost:hover { border-color: #CC0000; color: #CC0000; }
.detail-hero .hero-img {
  width: 540px; height: 440px;
  background-size: contain; background-repeat: no-repeat; background-position: center;
}

/* Advantages 2-col: left feature grid, right image */
.adv-row {
  width: 100%; max-width: 1200px;
  display: grid; grid-template-columns: 1fr 520px; gap: 32px;
}
.adv-row .adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adv-row .adv-image {
  height: 340px; border-radius: 16px;
  border: 1px solid #E5E7EB;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  background-color: rgba(0,0,0,0.02);
  box-shadow: 0 12px 32px rgba(10,10,16,0.08);
}

/* Spec stat cell */
.spec-grid {
  width: 100%; max-width: 1200px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.spec-cell {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 12px;
  padding: 24px 28px;
  display: flex; flex-direction: column; gap: 4px;
}
.spec-cell .num-row {
  display: inline-flex; align-items: baseline; gap: 4px;
}
.spec-cell .num { color: #CC0000; font-size: 36px; font-weight: 800; line-height: 1.1; }
.spec-cell .unit { color: #CC0000; font-size: 14px; font-weight: 600; }
.spec-cell .label { color: #6B7280; font-size: 13px; }

/* Scenarios horizontal scroll */
.scenarios-row {
  width: 100%; max-width: 1200px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.scenario-card {
  position: relative; height: 280px;
  border-radius: 12px; overflow: hidden;
  background-size: cover; background-position: center;
  transition: transform .3s;
}
.scenario-card:hover { transform: translateY(-4px); }
.scenario-card::after {
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.85) 100%);
}
.scenario-card .label {
  position: absolute; left: 24px; bottom: 24px; z-index: 1;
  color: #fff; font-size: 18px; font-weight: 700;
}

/* CTA banner */
.prod-cta-banner {
  width: 100%; max-width: 1200px;
  background: linear-gradient(135deg, #1A1A2E 0%, #2A1030 100%);
  border-radius: 16px; padding: 40px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  color: #fff;
}
.prod-cta-banner .left h3 { color: #fff; font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.prod-cta-banner .left p { color: rgba(255,255,255,0.7); font-size: 14px; }
.prod-cta-banner .btn-red {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px;
  background: #CC0000; color: #fff;
  font-size: 15px; font-weight: 700;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.prod-cta-banner .btn-red:hover { background: #a30000; transform: translateY(-2px); }

/* Responsive */
@media (max-width: 1024px) {
  .prod-hero { padding: 0 24px; height: 260px; }
  .prod-hero h1 { font-size: 32px; }
  .prod-cat-bar, .prod-brd-bar { padding-left: 24px; padding-right: 24px; }
  .prod-cat-bar { height: auto; padding-top: 16px; padding-bottom: 16px; }
  .prod-cat-bar .inner { gap: 16px; flex-wrap: wrap; }
  .prod-sec { padding: 56px 24px; }
  .sw-hero, .sw-hero.reverse { grid-template-columns: 1fr; gap: 32px; }
  .sw-hero .image { height: 240px; }
  .feat-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .feat-grid.cols-3 { grid-template-columns: 1fr; }
  .equipment-card { grid-template-columns: 1fr; padding: 24px; }
  .equipment-card .eq-img { height: 160px; order: -1; }
  .detail-hero { padding: 0 24px; flex-direction: column; height: auto; padding: 48px 24px; gap: 32px; }
  .detail-hero h1 { font-size: 40px; }
  .detail-hero .hero-img { width: 100%; height: 280px; }
  .adv-row { grid-template-columns: 1fr; gap: 24px; }
  .adv-row .adv-grid { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .scenarios-row { grid-template-columns: 1fr; }
  .prod-cta-banner { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 640px) {
  .feat-grid.cols-4, .feat-grid.cols-2 { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
}
