.hero {
  padding: 2.5rem 1.5rem;
  border-radius: 1.2rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #f8fafc 48%, #dcfce7 100%);
  border: 1px solid rgba(2, 132, 199, 0.18);
  margin-bottom: 2rem;
}

.hero h1 {
  margin-top: 0;
  font-size: 2.4rem;
  line-height: 1.1;
}

.hero p {
  max-width: 760px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.hero-actions a,
.card-grid a {
  text-decoration: none;
}

.hero-button {
  display: inline-block;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #0284c7;
  color: white !important;
  font-weight: 700;
}

.hero-button.secondary {
  background: white;
  color: #0f172a !important;
  border: 1px solid #cbd5e1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.course-card {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.course-card h3 {
  margin-top: 0;
}

.figure-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.figure-strip img {
  border-radius: 0.8rem;
  border: 1px solid #e2e8f0;
  background: white;
}

.badge-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.badge-soft {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
}
