/* ==========================================================================
   BLOCKCHAIN, SMART CONTRACTS & WEB3 CASE STUDY STYLESHEET
   NextGen TechEdge Solutions - Production Architecture
   ========================================================================== */

:root {
  --bc-purple: #8426b0;
  --bc-fuchsia: #b81c8c;
  --bc-coral: #df414c;
  --bc-teal: #00d4aa;
  --bc-cyan: #06b6d4;
  --bc-blue: #3b82f6;
  --bc-indigo: #6366f1;
  --bc-dark-bg: #070514;
  --bc-dark-surface: #0f0a26;
  --bc-dark-card: #150f33;
  --bc-dark-border: rgba(132, 38, 176, 0.25);
  --bc-glow-purple: rgba(132, 38, 176, 0.4);
  --bc-glow-teal: rgba(0, 212, 170, 0.35);
}

/* --------------------------------------------------------------------------
   1. HERO SECTION (FULL REDESIGN - DARK THEMATIC HERO)
   -------------------------------------------------------------------------- */
.bc-hero-section {
  padding: 130px 0 60px;
  background: radial-gradient(circle at 80% 20%, rgba(132, 38, 176, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
              linear-gradient(180deg, #070514 0%, #0d0924 50%, #130e2e 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(132, 38, 176, 0.2);
  color: #ffffff;
}

.bc-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.7;
}

.bc-hero-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Breadcrumb Navigation on Dark Flagship Hero */
.bc-hero-section .case-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.bc-hero-section .case-breadcrumb a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.bc-hero-section .case-breadcrumb a:hover {
  color: #00d4aa;
}

.bc-hero-section .case-breadcrumb .sep {
  color: #475569;
  margin: 0 4px;
}

.bc-hero-section .case-breadcrumb [aria-current="page"] {
  color: #00d4aa;
  font-weight: 600;
}

/* Eyebrow & Headline */
.bc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00d4aa;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.bc-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: #00d4aa;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d4aa;
  animation: bcPulse 2s infinite;
}

@keyframes bcPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.bc-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 16px;
}

.bc-hero-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.4;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #00d4aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bc-hero-desc {
  font-size: 1.05rem;
  line-height: 1.68;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 640px;
}

/* CTAs */
.bc-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.bc-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #8426b0 0%, #b81c8c 50%, #df414c 100%);
  color: #ffffff !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(132, 38, 176, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bc-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(132, 38, 176, 0.6);
}

.bc-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bc-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(0, 212, 170, 0.5);
  transform: translateY(-2px);
}

/* Capability Chips in Hero */
.bc-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bc-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(21, 15, 51, 0.7);
  border: 1px solid rgba(132, 38, 176, 0.35);
  padding: 6px 12px;
  border-radius: 8px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.bc-chip svg {
  color: #00d4aa;
  flex-shrink: 0;
}

.bc-chip:hover {
  border-color: #00d4aa;
  background: rgba(21, 15, 51, 0.95);
}

/* --------------------------------------------------------------------------
   HERO ARCHITECTURE VISUALIZATION (RIGHT COLUMN)
   -------------------------------------------------------------------------- */
.bc-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bc-visual-stage {
  width: 100%;
  max-width: 480px;
  background: rgba(15, 10, 38, 0.8);
  border: 1px solid rgba(132, 38, 176, 0.4);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  backdrop-filter: blur(16px);
}

.bc-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.bc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #00d4aa;
  font-size: 0.72rem;
  background: rgba(0, 212, 170, 0.12);
  padding: 3px 8px;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 170, 0.3);
}

.bc-nodes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bc-node-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bc-node-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(132, 38, 176, 0.5);
  transform: translateY(-2px);
}

.bc-node-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.bc-node-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.bc-node-meta {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.35;
}

.bc-node-card.highlight {
  border-color: rgba(0, 212, 170, 0.4);
  background: rgba(0, 212, 170, 0.04);
}

/* --------------------------------------------------------------------------
   2. CONTENT SECTIONS ARCHITECTURE
   -------------------------------------------------------------------------- */
.bc-section {
  padding: 84px 0;
  position: relative;
}

.bc-section.bg-surface {
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.bc-section.bg-alt {
  background: #f1f5f9;
}

.bc-section.bg-dark {
  background: #090617;
  color: #ffffff;
  border-top: 1px solid rgba(132, 38, 176, 0.2);
  border-bottom: 1px solid rgba(132, 38, 176, 0.2);
}

.bc-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px;
}

.bc-kicker {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 12px;
  display: inline-block;
}

.bc-section.bg-dark .bc-kicker {
  color: #00d4aa;
}

.bc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.bc-section.bg-dark .bc-title {
  color: #ffffff;
}

.bc-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-body);
  margin: 0;
}

.bc-section.bg-dark .bc-lead {
  color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   3. OVERVIEW & CAPABILITY CARDS
   -------------------------------------------------------------------------- */
.bc-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.bc-cap-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.bc-cap-card:hover {
  transform: translateY(-4px);
  border-color: rgba(132, 38, 176, 0.35);
  box-shadow: 0 12px 28px rgba(132, 38, 176, 0.1);
}

.bc-cap-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(132, 38, 176, 0.08);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bc-cap-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.bc-cap-text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

/* Scope Callout Box */
.bc-scope-box {
  background: rgba(132, 38, 176, 0.05);
  border: 1px solid rgba(132, 38, 176, 0.2);
  border-left: 4px solid var(--brand-purple);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 30px;
}

.bc-scope-icon {
  color: var(--brand-purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.bc-scope-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. BUSINESS CHALLENGES (6 CARDS)
   -------------------------------------------------------------------------- */
.bc-challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bc-challenge-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bc-challenge-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-purple) 0%, var(--brand-coral) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bc-challenge-card:hover {
  transform: translateY(-4px);
  border-color: rgba(132, 38, 176, 0.3);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.bc-challenge-card:hover::before {
  opacity: 1;
}

.bc-challenge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bc-challenge-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-purple);
  background: rgba(132, 38, 176, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
}

.bc-challenge-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
}

.bc-challenge-body {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. SOLUTION ARCHITECTURE (MULTI-LAYER SYSTEM)
   -------------------------------------------------------------------------- */
.bc-arch-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  margin-bottom: 32px;
}

.bc-arch-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bc-arch-layer {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: #fafbfd;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  transition: all 0.25s ease;
}

.bc-arch-layer:hover {
  background: #ffffff;
  border-color: rgba(132, 38, 176, 0.35);
  box-shadow: 0 4px 18px rgba(132, 38, 176, 0.08);
}

.bc-arch-layer-name {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bc-arch-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand-purple);
  background: rgba(132, 38, 176, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
}

.bc-arch-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.bc-arch-content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.bc-arch-pill {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.bc-arch-pill.highlight {
  border-color: rgba(132, 38, 176, 0.4);
  color: var(--brand-purple);
  background: rgba(132, 38, 176, 0.04);
}

.bc-arch-connector {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--brand-purple);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.05em;
  padding: 4px 0;
}

.bc-arch-connector span {
  background: rgba(132, 38, 176, 0.08);
  padding: 3px 12px;
  border-radius: 100px;
}

.bc-arch-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.bc-arch-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 20px;
}

.bc-arch-note-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bc-arch-note-title svg {
  color: var(--brand-purple);
}

.bc-arch-note-text {
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--text-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   6. NFT MINTING LIFECYCLE (7 STAGES + STATE MATRIX)
   -------------------------------------------------------------------------- */
.bc-lifecycle-stages {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.bc-stage-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 60px 1.2fr 2fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.bc-stage-item:hover {
  border-color: rgba(132, 38, 176, 0.35);
  box-shadow: 0 8px 24px rgba(132, 38, 176, 0.08);
  transform: translateX(4px);
}

.bc-stage-num {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-coral) 100%);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(132, 38, 176, 0.3);
}

.bc-stage-heading-wrap h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0;
}

.bc-stage-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.bc-stage-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* State Matrix */
.bc-state-box {
  background: #0f0a26;
  color: #ffffff;
  border: 1px solid rgba(132, 38, 176, 0.3);
  border-radius: 16px;
  padding: 30px;
  margin-top: 36px;
}

.bc-state-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-state-title svg {
  color: #00d4aa;
}

.bc-state-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 22px;
  line-height: 1.6;
}

.bc-state-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.bc-state-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
}

.bc-state-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bc-state-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.bc-state-detail {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   7. CUSTOM SOLIDITY SMART CONTRACT DEVELOPMENT (MAJOR SECTION)
   -------------------------------------------------------------------------- */
.bc-solidity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.bc-solidity-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}

.bc-solidity-card:hover {
  transform: translateY(-4px);
  border-color: rgba(132, 38, 176, 0.35);
  box-shadow: 0 14px 32px rgba(132, 38, 176, 0.1);
}

.bc-solidity-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(132, 38, 176, 0.08);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bc-solidity-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
}

.bc-solidity-text {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-body);
  margin: 0;
}

/* Quality & Security Subsection */
.bc-quality-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 6px 26px rgba(15, 23, 42, 0.05);
}

.bc-quality-header {
  margin-bottom: 28px;
}

.bc-quality-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bc-quality-title svg {
  color: var(--brand-purple);
}

.bc-quality-sub {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
}

.bc-quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bc-quality-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.bc-quality-item:hover {
  background: #ffffff;
  border-color: rgba(132, 38, 176, 0.35);
}

.bc-quality-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.15);
  color: #02755e;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.bc-quality-item-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.bc-quality-item-desc {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   8. GENUINE PROJECT SCREENSHOTS & ACCESSIBLE LIGHTBOX
   -------------------------------------------------------------------------- */
.bc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bc-gallery-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.bc-gallery-card:hover {
  transform: translateY(-5px);
  border-color: rgba(132, 38, 176, 0.4);
  box-shadow: 0 16px 36px rgba(132, 38, 176, 0.12);
}

.bc-gallery-card:focus-visible {
  outline: 2px solid var(--brand-purple);
  outline-offset: 3px;
}

.bc-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.bc-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

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

.bc-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.bc-gallery-card:hover .bc-zoom-badge {
  opacity: 1;
}

.bc-caption-box {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bc-caption-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.bc-caption-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* Lightbox Modal */
.bc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 5, 20, 0.92);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.bc-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.bc-lightbox-content {
  position: relative;
  max-width: 1280px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bc-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.bc-lightbox-caption {
  margin-top: 14px;
  color: #e2e8f0;
  font-size: 0.95rem;
  text-align: center;
  max-width: 800px;
  line-height: 1.5;
}

.bc-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bc-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   9. TECHNOLOGY STACK (TWO DISTINCT GROUPS)
   -------------------------------------------------------------------------- */
.bc-stack-group {
  margin-bottom: 44px;
}

.bc-stack-group-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-stack-group-title svg {
  color: var(--brand-purple);
}

.bc-demonstrated-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bc-demo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.bc-demo-card:hover {
  border-color: rgba(132, 38, 176, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(132, 38, 176, 0.08);
}

.bc-demo-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(132, 38, 176, 0.1);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bc-demo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.bc-demo-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* Broader Toolkit Cards Grid */
.bc-toolkit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bc-toolkit-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.03);
}

.bc-toolkit-cat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.bc-toolkit-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bc-toolkit-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   10. BLOCKCHAIN SOLUTIONS WE CAN BUILD (6 PREMIUM SERVICE CARDS)
   -------------------------------------------------------------------------- */
.bc-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.bc-solution-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bc-solution-card:hover {
  transform: translateY(-5px);
  border-color: rgba(132, 38, 176, 0.35);
  box-shadow: 0 16px 36px rgba(132, 38, 176, 0.1);
}

.bc-solution-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(132, 38, 176, 0.1) 0%, rgba(223, 65, 76, 0.1) 100%);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bc-solution-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
}

.bc-solution-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 24px;
  flex: 1;
}

.bc-solution-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-purple);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.bc-solution-cta:hover {
  color: var(--brand-coral);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   11. INDUSTRY APPLICATIONS (6 CARDS + PRAGMATIC PERSPECTIVE)
   -------------------------------------------------------------------------- */
.bc-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.bc-industry-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.03);
  transition: all 0.25s ease;
}

.bc-industry-card:hover {
  transform: translateY(-4px);
  border-color: rgba(132, 38, 176, 0.35);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.bc-industry-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bc-industry-title svg {
  color: var(--brand-purple);
  flex-shrink: 0;
}

.bc-industry-desc {
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--text-body);
  margin: 0;
}

.bc-pragmatic-box {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.bc-pragmatic-icon {
  color: var(--brand-purple);
  flex-shrink: 0;
  margin-top: 2px;
}

.bc-pragmatic-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0;
}

.bc-pragmatic-text p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. SECURITY & RELIABILITY (DEDICATED SECTION)
   -------------------------------------------------------------------------- */
.bc-security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.bc-security-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 24px 20px;
  transition: all 0.25s ease;
}

.bc-security-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 212, 170, 0.4);
  transform: translateY(-3px);
}

.bc-security-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 212, 170, 0.15);
  color: #00d4aa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.bc-security-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.bc-security-card-text {
  font-size: 0.88rem;
  line-height: 1.58;
  color: #cbd5e1;
  margin: 0;
}

.bc-security-cta-banner {
  background: rgba(132, 38, 176, 0.15);
  border: 1px solid rgba(132, 38, 176, 0.35);
  border-radius: 14px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.bc-security-cta-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.bc-security-cta-text p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0;
}

.bc-security-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00d4aa;
  color: #070514 !important;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.bc-security-btn:hover {
  background: #34d399;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   13. DEMONSTRATED OUTCOMES (VERIFIABLE CHECKLIST)
   -------------------------------------------------------------------------- */
.bc-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bc-outcome-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.bc-outcome-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.15);
  color: #02755e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.bc-outcome-content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 6px 0;
}

.bc-outcome-content p {
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--text-body);
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. FAQ ACCORDION (10 ACCESSIBLE ITEMS)
   -------------------------------------------------------------------------- */
.bc-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bc-faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bc-faq-item:hover {
  border-color: rgba(132, 38, 176, 0.35);
}

.bc-faq-summary {
  padding: 22px 26px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.bc-faq-summary::-webkit-details-marker {
  display: none;
}

.bc-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(132, 38, 176, 0.08);
  color: var(--brand-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.bc-faq-item[open] .bc-faq-icon {
  transform: rotate(45deg);
  background: var(--brand-purple);
  color: #ffffff;
}

.bc-faq-content {
  padding: 0 26px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

.bc-faq-content p {
  margin: 0 0 12px 0;
}

.bc-faq-content p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. CONVERSION CALL TO ACTION SECTION
   -------------------------------------------------------------------------- */
.bc-conversion-section {
  padding: 88px 0;
  background: radial-gradient(circle at 50% 50%, rgba(132, 38, 176, 0.2) 0%, transparent 70%),
              linear-gradient(135deg, #090617 0%, #150f33 50%, #0d0924 100%);
  color: #ffffff;
  border-top: 1px solid rgba(132, 38, 176, 0.3);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.bc-conversion-wrap {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.bc-conversion-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.bc-conversion-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 36px;
}

.bc-conversion-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   16. RELATED CASE STUDIES & SERVICES
   -------------------------------------------------------------------------- */
.bc-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bc-related-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px 22px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.bc-related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(132, 38, 176, 0.35);
  box-shadow: 0 12px 28px rgba(132, 38, 176, 0.1);
}

.bc-related-cat {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.bc-related-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.35;
}

.bc-related-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-body);
  margin-bottom: 18px;
  flex: 1;
}

.bc-related-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.bc-related-card:hover .bc-related-link {
  gap: 10px;
  color: var(--brand-coral);
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE MEDIA QUERIES (320px - 1440px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .bc-overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bc-toolkit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .bc-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bc-hero-visual {
    order: 2;
  }
  .bc-challenges-grid,
  .bc-solidity-grid,
  .bc-solutions-grid,
  .bc-industry-grid,
  .bc-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bc-security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bc-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bc-demonstrated-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bc-arch-layer {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bc-arch-notes-grid {
    grid-template-columns: 1fr;
  }
  .bc-stage-item {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }
  .bc-stage-desc {
    grid-column: 1 / -1;
  }
  .bc-quality-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bc-hero-section {
    padding: 110px 0 50px;
  }
  .bc-section {
    padding: 60px 0;
  }
  .bc-overview-grid {
    grid-template-columns: 1fr;
  }
  .bc-challenges-grid,
  .bc-solidity-grid,
  .bc-solutions-grid,
  .bc-industry-grid,
  .bc-gallery-grid,
  .bc-demonstrated-grid,
  .bc-toolkit-grid,
  .bc-related-grid,
  .bc-outcomes-grid {
    grid-template-columns: 1fr;
  }
  .bc-state-grid {
    grid-template-columns: 1fr;
  }
  .bc-security-grid {
    grid-template-columns: 1fr;
  }
  .bc-arch-wrapper {
    padding: 20px 16px;
  }
  .bc-quality-box {
    padding: 24px 20px;
  }
  .bc-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .bc-btn-primary,
  .bc-btn-secondary {
    justify-content: center;
    width: 100%;
  }
  .bc-conversion-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .bc-nodes-grid {
    grid-template-columns: 1fr;
  }
  .bc-stage-item {
    padding: 18px 16px;
  }
  .bc-stage-heading-wrap h4 {
    font-size: 1rem;
  }
  .bc-thumb-wrap {
    aspect-ratio: 16 / 9;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .bc-eyebrow-dot {
    animation: none;
  }
  .bc-btn-primary,
  .bc-btn-secondary,
  .bc-cap-card,
  .bc-challenge-card,
  .bc-solidity-card,
  .bc-gallery-card,
  .bc-demo-card,
  .bc-solution-card,
  .bc-industry-card,
  .bc-security-card,
  .bc-stage-item {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   BLOCKCHAIN GSAP HERO NETWORK VISUALIZATION
   ========================================================================== */

.bc-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(14, 9, 32, 0.94) 0%, rgba(8, 13, 31, 0.96) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 24px;
  box-shadow: 0 24px 64px -12px rgba(8, 13, 31, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  width: 100%;
}

.bc-visual-stage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  background: rgba(14, 9, 32, 0.65);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
}

.bc-stage-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
}

.bc-stage-title-wrap svg {
  color: #a855f7;
}

.bc-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.bc-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22d3ee;
  box-shadow: 0 0 8px #22d3ee;
  animation: bcPulseGlow 2s infinite ease-in-out;
}

@keyframes bcPulseGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.25); }
}

/* SVG Canvas */
.bc-network-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 720 / 540;
  background: #080d1f;
  overflow: hidden;
}

.bc-network-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Nodes styling */
.bc-hero-node {
  cursor: pointer;
  outline: none;
  transition: filter 0.25s ease;
}

.bc-hero-node:focus-visible .bc-node-outer-ring {
  stroke: #22d3ee !important;
  stroke-width: 3px !important;
}

.bc-node-title-text {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: #f8fafc;
  letter-spacing: 0.03em;
  pointer-events: none;
  user-select: none;
}

.bc-node-sub-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 9px;
  font-weight: 500;
  fill: #94a3b8;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
}

.bc-hex-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  font-weight: 800;
  fill: #ffffff;
  letter-spacing: 0.06em;
  text-anchor: middle;
  pointer-events: none;
}

.bc-hex-sub {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  fill: #c084fc;
  letter-spacing: 0.03em;
  text-anchor: middle;
  pointer-events: none;
}

/* Connection Beams */
.bc-hero-beam-path {
  stroke-linecap: round;
  transition: stroke 0.3s ease, stroke-width 0.3s ease;
}

.bc-hero-beam-path.is-highlighted {
  stroke: #22d3ee !important;
  stroke-width: 3.5px !important;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.7));
}

/* Opcode Tags */
.bc-opcode-tag text {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 8.5px;
  font-weight: 600;
  fill: #22d3ee;
  letter-spacing: 0.02em;
}

.bc-opcode-tag rect {
  fill: rgba(14, 9, 32, 0.85);
  stroke: rgba(34, 211, 238, 0.45);
  stroke-width: 1px;
  rx: 4px;
}

/* HUD Control & Status Bar */
.bc-hero-hud {
  padding: 16px 20px;
  background: rgba(14, 9, 32, 0.85);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bc-hud-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bc-hud-status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
}

.bc-hud-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
  animation: bcPulseGlow 1.8s infinite ease-in-out;
}

.bc-hud-hash-pill {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 0.74rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bc-hud-steps {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bc-hud-step-pill {
  flex: 1;
  min-width: 60px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #64748b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.bc-hud-step-pill.is-active {
  background: rgba(139, 92, 246, 0.2);
  color: #22d3ee;
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.2);
}

.bc-hud-hint {
  font-size: 0.72rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Accessible Node Detail Modal */
.bc-node-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.bc-node-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.bc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 5, 20, 0.85);
  backdrop-filter: blur(8px);
}

.bc-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 540px;
  background: #0f0a26;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(139, 92, 246, 0.2);
  padding: 28px;
  color: #ffffff;
}

.bc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.bc-modal-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  margin-bottom: 6px;
}

.bc-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.bc-modal-subtitle {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-top: 2px;
}

.bc-modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bc-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: scale(1.05);
}

.bc-modal-role {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bc-modal-specs-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bc-modal-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  gap: 12px;
}

.bc-modal-spec-label {
  font-weight: 600;
  color: #94a3b8;
}

.bc-modal-spec-value {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-weight: 600;
  color: #f1f5f9;
  text-align: right;
}

/* Static Fallback and Reduced Motion Overrides */
.is-static-fallback .bc-hero-beam-path,
.is-reduced-motion .bc-hero-beam-path {
  stroke-dasharray: none !important;
  stroke-dashoffset: 0 !important;
}

.is-static-fallback #bcHeroGrid,
.is-reduced-motion #bcHeroGrid {
  opacity: 1 !important;
}

.is-static-fallback .bc-pulse-dot,
.is-static-fallback .bc-hud-pulse,
.is-reduced-motion .bc-pulse-dot,
.is-reduced-motion .bc-hud-pulse {
  animation: none !important;
}
