/* =========================================================
   标书查重大师 · 产品专题包
   命名空间：#bscc-root / .bscc-*
   布局对齐官网产品页（智慧绩效 zhjx）结构
   ========================================================= */

#bscc-root,
#bscc-root *,
#bscc-root *::before,
#bscc-root *::after {
  box-sizing: border-box;
}

#bscc-root {
  margin: 0;
  padding: 0;
  color: #333;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}

#bscc-root img {
  max-width: 100%;
  display: block;
  border: 0;
}

#bscc-root button {
  font: inherit;
}

#bscc-root h1,
#bscc-root h2,
#bscc-root h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  color: #1a1a1a;
}

#bscc-root p {
  margin: 0;
}

#bscc-root ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bscc-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.bscc-section {
  padding: 40px 0 56px;
}

.bscc-section__head {
  text-align: center;
  margin-bottom: 24px;
}

.bscc-section__title {
  margin: 0 0 4px;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.bscc-section__subtitle {
  margin: 0 auto;
  max-width: 860px;
  font-size: 14px;
  color: #888;
  line-height: 1.55;
}

/* ---------- Hero ---------- */
.bscc-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eef5ff;
}

.bscc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.bscc-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 48px;
  padding-bottom: 48px;
  max-width: 620px;
  margin-left: max(24px, calc((100% - 1200px) / 2 + 24px));
  margin-right: auto;
}

.bscc-hero__badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.bscc-hero__title {
  margin: 0 0 6px !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 30, 80, 0.25);
}

.bscc-hero__subtitle {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #f5f8fb;
  letter-spacing: 0.02em;
}

.bscc-hero__subtitle-em {
  font-style: normal;
  color: #9ec5ff;
}

.bscc-hero__desc {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 248, 251, 0.9);
  max-width: 560px;
}

.bscc-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bscc-hero__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(230, 238, 248, 0.9);
  color: #1677ff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(20, 60, 120, 0.12);
}

/* ---------- 解决问题 ---------- */
.bscc-problems {
  background: #f5f8fc;
}

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

.bscc-problem-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8eef6;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bscc-problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #1677ff;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bscc-problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(22, 119, 255, 0.22);
  box-shadow: 0 12px 28px rgba(15, 45, 100, 0.1);
}

.bscc-problem-card:hover::before {
  opacity: 1;
}

.bscc-problem-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

#bscc-root .bscc-problem-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e8f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  color: #1677ff;
  font-size: 0;
}

#bscc-root .bscc-problem-card__icon svg {
  width: 22px;
  height: 22px;
  fill: #1677ff;
}

.bscc-problem-card__title {
  margin: 0 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1a3a5c !important;
  line-height: 1.35 !important;
}

.bscc-problem-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  text-align: left;
}

/* ---------- 系统架构 ---------- */
.bscc-architecture {
  background: #fff;
}

#bscc-root .bscc-architecture__figure {
  margin: 0;
  border: 1px solid #e8eef6;
  border-radius: 14px;
  overflow: hidden;
  background: #f8fbff;
  box-shadow: 0 8px 28px rgba(15, 45, 100, 0.06);
  cursor: zoom-in;
  position: relative;
}

#bscc-root .bscc-architecture__figure::after {
  content: "点击放大";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 58, 104, 0.72));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

#bscc-root .bscc-architecture__figure:hover::after,
#bscc-root .bscc-architecture__figure:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

#bscc-root .bscc-architecture__figure:focus-visible {
  outline: 2px solid #1677ff;
  outline-offset: 2px;
}

#bscc-root .bscc-architecture__figure img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

#bscc-root .bscc-architecture__figure:hover img {
  transform: scale(1.005);
}

/* ---------- 适用场景 ---------- */
.bscc-scenes {
  background: #fff;
}

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

.bscc-scene-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 28px 24px 30px;
  box-shadow: 0 4px 16px rgba(15, 45, 100, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bscc-scene-card:hover {
  transform: translateY(-4px);
  border-color: #d0e0f8;
  box-shadow: 0 14px 32px rgba(15, 45, 100, 0.1);
}

#bscc-root .bscc-scene-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #e8f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

#bscc-root .bscc-scene-card__icon svg {
  width: 22px;
  height: 22px;
  fill: #1677ff;
}

.bscc-scene-card__title {
  margin: 0 0 12px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1a2b4b !important;
}

.bscc-scene-card__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

/* ---------- 核心功能 Tabs ---------- */
.bscc-features {
  background: #f5f8fc;
}

#bscc-root .bscc-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

#bscc-root .bscc-tabs__btn {
  all: unset;
  box-sizing: border-box;
  appearance: none !important;
  -webkit-appearance: none !important;
  border: 1px solid #e2e8f0 !important;
  background: #fff !important;
  color: #445 !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#bscc-root .bscc-tabs__btn:hover {
  border-color: #1677ff !important;
  color: #1677ff !important;
  transform: translateY(-1px);
}

#bscc-root .bscc-tabs__btn.is-active,
#bscc-root .bscc-tabs__btn[aria-selected="true"] {
  background: linear-gradient(135deg, #3b8bff, #1677ff) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.3);
}

#bscc-root .bscc-tabs__panels {
  background: #fff;
  border-radius: 18px;
  padding: 48px 44px;
  box-shadow: 0 10px 36px rgba(20, 50, 100, 0.08);
  border: 1px solid #e8eef7;
}

#bscc-root .bscc-tabs__panel {
  display: none;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  align-items: center;
}

#bscc-root .bscc-tabs__panel.is-active {
  display: grid;
}

#bscc-root .bscc-tabs__panel[hidden] {
  display: none !important;
}

#bscc-root .bscc-tabs__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: #eaf1ff;
  color: #1677ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
}

#bscc-root .bscc-tabs__title {
  margin: 0 0 8px !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #1a1a1a !important;
}

#bscc-root .bscc-tabs__slogan {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #1677ff;
}

#bscc-root .bscc-tabs__text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.85;
  color: #666;
}

#bscc-root .bscc-tabs__list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#bscc-root .bscc-tabs__list li {
  position: relative;
  padding-left: 18px !important;
  margin-bottom: 10px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #333 !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

#bscc-root .bscc-tabs__list li:last-child {
  margin-bottom: 0 !important;
}

#bscc-root .bscc-tabs__list li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1677ff !important;
  transform: none;
}

#bscc-root .bscc-tabs__media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f1ff, #edf3fb 55%, #f5f8fc);
  padding: 18px;
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.06);
}

#bscc-root .bscc-feature-shot {
  margin: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  cursor: zoom-in;
  position: relative;
}

#bscc-root .bscc-feature-shot::after {
  content: "点击放大";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 58, 104, 0.72));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

#bscc-root .bscc-feature-shot:hover::after,
#bscc-root .bscc-feature-shot:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

#bscc-root .bscc-feature-shot:focus-visible {
  outline: 2px solid #1677ff;
  outline-offset: 2px;
}

#bscc-root .bscc-feature-shot img,
#bscc-root .bscc-tabs__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(20, 50, 110, 0.14);
  transition: transform 0.35s ease;
}

#bscc-root .bscc-feature-shot:hover img {
  transform: scale(1.01);
}

/* ---------- 应用价值 ---------- */
.bscc-value {
  background: #f5f8fc;
  padding-bottom: 64px;
}

.bscc-value__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bscc-value-card {
  display: block;
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 28px 22px 26px;
  border: 1px solid #e8eef7;
  box-shadow: 0 4px 16px rgba(15, 45, 100, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bscc-value-card:hover {
  transform: translateY(-4px);
  border-color: #d0e0f8;
  box-shadow: 0 12px 28px rgba(15, 45, 100, 0.1);
}

#bscc-root .bscc-value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1677ff;
  flex-shrink: 0;
  color: #fff;
  font-size: 0;
}

#bscc-root .bscc-value-card__icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.bscc-value-card__title {
  margin: 0 0 8px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0b4f8c !important;
}

.bscc-value-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* ---------- Back top ---------- */
.bscc-back-top {
  all: unset;
  position: fixed;
  right: 1.25rem;
  bottom: 6.5rem;
  z-index: 40;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #0b4f8c !important;
  color: #fff !important;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.25s;
  box-shadow: 0 8px 22px rgba(11, 79, 140, 0.28);
  box-sizing: border-box;
}

.bscc-back-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.bscc-back-top:hover,
.bscc-back-top:focus-visible {
  background: #1677ff !important;
  transform: translateY(-3px);
}

/* ---------- Lightbox ---------- */
#bscc-root .bscc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(8, 28, 56, 0.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
  cursor: zoom-out;
  box-sizing: border-box;
}

#bscc-root .bscc-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

#bscc-root .bscc-lightbox[hidden] {
  display: none !important;
}

#bscc-root .bscc-lightbox:not([hidden]) {
  display: flex !important;
}

#bscc-root .bscc-lightbox-img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  transition: transform 0.3s ease;
  cursor: default;
}

#bscc-root .bscc-lightbox.is-open .bscc-lightbox-img {
  transform: scale(1);
}

#bscc-root .bscc-lightbox-close {
  all: unset;
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
  font-size: 1.5rem !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.2s;
  box-sizing: border-box;
}

#bscc-root .bscc-lightbox-close:hover,
#bscc-root .bscc-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.28) !important;
  transform: rotate(90deg);
  outline: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .bscc-problems__grid,
  .bscc-scenes__grid,
  .bscc-value__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #bscc-root .bscc-tabs__panel.is-active {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .bscc-hero__title {
    font-size: 42px !important;
  }
}

@media (max-width: 640px) {
  .bscc-section {
    padding: 32px 0 48px;
  }

  .bscc-section__title {
    font-size: 26px;
  }

  .bscc-hero {
    min-height: 360px;
  }

  .bscc-hero__content {
    margin-left: 0;
    max-width: none;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .bscc-hero__title {
    font-size: 34px !important;
  }

  .bscc-hero__subtitle {
    font-size: 18px;
  }

  .bscc-problems__grid,
  .bscc-scenes__grid,
  .bscc-value__grid {
    grid-template-columns: 1fr;
  }

  #bscc-root .bscc-tabs__panels {
    padding: 24px 18px;
  }

  #bscc-root .bscc-tabs__btn {
    padding: 8px 14px !important;
    font-size: 13px !important;
  }

  #bscc-root .bscc-tabs__title {
    font-size: 22px !important;
  }

  #bscc-root .bscc-tabs__slogan {
    font-size: 17px;
  }

  #bscc-root .bscc-feature-shot::after,
  #bscc-root .bscc-architecture__figure::after {
    opacity: 1;
    transform: none;
  }

  .bscc-back-top {
    right: 0.85rem;
    bottom: 5.5rem;
  }
}

body:has(> #bscc-root) {
  margin: 0;
  background: #fff;
}
