/* ------------------------------------------------------------------
   Learning — editorial, cinematic gradients, pitch black, Manrope
   Extends legal.css base (navbar, footer, reset, fonts, scrollbar)
   ------------------------------------------------------------------ */

/* ------------------------------------------------------------------
   Hero — cinematic gradient half-circle, cut by next section
   ------------------------------------------------------------------ */

.learn-hero {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 60px 120px;
  overflow: hidden;
}

.learn-hero::before {
  content: '';
  position: absolute;
  bottom: -500px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 1000px;
  background: radial-gradient(ellipse at center bottom, rgba(80, 200, 160, 0.4) 0%, rgba(80, 200, 160, 0.15) 30%, rgba(80, 200, 160, 0.05) 55%, transparent 75%);
  filter: blur(150px);
  animation: fadeIn 2s ease-out forwards;
  pointer-events: none;
  z-index: 0;
}

.learn-hero-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 28px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
}

.learn-hero-title {
  position: relative;
  z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  max-width: 760px;
}

.learn-hero-lead {
  position: relative;
  z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.42);
  max-width: 560px;
  margin-top: 32px;
}

.learn-hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 48px;
  margin-top: 56px;
}

.learn-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.learn-stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
}

.learn-stat-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

/* ------------------------------------------------------------------
   Section — cuts the hero gradient, clean editorial rows
   ------------------------------------------------------------------ */

.learn-section {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px;
  background: #000000;
  z-index: 2;
}

.learn-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.learn-section-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.learn-section-count {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
}

/* ------------------------------------------------------------------
   Article entry — editorial row with arrow reveal
   ------------------------------------------------------------------ */

.learn-entry {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
  transition: padding 0.25s ease;
  cursor: pointer;
}

.learn-entry:last-child {
  border-bottom: none;
}

.learn-entry:hover {
  padding-left: 12px;
}

.learn-entry-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
  transition: color 0.2s ease;
}

.learn-entry:hover .learn-entry-num {
  color: rgba(255, 255, 255, 0.5);
}

.learn-entry-body {
  min-width: 0;
}

.learn-entry-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.learn-entry:hover .learn-entry-title {
  color: #FFFFFF;
}

.learn-entry-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.35);
  max-width: 540px;
}

.learn-entry-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.learn-entry-arrow {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease, transform 0.25s ease;
}

.learn-entry:hover .learn-entry-arrow {
  color: rgba(255, 255, 255, 0.6);
  transform: translateX(4px);
}

/* ------------------------------------------------------------------
   Divider — subtle gradient fade between sections
   ------------------------------------------------------------------ */

.learn-divider {
  max-width: 1400px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
  border: none;
}

/* ------------------------------------------------------------------
   Closing
   ------------------------------------------------------------------ */

.learn-closing {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px 120px;
  background: #000000;
  z-index: 2;
}

.learn-closing-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
  max-width: 480px;
}

.learn-closing-text a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.learn-closing-text a:hover {
  color: #FFFFFF;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 768px) {
  .learn-hero {
    padding: 110px 24px 80px;
  }

  .learn-hero-glow {
    width: 800px;
    height: 800px;
  }

  .learn-hero-stats {
    gap: 32px;
    margin-top: 40px;
  }

  .learn-stat-num {
    font-size: 22px;
  }

  .learn-section {
    padding: 56px 24px;
  }

  .learn-section-header {
    margin-bottom: 32px;
  }

  .learn-entry {
    grid-template-columns: 32px 1fr;
    gap: 20px;
    padding: 22px 0;
  }

  .learn-entry:hover {
    padding-left: 4px;
  }

  .learn-entry-meta {
    display: none;
  }

  .learn-entry-desc {
    max-width: 100%;
  }

  .learn-closing {
    padding: 56px 24px 80px;
  }
}