/* ── PROBLEM / SOLUTION ──────────────────────────────────── */
#problem-solution {
  background:
    radial-gradient(ellipse 750px 500px at 90% 100%, rgba(89,28,83,0.11), transparent 55%),
    var(--clr-dark-2);
}
:root[data-theme="light"] #problem-solution {
  background:
    radial-gradient(ellipse 750px 500px at 90% 100%, rgba(89,28,83,0.08), transparent 55%),
    var(--clr-dark-2);
}

/* 3 problem cards - same rhythm as steps-grid */
.ps-problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.ps-problem-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.ps-problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-red), var(--clr-plum));
}
.ps-problem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(195,34,31,0.35);
  box-shadow: var(--shadow-glow-red);
}

.ps-problem-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(195,34,31,0.15);
  border: 2px solid rgba(195,34,31,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--clr-red);
  margin: 0 auto 1.5rem;
}

.ps-problem-card h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--clr-white);
  margin-bottom: 0.75rem;
}
.ps-problem-card p {
  color: var(--clr-text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* Branded divider */
.ps-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3.5rem 0;
}
.ps-divider-line {
  flex: 1;
  height: 1px;
  background: var(--grad-brand);
  opacity: 0.4;
}
.ps-divider-badge {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-white);
  background: var(--grad-brand);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* 3-column solution feature grid */
.ps-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .ps-problems-grid { grid-template-columns: 1fr; }
  .ps-solution-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* Long branded divider label must wrap instead of forcing overflow */
  .ps-divider { gap: 0.75rem; margin: 2.5rem 0; }
  .ps-divider-badge {
    white-space: normal;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
  }
}


