/* ── INVESTORS PAGE OVERRIDES ── */

/* Force grid: 4 columns on problem section */
#problem .force-grid {
  grid-template-columns: repeat(4, 1fr);
}
/* Force grid column variants */
.force-grid-2 { grid-template-columns: repeat(2, 1fr); }
.force-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  #problem .force-grid { grid-template-columns: repeat(2, 1fr); }
  .force-grid-2 { grid-template-columns: 1fr; }
  .force-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  #problem .force-grid { grid-template-columns: 1fr; }
  .force-grid-2 { grid-template-columns: 1fr; }
  .force-grid-3 { grid-template-columns: 1fr; }
}

/* ── TAM / SAM / SOM CONCENTRIC CIRCLES ── */
.tam-viz {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.tam-ring {
  position: absolute;
  border-radius: 50%;
  overflow: visible;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  transform: scale(0.85);
  opacity: 0;
}

.tam-viz.visible .tam-ring {
  transform: scale(1);
  opacity: 1;
}

.tam-ring.tam {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-elevated);
  transition-delay: 0s;
}

.tam-ring.sam {
  width: 58%;
  height: 58%;
  top: 21%;
  left: 21%;
  border: 1px solid rgba(34, 197, 94, 0.1);
  background: var(--bg-card);
  transition-delay: 0.15s;
}

.tam-ring.som {
  width: 30%;
  height: 30%;
  top: 35%;
  left: 35%;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: var(--verified-dim);
  transition-delay: 0.3s;
}

.tam-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  pointer-events: none;
  white-space: nowrap;
}

/* TAM label: in the band between TAM edge and SAM edge */
.tam-ring.tam .tam-label {
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
}

/* SAM label: in the band between SAM edge and SOM edge */
.tam-ring.sam .tam-label {
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

/* SOM label: centered in the inner circle */
.tam-ring.som .tam-label {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tam-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.tam-ring.som .tam-amount {
  font-size: 14px;
  color: var(--verified);
}

.tam-ring.sam .tam-amount {
  font-size: 16px;
}

.tam-desc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.tam-ring.som .tam-desc {
  font-size: 8px;
}

/* ── COMPETITIVE TABLE: RED "No" CELLS ── */
.comp-no {
  color: var(--unfilled);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}

.comp-name {
  font-weight: 600;
  color: var(--text-primary);
}

.comp-val {
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── GTM TIMELINE ── */
.gtm-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gtm-phase {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gtm-phase:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.gtm-phase .phase-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.gtm-phase h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.gtm-phase p {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .gtm-timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .gtm-timeline { grid-template-columns: 1fr; }
}

/* ── STAT HERO (hero number spans) ── */
.stat-hero {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

/* ── TAM VIZ RESPONSIVE ── */
@media (max-width: 600px) {
  .tam-viz {
    max-width: 340px;
  }
  .tam-amount { font-size: 14px; }
  .tam-ring.sam .tam-amount { font-size: 13px; }
  .tam-ring.som .tam-amount { font-size: 12px; }
  .tam-desc { font-size: 7px; }
}

@media (max-width: 480px) {
  .tam-viz { max-width: 280px; }
  .tam-amount { font-size: 12px; }
  .tam-ring.sam .tam-amount { font-size: 11px; }
  .tam-ring.som .tam-amount { font-size: 10px; }
  .tam-desc { font-size: 6px; }
  .gtm-phase { padding: 16px; }
  .gtm-phase h4 { font-size: 13px; }
  .stat-hero { font-size: 12px; }
}
