:root {
  --black: #050505;
  --ink: #121212;
  --muted: #f3f4f6;
  --yellow: #ffd400;
  --purple: #5b21f5;
  --blue: #2f6bff;
  --pink: #e93a9a;
  --teal: #6ed4d2;
  --text: #171717;
  --text-soft: #5c5c5c;
  --text-faint: #7d7d7d;
  --text-on-dark: rgba(255, 255, 255, 0.76);
  --card: #ffffff;
  --radius: 32px;
  --radius-sm: 20px;
  --shadow: 0 16px 40px rgba(17, 17, 17, 0.07);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
  max-width: 100%;
  font-size: 16.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 992px) {
  html {
    scrollbar-gutter: stable;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.btn:focus-visible,
.nav-link:focus-visible,
.lang-toggle:focus-visible,
.hamburger:focus-visible,
.to-top:focus-visible,
.acc-btn:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s ease;
}

.btn-pill i {
  transition: transform 0.28s var(--ease);
}

.btn-pill:hover {
  transform: translateY(-2px);
}

.btn-pill:hover i {
  transform: translateX(4px);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.btn-blue:hover {
  background: #1f58e6;
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 107, 255, 0.28);
}

.btn-purple {
  background: var(--purple);
  color: #fff;
}

.btn-purple:hover {
  background: #4c16d8;
  color: #fff;
  box-shadow: 0 12px 28px rgba(91, 33, 245, 0.26);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.section-kicker {
  font-size: 1.05rem;
  font-weight: 600;
  color: #3d3d3d;
  margin-top: -0.35rem;
  margin-bottom: 0.9rem;
}

.section-lead {
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 500;
  color: var(--text-soft);
  max-width: 42rem;
}

.section-heading {
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0b0b;
}

.media-frame img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img {
  transform: scale(1.035);
}

.media-frame-dark {
  background: #000;
}

.lms-media {
  position: sticky;
  top: 108px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(18px);
  padding: 10px 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  height: 36px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  width: 56px;
  height: 56px;
  border: 0;
  padding: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}

.lang-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger {
  position: relative;
  width: 56px;
  height: 56px;
  border: 0;
  padding: 0 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background: #fff;
  border-radius: 99px;
  transform-origin: center;
  transition: width 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.2s ease;
}

.hamburger span:nth-child(1) {
  width: 26px;
}

.hamburger span:nth-child(2) {
  width: 18px;
}

.hamburger span:nth-child(3) {
  width: 12px;
}

.hamburger:hover span:nth-child(2),
.hamburger:hover span:nth-child(3) {
  width: 26px;
}

.hamburger.is-open {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger.is-open span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  margin-left: -11px;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-50%) rotate(-45deg);
}

.site-menu {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(18px);
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 120px 0 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-links a {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: clamp(1.5rem, 3.1vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  width: fit-content;
  opacity: 0;
  transform: translateY(18px);
}

.site-menu.is-open .menu-links a {
  animation: rise 0.55s var(--ease) forwards;
}

.site-menu.is-open .menu-links a:nth-child(1) { animation-delay: 0.06s; }
.site-menu.is-open .menu-links a:nth-child(2) { animation-delay: 0.11s; }
.site-menu.is-open .menu-links a:nth-child(3) { animation-delay: 0.16s; }
.site-menu.is-open .menu-links a:nth-child(4) { animation-delay: 0.21s; }
.site-menu.is-open .menu-links a:nth-child(5) { animation-delay: 0.26s; }
.site-menu.is-open .menu-links a:nth-child(6) { animation-delay: 0.31s; }
.site-menu.is-open .menu-links a:nth-child(7) { animation-delay: 0.36s; }

.menu-links em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.38);
  width: 2rem;
  flex: 0 0 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu-links a:hover {
  color: var(--yellow);
}

.menu-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 12px;
  margin-left: auto;
  opacity: 0;
  transform: translateY(16px);
}

.site-menu.is-open .menu-aside {
  animation: rise 0.6s var(--ease) 0.28s forwards;
}

.menu-aside-logo {
  height: 28px;
  width: auto;
  margin-bottom: 6px;
}

.menu-aside a,
.menu-aside p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  font-size: 0.88rem;
  max-width: 22rem;
  margin: 0;
  line-height: 1.55;
}

.menu-aside a:not(.btn):hover {
  color: #fff;
}

body.menu-open {
  overflow: hidden;
  padding-right: var(--scrollbar-gap, 0px);
}

body.menu-open .site-header {
  right: var(--scrollbar-gap, 0px);
}

body.menu-open .to-top {
  right: calc(22px + var(--scrollbar-gap, 0px));
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.18) 42%, transparent 68%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 6vh;
}

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

.hero-kicker,
.hero-sub {
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 0.1rem;
}

.hero-title {
  font-size: clamp(3.1rem, 6.6vw, 5.3rem);
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0 0 0.15rem;
}

.hero-sub {
  margin-bottom: 1.55rem;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.85s var(--ease) forwards;
}

.hero-kicker {
  animation-delay: 0.12s;
}

.hero-title {
  animation-delay: 0.24s;
}

.hero-sub {
  animation-delay: 0.36s;
}

.hero-copy .btn {
  animation-delay: 0.5s;
}

.intro-band {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 72px 0 88px;
}

.intro-band p {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.75;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

.lms-section {
  background: var(--yellow);
  padding: 96px 0 110px;
}

.lms-section .section-title {
  color: #111;
}

.lms-section .section-lead {
  color: #3a3a3a;
  margin-bottom: 1.35rem;
}

.lms-accordion {
  margin-bottom: 28px;
  min-height: 292px;
}

.acc-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.acc-btn {
  width: 100%;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #151515;
  text-align: left;
}

.acc-btn i {
  font-size: 1rem;
  color: #2a2a2a;
  transition: transform 0.3s var(--ease);
}

.acc-item.open .acc-btn i {
  transform: rotate(45deg);
}

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s var(--ease);
}

.acc-body > p {
  overflow: hidden;
  margin: 0;
  color: #4a4a4a;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
}

.acc-item.open .acc-body {
  grid-template-rows: 1fr;
}

.acc-item.open .acc-body > p {
  padding-bottom: 14px;
}

.panel-section {
  background: var(--muted);
  padding: 100px 0;
}

.feature-card {
  background: var(--card);
  border-radius: 28px;
  padding: 28px 26px 30px;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(17, 17, 17, 0.1);
}

.feature-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--ink);
}

.feature-card p {
  color: var(--text-soft);
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.65;
}

.panel-cta {
  margin-top: 42px;
}

.panel-close {
  margin: 22px auto 0;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 0.98rem;
  font-weight: 500;
}

.gameix-section {
  background: #000;
  color: #fff;
  padding: 110px 0;
}

.gameix-section .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.gameix-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.045em;
  margin-bottom: 1rem;
}

.gameix-section p {
  color: var(--text-on-dark);
  font-weight: 500;
  line-height: 1.75;
}

.gameix-cats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gameix-cats a {
  display: block;
  text-align: center;
  background: #222;
  color: #fff;
  border-radius: 18px;
  padding: 18px 16px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: background 0.25s ease, transform 0.25s var(--ease);
}

.gameix-cats a:hover {
  background: #333;
  color: #fff;
  transform: translateY(-2px);
}

.pylotic-section {
  background: #f6f7f8;
  padding: 100px 0;
}

.pylotic-grid {
  display: grid;
  gap: 1.5rem;
}

.pylotic-title {
  margin-bottom: 0;
}

.pylotic-section p {
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

@media (min-width: 992px) {
  .pylotic-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "media title"
      "media copy";
    column-gap: 3rem;
    row-gap: 1rem;
    align-items: center;
  }

  .pylotic-title {
    grid-area: title;
  }

  .pylotic-media {
    grid-area: media;
    align-self: center;
  }

  .pylotic-copy {
    grid-area: copy;
  }
}

.cdl-section {
  background: #fff;
  padding: 100px 0;
}

.cdl-section p {
  color: var(--text-soft);
  font-weight: 500;
  line-height: 1.75;
}

.stars {
  color: #f5c518;
  font-size: 1.2rem;
  letter-spacing: 5px;
  margin: 18px 0 24px;
}

.scope-section {
  background: #000;
  color: #fff;
  padding: 110px 0 80px;
}

.scope-section .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.scope-logo {
  display: block;
  height: 54px;
  width: auto;
  margin: 8px 0 22px;
}

.scope-section p {
  color: var(--text-on-dark);
  font-weight: 500;
  line-height: 1.75;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 36px;
  font-weight: 600;
  font-size: 0.98rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 24px;
}

.about-section {
  background: #fff;
  padding: 100px 0 80px;
}

.about-section p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 1.02rem;
  font-weight: 500;
}

.about-sign {
  margin-top: 28px;
  font-weight: 800;
  color: var(--ink) !important;
}

.about-sign span {
  display: block;
  font-weight: 500;
  color: var(--text-faint);
  font-size: 0.92rem;
}

.site-footer {
  background: #fff;
  border-radius: 48px 48px 0 0;
  margin-top: -24px;
  padding: 40px 0 28px;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.04);
}

.footer-cta {
  text-align: center;
  padding: 20px 0 48px;
}

.footer-art {
  max-width: 500px;
  width: 100%;
  margin-bottom: 16px;
}

.footer-cta h2 {
  max-width: 620px;
  margin: 0 auto 22px;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
  color: var(--ink);
}

.footer-grid {
  padding-top: 20px;
  border-top: 1px solid #ececec;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 18px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-list a {
  color: var(--text);
  font-weight: 600;
}

.contact-list i {
  color: var(--purple);
  margin-top: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  justify-content: flex-end;
}

.footer-links a {
  color: #3f3f3f;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--purple);
}

.copyright {
  text-align: center;
  margin: 32px 0 0;
  color: var(--text-faint);
  font-size: 0.88rem;
  font-weight: 500;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 991.98px) {
  .menu-aside {
    align-items: flex-start;
    text-align: left;
    margin-left: 0;
    padding-top: 8px;
  }

  .lms-media {
    position: static;
  }

  .lms-accordion {
    min-height: 0;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-top: 18vh;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .scope-logo {
    height: 42px;
  }
}

@media (max-width: 575.98px) {
  .header-login {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .lms-section,
  .panel-section,
  .gameix-section,
  .pylotic-section,
  .cdl-section,
  .scope-section,
  .about-section {
    padding: 72px 0;
  }

  .intro-band {
    padding: 48px 0 64px;
  }

  .hero {
    align-items: flex-start;
    min-height: 100vh;
  }

  .hero-bg {
    background-position: 78% center;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.2) 100%);
  }

  .hero-content {
    padding-top: 22vh;
  }

  .feature-icon {
    width: 72px;
    height: 72px;
  }

  .site-footer {
    border-radius: 28px 28px 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn-pill,
  .hamburger span,
  .media-frame img,
  .feature-card,
  .reveal,
  .to-top,
  .acc-body,
  .acc-btn i,
  .site-menu {
    transition: none;
  }

  .site-menu.is-open .menu-links a,
  .site-menu.is-open .menu-aside {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-copy > * {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
