/* Sirius Course Catalog — hub /corsi/ (stile marketplace, estendibile) */
.sc-catalog {
  --sc-ink: #0b1220;
  --sc-muted: #5b6577;
  --sc-line: rgba(15, 23, 42, 0.08);
  --sc-paper: #f7f8fb;
  --sc-card: #ffffff;
  --sc-navy: #0f172a;
  --sc-blue: #1d4ed8;
  --sc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sc-display: "Plus Jakarta Sans", "DM Sans", system-ui, sans-serif;
  --sc-body: "DM Sans", system-ui, sans-serif;
  margin: -1rem -1rem -2rem;
  color: var(--sc-ink);
  font-family: var(--sc-body);
  background: var(--sc-paper);
  min-height: calc(100vh - 4rem);
}

@media (min-width: 768px) {
  .sc-catalog {
    margin: -1.25rem -1.75rem -2rem;
  }
}

.sc-hero {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 1.25rem 2.5rem;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(37, 99, 235, 0.35), transparent 60%),
    radial-gradient(700px 380px at 88% 0%, rgba(15, 118, 110, 0.22), transparent 55%),
    linear-gradient(160deg, #070b16 0%, #0f172a 48%, #111827 100%);
  color: #f8fafc;
}

.sc-hero__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.sc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sc-hero__eyebrow i {
  color: #93c5fd;
}

.sc-hero__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--sc-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.sc-hero__title em {
  font-style: normal;
  color: #93c5fd;
}

.sc-hero__lead {
  margin: 1rem 0 0;
  max-width: 46rem;
  color: rgba(248, 250, 252, 0.78);
  font-size: 1.05rem;
  line-height: 1.55;
}

.sc-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.sc-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}

.sc-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3.5rem;
}

.sc-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.15rem;
}

.sc-section-head h2 {
  margin: 0;
  font-family: var(--sc-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.sc-section-head p {
  margin: 0.2rem 0 0;
  color: var(--sc-muted);
  font-size: 0.95rem;
}

.sc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .sc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

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

.sc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 18px;
  background: var(--sc-card);
  border: 1px solid var(--sc-line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform 0.28s var(--sc-ease), box-shadow 0.28s var(--sc-ease);
  text-decoration: none;
  color: inherit;
}

.sc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  color: inherit;
  text-decoration: none;
}

.sc-card__cover {
  position: relative;
  min-height: 148px;
  padding: 1.15rem 1.2rem;
  background:
    linear-gradient(145deg, var(--sc-cover-a, #0f172a) 0%, var(--sc-cover-b, #1e3a8a) 100%);
  color: #f8fafc;
}

.sc-card__cover::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.sc-card__kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.82;
}

.sc-card__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.sc-card__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--sc-display);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sc-card__headline {
  position: relative;
  z-index: 1;
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  opacity: 0.88;
}

.sc-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.2rem 1.2rem;
  gap: 0.85rem;
}

.sc-card__summary {
  margin: 0;
  color: var(--sc-muted);
  font-size: 0.94rem;
  line-height: 1.5;
  flex: 1;
}

.sc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-card__tags li {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 650;
}

.sc-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--sc-line);
}

.sc-stat {
  min-width: 0;
}

.sc-stat__val {
  display: block;
  font-family: var(--sc-display);
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
}

.sc-stat__lbl {
  display: block;
  margin-top: 0.1rem;
  color: var(--sc-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.sc-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.sc-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sc-badge--navy {
  background: #dbeafe;
  color: #1e3a8a;
}

.sc-badge--teal {
  background: #ccfbf1;
  color: #115e59;
}

.sc-badge--amber {
  background: #fef3c7;
  color: #92400e;
}

.sc-card--soon {
  opacity: 0.96;
}

.sc-card--soon .sc-card__kicker {
  color: #fde68a;
}

.sc-card--soon .sc-cta {
  color: #b45309;
}

.sc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--sc-blue);
}

.sc-card:hover .sc-cta {
  gap: 0.5rem;
}

.sc-slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 1.5rem 1.35rem;
  border-radius: 18px;
  border: 1.5px dashed rgba(15, 23, 42, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
  color: var(--sc-muted);
  text-align: left;
}

.sc-slot__icon {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e2e8f0;
  color: #334155;
  margin-bottom: 0.8rem;
}

.sc-slot h3 {
  margin: 0;
  color: var(--sc-ink);
  font-family: var(--sc-display);
  font-size: 1.1rem;
  font-weight: 800;
}

.sc-slot p {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 36rem;
}

.sc-note {
  margin-top: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--sc-line);
  color: var(--sc-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.sc-note strong {
  color: var(--sc-ink);
}

.sc-admin {
  margin: 0 auto 1rem;
  max-width: 1120px;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.88rem;
}
