/* Problem & Solution — dark-friendly card split */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  padding: 6rem 8%;
  margin-top: 2rem;
}

.problem, .solution {
  border-radius: 18px;
  padding: 2.2rem;
  position: relative;
  background: rgba(255,255,255,0.06);               /* glass for dark sites */
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.problem:hover, .solution:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.14);
}

/* Accent headers */
.problem h2, .solution h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg,#f97316,#ef4444);   /* orange → red */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "IBM Plex Serif", serif;
}

.solution h2 {
  background: linear-gradient(90deg,#22d3ee,#6366f1);   /* cyan → indigo */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.problem p, .solution p {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-family: "Sansation", sans-serif;
}

/* Pretty bullet lists with colored dots */
.problem ul, .solution ul {
  list-style: none;
  margin: 1rem 0 0 0;
  padding: 0;
}

.problem li, .solution li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0.6rem 0;
  color: rgba(255,255,255,0.82);
  font-family: "Sansation", sans-serif;
}

.problem li::before, .solution li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 999px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.25));
}

.problem li::before { background: linear-gradient(135deg,#ef4444,#f59e0b); }
.solution li::before { background: linear-gradient(135deg,#22d3ee,#6366f1); }

/* Subtle gradient rims behind cards */
.problem::after, .solution::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: radial-gradient(60% 60% at 50% 0%,
              rgba(255,255,255,0.08), transparent 60%);
  z-index: -1;
}

/* Responsive */
@media (max-width: 1024px) {
  .problem-solution { padding: 5rem 6%; }
}
@media (max-width: 900px) {
  .problem-solution {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 4rem 6%;
  }
}
