/* ============================================================
   STEMWise Landing — Solution Section
   ============================================================ */

.stmw-solution {
  background-color: var(--stmw-gray-50);
  padding: 90px 0;
}

/* ── Pillar Cards ── */
.stmw-solution__card {
  background: var(--stmw-white);
  border-radius: var(--stmw-radius-card);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--stmw-gray-200);
  transition: transform var(--stmw-duration) var(--stmw-ease),
              box-shadow var(--stmw-duration) var(--stmw-ease),
              border-color var(--stmw-duration) var(--stmw-ease);
}

.stmw-solution__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--stmw-shadow-lg);
  border-color: var(--stmw-primary);
}

/* ── Icon ── */
.stmw-solution__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 4px;
}

.stmw-solution__icon--purple {
  background: rgba(99, 55, 254, .1);
  color: var(--stmw-primary);
}

.stmw-solution__icon--green {
  background: rgba(40, 199, 111, .1);
  color: #28c76f;
}

.stmw-solution__icon--yellow {
  background: rgba(255, 171, 0, .1);
  color: #ffab00;
}

/* ── Text ── */
.stmw-solution__card-title {
  font-family: var(--stmw-font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--stmw-gray-900);
  margin: 0;
}

.stmw-solution__card-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--stmw-gray-600);
  margin: 0;
}

/* ── Feature list ── */
.stmw-solution__features {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stmw-solution__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--stmw-gray-800);
}

.stmw-solution__features i {
  color: var(--stmw-primary);
  font-size: 16px;
}

/* ── Platform Visual (browser mockup) ── */
.stmw-solution__visual {
  max-width: 900px;
  margin: 0 auto;
}

.stmw-solution__browser {
  background: var(--stmw-white);
  border-radius: var(--stmw-radius-lg);
  overflow: hidden;
  box-shadow: var(--stmw-shadow-lg);
  border: 1px solid var(--stmw-gray-200);
}

.stmw-solution__browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--stmw-gray-100);
  border-bottom: 1px solid var(--stmw-gray-200);
}

.stmw-solution__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.stmw-solution__dot:nth-child(1) { background: #ff5f57; }
.stmw-solution__dot:nth-child(2) { background: #ffbd2e; }
.stmw-solution__dot:nth-child(3) { background: #28c840; }

.stmw-solution__browser-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  line-height: 0;
}

.stmw-solution__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  height: auto;
  display: block;
}

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