/* ============================================================
   Cinema Products (院线产品) — cinema-products.html
   Refurbished cinema projectors + ALPD laser retrofit packages
   Reuses base.css / lamps.css / cinema.css design tokens.
   ============================================================ */

/* ---- Section scaffolding ---- */
.cp-section { padding: 72px 0; }
.cp-section.alt { background: #f7f9fc; }
.cp-section.dark { background: #101828; color: #e8eef7; }
.cp-section.dark .section-sub { color: #b7c3d6; }

.cp-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: #5b667a;
}
.cp-note a { color: #0B4C8C; font-weight: 600; }

/* ---- Grade explanation cards ---- */
.cp-grades {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0 40px;
}
.cp-grade-card {
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 14px rgba(11, 76, 140, 0.06);
}
.cp-grade-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.cp-grade-badge.a { background: #0B4C8C; color: #fff; }
.cp-grade-badge.b { background: #D49420; color: #fff; }
.cp-grade-card h3 { font-size: 20px; color: #1a1a2e; margin-bottom: 10px; }
.cp-grade-card p { font-size: 14.5px; color: #4a5568; line-height: 1.7; }
.cp-grade-card ul { margin-top: 12px; padding-left: 18px; }
.cp-grade-card li { font-size: 14px; color: #4a5568; margin-bottom: 6px; }

/* ---- Product cards ---- */
.cp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.cp-card {
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 3px 10px rgba(11, 76, 140, 0.05);
}
.cp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(11, 76, 140, 0.13);
}
.cp-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  background: #f2f6fb;
  border-bottom: 1px solid #e3e9f2;
}
.cp-brand-badge {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 6px;
  color: #fff;
  white-space: nowrap;
}
.cp-brand-badge.barco { background: #0B4C8C; }
.cp-brand-badge.christie { background: #B0201D; }
.cp-brand-badge.nec { background: #204a88; }
.cp-card-head h3 { font-size: 19px; color: #1a1a2e; }
.cp-card-body { padding: 18px 20px 20px; flex: 1; }
.cp-spec {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed #e8edf4;
}
.cp-spec:last-child { border-bottom: none; }
.cp-spec .k { color: #7a8699; flex-shrink: 0; }
.cp-spec .v { color: #1a1a2e; font-weight: 600; text-align: right; }
.cp-card-foot {
  padding: 12px 20px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cp-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4fb;
  color: #0B4C8C;
}
.cp-tag.laser { background: #fff4e0; color: #9a6a08; }
.cp-tag.grade-a { background: #e7f0fb; color: #0B4C8C; }
.cp-tag.grade-b { background: #fdf3e0; color: #a3700f; }

/* ---- Retrofit steps ---- */
.cp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 34px 0 8px;
  counter-reset: cpstep;
}
.cp-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 24px 20px;
  position: relative;
}
.cp-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #D49420;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cp-step h4 { font-size: 16.5px; color: #fff; margin-bottom: 8px; }
.cp-step p { font-size: 13.5px; color: #b7c3d6; line-height: 1.65; }

/* ---- Retrofit package cards ---- */
.cp-packs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 34px;
}
.cp-pack {
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(11, 76, 140, 0.06);
}
.cp-pack-head {
  padding: 18px 22px;
  color: #fff;
}
.cp-pack-head.barco { background: linear-gradient(135deg, #0B4C8C, #1467b3); }
.cp-pack-head.christie { background: linear-gradient(135deg, #8f1b18, #c33a36); }
.cp-pack-head.nec { background: linear-gradient(135deg, #1b3a6b, #2f62ad); }
.cp-pack-head h3 { font-size: 18px; }
.cp-pack-head p { font-size: 13px; opacity: 0.92; margin-top: 4px; }
.cp-pack-body { padding: 20px 22px 22px; }
.cp-pack-body ul { list-style: none; padding: 0; margin: 0; }
.cp-pack-body li {
  font-size: 14px;
  color: #3d4a5c;
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px dashed #e8edf4;
}
.cp-pack-body li:last-child { border-bottom: none; }
.cp-pack-body li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #D49420;
  font-weight: 700;
}

/* ---- Comparison table (Xenon vs Laser) ---- */
.cp-compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 30px;
  font-size: 14.5px;
}
.cp-compare th, .cp-compare td {
  padding: 13px 16px;
  border-bottom: 1px solid #e8edf4;
  text-align: left;
  vertical-align: top;
}
.cp-compare thead th {
  background: #0B4C8C;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.cp-compare tbody tr:hover { background: #fef9e7; }
.cp-compare td:first-child { font-weight: 700; color: #1a1a2e; width: 22%; }

/* ---- CTA ---- */
.cp-cta {
  background: linear-gradient(135deg, #0B4C8C 0%, #123f6d 100%);
  border-radius: 18px;
  padding: 48px 40px;
  text-align: center;
  color: #fff;
}
.cp-cta h2 { font-size: 26px; margin-bottom: 10px; }
.cp-cta p { font-size: 15px; color: #cfe0f2; max-width: 640px; margin: 0 auto 22px; }
.cp-cta .btn { margin: 0 8px; }

/* ---- Laser source spec sheets (tabs + cards) ---- */
.cpc-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 22px; }
.cpc-tab {
  padding: 10px 20px;
  border: 2px solid #0B4C8C;
  border-radius: 999px;
  background: #fff;
  color: #0B4C8C;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cpc-tab:hover { background: #eef4fb; }
.cpc-tab.active { background: #0B4C8C; color: #fff; }
.cpc-tab .cpc-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(212, 148, 32, 0.15);
  color: #9a6a08;
}
.cpc-tab.active .cpc-count { background: rgba(255, 255, 255, 0.22); color: #fff; }
.cpc-panel { display: none; }
.cpc-panel.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.cpc-card {
  background: #fff;
  border: 1px solid #e3e9f2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(11, 76, 140, 0.05);
}
.cpc-title {
  margin: 0;
  padding: 12px 16px;
  background: #0B4C8C;
  color: #fff;
  font-size: 16.5px;
  letter-spacing: 0.03em;
}
.cpc-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid #eef2f7;
}
.cpc-row:last-child { border-bottom: none; }
.cpc-row:nth-child(odd) { background: #f7fafd; }
.cpc-k { color: #5b667a; flex-shrink: 0; width: 42%; }
.cpc-v { color: #1a1a2e; font-weight: 600; text-align: right; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .cp-section { padding: 48px 0; }
  .cp-grid { grid-template-columns: 1fr; }
  .cp-grades, .cp-packs { grid-template-columns: 1fr; }
  .cp-steps { grid-template-columns: 1fr 1fr; }
  .cp-compare { font-size: 13px; }
  .cp-compare th, .cp-compare td { padding: 9px 10px; }
  .cp-cta { padding: 34px 20px; }
  .cp-cta .btn { display: block; width: 100%; margin: 10px 0 0; }
}
@media (max-width: 480px) {
  .cp-steps { grid-template-columns: 1fr; }
  .cp-spec { flex-direction: column; gap: 2px; }
  .cp-spec .v { text-align: left; }
  .cpc-panel.active { grid-template-columns: 1fr; }
  .cpc-row { flex-direction: column; gap: 2px; }
  .cpc-k { width: 100%; }
  .cpc-v { text-align: left; }
}
