.academy-page {
  background: #fff;
  color: #13214c;
}

.academy-page .site-header {
  position: relative;
  z-index: 30;
}

.academy-page svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.academy-hero {
  position: relative;
  overflow: hidden;
  min-height: 570px;
  padding: 62px 0 38px;
  background:
    radial-gradient(circle at 78% 35%, rgba(34, 120, 255, .16), transparent 30%),
    linear-gradient(103deg, #f7faff 0%, #eef5ff 55%, #e6f0ff 100%);
}

.academy-hero::after {
  position: absolute;
  right: -70px;
  bottom: -140px;
  width: 570px;
  height: 570px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 103, 255, .18), rgba(13, 103, 255, 0) 70%);
  content: "";
}

.academy-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.academy-hero__orb--one {
  top: 62px;
  right: 16%;
  width: 130px;
  height: 130px;
  background: rgba(255, 255, 255, .46);
  filter: blur(2px);
}

.academy-hero__orb--two {
  left: -60px;
  bottom: -92px;
  width: 230px;
  height: 230px;
  background: rgba(24, 123, 255, .08);
}

.academy-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 50px;
}

.academy-hero__content {
  padding-left: 2px;
}

.academy-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 16px;
  padding: 5px 12px;
  border: 1px solid #b9d5ff;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  color: #0d66e8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}

.academy-hero h1 {
  margin: 0;
  color: #071544;
  font-size: clamp(42px, 4.2vw, 64px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.academy-hero h1 span {
  background: linear-gradient(90deg, #0d6df8 0%, #0d6df8 55%, #ff7a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.academy-hero__content > p {
  max-width: 670px;
  margin: 20px 0 24px;
  color: #52617f;
  font-size: 17px;
  line-height: 1.7;
}

.academy-search {
  display: grid;
  grid-template-columns: 1fr 58px;
  max-width: 600px;
  height: 58px;
  overflow: hidden;
  border: 1px solid #c9d8ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 9px 26px rgba(35, 76, 140, .09);
}

.academy-search input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0 20px;
  color: #14224c;
  background: transparent;
  font-size: 14px;
}

.academy-search input::placeholder { color: #8693ad; }

.academy-search button {
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(145deg, #0875ff, #0758d5);
  color: #fff;
  cursor: pointer;
}

.academy-search button svg { width: 23px; height: 23px; }

.academy-hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 710px;
  margin-top: 30px;
}

.academy-hero__stats article {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.academy-hero__stats article > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
  color: #0870f7;
  box-shadow: 0 7px 20px rgba(32, 96, 193, .12);
}

.academy-hero__stats article > span svg { width: 20px; height: 20px; }
.academy-hero__stats div { min-width: 0; }
.academy-hero__stats strong { display: block; color: #081744; font-size: 18px; line-height: 1.2; }
.academy-hero__stats small { display: block; margin-top: 2px; color: #67728b; font-size: 11px; line-height: 1.4; }

.academy-hero__visual {
  position: relative;
  min-height: 430px;
}

.academy-laptop {
  position: absolute;
  z-index: 3;
  top: 15px;
  right: 30px;
  width: min(520px, 90%);
  transform: perspective(1200px) rotateY(-5deg) rotateX(1deg);
}

.academy-laptop__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  padding: 13px;
  border: 10px solid #091432;
  border-bottom-width: 17px;
  border-radius: 18px 18px 10px 10px;
  background: #0a1534;
  box-shadow: 0 26px 50px rgba(14, 53, 118, .28);
}

.academy-laptop__screen > img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
  filter: saturate(.95) brightness(.8) hue-rotate(4deg);
}

.academy-laptop__overlay {
  position: absolute;
  inset: 13px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(8, 50, 150, .2), rgba(3, 27, 99, .58));
}

.academy-laptop__overlay img {
  width: 166px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .93);
}

.academy-laptop__overlay button {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  backdrop-filter: blur(5px);
  cursor: pointer;
}

.academy-laptop__overlay button svg { width: 34px; height: 34px; }

.academy-laptop__base {
  width: 112%;
  height: 19px;
  margin-left: -6%;
  border-radius: 2px 2px 18px 18px;
  background: linear-gradient(180deg, #d8e1ee, #8998ad 55%, #dce5f0);
  box-shadow: 0 13px 20px rgba(10, 42, 94, .24);
}

.academy-hero__robot {
  position: absolute;
  z-index: 5;
  right: -6px;
  bottom: -8px;
  width: 128px;
  filter: drop-shadow(0 18px 20px rgba(31, 87, 178, .22));
}

.academy-floating-card {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 14px;
  background: rgba(255, 255, 255, .65);
  color: #0a6ff2;
  box-shadow: 0 16px 36px rgba(32, 94, 187, .15);
  backdrop-filter: blur(7px);
}

.academy-floating-card svg { width: 40px; height: 40px; }
.academy-floating-card--cap { top: 92px; left: 0; }
.academy-floating-card--play { top: 60px; right: -20px; }

.academy-books {
  position: absolute;
  z-index: 4;
  right: 70px;
  bottom: 15px;
  display: grid;
  gap: 7px;
  width: 140px;
  transform: rotate(-2deg);
}

.academy-books span { display: block; height: 18px; border-radius: 3px 11px 11px 3px; box-shadow: 0 7px 12px rgba(20, 65, 136, .16); }
.academy-books span:nth-child(1) { width: 112px; margin-left: 18px; background: #fff; }
.academy-books span:nth-child(2) { background: #f48223; }
.academy-books span:nth-child(3) { width: 128px; margin-left: 7px; background: #175eda; }
.academy-books span:nth-child(4) { width: 120px; margin-left: 13px; background: #fff; }

.academy-section { padding: 58px 0; }
.academy-section__heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.academy-section__heading h2 { color: #081744; font-size: clamp(25px, 2.2vw, 34px); }
.academy-section__heading a { display: inline-flex; align-items: center; gap: 7px; color: #0870ee; font-size: 14px; font-weight: 700; white-space: nowrap; }
.academy-section__heading a svg { width: 18px; height: 18px; }

.academy-categories { padding-top: 50px; padding-bottom: 38px; }
.academy-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.academy-category-card {
  min-height: 190px;
  padding: 20px 12px 17px;
  border: 1px solid #dce6f4;
  border-radius: 10px;
  background: #fff;
  color: #10204b;
  text-align: center;
  box-shadow: 0 7px 18px rgba(32, 69, 126, .035);
  cursor: pointer;
  transition: .22s ease;
}
.academy-category-card:hover, .academy-category-card.is-active { border-color: #9fc7ff; transform: translateY(-4px); box-shadow: 0 15px 30px rgba(22, 96, 203, .12); }
.academy-category-card > span { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 16px; background: linear-gradient(145deg, #edf5ff, #e8f0ff); color: #0a70f0; }
.academy-category-card:nth-child(4) > span { color: #7b4ce5; background: #f3ecff; }
.academy-category-card:nth-child(5) > span { color: #7f42d9; background: #f3edff; }
.academy-category-card:nth-child(6) > span { color: #0b63d7; background: #e9f5ff; }
.academy-category-card svg { width: 34px; height: 34px; }
.academy-category-card strong { display: block; min-height: 47px; font-size: 15px; line-height: 1.45; }
.academy-category-card small { display: block; margin-top: 7px; color: #758199; font-size: 12px; }

.academy-featured { padding-top: 35px; }
.academy-course-slider { position: relative; }
.academy-course-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(245px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 18px; }
.academy-course-track::-webkit-scrollbar { display: none; }
.academy-course-card { scroll-snap-align: start; min-width: 0; overflow: hidden; border: 1px solid #dce5f1; border-radius: 12px; background: #fff; box-shadow: 0 7px 20px rgba(28, 60, 109, .05); transition: .22s ease; }
.academy-course-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(22, 76, 156, .13); }
.academy-course-card[hidden] { display: none; }
.academy-course-card__media { position: relative; display: block; aspect-ratio: 16 / 9.5; overflow: hidden; background: #eaf2ff; }
.academy-course-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.academy-course-card:hover .academy-course-card__media img { transform: scale(1.045); }
.academy-course-card__media > small { position: absolute; left: 10px; bottom: 9px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 12px; background: rgba(7, 14, 35, .78); color: #fff; font-size: 10px; }
.academy-course-card__media > small svg { width: 12px; height: 12px; }
.academy-badge { position: absolute; top: 10px; left: 10px; padding: 5px 9px; border-radius: 7px; color: #fff; font-size: 10px; font-weight: 800; }
.academy-badge--green { background: #20a462; }
.academy-badge--orange { background: #f27818; }
.academy-badge--purple { background: #8b3bd2; }
.academy-badge--blue { background: #1674e8; }
.academy-course-card__body { padding: 15px; }
.academy-course-card h3 { min-height: 47px; margin: 0 0 9px; font-size: 15px; line-height: 1.5; }
.academy-course-card h3 a { color: #10204b; }
.academy-course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; color: #66748d; font-size: 10px; }
.academy-course-meta span { position: relative; padding-left: 12px; }
.academy-course-meta span::before { position: absolute; left: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #0d70ef; transform: translateY(-50%); content: ""; }
.academy-instructor { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid #edf1f6; color: #59667e; font-size: 11px; }
.academy-instructor img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.academy-course-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; }
.academy-course-footer span { color: #f08a12; font-size: 11px; font-weight: 700; }
.academy-course-footer strong { color: #071744; font-size: 13px; white-space: nowrap; }
.academy-slider-arrow { position: absolute; z-index: 4; top: 42%; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #d6e2f2; border-radius: 50%; background: #fff; color: #0d70ef; box-shadow: 0 8px 22px rgba(28, 75, 145, .12); cursor: pointer; }
.academy-slider-arrow svg { width: 20px; height: 20px; }
.academy-slider-arrow--prev { left: -19px; transform: translateY(-50%) rotate(180deg); }
.academy-slider-arrow--next { right: -19px; transform: translateY(-50%); }
.academy-empty { margin: 18px 0 0; padding: 26px; border-radius: 10px; background: #f5f8fc; color: #62708b; text-align: center; }

.academy-ai-section { padding: 18px 0 45px; }
.academy-ai-banner { position: relative; display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 25px; min-height: 142px; overflow: hidden; padding: 16px 42px 16px 28px; border-radius: 14px; background: linear-gradient(100deg, #6aa8ff 0%, #2f76e8 52%, #b8d6ff 100%); color: #fff; box-shadow: 0 16px 34px rgba(27, 89, 182, .18); }
.academy-ai-banner::before { position: absolute; inset: 0; background: radial-gradient(circle at 76% 20%, rgba(255,255,255,.4), transparent 28%); content: ""; }
.academy-ai-banner > * { position: relative; z-index: 1; }
.academy-ai-banner > img { align-self: end; width: 150px; margin-bottom: -20px; filter: drop-shadow(0 16px 15px rgba(7, 44, 105, .2)); }
.academy-ai-banner h2 { margin: 0 0 7px; color: #fff; font-size: 27px; }
.academy-ai-banner p { max-width: 600px; margin: 0; color: rgba(255,255,255,.92); font-size: 13px; line-height: 1.6; }
.academy-ai-banner__button { min-width: 210px; justify-content: center; border: 0; background: #fff; color: #0c69df; }
.academy-ai-banner__button svg { width: 18px; height: 18px; }

.academy-experts { padding-top: 32px; }
.academy-expert-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.academy-expert-grid article { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; min-height: 132px; padding: 14px; border: 1px solid #dce5f1; border-radius: 10px; background: #fff; }
.academy-expert-grid img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }
.academy-expert-grid h3 { margin: 0 0 5px; font-size: 13px; }
.academy-expert-grid p { min-height: 42px; margin: 0 0 5px; color: #66738b; font-size: 10px; line-height: 1.5; }
.academy-expert-grid a { color: #0c6fed; font-size: 11px; font-weight: 700; }

.academy-newsletter { overflow: hidden; margin-top: 5px; background: linear-gradient(90deg, #e9f2ff, #f7faff 62%, #e2efff); }
.academy-newsletter__inner { display: grid; grid-template-columns: 1fr minmax(460px, 580px); align-items: center; gap: 40px; min-height: 118px; }
.academy-newsletter h2 { margin: 0 0 5px; color: #0b2152; font-size: 24px; }
.academy-newsletter p { margin: 0; color: #596983; font-size: 13px; }
.academy-newsletter form { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; height: 52px; overflow: hidden; border: 1px solid #d4dfef; border-radius: 8px; background: #fff; box-shadow: 0 7px 18px rgba(27, 76, 142, .06); }
.academy-newsletter form > span { display: grid; place-items: center; color: #6d7b91; }
.academy-newsletter form svg { width: 18px; height: 18px; }
.academy-newsletter input { min-width: 0; height: 100%; border: 0; outline: 0; color: #17254d; }
.academy-newsletter button { align-self: stretch; min-width: 170px; border: 0; background: linear-gradient(135deg, #0876fb, #075fd9); color: #fff; font-weight: 700; cursor: pointer; }

@media (min-width: 1280px) {
  .academy-course-track { grid-auto-columns: calc((100% - 72px) / 5); }
}

@media (max-width: 1199px) {
  .academy-hero { min-height: 530px; }
  .academy-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr); gap: 22px; }
  .academy-hero__stats { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
  .academy-laptop { right: 0; }
  .academy-category-grid { grid-template-columns: repeat(3, 1fr); }
  .academy-expert-grid { grid-template-columns: repeat(3, 1fr); }
  .academy-newsletter__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  .academy-hero { padding-top: 45px; }
  .academy-hero__grid { grid-template-columns: 1fr; }
  .academy-hero__content { text-align: center; }
  .academy-hero__content > p, .academy-search, .academy-hero__stats { margin-left: auto; margin-right: auto; }
  .academy-hero__visual { min-height: 390px; max-width: 680px; width: 100%; margin: 0 auto; }
  .academy-category-grid { gap: 14px; }
  .academy-ai-banner { grid-template-columns: 130px 1fr; padding-right: 28px; }
  .academy-ai-banner > img { width: 125px; }
  .academy-ai-banner__button { grid-column: 2; justify-self: start; min-width: 190px; }
  .academy-expert-grid { grid-template-columns: repeat(2, 1fr); }
  .academy-newsletter__inner { grid-template-columns: 1fr; gap: 18px; padding-top: 26px; padding-bottom: 26px; }
}

@media (max-width: 767px) {
  .academy-hero { min-height: auto; padding: 38px 0 25px; }
  .academy-hero h1 { font-size: 38px; }
  .academy-hero__content > p { font-size: 15px; }
  .academy-search { height: 54px; }
  .academy-hero__stats { gap: 14px; }
  .academy-hero__visual { min-height: 300px; }
  .academy-laptop { top: 18px; right: 4%; width: 88%; }
  .academy-hero__robot { right: 0; width: 90px; }
  .academy-floating-card { width: 54px; height: 54px; border-radius: 11px; }
  .academy-floating-card svg { width: 29px; height: 29px; }
  .academy-floating-card--cap { left: 0; top: 70px; }
  .academy-floating-card--play { right: 0; top: 35px; }
  .academy-books { display: none; }
  .academy-section { padding: 42px 0; }
  .academy-section__heading { align-items: flex-end; }
  .academy-section__heading h2 { font-size: 25px; }
  .academy-section__heading a { font-size: 12px; }
  .academy-category-grid { grid-template-columns: repeat(2, 1fr); }
  .academy-category-card { min-height: 170px; }
  .academy-course-track { grid-auto-columns: 78%; }
  .academy-slider-arrow { display: none; }
  .academy-ai-banner { grid-template-columns: 90px 1fr; gap: 14px; padding: 18px; }
  .academy-ai-banner > img { width: 90px; }
  .academy-ai-banner h2 { font-size: 21px; }
  .academy-ai-banner__button { min-width: 170px; }
  .academy-expert-grid { grid-template-columns: 1fr; }
  .academy-expert-grid article { grid-template-columns: 75px 1fr; }
  .academy-newsletter form { grid-template-columns: 35px 1fr; height: auto; }
  .academy-newsletter input { height: 52px; }
  .academy-newsletter button { grid-column: 1 / -1; min-height: 48px; }
}

@media (max-width: 479px) {
  .academy-hero h1 { font-size: 32px; }
  .academy-hero__stats { grid-template-columns: 1fr 1fr; }
  .academy-hero__stats article { align-items: flex-start; }
  .academy-hero__stats strong { font-size: 16px; }
  .academy-hero__visual { min-height: 245px; }
  .academy-laptop__screen { border-width: 7px; border-bottom-width: 12px; padding: 8px; }
  .academy-laptop__overlay { inset: 8px; }
  .academy-laptop__overlay img { width: 115px; }
  .academy-laptop__overlay button { width: 50px; height: 50px; }
  .academy-category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .academy-category-card { min-height: 154px; padding: 15px 8px; }
  .academy-category-card > span { width: 52px; height: 52px; }
  .academy-category-card strong { font-size: 13px; }
  .academy-course-track { grid-auto-columns: 88%; }
  .academy-ai-banner { grid-template-columns: 1fr; text-align: center; }
  .academy-ai-banner > img { justify-self: center; }
  .academy-ai-banner__button { grid-column: auto; justify-self: center; }
}
