* { font-family: 'Inter', sans-serif; }
.hero-pattern {
  background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=2070&auto=format');
  background-size: cover;
  background-position: center 30%;
}

.hero-pattern--light {
  position: relative;
}

.hero-pattern__overlay {
  background:
    radial-gradient(120% 130% at 16% 28%, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.22) 45%, rgba(15, 23, 42, 0.08) 100%),
    linear-gradient(95deg, rgba(15, 23, 42, 0.52) 0%, rgba(30, 64, 175, 0.35) 58%, rgba(125, 211, 252, 0.22) 100%);
}

.hero-pattern--light::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-pattern--light > * {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  background: rgba(37, 99, 235, 0.88) !important;
  color: #eff6ff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.hero-title {
  color: #f8fafc;
  text-shadow: 0 6px 20px rgba(2, 6, 23, 0.32);
}

.hero-title__highlight {
  color: #bfdbfe;
}

.hero-description {
  color: #e2e8f0;
  max-width: 58ch;
}

.hero-cta {
  border-width: 2px;
  border-style: solid;
}

.hero-cta--primary {
  background: #f8fafc;
  border-color: #f8fafc;
  color: #1e3a8a;
}

.hero-cta--primary:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
}

.hero-cta--secondary {
  background: rgba(15, 23, 42, 0.24);
  border-color: rgba(241, 245, 249, 0.9);
  color: #f8fafc;
}

.hero-cta--secondary:hover {
  background: rgba(15, 23, 42, 0.38);
}

.hero-stats {
  background: rgba(248, 250, 252, 0.11);
  border: 1px solid rgba(226, 232, 240, 0.25);
  backdrop-filter: blur(8px);
}

.hero-stat-label {
  color: #dbeafe;
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(2px);
  transition: all 0.3s ease;
}
.module-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.module-card-actions {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.module-card-actions a {
  align-self: center;
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
}

.course-card-home {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.55) 0%, rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 48px -34px rgba(15, 23, 42, 0.45);
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
  text-decoration: none;
}

.course-card-home:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 28px 54px -34px rgba(30, 64, 175, 0.34);
}

.course-card-home__hero {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: -1.35rem -1.35rem 1.15rem;
  padding: 1.15rem 1.2rem 1rem;
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.95) 0%, rgba(239, 246, 255, 0.72) 52%, rgba(255, 255, 255, 0) 100%);
}

.course-card-home__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  background: rgba(255, 255, 255, 0.9);
  color: #1d4ed8;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.course-card-home__logo-wrap {
  flex: 0 0 auto;
}

.course-card-home__logo,
.course-card-home__logo-fallback {
  width: 5.3rem;
  height: 5.3rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 30px -24px rgba(30, 64, 175, 0.55);
}

.course-card-home__logo {
  object-fit: contain;
  padding: 0.7rem;
}

.course-card-home__logo-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  font-size: 1.8rem;
}

.course-card-home__meta {
  min-width: 0;
  margin-bottom: 0;
  flex: 1 1 auto;
}

.course-card-home__title {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
}

.course-card-home__subtitle {
  margin: 0.3rem 0 0;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
}

.course-card-home__description {
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.65;
  flex-grow: 1;
}

.course-card-home__footer {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.course-card-home__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.48rem 0.82rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.course-card-home__badge--primary {
  background: #dbeafe;
  color: #1d4ed8;
}

.course-card-home__badge--neutral {
  background: #e2e8f0;
  color: #334155;
}

.course-card-home__badge--soft {
  background: #eff6ff;
  color: #1e40af;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .hero-pattern__overlay {
    background:
      radial-gradient(130% 160% at 35% 22%, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.22) 55%, rgba(15, 23, 42, 0.08) 100%),
      linear-gradient(180deg, rgba(15, 23, 42, 0.56) 0%, rgba(30, 64, 175, 0.34) 65%, rgba(125, 211, 252, 0.2) 100%);
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .hero-description {
    max-width: 100%;
  }

  .course-card-home {
    padding: 1rem;
  }

  .course-card-home__hero {
    margin: -1rem -1rem 1rem;
    padding: 1rem 1rem 0.9rem;
    align-items: flex-start;
  }

  .course-card-home__logo,
  .course-card-home__logo-fallback {
    width: 4.4rem;
    height: 4.4rem;
  }
}
