.saas-roles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.7vw, 1.25rem);
}

.saas-role-card {
  min-height: 21rem;
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: 0.9rem;
  padding: clamp(1.1rem, 2vw, 1.55rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.58)),
    radial-gradient(circle at 0% 0%, rgba(109, 93, 252, 0.1), transparent 58%);
}

.saas-role-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #6d5dfc, #d13f96);
  color: #ffffff;
  font-size: 1.25rem;
  box-shadow: 0 18px 38px rgba(109, 93, 252, 0.22);
}

.saas-role-card h3 {
  margin: 1.25rem 0 0;
  color: var(--sector-text);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  font-weight: 900;
  line-height: 1.25;
}

.saas-role-card p {
  margin: 0.85rem 0 0;
  color: var(--sector-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.saas-role-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.saas-role-card li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--sector-text);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}

.saas-role-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 999px;
  color: #7c3aed;
  font-size: 0.65rem;
}

.sector-page.sector-theme-dark .saas-role-card {
  border-color: rgba(167, 139, 250, 0.24);
  background:
    radial-gradient(circle at 0% 0%, rgba(109, 93, 252, 0.18), transparent 64%),
    rgba(18, 28, 46, 0.72);
}

.sector-page.sector-theme-dark .saas-role-card h3,
.sector-page.sector-theme-dark .saas-role-card li {
  color: #ffffff;
}

.sector-page.sector-theme-dark .saas-role-card p {
  color: #d7d3e7;
}

.sector-page.sector-theme-dark .saas-role-card li::before {
  border-color: rgba(192, 132, 252, 0.64);
  color: #c084fc;
}

@media (max-width: 1100px) {
  .saas-roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .saas-roles-grid {
    grid-template-columns: 1fr;
  }
}
