/* Novixa landing page — scoped to avoid affecting authentication and dashboards. */
.marketing-page {
  --lp-purple: #5b4bff;
  --lp-cyan: #10cfe3;
  --lp-ink: #0f172a;
  --lp-muted: #64748b;
  --lp-border: #e5e7eb;
  color: var(--lp-ink);
  background: #f8fafc;

  .site-header {
    position: relative;
    z-index: 20;
    max-width: 1440px;
    height: 82px;
    margin: auto;
    padding: 0 clamp(24px, 5vw, 76px);
    background: rgba(248, 250, 252, 0.94);
  }

  .brand {
    gap: 7px;
    color: var(--lp-purple);
    font: 800 14px Manrope, sans-serif;
    letter-spacing: 0.3px;
  }

  .site-header .brand-logo {
    width: 150px;
    max-width: 150px;
    height: 44px;
    object-fit: contain;
  }

  .desktop-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    gap: 36px;
    color: #475569;
    font-size: 13px;
  }

  .header-actions {
    gap: 24px;
  }

  .text-link {
    color: #334155;
    font-size: 13px;
  }

  .button {
    background: var(--lp-purple);
    border-radius: 11px;
    box-shadow: 0 8px 20px rgba(91, 75, 255, 0.18);
  }

  .button-small {
    padding: 11px 18px;
    font-size: 12px;
  }

  .hero {
    display: block;
    min-height: 650px;
    padding: 88px clamp(24px, 7vw, 104px) 78px;
    background: #f8fafc;
    overflow: hidden;
  }

  .hero-inner {
    position: relative;

    &:after {
      content: "";
      position: absolute;
      width: 520px;
      height: 520px;
      right: -150px;
      top: -180px;
      border-radius: 50%;
      background: radial-gradient(
        circle,
        rgba(16, 207, 227, 0.1),
        rgba(91, 75, 255, 0.04) 48%,
        transparent 70%
      );
      pointer-events: none;
    }
  }

  .eyebrow {
    padding: 8px 13px;
    border-radius: 999px;
    color: #08aebf;
    background: #e6fbfd;
    font-size: 10px;
    letter-spacing: 1.25px;
  }

  .hero h1 {
    margin: 25px 0 23px;
    max-width: 820px;
    color: var(--lp-ink);
    font: 800 clamp(58px, 6.7vw, 96px)/0.98 Manrope, sans-serif;
    letter-spacing: -5.5px;
    text-wrap: balance;

    span {
      color: transparent;
      background: linear-gradient(90deg, var(--lp-purple), var(--lp-cyan), #f5ba62);
      background-clip: text;
      -webkit-background-clip: text;
    }
  }

  .hero p {
    max-width: 720px;
    margin: 0;
    color: var(--lp-muted);
    font-size: 17px;
    line-height: 1.75;
  }
}

.hero-inner,
.landing-section,
.footer-grid,
.footer-bottom {
  width: min(100%, 1280px);
  margin-inline: auto;
}

.course-search {
  display: flex;
  align-items: center;
  width: min(100%, 750px);
  height: 66px;
  margin-top: 35px;
  padding: 7px 7px 7px 20px;
  border: 1px solid var(--lp-border);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);

  > span {
    color: #94a3b8;
    font-size: 24px;
  }

  input {
    min-width: 0;
    flex: 1;
    height: 100%;
    padding: 0 13px;
    border: 0;
    outline: 0;
    color: var(--lp-ink);

    &::placeholder {
      color: #94a3b8;
    }
  }

  button {
    height: 50px;
    padding: 0 28px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: var(--lp-purple);
    font-weight: 700;
    cursor: pointer;
  }
}

.hero-stats {
  display: flex;
  gap: clamp(42px, 7vw, 90px);
  margin-top: 48px;

  div {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  strong {
    font: 800 22px Manrope;
  }

  span {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
  }
}

.landing-section {
  padding: 96px clamp(24px, 5vw, 72px);
}

.categories-section,
.teachers-section,
.faq-section {
  background: #fff;
}

.section-intro {
  h2 {
    margin: 0 0 7px;
    font: 800 clamp(27px, 3vw, 38px) Manrope;
    letter-spacing: -1.4px;
    text-wrap: balance;
  }

  p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 14px;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;

  article {
    min-height: 138px;
    padding: 22px;
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    background: #f8fafc;
    transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);

    &:hover {
      transform: translateY(-2px);
      border-color: #d8d3ff;
      background: #fff;
    }
  }

  i {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    color: var(--lp-purple);
    background: #eceaff;
    font-style: normal;
  }

  h3 {
    margin: 18px 0 3px;
    font: 700 14px Manrope;
  }

  p {
    margin: 0;
    color: #94a3b8;
    font-size: 11px;
  }
}

.pathways-section,
.testimonials-section {
  background: #f8fafc;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  > a {
    color: var(--lp-purple);
    font-size: 13px;
    font-weight: 700;
  }
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.pathway-card {
  border: 1px solid var(--lp-border);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(15, 23, 42, 0.025);
  overflow: hidden;

  h3 {
    margin: 8px 0 7px;
    font: 700 16px/1.35 Manrope;
    text-wrap: balance;
  }

  p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 11px;
  }

  footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding: 13px 0 0;
    border-top: 1px solid #f1f5f9;
    color: #64748b;
    font-size: 11px;

    span:first-child:first-letter {
      color: #f59e0b;
    }

    strong {
      color: var(--lp-ink);
    }
  }
}

.pathway-art {
  display: grid;
  place-items: center;
  height: 206px;
  color: rgba(15, 23, 42, 0.42);
  font-size: 37px;
}

.art-blue {
  background: linear-gradient(135deg, #d7ddff, #c6f5fb);
}
.art-gold {
  background: linear-gradient(135deg, #ffedb9, #ffe0cb);
}
.art-mint {
  background: linear-gradient(135deg, #bff1e5, #bef2f1);
}
.art-lilac {
  background: linear-gradient(135deg, #ded1ff, #f1cdff);
}
.art-peach {
  background: linear-gradient(135deg, #ffdbdc, #fff0cf);
}
.art-sky {
  background: linear-gradient(135deg, #c9eef2, #d9ddff);
}

.pathway-body {
  padding: 17px 18px 16px;
}

.tags {
  display: flex;
  gap: 7px;

  b {
    color: var(--lp-purple);
    font-size: 8px;
    letter-spacing: 0.65px;

    + b {
      color: #08aebf;
    }
  }
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;

  article {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 15px;
    align-items: center;
    min-height: 112px;
    padding: 20px;
    border: 1px solid var(--lp-border);
    border-radius: 18px;
    background: #f8fafc;

    > span {
      align-self: end;
      font-size: 10px;
      color: #f59e0b;
    }
  }

  h3 {
    margin: 0 0 5px;
    font: 700 14px Manrope;
  }

  p,
  small {
    display: block;
    margin: 0;
    color: var(--lp-muted);
    font-size: 10px;
  }

  small {
    margin-top: 8px;
    color: var(--lp-ink);
    font-weight: 700;
  }
}

.teacher-avatar,
.testimonial-grid i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--lp-purple), var(--lp-cyan));
  font-size: 11px;
  font-weight: 800;
  font-style: normal;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;

  article {
    min-height: 255px;
    padding: 25px;
    border: 1px solid var(--lp-border);
    border-radius: 19px;
    background: #fff;

    > p {
      min-height: 112px;
      margin: 17px 0 20px;
      color: #334155;
      font-size: 14px;
      line-height: 1.7;
      text-wrap: pretty;
    }
  }

  .quote-mark {
    color: var(--lp-purple);
    font: 800 28px/1 Manrope;
  }

  footer {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0;
    border: 0;
  }

  i {
    width: 35px;
    height: 35px;
    font-size: 8px;
  }

  strong,
  small {
    display: block;
    font-size: 10px;
  }

  small {
    margin-top: 3px;
    color: var(--lp-muted);
  }
}

.faq-section .section-intro {
  text-align: center;
}

.faq-list {
  width: min(100%, 850px);
  margin: 35px auto 0;

  details {
    margin-top: 10px;
    padding: 0 21px;
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    background: #fff;
  }

  summary {
    padding: 18px 0;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }

  details p {
    margin: -5px 0 18px;
    color: var(--lp-muted);
    font-size: 12px;
    line-height: 1.6;
  }
}

.final-cta {
  width: min(calc(100% - 48px), 1280px);
  min-height: 330px;
  margin: 90px auto;
  padding: 65px clamp(28px, 6vw, 80px);
  display: flex;
  align-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(125deg, #5743f5 0%, #7156ee 46%, #08c8d5 100%);
  box-shadow: 0 22px 55px rgba(91, 75, 255, 0.18);

  h2 {
    margin: 0 0 10px;
    font: 800 clamp(34px, 4vw, 51px) Manrope;
    letter-spacing: -2px;
    text-wrap: balance;
  }

  p {
    max-width: 590px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
  }
}

.cta-actions {
  display: flex;
  gap: 11px;
  margin-top: 29px;

  a {
    padding: 13px 19px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
  }
}

.cta-primary {
  color: var(--lp-purple);
  background: #fff;
}

.cta-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.site-footer {
  display: block;
  padding: 72px clamp(24px, 5vw, 72px) 28px;
  color: var(--lp-muted);
  background: #fff;
  border-top: 1px solid var(--lp-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.35fr;
  gap: 55px;

  h3 {
    margin: 0 0 18px;
    color: var(--lp-ink);
    font: 800 10px Manrope;
    letter-spacing: 1.2px;
  }

  > div > a:not(.brand) {
    display: block;
    margin: 11px 0;
    font-size: 12px;
  }
}

.footer-about p,
.newsletter p {
  max-width: 270px;
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.newsletter .newsletter-form {
  display: flex;
  height: 40px;
  margin-top: 15px;
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  overflow: hidden;
}

.newsletter {
  input {
    min-width: 0;
    flex: 1;
    padding: 0 12px;
    border: 0;
    outline: 0;
  }

  button {
    width: 55px;
    border: 0;
    color: #fff;
    background: var(--lp-purple);
    font-weight: 700;
  }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  padding-top: 25px;
  border-top: 1px solid var(--lp-border);

  small,
  a {
    font-size: 9px;
    letter-spacing: 0.7px;
  }

  div {
    display: flex;
    gap: 25px;
  }
}

/* Marketing page - original hero/dashboard preview section */
.marketing-page {
  background: #fff;
}

.hero {
  min-height: 720px;
  padding: 78px clamp(24px, 6vw, 90px) 96px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 6vw;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fcfbff 0%, #fff 100%);
}

.hero-copy {
  max-width: 570px;
}

.hero {
  h1 {
    margin: 18px 0 22px;
    font: 800 clamp(48px, 5vw, 76px)/1.04 Manrope, sans-serif;
    letter-spacing: -4px;
    text-wrap: balance;

    span {
      color: var(--purple);
    }
  }

  > p {
    max-width: 510px;
    margin: 0;
    color: #6e6d7d;
    font-size: 19px;
    line-height: 1.65;
  }
}

.section-heading h2 span {
  color: var(--purple);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 34px 0;
}

.play-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.play {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  color: var(--purple);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;

  p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
  }

  strong {
    color: var(--ink);
  }
}

.avatar-stack {
  display: flex;

  span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-left: -8px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #dad5fb;
    color: #4d3bb0;
    font-size: 9px;
    font-weight: 800;

    &:first-child {
      margin: 0;
      background: #c9ebef;
    }

    &:nth-child(3) {
      background: #ffd8c8;
    }

    &:last-child {
      background: var(--purple);
      color: #fff;
    }
  }
}

.hero-visual {
  position: relative;
  min-height: 535px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(5px);
}

.glow-one {
  width: 500px;
  height: 500px;
  background: #eeeafd;
}

.glow-two {
  width: 270px;
  height: 270px;
  right: -40px;
  bottom: -20px;
  background: #dff6f8;
}

.preview-window {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  width: min(100%, 680px);
  height: 430px;
  border: 8px solid #fff;
  border-radius: 25px;
  background: #f8f8fb;
  box-shadow: 0 35px 80px rgba(67, 52, 135, 0.18);
  transform: rotate(1deg);
  overflow: hidden;
  z-index: 2;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 18px 10px;
  background: #fff;

  i {
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #c5c4d0;
    border-radius: 5px;

    &.active {
      background: var(--purple);
      border-color: var(--purple);
      box-shadow: 0 0 0 7px var(--purple-soft);
    }
  }
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--purple);
  color: #fff;
  font-weight: 800;
}

.preview-main {
  padding: 25px;
}

.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;

  small {
    font-size: 7px;
    color: var(--muted);
    letter-spacing: 1px;
  }

  h3 {
    margin: 4px 0;
    font: 700 17px Manrope;
  }
}

.preview-avatar {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #dfd9fb;
  font-size: 10px;
  font-weight: 700;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.7fr 0.7fr;
  gap: 10px;
  margin-top: 18px;
}

.preview-welcome,
.preview-stat {
  min-height: 128px;
  padding: 17px;
  border-radius: 14px;
}

.preview-welcome {
  position: relative;
  color: #fff;
  background: linear-gradient(130deg, #6f55e9, #967ef4);
  overflow: hidden;

  small {
    font-size: 7px;
    opacity: 0.8;
  }

  h3 {
    margin: 7px 0;
    font: 700 17px/1.25 Manrope;
  }

  button {
    border: 0;
    padding: 6px 9px;
    border-radius: 6px;
    color: #5140b3;
    background: #fff;
    font-size: 7px;
    font-weight: 700;
  }

  b {
    position: absolute;
    right: 14px;
    bottom: 9px;
    font-size: 42px;
    color: #bcb0fa;
  }
}

.preview-stat {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #efedf4;

  span,
  small {
    font-size: 8px;
    color: var(--muted);
  }

  strong {
    font: 800 29px Manrope;
    margin: auto 0 0;
  }

  .up {
    color: #39a878;
  }
}

.preview-section {
  margin-top: 22px;
}

.section-line {
  display: flex;
  justify-content: space-between;
  font-size: 10px;

  small {
    color: var(--purple);
  }
}

.mini-courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin-top: 10px;

  article {
    display: flex;
    flex-direction: column;
    padding: 8px;
    background: #fff;
    border: 1px solid #efedf4;
    border-radius: 11px;
  }

  small {
    margin-top: 7px;
    font-size: 6px;
    color: var(--muted);
  }

  b {
    font-size: 8px;
    margin: 2px 0 7px;
  }

  progress {
    width: 100%;
    height: 3px;
    accent-color: var(--purple);
  }
}

.course-art {
  height: 63px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font: 800 20px Manrope;

  &.coral {
    background: #ffe0d7;
    color: #e07152;
  }

  &.violet {
    background: #e9e2ff;
    color: #7051e4;
  }

  &.cyan {
    background: #d9f1f4;
    color: #309aaa;
  }
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 15px 35px rgba(63, 51, 119, 0.15);

  small,
  strong {
    display: block;
    font-size: 9px;
  }

  small {
    color: var(--muted);
    margin-bottom: 3px;
  }
}

.float-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #dff5ed;
  color: #25966b;
}

.floating-progress {
  left: -15px;
  bottom: 35px;
}

.floating-live {
  right: -8px;
  top: 52px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6b68;
  box-shadow: 0 0 0 5px #ffe4e3;
}

.trust-strip {
  padding: 38px 6vw 48px;
  text-align: center;
  border-bottom: 1px solid #f0eff4;

  p {
    font-size: 11px;
    color: #9a99a7;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(25px, 6vw, 80px);
    margin-top: 28px;
    color: #878692;
    font: 700 17px Manrope;
  }
}

.feature-section {
  padding: 110px 6vw;
  background: #fff;
}

.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 52px;

  h2 {
    margin: 14px 0;
    font: 800 clamp(36px, 4vw, 54px)/1.13 Manrope;
    letter-spacing: -2.5px;
    text-wrap: balance;
  }

  p {
    color: var(--muted);
    font-size: 17px;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: auto;
  gap: 20px;
}

.feature-card {
  min-height: 310px;
  padding: 36px;
  border-radius: 26px;

  h3 {
    font: 700 22px Manrope;
    margin: 38px 0 12px;
    text-wrap: balance;
  }

  p {
    color: #6e6d7b;
    line-height: 1.7;
    text-wrap: pretty;
  }

  a {
    display: inline-block;
    margin-top: 17px;
    color: var(--purple);
    font-weight: 700;
    font-size: 14px;
  }
}

.lavender {
  background: #f0edff;
}

.mint {
  background: #e9f8f5;
}

.peach {
  background: #fff1e9;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: #fff;
  color: var(--purple);
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(61, 52, 98, 0.08);
}

.roles-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 670px;
  background: #faf9fd;
}

.roles-copy {
  padding: 100px 7vw;

  h2 {
    font: 800 48px/1.1 Manrope;
    letter-spacing: -2px;
    margin: 16px 0;
    text-wrap: balance;
  }

  > p {
    color: var(--muted);
    max-width: 490px;
    line-height: 1.7;
  }
}

.role-tabs {
  display: flex;
  gap: 5px;
  margin: 32px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  overflow: auto;
}

.role-tab {
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: none;
  color: var(--muted);
  white-space: nowrap;
  font-weight: 600;
  cursor: pointer;

  &.active {
    color: var(--purple);
    background: var(--purple-soft);
  }
}

#role-copy {
  h3 {
    font: 700 22px Manrope;
    margin-bottom: 8px;
  }

  p {
    color: var(--muted);
  }

  a {
    display: inline-block;
    margin-top: 15px;
    color: var(--purple);
    font-weight: 700;
  }
}

.role-demo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #7056e6, #9d8cf1);
}

.demo-ring {
  position: absolute;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.05),
    0 0 0 140px rgba(255, 255, 255, 0.04);
}

.phone-card {
  z-index: 1;
  width: 330px;
  padding: 28px;
  border: 7px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 35px 60px rgba(51, 35, 123, 0.35);

  > span {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: 1px;
  }

  h3 {
    margin: 5px 0 25px;
    font: 700 24px Manrope;
  }
}

.task {
  display: grid;
  grid-template-columns: 40px 8px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);

  > b {
    font-size: 11px;
  }

  i {
    width: 7px;
    height: 35px;
    border-radius: 5px;
    background: var(--cyan);

    &.orange {
      background: #f4a568;
    }

    &.purple {
      background: var(--purple);
    }
  }

  strong,
  small {
    display: block;
    font-size: 12px;
  }

  small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
  }
}

.quote-section {
  padding: 120px 7vw;
  text-align: center;

  blockquote {
    max-width: 900px;
    margin: 0 auto;
    font: 700 clamp(30px, 4vw, 50px)/1.35 Manrope;
    letter-spacing: -1.5px;
    text-wrap: balance;
  }

  em {
    color: var(--purple);
    font-style: normal;
  }
}

.quote-person {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  text-align: left;

  > span {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: #f5d9cd;
    color: #9c5a47;
    font-weight: 700;
  }

  strong,
  small {
    display: block;
  }

  small {
    color: var(--muted);
    margin-top: 4px;
  }
}

.cta-section {
  margin: 0 5vw 70px;
  padding: 70px 8vw;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(130deg, #6045db, #8a74ee);
  overflow: hidden;

  .eyebrow {
    color: #d9d2ff;
  }

  h2 {
    margin: 13px 0;
    font: 800 52px/1.08 Manrope;
    letter-spacing: -2.5px;
    text-wrap: balance;
  }

  p {
    color: #e4e0fa;
    margin-bottom: 30px;
  }
}

.button-light {
  background: #fff;
  color: #553dcc;
}

.cta-orbit {
  position: relative;
  width: 260px;
  height: 260px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.05);
}

.orbit,
.orbit-center {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--purple);
  box-shadow: 0 12px 30px rgba(45, 29, 118, 0.25);
  font-weight: 800;
}

.orbit-center {
  width: 75px;
  height: 75px;
  left: 92px;
  top: 92px;
  font: 800 35px Manrope;
}

.orbit {
  width: 45px;
  height: 45px;
}

.o1 {
  left: -10px;
  top: 110px;
}

.o2 {
  right: 13px;
  top: 15px;
}

.o3 {
  right: 0;
  bottom: 20px;
}

footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 40px;
  align-items: center;
  padding: 35px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);

  p {
    margin: 0;
  }

  > div {
    display: flex;
    gap: 25px;
    font-size: 13px;
  }

  small {
    font-size: 11px;
  }
}

/* Marketing page responsive */
@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid article {
    min-height: 0;
  }
  .testimonial-grid article > p {
    min-height: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .marketing-page .site-header.nav-open .desktop-nav {
    background: #f8fafc;
  }
  .marketing-page .desktop-nav {
    position: static;
    transform: none;
  }
  .marketing-page .hero {
    padding-top: 64px;
  }
  .pathway-grid {
    grid-template-columns: 1fr;
  }
  .teacher-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  .marketing-page .hero {
    min-height: 0;
    padding: 52px 20px 62px;
  }
  .marketing-page .hero h1 {
    font-size: 48px;
    letter-spacing: -3px;
  }
  .marketing-page .hero p {
    font-size: 15px;
  }
  .course-search {
    height: auto;
    padding: 7px;
  }
  .course-search > span {
    display: none;
  }
  .course-search input {
    height: 46px;
    padding-left: 10px;
  }
  .course-search button {
    padding: 0 14px;
    font-size: 11px;
  }
  .hero-stats {
    gap: 24px;
    justify-content: space-between;
  }
  .hero-stats strong {
    font-size: 17px;
  }
  .hero-stats span {
    font-size: 7px;
  }
  .landing-section {
    padding: 70px 20px;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .category-grid article {
    min-height: 126px;
    padding: 16px;
  }
  .pathway-art {
    height: 170px;
  }
  .section-top {
    align-items: flex-start;
    gap: 20px;
  }
  .section-top > a {
    white-space: nowrap;
    margin-top: 8px;
  }
  .teacher-grid article {
    padding: 16px;
  }
  .final-cta {
    width: calc(100% - 24px);
    margin: 55px auto;
    padding: 48px 25px;
    border-radius: 23px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    margin-top: 10px;
  }

  .roles-section {
    grid-template-columns: 1fr;
  }

  .role-demo {
    min-height: 600px;
  }
}

@media (max-width: 800px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header.nav-open {
    height: auto;
    min-height: 76px;
    align-items: flex-start;
    padding-top: 21px;
    flex-wrap: wrap;
  }

  .site-header.nav-open .desktop-nav {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 15px 0;
  }

  .site-header.nav-open .desktop-nav a {
    padding: 12px 0;
  }

  .trust-strip div {
    flex-wrap: wrap;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-orbit {
    display: none;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }

  footer p,
  footer small {
    grid-column: 1/-1;
  }
}

@media (max-width: 550px) {
  .hero {
    padding: 45px 20px 70px;
  }

  .hero h1 {
    font-size: 44px;
    letter-spacing: -2.5px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 340px;
  }

  .preview-window {
    height: 290px;
    grid-template-columns: 42px 1fr;
    border-width: 5px;
  }

  .preview-main {
    padding: 14px;
  }

  .preview-sidebar {
    padding: 10px 7px;
    gap: 15px;
  }

  .preview-grid {
    grid-template-columns: 1.5fr 1fr;
  }

  .preview-stat:last-child {
    display: none;
  }

  .preview-welcome,
  .preview-stat {
    min-height: 95px;
    padding: 10px;
  }

  .preview-welcome h3 {
    font-size: 12px;
  }

  .preview-section {
    margin-top: 12px;
  }

  .course-art {
    height: 37px;
  }

  .floating-live {
    right: 0;
    top: 20px;
  }

  .floating-progress {
    left: 0;
    bottom: 0;
  }

  .trust-strip {
    padding-inline: 20px;
  }

  .feature-section,
  .roles-copy,
  .quote-section {
    padding: 75px 20px;
  }

  .roles-copy h2 {
    font-size: 39px;
  }

  .role-demo {
    min-height: 490px;
  }

  .phone-card {
    width: 290px;
  }

  .quote-section blockquote {
    font-size: 28px;
  }

  .cta-section {
    margin: 0 12px 40px;
    padding: 50px 25px;
    border-radius: 25px;
  }

  .cta-section h2 {
    font-size: 39px;
  }

  footer {
    padding: 30px 20px;
  }

  .logout-button {
    width: 100%;
    margin-top: 10px;
    border: 0;
    border-radius: 12px;
    padding: 10px 12px;
    background: #f1f3f6;
    color: #ef4444;
    font-weight: 700;
    cursor: pointer;
  }

  .logout-button:hover {
    background: #fee2e2;
  }
}
