:root {
  --bs-primary: #2D2B8F;
  --bs-primary-rgb: 45, 43, 143;
  --bs-success: #1D9E75;
  --bs-success-rgb: 29, 158, 117;
  --bs-warning: #BA7517;
  --bs-warning-rgb: 186, 117, 23;
  --bs-danger: #A32D2D;
  --bs-danger-rgb: 163, 45, 45;
  --sl-bg: #F7F6F2;
  --sl-border: #EFEDE6;
  --sl-muted: #767672;
  --sl-indigo-soft: #EEEDF9;
  --sl-teal-soft: #E8FAF5;
  --sl-amber-soft: #FEF8EC;
  --sl-red-soft: #FCEBEB;
  --sl-gray-900: #1C1C1A;
  --sl-gray-700: #444441;
  --sl-gray-500: #767672;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--sl-bg);
  color: #1C1C1A;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
}

.navbar {
  align-items: center;
  display: flex;
  min-height: 3.75rem;
}

.container-fluid {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.g-2,
.g-3 {
  gap: 1rem;
}

.g-2 > *,
.g-3 > * {
  min-width: 0;
}

.col,
.col-12 {
  flex: 1 1 100%;
}

.card {
  background: #fff;
  border: 1px solid var(--sl-border);
  border-radius: 1rem;
}

.card-header {
  border-bottom: 1px solid var(--sl-border);
  padding: 1rem 1.125rem;
}

.btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: .5rem;
  cursor: pointer;
  display: inline-flex;
  font-size: .875rem;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  padding: .5rem .875rem;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  font-size: .8125rem;
  padding: .375rem .625rem;
}

.btn-light,
.btn-outline-secondary {
  background: #fff;
  border-color: var(--sl-border);
  color: var(--sl-gray-700);
}

.btn-outline-danger {
  background: #fff;
  border-color: rgba(var(--bs-danger-rgb), .35);
  color: var(--bs-danger);
}

.badge {
  border-radius: .375rem;
  display: inline-flex;
  font-size: .75rem;
  line-height: 1;
  padding: .25rem .5rem;
}

.rounded-pill {
  border-radius: 999px;
}

.table-responsive {
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
}

.table-light {
  background: #fff;
}

.form-select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--sl-border);
  border-radius: .5rem;
  color: var(--sl-gray-900);
  font: inherit;
  padding: .5rem 2rem .5rem .75rem;
}

.form-control {
  background: #fff;
  border: 1px solid var(--sl-border);
  border-radius: .5rem;
  color: var(--sl-gray-900);
  font: inherit;
  padding: .5rem .75rem;
}

.form-select-sm {
  font-size: .8125rem;
  padding-bottom: .375rem;
  padding-top: .375rem;
}

.progress {
  background: var(--sl-border);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  background: var(--bs-primary);
  height: 100%;
}

.nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-none { display: none !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-xl-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.gap-1 { gap: .25rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-auto { margin-top: auto !important; }
.me-1 { margin-right: .25rem !important; }
.me-2 { margin-right: .5rem !important; }
.p-3 { padding: 1rem !important; }
.py-3 { padding-bottom: 1rem !important; padding-top: 1rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.bg-white { background: #fff !important; }
.bg-primary { background: var(--bs-primary) !important; }
.bg-success { background: var(--bs-success) !important; }
.bg-warning { background: var(--bs-warning) !important; }
.bg-danger { background: var(--bs-danger) !important; }
.text-danger { color: var(--bs-danger) !important; }
.text-warning { color: var(--bs-warning) !important; }
.text-bg-danger { background: var(--bs-danger) !important; color: #fff !important; }
.border-end { border-right: 1px solid var(--sl-border) !important; }
.border-bottom { border-bottom: 1px solid var(--sl-border) !important; }
.border-top { border-top: 1px solid var(--sl-border) !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.text-decoration-none { text-decoration: none !important; }
.text-center { text-align: center !important; }
.overflow-hidden { overflow: hidden !important; }
.position-relative { position: relative !important; }
.sticky-top { position: sticky; top: 0; z-index: 10; }

.sl-logo {
  width: 1.875rem;
  height: 1.875rem;
  border-radius: .55rem;
  display: inline-block;
  flex: 0 0 auto;
  object-fit: contain;
  vertical-align: middle;
}

.sl-shell {
  min-height: 100vh;
}

.sl-sidebar {
  width: 15rem;
}

.sl-main {
  min-width: 0;
}

.sl-main .navbar {
  min-height: 3.75rem;
}

.sl-main .navbar-brand {
  font-size: 1rem;
}

.sl-main .container-fluid {
  max-width: none;
}

.sl-main > .container-fluid {
  padding: 2rem !important;
}

.sl-main .card {
  box-shadow: none;
}

.sl-main .card-body {
  padding: 1rem 1.125rem;
}

.sl-main .display-6 {
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: 0;
}

.sl-main .h4 {
  font-size: 1.0625rem;
}

.sl-main .h5,
.sl-main .h6 {
  font-size: .9375rem;
}

.sl-main .small,
.sl-main small {
  font-size: .8125rem;
}

.sl-main .badge {
  font-weight: 500;
}

.min-w-0 {
  min-width: 0;
}

.sl-card-cover {
  min-height: 7.5rem;
}

.sl-mode-card,
.sl-alert-band {
  background: #fff;
  border: 1px solid var(--sl-border);
  border-radius: .75rem;
}

.sl-mode-card {
  padding: .875rem;
}

.sl-alert-band {
  padding: 1rem 1.125rem;
}

.sl-status-dot {
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  height: .625rem;
  width: .625rem;
}

.sl-event-row {
  align-items: flex-start;
  display: flex;
  gap: .75rem;
}

.sl-empty-state {
  align-items: center;
  background: var(--sl-bg);
  border: 1px dashed var(--sl-border);
  border-radius: .75rem;
  color: var(--sl-muted);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  justify-content: center;
  min-height: 9rem;
  padding: 1.25rem;
  text-align: center;
}

.sl-empty-state i {
  color: var(--bs-primary);
  font-size: 1.5rem;
}

.sl-empty-state strong {
  color: var(--sl-gray-900);
  font-size: .875rem;
}

.sl-empty-state span {
  font-size: .8125rem;
  line-height: 1.45;
}

.sl-toolbar {
  background: #fff;
  border: 1px solid var(--sl-border);
  border-radius: .875rem;
  padding: 1rem;
}

.sl-danger-zone {
  background: var(--sl-red-soft);
  border: 1px solid rgba(var(--bs-danger-rgb), .18);
  border-radius: .875rem;
  padding: 1rem;
}

.sl-metric-line {
  display: grid;
  gap: .35rem;
}

.sl-metric-line .progress {
  height: .4rem;
}

.sl-lesson-nav {
  top: 3.5rem;
  max-height: calc(100vh - 3.5rem);
  overflow-y: auto;
}

.bg-indigo-soft { background-color: var(--sl-indigo-soft) !important; }
.bg-teal-soft { background-color: var(--sl-teal-soft) !important; }
.bg-amber-soft { background-color: var(--sl-amber-soft) !important; }
.bg-red-soft { background-color: var(--sl-red-soft) !important; }
.text-indigo { color: var(--bs-primary) !important; }
.text-teal { color: var(--bs-success) !important; }
.text-muted-soft { color: var(--sl-muted) !important; }
.border-soft { border-color: var(--sl-border) !important; }

.btn-primary {
  background: #2D2B8F;
  border-color: #2D2B8F;
  color: #fff;
  --bs-btn-bg: #2D2B8F;
  --bs-btn-border-color: #2D2B8F;
  --bs-btn-hover-bg: #1A1860;
  --bs-btn-hover-border-color: #1A1860;
}

.btn-success {
  background: #1D9E75;
  border-color: #1D9E75;
  color: #fff;
  --bs-btn-bg: #1D9E75;
  --bs-btn-border-color: #1D9E75;
  --bs-btn-hover-bg: #0F6E56;
  --bs-btn-hover-border-color: #0F6E56;
}

.nav-pills .nav-link {
  color: #444441;
  border-radius: .5rem;
  font-size: .875rem;
  font-weight: 500;
  padding: .5625rem .75rem;
}

.nav-pills .nav-link.active {
  background: var(--sl-indigo-soft);
  color: var(--bs-primary);
  font-weight: 700;
}

.table {
  --bs-table-bg: #fff;
  --bs-table-hover-bg: var(--sl-bg);
}

.table > :not(caption) > * > * {
  padding: .75rem 1.125rem;
  font-size: .875rem;
}

.table thead th {
  color: var(--sl-gray-500);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sl-landing-hero {
  padding: 5.5rem 0 4.5rem;
}

.sl-landing-hero h1 {
  max-width: 48.75rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.sl-landing-hero .lead {
  max-width: 33.75rem;
  font-size: 1.125rem;
  line-height: 1.65;
}

.sl-section {
  padding: 5rem 0;
}

.sl-section-title {
  font-size: clamp(1.625rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.sl-feature-card .card-body {
  padding: 1.5rem;
}

.sl-feature-card h3 {
  font-size: .9375rem;
}

.sl-feature-card p {
  font-size: .875rem;
  line-height: 1.55;
}

.sl-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .625rem;
}

.sl-footer {
  background: var(--sl-gray-900);
  color: #C8C6BE;
  padding: 3.5rem 0 2rem;
}

.sl-footer a {
  color: #767672;
  display: block;
  font-size: .875rem;
  margin-bottom: .5rem;
  text-decoration: none;
}

.sl-footer a:hover {
  color: #fff;
}

.sl-footer h4 {
  color: #fff;
  font-size: .8125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sl-footer p {
  color: #767672;
  font-size: .875rem;
  line-height: 1.6;
}

.sl-footer-bottom {
  border-top: 1px solid #2C2C2A;
  color: #767672;
  font-size: .8125rem;
  padding-top: 1.5rem;
}

.sl-preview-shell {
  background: #1A1860;
  border-radius: 1.5rem;
  box-shadow: 0 32px 80px rgba(45, 43, 143, .25), 0 8px 24px rgba(0, 0, 0, .12);
  padding: 1.25rem;
}

.sl-preview-shell .card {
  border-radius: .75rem;
}

.sl-pricing-header {
  margin-bottom: 3rem;
}

.sl-pricing-header .text-muted {
  max-width: 32.5rem;
  margin: .75rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.sl-plans {
  max-width: 60rem;
  margin: 0 auto;
}

.sl-plan {
  background: var(--sl-bg);
  border: 1.5px solid var(--sl-border);
  border-radius: 1rem;
  height: 100%;
  padding: 1.75rem;
}

.sl-plan-popular {
  position: relative;
  background: #fff;
  border-color: var(--bs-primary);
}

.sl-plan-badge {
  position: absolute;
  top: -.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bs-primary);
  border-radius: 999px;
  color: #fff;
  font-size: .6875rem;
  font-weight: 700;
  padding: .25rem .875rem;
  white-space: nowrap;
}

.sl-plan-name {
  color: var(--sl-muted);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: .75rem;
  text-transform: uppercase;
}

.sl-plan-price {
  margin-bottom: .75rem;
}

.sl-plan-price strong {
  color: var(--sl-gray-900);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.sl-plan-price span {
  color: var(--sl-muted);
  font-size: .875rem;
  margin-left: .25rem;
}

.sl-plan-desc {
  color: var(--sl-muted);
  font-size: .875rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.sl-plan-features {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.sl-plan-features li {
  align-items: flex-start;
  color: var(--sl-gray-700);
  display: flex;
  font-size: .875rem;
  gap: .5rem;
}

.sl-plan-features i {
  color: var(--bs-success);
  flex: 0 0 auto;
  margin-top: .0625rem;
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }

  .d-lg-flex {
    display: flex !important;
  }

  .px-lg-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }

  .p-lg-4 {
    padding: 1.5rem !important;
  }

  .col-lg {
    flex: 1 1 0;
  }

  .offcanvas-lg.sl-sidebar {
    position: fixed;
    transform: none;
    visibility: visible !important;
  }

  .offcanvas-lg.sl-sidebar .offcanvas-header {
    display: flex;
  }

  .sl-main {
    margin-left: 15rem;
  }
}

@media (min-width: 576px) {
  .col-sm-6 {
    flex: 1 1 calc(50% - .5rem);
  }
}

@media (min-width: 768px) {
  .d-md-block {
    display: block !important;
  }

  .flex-md-row {
    flex-direction: row !important;
  }

  .col-md-6 {
    flex: 1 1 calc(50% - .5rem);
  }
}

@media (min-width: 1200px) {
  .col-xl,
  .col-xl-3,
  .col-xl-4,
  .col-xl-8 {
    flex: 1 1 0;
  }

  .col-xl-3 {
    max-width: calc(25% - .75rem);
  }

  .col-xl-4 {
    max-width: calc(33.333% - .75rem);
  }

  .col-xl-8 {
    max-width: calc(66.666% - .75rem);
  }

  .flex-xl-row {
    flex-direction: row !important;
  }
}

@media (min-width: 1400px) {
  .col-xxl-4 {
    flex: 1 1 calc(33.333% - .75rem);
    max-width: calc(33.333% - .75rem);
  }

  .col-xxl-8 {
    flex: 1 1 calc(66.666% - .75rem);
    max-width: calc(66.666% - .75rem);
  }
}

@media (max-width: 991.98px) {
  .offcanvas-lg.sl-sidebar {
    display: none;
  }

  .sl-main > .container-fluid {
    padding: 1.375rem 1rem !important;
  }
}

@media (max-width: 767.98px) {
  .sl-landing-hero {
    padding: 3.5rem 0 3rem;
  }

  .sl-section {
    padding: 3.25rem 0;
  }

  .sl-main .card-body {
    padding: 1.125rem 1.25rem;
  }

  .sl-main .display-6 {
    font-size: 1.75rem;
  }
}
