/* PragCore Sovereign 3D Architectural Symbolism & Materiality */

.glyph-3d-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.005) 75%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: border-color 0.382s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.382s cubic-bezier(0.16, 1, 0.3, 1), transform 0.382s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

@media (min-width: 640px) {
  .glyph-3d-wrap {
    width: 84px;
    height: 84px;
    border-radius: 18px;
  }
}

@media (min-width: 1024px) {
  .glyph-3d-wrap {
    width: 96px;
    height: 96px;
  }
}

.pillar:hover .glyph-3d-wrap {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.brand-coremark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 0;
  flex-shrink: 0;
  vertical-align: middle;
}

.brand-coremark-canvas {
  width: 26px;
  height: 26px;
  display: block;
}

.brand-coremark-svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(39, 212, 200, 0.45));
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.24s ease;
}

.brand:hover .brand-coremark-svg {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.btn-3d-glyph {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 6px;
  vertical-align: middle;
}

.glyph-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.glyph-3d-canvas:active {
  cursor: grabbing;
}

/* Pillar Card Header Layout with 3D Architectural Sculpture */
.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pillar-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}

.pragchat-header-avatar {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(39, 212, 200, 0.08);
  border: 1px solid rgba(39, 212, 200, 0.25);
  flex-shrink: 0;
}

.pragchat-header-avatar .glyph-3d-canvas {
  width: 32px;
  height: 32px;
}

/* Hero Lockup with 3D Brand Coremark Sculpture */
.hero-lockup {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.8vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.hero-3d-glyph-container {
  position: relative;
  width: clamp(76px, 8.5vw, 104px);
  height: clamp(76px, 8.5vw, 104px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-3d-glyph-container .glyph-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 12px 36px rgba(39, 212, 200, 0.38));
  cursor: grab;
}

.hero-3d-glyph-container .glyph-3d-canvas:active {
  cursor: grabbing;
}

.hero-lockup .hero-title {
  margin: 0;
}

@media (max-width: 720px) {
  .hero-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .hero-3d-glyph-container {
    width: 68px;
    height: 68px;
  }
}

