:root {
  --ink: #07142e;
  --muted: #68738a;
  --blue: #2f80ff;
  --purple: #8a35f4;
  --violet: #b22bff;
  --panel: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 60px rgba(82, 86, 169, 0.18);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #eef4ff;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 76%, rgba(82, 150, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 88% 74%, rgba(132, 64, 255, 0.16), transparent 24rem),
    linear-gradient(180deg, #ffffff 0, #f7f9ff 36rem, #ecf4ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 18px rgba(16, 31, 70, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100%, 1220px);
  height: 108px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 42px;
}

.brand {
  align-self: start;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 15px;
  min-width: 0;
  font-size: 20px;
  font-weight: 800;
  color: #07112b;
  white-space: nowrap;
}

.brand img {
  width: 132px;
  height: 42px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  align-self: end;
  height: 54px;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 800;
  color: #050b20;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2458ff;
  background: linear-gradient(180deg, rgba(245, 247, 255, 0.8), rgba(238, 243, 255, 0.92));
}

.nav-links a.active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #1d6eff, #b12fff);
}

.login-trigger,
.menu-toggle {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #27324b;
  cursor: pointer;
}

.login-trigger {
  align-self: start;
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f1f5ff;
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 2514 / 461;
  min-height: 0;
  display: block;
  overflow: hidden;
  background: #070b30;
}

.hero::after {
  display: none;
}

.banner-track {
  position: absolute;
  inset: 0;
}

.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 420ms ease;
}

.banner-slide.active {
  opacity: 1;
}

.primary-cta,
.course-card .course-action,
.dialog-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3187ff 0%, #b72cff 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 14px 24px rgba(95, 52, 236, 0.32);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.primary-cta {
  width: 245px;
}

.primary-cta:hover,
.course-card .course-action:hover,
.dialog-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(95, 52, 236, 0.38);
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(5px, 1vw, 14px);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: clamp(5px, 0.7vw, 9px);
  margin-top: 0;
}

.slider-dots button {
  width: clamp(5px, 0.65vw, 9px);
  height: clamp(5px, 0.65vw, 9px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  cursor: pointer;
}

.slider-dots button.active {
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.95);
}

.section-shell {
  width: min(100% - 48px, 940px);
  margin-left: auto;
  margin-right: auto;
}

.courses {
  position: relative;
  z-index: 3;
  width: min(100% - 48px, 1080px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.course-card {
  min-height: 348px;
  padding: 30px 32px 26px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(82, 86, 169, 0.24);
}

.card-blue {
  background:
    radial-gradient(circle at 20% 0, rgba(113, 211, 255, 0.48), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.96));
}

.card-purple {
  background:
    radial-gradient(circle at 22% 0, rgba(200, 143, 255, 0.42), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.96));
}

.card-pink {
  background:
    radial-gradient(circle at 70% 0, rgba(255, 129, 198, 0.38), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.96));
}

.course-icon,
.event-tile span {
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 26px rgba(99, 85, 168, 0.18);
}

.course-icon {
  width: 88px;
  height: 88px;
}

.course-icon i {
  font-size: 36px;
  color: #222735;
}

.card-blue .course-icon i {
  color: #1e2639;
}

.card-purple .course-icon i {
  color: #278bdc;
}

.card-pink .course-icon i {
  color: #334bd1;
}

.course-card h3 {
  margin: 28px 0 16px;
  font-size: 21px;
  line-height: 1.36;
  font-weight: 900;
}

.course-card p {
  min-height: 54px;
  margin: 0 0 26px;
  font-size: 13px;
  line-height: 2;
  font-weight: 550;
  color: #5b657a;
}

.course-card .course-action {
  width: 206px;
}

.course-card.is-disabled {
  color: #8a93a6;
  background:
    radial-gradient(circle at 50% 0, rgba(220, 224, 234, 0.48), transparent 50%),
    linear-gradient(180deg, rgba(247, 248, 252, 0.86), rgba(238, 241, 247, 0.96));
  box-shadow: 0 18px 44px rgba(94, 103, 130, 0.12);
  filter: grayscale(0.92);
}

.course-card.is-disabled:hover {
  transform: none;
  box-shadow: 0 18px 44px rgba(94, 103, 130, 0.12);
}

.course-card.is-disabled .course-icon {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 22px rgba(90, 98, 122, 0.12);
}

.course-card.is-disabled .course-icon i,
.course-card.is-disabled h3,
.course-card.is-disabled p {
  color: #8b94a6;
}

.course-card .locked-action,
.course-card .locked-action:hover {
  color: #fff;
  background: linear-gradient(90deg, #a9b0bd, #c5cad4);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.course-detail {
  width: min(100% - 48px, 1080px);
  margin: 44px auto 0;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 18px;
  background:
    radial-gradient(circle at 6% 8%, rgba(61, 139, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 96% 18%, rgba(187, 46, 255, 0.14), transparent 22rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(82, 86, 169, 0.16);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 32px;
  align-items: center;
  padding: 26px 28px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(87, 218, 255, 0.35), transparent 18rem),
    linear-gradient(120deg, rgba(11, 29, 84, 0.96), rgba(53, 26, 130, 0.92));
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #bde8ff;
  font-size: 14px;
  font-weight: 800;
}

.detail-hero h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  font-weight: 900;
}

.detail-hero p {
  max-width: 690px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.9;
}

.detail-stat {
  min-height: 166px;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-stat strong {
  display: block;
  font-size: 46px;
  line-height: 1;
  color: #fff;
}

.detail-stat span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.detail-title {
  margin-top: 34px;
}

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

.highlight-grid article {
  min-height: 190px;
  padding: 22px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(82, 86, 169, 0.1);
}

.highlight-grid i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #3187ff, #b72cff);
  box-shadow: 0 12px 22px rgba(95, 52, 236, 0.25);
}

.highlight-grid h3 {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.highlight-grid p {
  margin: 0;
  color: #5b657a;
  font-size: 14px;
  line-height: 1.75;
}

.curriculum-block {
  margin-top: 8px;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: module;
}

.module-list li {
  position: relative;
  min-height: 88px;
  padding: 18px 18px 16px 68px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(82, 86, 169, 0.09);
  counter-increment: module;
}

.module-list li::before {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  content: counter(module);
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #3187ff, #b72cff);
}

.module-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.module-list span {
  color: #5b657a;
  font-size: 14px;
  line-height: 1.65;
}

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

.price-card {
  padding: 26px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(82, 86, 169, 0.12);
}

.price-card.featured {
  color: #fff;
  background: linear-gradient(135deg, #245cff, #aa2cff);
}

.price-card span {
  font-size: 15px;
  font-weight: 900;
  color: #346cff;
}

.price-card.featured span,
.price-card.featured small,
.price-card.featured p {
  color: rgba(255, 255, 255, 0.84);
}

.price-card h3 {
  margin: 10px 0;
  font-size: 38px;
  line-height: 1;
}

.price-card p {
  min-height: 60px;
  margin: 0;
  color: #5b657a;
  line-height: 1.75;
}

.price-card small {
  display: block;
  margin-top: 14px;
  color: #798295;
  font-weight: 700;
}

.pay-plan-btn,
.mock-paid-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.pay-plan-btn {
  color: #fff;
  background: linear-gradient(90deg, #22b35b, #11c58a);
  box-shadow: 0 12px 22px rgba(21, 177, 111, 0.2);
}

.price-card.featured .pay-plan-btn {
  color: #184534;
  background: #fff;
}

.pay-plan-btn:hover,
.mock-paid-btn:hover {
  transform: translateY(-2px);
}

.monetize-panel {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(230, 243, 255, 0.95), rgba(249, 236, 255, 0.95));
}

.monetize-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.monetize-panel p {
  margin: 0;
  color: #5b657a;
  line-height: 1.7;
}

.enroll-btn {
  flex: 0 0 auto;
}

.events-panel {
  position: relative;
  margin-top: 40px;
  margin-bottom: 38px;
  padding: 30px 28px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.77);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.events-panel::before {
  position: absolute;
  inset: auto -15% -72% -15%;
  height: 220px;
  content: "";
  border-radius: 50%;
  border: 2px solid rgba(89, 144, 255, 0.16);
}

.section-title {
  position: relative;
  z-index: 1;
  text-align: center;
}

.section-title h2,
.learning-band h2,
.partners-band h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 900;
}

.section-title span {
  display: block;
  width: 34px;
  height: 4px;
  margin: 12px auto 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3985ff, #b42fff);
}

.event-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.event-tile {
  min-height: 160px;
  padding: 18px 12px 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(250, 251, 255, 0.96), rgba(238, 241, 248, 0.98));
  color: var(--ink);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.event-tile:hover {
  transform: translateY(-4px);
  background: #fff;
}

.event-tile span {
  width: 74px;
  height: 74px;
  margin-bottom: 16px;
}

.event-tile i {
  font-size: 34px;
}

.event-tile:nth-child(1) i {
  color: #ffad18;
}

.event-tile:nth-child(2) i {
  color: #22283a;
}

.event-tile:nth-child(3) i {
  color: #ffc12a;
}

.event-tile:nth-child(4) i {
  color: #16c9ff;
}

.event-tile strong {
  display: block;
  font-size: 20px;
  font-weight: 900;
}

.event-tile small {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  color: #6b7486;
}

.learning-band,
.partners-band {
  width: min(100% - 48px, 940px);
  margin: 0 auto 24px;
  padding: 34px 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 45px rgba(82, 86, 169, 0.1);
}

.learning-band p,
.partners-band p {
  margin: 13px 0 0;
  color: #5b657a;
  line-height: 1.8;
}

.site-footer {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 84% 110%, rgba(63, 77, 147, 0.25), transparent 24rem),
    linear-gradient(100deg, #0d1024, #070b1c 70%);
}

.footer-inner {
  position: relative;
  width: min(100% - 48px, 940px);
  min-height: 118px;
  margin: 0 auto;
  padding: 28px 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 44px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand img {
  width: 104px;
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand strong {
  font-size: 16px;
  color: #fff;
}

.footer-nav {
  display: flex;
  gap: 50px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav a:hover,
.social-links a:hover {
  color: #fff;
}

.footer-line {
  grid-column: 1 / 2;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-inner p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.46);
}

.social-links {
  justify-self: end;
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.14);
}

.login-dialog,
.payment-dialog,
.learning-dialog,
.admin-dialog {
  width: min(90vw, 390px);
  border: 0;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 28px 80px rgba(5, 12, 35, 0.26);
}

.payment-dialog {
  width: min(92vw, 430px);
}

.learning-dialog {
  width: min(94vw, 920px);
}

.admin-dialog {
  width: min(92vw, 560px);
}

.login-dialog::backdrop,
.payment-dialog::backdrop,
.learning-dialog::backdrop,
.admin-dialog::backdrop {
  background: rgba(8, 14, 34, 0.42);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f0f3fb;
  color: #394258;
  cursor: pointer;
}

.login-dialog h2,
.payment-dialog h2,
.learning-dialog h2,
.admin-dialog h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.login-dialog p,
.payment-dialog p,
.learning-dialog p,
.admin-dialog p {
  margin: 0 0 22px;
  color: var(--muted);
}

.login-dialog label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.admin-lesson-form {
  display: grid;
  gap: 14px;
}

.admin-lesson-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.admin-lesson-form input,
.admin-lesson-form select,
.admin-lesson-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d9e0f0;
  border-radius: 8px;
  outline: none;
  background: #fff;
}

.admin-lesson-form textarea {
  min-height: 86px;
  padding-top: 12px;
  resize: vertical;
}

.admin-lesson-form input:focus,
.admin-lesson-form select:focus,
.admin-lesson-form textarea:focus {
  border-color: #5d8cff;
  box-shadow: 0 0 0 3px rgba(70, 128, 255, 0.14);
}

.login-dialog input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d9e0f0;
  border-radius: 8px;
  outline: none;
}

.login-dialog input:focus {
  border-color: #5d8cff;
  box-shadow: 0 0 0 3px rgba(70, 128, 255, 0.14);
}

.dialog-submit {
  width: 100%;
  margin-top: 18px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 18px 0;
  padding: 4px;
  border-radius: 999px;
  background: #eef3ff;
}

.auth-tab {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: #5d6780;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.auth-tab.active {
  color: #fff;
  background: linear-gradient(90deg, #3187ff, #b72cff);
  box-shadow: 0 10px 18px rgba(95, 52, 236, 0.18);
}

.auth-form {
  display: none;
  gap: 14px;
}

.auth-form.active {
  display: grid;
}

.form-message,
.payment-message,
.admin-message {
  min-height: 22px;
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 800;
  color: #356bff;
}

.form-message.error,
.payment-message.error,
.admin-message.error {
  color: #cf283f;
}

.form-message.success,
.payment-message.success,
.admin-message.success {
  color: #168650;
}

.wechat-qrcode {
  min-height: 220px;
  display: grid;
  place-items: center;
  margin: 12px 0 16px;
  padding: 18px;
  border-radius: 14px;
  background: #f6f8ff;
  border: 1px solid #e1e7f7;
}

.wechat-qrcode canvas,
.wechat-qrcode img {
  width: 190px;
  height: 190px;
}

.payment-summary {
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f6ff;
  color: #27324b;
  font-weight: 800;
}

.payment-hint {
  font-size: 13px;
  line-height: 1.7;
}

.payment-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mock-paid-btn {
  color: #30405d;
  background: #eef3ff;
}

.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.learning-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 14px;
}

.admin-open-btn,
.admin-entry-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #3187ff, #b72cff);
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.lesson-card {
  min-height: 218px;
  padding: 20px;
  border-radius: 14px;
  background: #f7f9ff;
  border: 1px solid #e2e8f7;
}

.lesson-card.active {
  color: #fff;
  background:
    radial-gradient(circle at 90% 0, rgba(118, 217, 255, 0.28), transparent 13rem),
    linear-gradient(135deg, #17337f, #7d2cf2);
}

.lesson-card span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color: #356bff;
  background: #eaf0ff;
}

.lesson-card.active span {
  color: #14326e;
  background: #fff;
}

.lesson-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.lesson-card p {
  margin: 0;
  min-height: 74px;
  font-size: 14px;
  line-height: 1.75;
  color: #68738a;
}

.lesson-card.active p {
  color: rgba(255, 255, 255, 0.82);
}

.lesson-card button {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #3187ff, #b72cff);
  font-weight: 900;
  cursor: pointer;
}

.lesson-card button[disabled] {
  opacity: 0.62;
  cursor: not-allowed;
}

.lesson-card.active button {
  color: #17337f;
  background: #fff;
}

.live-preview {
  margin-top: 22px;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(230, 243, 255, 0.95), rgba(249, 236, 255, 0.95));
}

.live-preview h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.live-preview ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.live-preview li {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}

.live-preview strong,
.live-preview span {
  display: block;
}

.live-preview strong {
  color: #2458ff;
  margin-bottom: 8px;
}

.live-preview span {
  color: #5b657a;
  line-height: 1.6;
}

.meeting-number {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(62, 100, 190, 0.12);
  color: #33415c;
  font-weight: 900;
}

@media (max-width: 1080px) {
  .header-inner {
    height: auto;
    min-height: 78px;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
    padding: 0 24px;
  }

  .brand span {
    font-size: 16px;
  }

  .brand {
    align-self: center;
    margin-top: 0;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: auto;
    display: none;
    flex-direction: column;
    gap: 0;
    background: #fff;
    box-shadow: 0 18px 34px rgba(16, 31, 70, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-width: 0;
    height: 54px;
  }

  .login-trigger {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    height: auto;
  }

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

  .detail-hero,
  .module-list,
  .pricing-grid,
  .lesson-grid,
  .live-preview ul {
    grid-template-columns: 1fr;
  }

  .detail-stat {
    min-height: 132px;
  }
}

@media (max-width: 700px) {
  .header-inner {
    padding: 0 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 100px;
    height: 34px;
  }

  .brand span {
    max-width: 168px;
    white-space: normal;
    font-size: 13px;
    line-height: 1.25;
  }

  .hero {
    height: auto;
  }

  .slider-dots {
    bottom: 5px;
  }

  .courses,
  .event-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .section-shell,
  .learning-band,
  .partners-band,
  .course-detail,
  .footer-inner {
    width: min(100% - 30px, 940px);
  }

  .course-detail {
    padding: 20px;
  }

  .detail-hero {
    padding: 24px 20px;
  }

  .module-list li {
    padding-left: 62px;
  }

  .monetize-panel {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .enroll-btn {
    width: 100%;
  }

  .course-card {
    min-height: auto;
  }

  .events-panel {
    padding: 26px 18px;
  }

  .learning-band,
  .partners-band {
    padding: 26px 24px;
  }

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

  .footer-brand,
  .footer-nav {
    flex-wrap: wrap;
  }

  .footer-nav {
    gap: 18px 28px;
  }

  .footer-line {
    grid-column: 1;
  }

  .social-links {
    justify-self: start;
  }
}
