/* ==========================================================================
   showcase.css — Learning Path section (3-card grid)
   ========================================================================== */

/* ── Section shell ──────────────────────────────────────────────────────── */

.showcase-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.showcase-section--lp {
  /* Light gradient so glass cards are visually distinct */
  background: linear-gradient(180deg, #f0f4ff 0%, #e8edf8 100%);
  padding: 72px 0 88px;
  border-top: 1px solid var(--ds-gray-200, #E2E8F0);
}

.showcase-inner { position: relative; z-index: 1; }

/* ── Header ─────────────────────────────────────────────────────────────── */

.showcase-header {
  text-align: center;
  margin-bottom: 44px;
}

.showcase-header--light { margin-bottom: 40px; }

.showcase-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ds-amber-500, #F59E0B);
  border: 1px solid rgba(245, 158, 11, .35);
  border-radius: 20px;
  padding: 3px 14px;
  margin-bottom: 14px;
}

.showcase-eyebrow--dark {
  color: var(--ds-navy-700, #1e3a5f);
  border-color: var(--ds-navy-300, #94A3B8);
}

.showcase-title {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.showcase-title--dark { color: var(--ds-navy-900, #0f1f3d); }

/* ── 3-card grid ────────────────────────────────────────────────────────── */

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* ── Card base ──────────────────────────────────────────────────────────── */

.path-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 30px 26px 24px;
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 20px;
  color: var(--ds-navy-900, #0f1f3d);
  box-shadow: 0 4px 20px rgba(11, 27, 58, 0.07);
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}

/* Orange accent bar at bottom on hover */
.path-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ds-amber-500, #F59E0B);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

a.path-card:hover {
  border-color: rgba(245, 158, 11, .55);
  box-shadow: 0 10px 36px -6px rgba(11, 27, 58, .14);
  transform: translateY(-3px);
  color: var(--ds-navy-900, #0f1f3d);
}

a.path-card:hover::after { transform: scaleX(1); }

/* Kids card — not a link so no hover translate needed */
.path-card--kids {
  cursor: default;
}

.path-card--kids:hover {
  box-shadow: 0 6px 24px rgba(11, 27, 58, .10);
}

/* ── Card content ───────────────────────────────────────────────────────── */

.path-card__icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.path-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ds-navy-900, #0f1f3d);
  margin: 0 0 8px;
}

.path-card__sub {
  font-size: .83rem;
  color: var(--ds-navy-600, #4a6b8a);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.path-card__cta {
  display: inline-block;
  margin-top: 18px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ds-amber-500, #F59E0B);
  transition: transform .18s ease;
}

a.path-card:hover .path-card__cta {
  transform: translateX(-5px);
}

/* ── Age-group pills (inside Kids card only) ────────────────────────────── */

.path-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Base pill */
.path-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: .83rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 13px;
  border: 1.5px solid var(--ds-navy-300, #94A3B8);
  color: var(--ds-navy-700, #1e3a5f);
  background: rgba(255, 255, 255, 0.9);
  transition: background .16s, border-color .16s, color .16s, box-shadow .16s;
}

/* Large pill variant — used for age-group buttons in kids card */
.path-pill--lg {
  width: 140px;
  height: 44px;
  font-size: .9rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(11, 27, 58, .07);
}

.path-pill:hover,
.path-pill--lg:hover {
  background: var(--ds-amber-500, #F59E0B);
  border-color: var(--ds-amber-500, #F59E0B);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, .35);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .path-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .path-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .showcase-section--lp { padding: 48px 0 56px; }
  .path-card__icon { font-size: 2rem; }
  .path-pill--lg { width: 130px; height: 42px; }
}
