/* Kanology Academy — Figma 928:20523 */

.academy-page {
  background: var(--white);
  color: var(--ink);
}

/* ---------- Light header ---------- */
.academy-page .academy-nav {
  position: relative;
  z-index: 10;
  background: linear-gradient(97deg, rgba(255, 254, 254, 0.95) 64.72%, rgba(255, 255, 255, 0.95) 110.15%);
  border-bottom: 1px solid rgba(30, 30, 30, 0.17);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.academy-page .academy-nav__inner {
  max-width: 1588px;
  margin: 0 auto;
  padding: 21px 70px;
  min-height: 94px;
  height: auto;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
}

.academy-page .academy-nav .nav__brand--kanology img {
  width: 150px;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
}

.academy-page .academy-nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
}

.academy-page .academy-nav__link {
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: #1e1e1e;
  height: 40px;
  padding: 20px 16px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  text-decoration: none;
}

.academy-page .academy-nav__link:hover {
  border-bottom-color: rgba(30, 30, 30, 0.48);
}

.academy-page .academy-nav__cta {
  display: flex;
  align-items: center;
  gap: 17px;
}

.academy-page .academy-nav__signin {
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: #1e1e1e;
  height: 40px;
  padding: 20px 16px;
  display: inline-flex;
  align-items: center;
}

.academy-page .academy-nav__signup {
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.32px;
  color: var(--white);
  height: 47px;
  padding: 20px 16px;
  border-radius: 10px;
  background: #1e1e1e;
  border: 1px solid #1e1e1e;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.academy-page .academy-nav__signup:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 16, 20, 0.2);
}

.academy-page .academy-nav__toggle {
  display: none;
  border-color: rgba(8, 16, 20, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.academy-page .academy-nav__toggle .nav__toggle-icon {
  filter: brightness(0);
}

/* ---------- Hero ---------- */
.academy {
  overflow-x: hidden;
}

.academy-hero {
  max-width: 1220px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.academy-hero__intro {
  text-align: center;
  max-width: 563px;
}

.academy-hero__title {
  margin: 0;
  font-family: "Inter", var(--font-geist), system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 50px);
  line-height: 1.52;
  letter-spacing: -3.686px;
  color: #1e1e1e;
  text-transform: capitalize;
}

.academy-hero__subtitle {
  margin: 9px 0 0;
  font-family: "Inter", var(--font-geist), system-ui, sans-serif;
  font-size: clamp(18px, 2.5vw, 25px);
  line-height: 26px;
  color: #566273;
  text-transform: capitalize;
}

.academy-hero__video {
  position: relative;
  width: min(100%, 1220px);
  border-radius: 14px;
  box-shadow: 0 33px 227px -28px rgba(35, 40, 105, 0.15),
    0 0 80px -10px rgba(120, 220, 170, 0.35);
}

.academy-hero__video-bg {
  display: block;
  width: 100%;
  aspect-ratio: 1220 / 725;
  border-radius: 14px;
  background: linear-gradient(160deg, #f4f6f8 0%, #eaedf1 55%, #e3e7ec 100%);
  border: 1px solid rgba(8, 16, 20, 0.06);
}

.academy-hero__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 125px;
  height: 125px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.academy-hero__play:hover {
  transform: scale(1.05);
}

.academy-hero__play img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Partners (Figma 928:34670) ---------- */
.academy-partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  width: min(100%, 1321px);
  margin: 0 auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

.academy-partners__title {
  margin: 0;
  width: 100%;
  font-family: "Inter", var(--font-geist), system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: #1e1e1e;
  text-align: center;
  text-transform: capitalize;
}

.academy-partners__marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.academy-partners__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.academy-partners__track.is-animated {
  animation: partners-marquee 38s linear infinite;
}

.academy-partners__track.is-animated:hover {
  animation-play-state: paused;
}

.academy-partners__logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 86px;
  width: max-content;
  flex-shrink: 0;
  padding-right: 86px;
}

.academy-partners__slot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.academy-partners__slot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

.academy-partners__slot--google {
  width: 118px;
  height: 40px;
}

.academy-partners__slot--github {
  width: 123px;
  height: 40px;
}

.academy-partners__slot--github img {
  object-position: center bottom;
}

.academy-partners__slot--azure {
  width: 118px;
  height: 40px;
}

.academy-partners__slot--azure img {
  object-position: center bottom;
}

.academy-partners__slot--bachi {
  width: 150px;
  height: 52px;
  padding: 8px;
}

.academy-partners__slot--bachi img {
  width: 134px;
  height: auto;
  max-height: 42px;
}

.academy-partners__slot--difc {
  width: 148px;
  height: 40px;
}

.academy-partners__slot--difc img {
  object-position: center;
}

.academy-partners__slot--aws {
  width: 73px;
  height: 40px;
}

.academy-partners__slot--aws img {
  object-position: center bottom;
}

/* ---------- Services ---------- */
.academy-services {
  max-width: 1321px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.academy-services__intro {
  text-align: center;
  margin-bottom: 54px;
}

.academy-services__title {
  margin: 0;
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.36;
  letter-spacing: -2px;
  color: #1e1e1e;
}

.academy-services__desc {
  margin: 6px auto 0;
  max-width: 817px;
  font-family: var(--font-geist);
  font-size: 18px;
  line-height: 28px;
  color: #566273;
}

.academy-services__rows {
  display: flex;
  flex-direction: column;
  gap: 37px;
}

.academy-services__row {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ---------- Showcase band ---------- */
.academy-showcase {
  background: #131316;
  padding: 84px 20px 100px;
}

.academy-showcase__inner {
  max-width: 1046px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.academy-showcase__intro {
  text-align: center;
  max-width: 1000px;
}

.academy-showcase__title {
  margin: 0;
  font-family: var(--font-geist);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -1px;
  color: var(--white);
}

.academy-showcase__desc {
  margin: 14px auto 0;
  max-width: 560px;
  font-family: var(--font-geist);
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.65);
}

.academy-showcase__video {
  position: relative;
  width: 100%;
  max-width: 1046px;
  margin-top: 60px;
  padding: 21px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.academy-showcase__screen {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: linear-gradient(160deg, #f4f6f8 0%, #e7eaee 100%);
}

.academy-showcase__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 50px;
  height: 50px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(70, 70, 74, 0.78);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.academy-showcase__play:hover {
  transform: scale(1.08);
  background: rgba(70, 70, 74, 0.92);
}

.academy-showcase__play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

/* ---------- Security ---------- */
.academy-page .academy-security {
  background: var(--white);
  padding: 80px 20px;
}

.academy-page .academy-security__intro {
  text-align: center;
  margin-bottom: 56px;
}

.academy-page .academy-security__title {
  margin: 0;
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.36;
  letter-spacing: -2px;
  color: #1e1e1e;
}

.academy-page .academy-security__desc {
  margin: 6px 0 0;
  font-family: var(--font-geist);
  font-size: 20px;
  line-height: 28px;
  color: #566273;
}

.academy-page .academy-security .security__features {
  max-width: 1148px;
  margin: 0 auto 48px;
}

.academy-page .academy-security .feature h3,
.academy-page .academy-security .feature p {
  color: var(--ink);
}

.academy-page .academy-security .security__badges {
  width: 100%;
  max-width: none;
  margin: 48px auto 0;
  margin-left: 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 95px;
}

.academy-page .academy-security .badge__caption {
  color: var(--ink);
}

/* ---------- Pricing ---------- */
.academy-pricing {
  background: #f3f2ee;
  padding: 80px 20px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.academy-pricing__intro {
  text-align: center;
  max-width: 718px;
}

.academy-pricing__title {
  margin: 0;
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.3;
  letter-spacing: -1px;
  color: #1e1e1e;
}

.academy-pricing__toggle {
  display: inline-flex;
  align-items: center;
  margin-top: 36px;
  padding: 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(8, 16, 20, 0.08);
}

.academy-pricing__tab {
  min-width: 111px;
  height: 34px;
  padding: 0 16px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: "Inter", var(--font-geist), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1e1e1e;
  cursor: pointer;
  transition: background 0.2s ease;
}

.academy-pricing__tab.is-active {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(8, 16, 20, 0.08);
}

.academy-pricing__card {
  width: min(100%, 369px);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 107px 53px rgba(76, 86, 115, 0.08);
}

.academy-pricing__head {
  padding: 36px 36px 21px;
  background: rgba(255, 255, 255, 0.83);
  border-bottom: 1px solid #f0f3f9;
}

.academy-pricing__plan {
  margin: 0;
  font-family: "SF Pro Display", var(--font-geist), system-ui, sans-serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.57px;
  color: #101828;
}

.academy-pricing__price {
  margin: 7px 0 0;
  font-family: "SF Pro Display", var(--font-geist), system-ui, sans-serif;
  font-size: 43px;
  font-weight: 500;
  line-height: 50px;
  letter-spacing: -0.85px;
  color: #101828;
}

.academy-pricing__tagline {
  margin: 11px 0 0;
  max-width: 262px;
  font-family: "SF Pro Display", var(--font-geist), system-ui, sans-serif;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: -0.32px;
  color: #1e1e1e;
  opacity: 0.8;
}

.academy-pricing__body {
  padding: 21px 36px 36px;
  background: rgba(255, 255, 255, 0.83);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.academy-pricing__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.academy-pricing__features li {
  position: relative;
  padding-left: 25px;
  font-family: "Inter", var(--font-geist), system-ui, sans-serif;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: -0.32px;
  color: #1e1e1e;
}

.academy-pricing__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #101828;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 6L5 8.5L9.5 3.5' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.academy-pricing__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  border-radius: 7px;
  background: #181d27;
  color: var(--white);
  font-family: "Inter", var(--font-geist), system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.academy-pricing__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8, 16, 20, 0.25);
}

/* ---------- Testimonials ---------- */
.academy-testimonials {
  padding: 100px 20px 120px;
  text-align: center;
}

.academy-testimonials__eyebrow {
  margin: 0;
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: clamp(18px, 2.5vw, 25px);
  line-height: 30px;
  color: #566273;
}

.academy-testimonials__title {
  margin: 12px 0 48px;
  font-family: var(--font-geist);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.2;
  letter-spacing: -2px;
  color: #1e1e1e;
}

.academy-testimonials__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1420px;
  margin: 48px auto 0;
}

.academy-testimonials__viewport {
  flex: 0 1 1220px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.academy-testimonials__viewport::-webkit-scrollbar {
  display: none;
}

.academy-testimonials__track {
  list-style: none;
  margin: 0;
  padding: 12px 4px;
  display: flex;
  gap: 37px;
  width: max-content;
}

.tcard-a {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: min(382px, 78vw);
  min-height: 300px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 29px 30px;
  text-align: left;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 30px 60px -40px rgba(76, 86, 115, 0.45),
    0 2px 8px rgba(76, 86, 115, 0.06);
}

.tcard-a__quote {
  margin: 0;
  font-family: var(--font-geist);
  font-size: 16px;
  line-height: 27px;
  letter-spacing: -0.2px;
  color: #1e1e1e;
}

.tcard-a__person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcard-a__avatar {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.tcard-a__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tcard-a__name {
  font-family: var(--font-geist);
  font-weight: 600;
  font-size: 14px;
  line-height: 22px;
  color: #1e1e1e;
}

.tcard-a__role {
  font-family: var(--font-geist);
  font-size: 14px;
  line-height: 22px;
  color: #566273;
}

.academy-testimonials__arrow {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.academy-testimonials__arrow svg {
  width: 22px;
  height: 22px;
}

.academy-testimonials__arrow--prev {
  background: var(--white);
  border: 1px solid rgba(8, 16, 20, 0.18);
  color: #1e1e1e;
}

.academy-testimonials__arrow--next {
  background: #181d27;
  border: 1px solid #181d27;
  color: var(--white);
}

.academy-testimonials__arrow:hover {
  transform: scale(1.06);
}

.academy-testimonials__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

@media (max-width: 1320px) {
  .academy-testimonials__carousel {
    gap: 12px;
    padding: 0 12px;
  }
}

@media (max-width: 768px) {
  .academy-testimonials {
    padding: 56px 20px 64px;
  }

  .academy-testimonials__title {
    margin: 10px 0 28px;
  }

  .academy-testimonials__carousel {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
  }

  .academy-testimonials__viewport {
    order: -1;
    flex: 0 0 100%;
    width: 100%;
  }

  .academy-testimonials__arrow {
    width: 48px;
    height: 48px;
  }

  .academy-testimonials__arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------- Footer overrides ---------- */
.academy-page .footer--kanology {
  background: var(--ink);
}

.academy-page .footer--kanology .footer__bg {
  display: block;
}

.academy-page .footer__brand {
  display: flex;
  flex-direction: column;
  gap: 19px;
  max-width: 280px;
}

.academy-page .footer__kanology-logo {
  width: 279px;
  height: auto;
}

.academy-page .footer__tagline {
  font-family: var(--font-neue);
  font-size: 20px;
  line-height: 28.8px;
  letter-spacing: -0.4px;
  color: var(--white);
}

.academy-page .footer__copy--kanology {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
}

.academy-page .footer__wordmark--kanology {
  display: block;
  width: 115px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.academy-page .footer__copy--kanology span {
  font-family: var(--font-neue);
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
  white-space: nowrap;
}

.academy-page .footer__powered--kanology {
  text-align: right;
  line-height: 1.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .academy-page .academy-nav__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
  }

  .academy-page .academy-nav__menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 70px;
    z-index: 110;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-width: 220px;
    padding: 24px 20px;
    border-radius: 12px;
    background: rgba(255, 254, 254, 0.98);
    box-shadow: 0 8px 32px rgba(8, 16, 20, 0.1);
  }

  .academy-page .academy-nav__menu.is-open {
    display: flex;
  }

  .academy-page .academy-nav__menu .academy-nav__link {
    height: auto;
    width: 100%;
    padding: 0;
    border-bottom: 1px solid transparent;
  }

  .academy-page .academy-nav__menu .academy-nav__link:hover {
    border-bottom-color: rgba(30, 30, 30, 0.48);
  }

  .academy-page .academy-nav__inner {
    gap: 8px;
  }

  .academy-page .academy-nav__toggle {
    display: flex;
    margin-left: 0;
  }

  .academy-page .academy-nav__cta {
    margin-left: auto;
    gap: 12px;
  }

  .academy-page .academy-nav__signin,
  .academy-page .academy-nav__signup {
    height: 40px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 1280px) {
  .academy-partners__logos {
    gap: 56px;
    padding-right: 56px;
  }
}

@media (max-width: 640px) {
  .academy-partners__logos {
    gap: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .academy-page .academy-nav__signin,
  .academy-page .academy-nav__signup {
    height: 38px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .academy-page .academy-security .security__badges {
    flex-wrap: wrap;
    gap: 40px 48px;
  }

  .academy-page .footer__kanology-logo {
    width: 220px;
  }

  .academy-page .footer__powered--kanology {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .academy-page .academy-nav__inner {
    padding: 16px 20px;
  }

  .academy-page .academy-nav .nav__brand--kanology img {
    width: min(112px, 30vw);
    height: auto;
  }

  .academy-page .academy-nav__menu {
    right: 20px;
  }

  .academy-page .academy-nav__signin {
    display: none;
  }

  .academy-page .academy-nav__signup {
    height: 32px;
    padding: 6px 10px;
    font-size: 12px;
  }
}
