/* Blockchain Category Product Pages — extends consonance.css?v=cn-redesign13 */

.bc-page .cn-hero__logo {
  max-width: min(400px, 74vw);
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.bc-platform__inner {
  max-width: 1240px;
  margin: 0 auto;
}

/* Dark module / capability icon cards */
.bc-modules {
  list-style: none;
  margin: 32px 0 40px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bc-modules--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bc-modules--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bc-module {
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
}

.bc-module:hover {
  transform: translateY(-5px);
  border-color: rgba(196, 160, 245, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.bc-module__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 2px;
}

.bc-module__icon img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.bc-module__icon--glow {
  background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.3), rgba(96, 38, 158, 0.14));
  border: 1px solid rgba(216, 180, 254, 0.3);
  color: #e9d5ff;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.bc-module__icon--glow svg {
  width: 28px;
  height: 28px;
  display: block;
}

.bc-module:hover .bc-module__icon--glow {
  background: var(--color-primary, #60269e);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: scale(1.06);
}

.bc-module h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.bc-module p,
.bc-module span {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* Clean icon cards inside .cn-value */
.bc-value-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 24px !important;
}

.bc-value-card::before {
  display: none;
}

.bc-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 10px;
  background: rgba(96, 38, 158, 0.08);
  border: 1px solid rgba(96, 38, 158, 0.16);
}

.bc-value-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* Two-image pilot gallery / story split */
.bc-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bc-gallery figure {
  margin: 0;
  padding: 10px;
  background: linear-gradient(145deg, #f3ecfc 0%, #ffffff 100%);
  border: 1px solid rgba(96, 38, 158, 0.16);
  box-shadow: 0 20px 48px rgba(18, 8, 28, 0.1);
  overflow: hidden;
}

.bc-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bc-gallery figure:hover img {
  transform: scale(1.03);
}

.bc-stat-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 18px;
  padding: 14px 22px;
  background: #f8f5fc;
  border: 1px solid rgba(96, 38, 158, 0.2);
  border-left: 4px solid var(--color-primary, #60269e);
}

.bc-stat-pill strong {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary, #60269e);
  line-height: 1;
}

.bc-stat-pill span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3f384c;
}

.bc-caption {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #4f485c;
}

.bc-page .cn-banner__media {
  max-width: 1200px;
}

@media (max-width: 1080px) {
  .bc-modules,
  .bc-modules--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-modules--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .bc-modules,
  .bc-modules--5,
  .bc-gallery {
    grid-template-columns: 1fr;
  }
}
