/* ============================================================
   STEMWise Landing — Problem Section
   ============================================================ */

.stmw-problem {
  background-color: var(--stmw-dark);
  padding: 90px 0;
  position: relative;
}

/* ── Cards ── */
.stmw-problem__card {
  padding: 32px 28px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform var(--stmw-duration) var(--stmw-ease),
              box-shadow var(--stmw-duration) var(--stmw-ease);
}

.stmw-problem__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99, 55, 254, .15);
}

/* ── Icon ── */
.stmw-problem__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 8px;
  background: rgba(99, 55, 254, .15);
  color: var(--stmw-primary);
}

.stmw-problem__icon--warning {
  background: rgba(255, 171, 0, .15);
  color: #ffab00;
}

.stmw-problem__icon--pink {
  background: rgba(236, 72, 153, .15);
  color: #ec4899;
}

/* ── Number ── */
.stmw-problem__number {
  font-family: var(--stmw-font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--stmw-secondary);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stmw-problem__prefix {
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
}

.stmw-problem__unit {
  font-size: 28px;
  font-weight: 700;
  color: var(--stmw-secondary);
}

/* ── Narrative highlight (for stat 2 without number) ── */
.stmw-problem__narrative-highlight {
  font-family: var(--stmw-font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.2;
  color: #ffab00;
  margin-bottom: 4px;
}

/* ── Label ── */
.stmw-problem__label {
  font-family: var(--stmw-font-body);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .65);
  margin: 0;
  flex: 1;
}

/* ── Source ── */
.stmw-problem__source {
  font-size: 11px;
  color: rgba(255, 255, 255, .3);
  margin-top: 12px;
  letter-spacing: .3px;
}

/* ── Narrative ── */
.stmw-problem__narrative {
  font-family: var(--stmw-font-body);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
  max-width: 700px;
  margin: 0 auto;
}

.stmw-problem__narrative strong {
  color: var(--stmw-white);
}

/* ── Responsive ── */
@media (max-width: 767.98px) {
  .stmw-problem {
    padding: 64px 0;
  }

  .stmw-problem__number {
    font-size: 40px;
  }

  .stmw-problem__narrative-highlight {
    font-size: 24px;
  }

  .stmw-problem__narrative {
    font-size: 16px;
  }
}
