.course-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 34px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(139, 67, 255, 0.18), transparent 38%, rgba(24, 217, 255, 0.12)),
    rgba(3, 9, 21, 0.92);
  border-bottom: 1px solid rgba(168, 239, 255, 0.16);
  box-shadow: 0 18px 60px rgba(3, 9, 21, 0.22);
  backdrop-filter: blur(20px);
}

.course-nav::after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 50, 255, 0.72), rgba(24, 217, 255, 0.72), transparent);
  opacity: 0.72;
  pointer-events: none;
}

.course-nav-links {
  display: flex;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
  font-size: 14px;
}

.course-nav-links a {
  padding: 10px 13px;
}

.old-price {
  display: inline-block;
  margin-right: 8px;
  color: rgba(96, 112, 154, 0.72);
  font-size: 0.7em;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.promo-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  margin: -2px 0 12px;
  padding: 0 10px;
  border: 1px solid rgba(24, 217, 255, 0.28);
  border-radius: 999px;
  color: #0e5d7a;
  background: rgba(24, 217, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.course-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 44px;
  align-items: center;
  min-height: 720px;
  padding: 86px 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 22%, rgba(24, 217, 255, 0.24), transparent 28%),
    radial-gradient(circle at 88% 64%, rgba(139, 67, 255, 0.2), transparent 30%),
    linear-gradient(145deg, #050a18 0%, #071337 64%, #07122c 100%);
}

.course-hero h1 {
  max-width: 780px;
  text-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.course-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.course-hero-text {
  max-width: 760px;
  font-size: 21px;
  line-height: 1.55;
}

.course-hero-card {
  overflow: hidden;
  border: 1px solid rgba(168, 239, 255, 0.26);
  border-radius: 18px;
  background: rgba(13, 28, 63, 0.72);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.28);
}

.course-hero-image {
  min-height: 430px;
  background-position: center;
  background-size: cover;
}

.course-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.course-hero-meta span {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  font-weight: 800;
  background: rgba(7, 18, 44, 0.78);
}

.course-section {
  padding: 76px 34px;
}

.course-section.alt {
  background: #f6faff;
}

.course-section.soft {
  background:
    radial-gradient(circle at 14% 16%, rgba(24, 217, 255, 0.1), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(139, 67, 255, 0.1), transparent 24%),
    #ffffff;
}

.course-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.course-heading.center {
  margin-inline: auto;
  text-align: center;
}

.course-heading h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
}

.course-heading p,
.course-copy p,
.course-card p,
.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.problem-grid,
.proof-grid,
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.problem-grid article,
.proof-grid article,
.bonus-grid article,
.course-card,
.testimonial,
.pricing-card,
.faq-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(33, 50, 94, 0.08);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.module-grid article {
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 16% 14%, rgba(24, 217, 255, 0.08), transparent 34%),
    var(--white);
  box-shadow: 0 16px 44px rgba(33, 50, 94, 0.08);
}

.module-grid span,
.course-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  margin-bottom: 12px;
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--violet));
}

.two-col-course {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 12px rgba(24, 217, 255, 0.24);
}

.testimonial-grid,
.pricing-grid-course,
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial p {
  color: var(--ink);
  font-weight: 800;
}

.pricing-card {
  display: grid;
  gap: 12px;
}

.pricing-card.featured {
  border-color: rgba(61, 124, 255, 0.45);
  box-shadow: 0 24px 70px rgba(61, 124, 255, 0.18);
}

.price {
  font-size: 34px;
  font-weight: 800;
}

.final-course-cta {
  margin: 34px;
  padding: 74px 34px;
  text-align: center;
  color: var(--white);
  border-radius: 22px;
  background:
    radial-gradient(circle at 75% 20%, rgba(24, 217, 255, 0.32), transparent 30%),
    linear-gradient(135deg, #071337, #6028e8);
}

.final-course-cta p {
  max-width: 820px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.roblox-landing { background-image: url("/assets/roblox-creator-cover.png"); }
.minecraft-landing { background-image: url("/assets/minecraft-modding-cover.png"); }
.web-landing { background-image: url("/assets/web-game-dev-cover.png"); }
.twod-landing { background-image: url("/assets/2d-game-builder-cover.png"); }
.story-landing { background-image: url("/assets/ai-story-games-cover.png"); }
.safety-landing { background-image: url("/assets/game-safety-cover.png"); }

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 34px 56px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(24, 217, 255, 0.24), transparent 28%),
    radial-gradient(circle at 18% 24%, rgba(139, 67, 255, 0.18), transparent 26%),
    linear-gradient(145deg, #050a18 0%, #071337 64%, #07122c 100%);
}

.legal-hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(24, 217, 255, 0.22);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(24, 217, 255, 0.12), rgba(139, 67, 255, 0.08));
  transform: rotate(45deg);
}

.legal-hero::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(224, 50, 255, 0.24), rgba(24, 217, 255, 0.2));
  filter: blur(1px);
  transform: rotate(45deg);
}

.legal-hero .brand {
  margin-bottom: 56px;
}

.legal-hero > * {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
}

.legal-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
  line-height: 1.65;
}

.legal-section {
  padding: 66px 34px;
  background:
    radial-gradient(circle at 8% 8%, rgba(24, 217, 255, 0.08), transparent 26%),
    radial-gradient(circle at 92% 10%, rgba(139, 67, 255, 0.08), transparent 24%),
    #f6faff;
}

.legal-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 54px rgba(33, 50, 94, 0.1);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.legal-layout .legal-shell {
  max-width: none;
}

.trust-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  align-self: start;
  gap: 14px;
}

.trust-card {
  padding: 22px;
  border: 1px solid rgba(61, 124, 255, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 18% 10%, rgba(24, 217, 255, 0.12), transparent 36%),
    var(--white);
  box-shadow: 0 18px 54px rgba(33, 50, 94, 0.1);
}

.trust-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 17px;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.trust-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(168, 239, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.trust-page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 34px;
  color: var(--white);
  background: var(--deep);
}

.trust-page-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.parents-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
}

.parents-hero .dashboard-card {
  margin: 0;
}

.ai-coach-hero {
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
}

.ai-coach-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 32px;
  border: 1px solid rgba(168, 239, 255, 0.24);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 22%, rgba(24, 217, 255, 0.22), transparent 32%),
    radial-gradient(circle at 78% 74%, rgba(224, 50, 255, 0.16), transparent 30%),
    rgba(13, 28, 63, 0.58);
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.26);
}

.ai-coach-stage img {
  width: min(340px, 68vw);
  filter: drop-shadow(0 28px 32px rgba(24, 217, 255, 0.24));
  animation: mascotFloat 5.8s ease-in-out infinite;
}

.ai-coach-stage::after {
  content: "";
  position: absolute;
  bottom: 110px;
  width: 190px;
  height: 34px;
  border: 3px solid rgba(24, 217, 255, 0.8);
  border-radius: 50%;
  filter: drop-shadow(0 0 18px rgba(24, 217, 255, 0.7));
}

.ai-coach-chat {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(380px, calc(100% - 44px));
  color: var(--ink);
}

.ai-coach-chat .chat-top {
  color: var(--ink);
}

.ai-coach-chat .chat-top span {
  color: var(--green);
}

.ai-coach-chat .coach-bubble {
  color: var(--ink);
  background: #eef5ff;
  box-shadow: inset 0 0 0 1px rgba(61, 124, 255, 0.08);
}

.ai-coach-chat .kid-bubble {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 12px 28px rgba(61, 124, 255, 0.22);
}

.legal-shell h2 {
  margin-top: 34px;
  font-size: clamp(26px, 3vw, 36px);
}

.legal-shell h2:first-child {
  margin-top: 0;
}

.legal-shell p,
.legal-shell li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-shell ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.legal-callout {
  margin: 28px 0;
  padding: 18px;
  border: 1px solid rgba(24, 217, 255, 0.26);
  border-radius: 14px;
  background:
    radial-gradient(circle at 10% 12%, rgba(24, 217, 255, 0.1), transparent 32%),
    #f7fbff;
}

.legal-meta {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .course-hero,
  .two-col-course,
  .legal-layout,
  .parents-hero,
  .ai-coach-hero {
    grid-template-columns: 1fr;
  }

  .trust-sidebar {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .course-nav,
  .course-nav-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-hero,
  .course-section {
    padding: 54px 20px;
  }

  .course-hero-card {
    border-radius: 14px;
  }

  .course-hero-image {
    min-height: 310px;
  }

  .course-hero-meta,
  .problem-grid,
  .proof-grid,
  .bonus-grid,
  .module-grid,
  .testimonial-grid,
  .pricing-grid-course,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .final-course-cta {
    margin: 20px;
    padding: 48px 20px;
  }

  .legal-hero,
  .legal-section {
    padding-inline: 20px;
  }

  .legal-shell {
    padding: 24px;
  }

  .trust-sidebar {
    grid-template-columns: 1fr;
  }

  .trust-page-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 20px;
  }

  .ai-coach-stage {
    min-height: 620px;
    padding: 22px;
  }

  .ai-coach-chat {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}
