.block-ailearnerhub {
  width: 100%;
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

/* Ambient background */
.block-ailearnerhub::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 5% 50%, rgba(110,40,220,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 95% 30%, rgba(40,120,255,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 50% 100%, rgba(80,20,160,0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ══ INNER ══════════════════════════════════ */
.block-ailearnerhub-inner {
  position: relative;
  z-index: 1;
  width: min(1680px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  align-items: center;
 
}

/* ══ LEFT PANEL ═════════════════════════════ */
.block-ailearnerhub-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
  gap: 0;
}
.hub-section {
  margin-bottom: 0;
  padding: 32px 28px;
  border-radius: 20px;
//   border: 1px solid rgba(255,255,255,0.05);
//   background: rgba(255,255,255,0.025);
//   backdrop-filter: blur(8px);
  transition: background .25s, border-color .25s, transform .25s;
  cursor: default;
  text-align: center !important;
  margin-bottom: 12px;
  animation: card-in .5s ease both;
}
.hub-section:nth-child(1){ animation-delay: .05s; }
.hub-section:nth-child(2){ animation-delay: .12s; }
.hub-section:nth-child(3){ animation-delay: .19s; }
.hub-section:last-child { margin-bottom: 0; }

.hub-section:hover {
  background: rgba(120,70,255,0.08);
  border-color: rgba(160,120,255,0.2);
  transform: translateX(4px);
}

@keyframes card-in {
  from { opacity:0; transform:translateX(-12px); }
  to   { opacity:1; transform:translateX(0); }
}

.hub-heading {
  font-family: 'Syne', sans-serif;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.05rem;
}

.hub-subtext {
  line-height: 1.5;
  font-weight: 300;
  color: rgba(205,190,245,0.65);
  font-size: 0.9rem;
}

.hub-link {
  color: rgba(190,165,255,0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.hub-link::after {
  content: '→';
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
  display: inline-block;
}
.hub-link:hover {
  color: #fff;
  text-decoration: none;
}
.hub-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ══ RIGHT PANEL ════════════════════════════ */
.block-ailearnerhub-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  border-radius: 28px;
//   border: 1px solid rgba(255,255,255,0.07);
//   background: rgba(14,10,28,0.55);
//   backdrop-filter: blur(20px);
//   box-shadow:
//     0 40px 80px rgba(0,0,0,0.35),
//     inset 0 1px 0 rgba(255,255,255,0.05);
  animation: panel-in .65s .05s ease both;
}
@keyframes panel-in {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Eyebrow */
.hub-progress-eyebrow {
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(175,145,255,0.5);
  margin-bottom: 12px;
}

.hub-progress-title {
  font-family: 'Syne', sans-serif;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.6rem;
}

/* Percent display */
.hub-progress-percent-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 36px;
}
.hub-progress-percent {
  font-family: 'Syne', sans-serif;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
  color: #e8deff;
  font-size: 3.5rem;
}
.hub-progress-percent-label {
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(175,145,255,0.5);
}

/* ── Progress track ───────────────────────── */
.hub-progress-track-wrap {
  width: min(520px, 100%);
  margin-bottom: 20px;
}

.hub-progress-track {
  position: relative;
  width: 100%;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  height: 6px !important;
  overflow: visible;
}

/* Filled portion */
.hub-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
  box-shadow: 0 0 12px rgba(167,139,250,0.5);
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

.hub-progress-steps {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hub-progress-step {
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  transition: transform .2s, box-shadow .2s;
}
.hub-progress-step:hover { transform: scale(1.15); }

.hub-progress-step.completed {
  box-shadow: 0 0 0 3px rgba(167,139,250,0.2), 0 0 12px rgba(140,90,255,0.4);
}
.hub-progress-step.incomplete {
  box-shadow: none;
}

.hub-progress-check {
  line-height: 1;
  font-weight: 700;
  transform: translateY(-1px);
}

/* Step labels below track */
.hub-progress-labels {
  width: min(520px, 100%);
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
}
.hub-step-label {
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(175,155,230,0.4);
  letter-spacing: 0.04em;
  text-align: center;
  flex: 1;
}
.hub-step-label.done {
  color: rgba(190,165,255,0.65);
}


/* ══ RESPONSIVE ═════════════════════════════ */
@media (max-width: 1100px) {
  .block-ailearnerhub-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px 0;
    gap: 24px;
  }
  .block-ailearnerhub-left {
    padding-left: 0;
  }
  .block-ailearnerhub-right {
    padding: 36px 28px;
  }
}

@media (max-width: 576px) {
  .hub-section {
    padding: 24px 20px;
    margin-bottom: 8px;
  }
  .hub-progress-percent { font-size: 2.6rem; }
  .hub-progress-title { font-size: 1.3rem; }
  .hub-right-stats { gap: 14px; }
  .block-ailearnerhub-right { padding: 28px 18px; }
}