@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/baloo-2-700.ttf") format("truetype");
}

@font-face {
  font-family: "ZCOOL KuaiLe";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/zcool-kuaile-400.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #202124;
  background: #f3f4f6;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

a {
  color: inherit;
}

.course-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.course-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #e4e6ea;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(9px);
}

.course-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 1160px;
  height: 74px;
  margin: 0 auto;
  padding: 0 28px;
}

.course-logo img {
  display: block;
  width: auto;
  height: 46px;
}

.course-navlinks {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #3c4043;
}

.course-navlinks a {
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 999px;
}

.course-navlinks a:hover {
  background: #ffeeae;
}

.course-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #202124;
}

.course-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.course-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(20, 22, 30, 0.24), rgba(20, 22, 30, 0.84));
}

.course-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 86px 28px 72px;
}

.course-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  color: #202124;
  background: #ffd83d;
  border-radius: 999px;
  box-shadow: 0 4px 0 #c8920a;
  font-family: "Baloo 2", "Noto Sans SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-hero h1 {
  max-width: 840px;
  margin: 22px 0 0;
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 400;
  line-height: 1.05;
}

.course-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.course-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.course-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: 18px;
}

.course-button.primary {
  color: #fff;
  background: #e60012;
  box-shadow: 0 5px 0 #a1000c;
}

.course-button.secondary {
  color: #202124;
  background: #fff;
  box-shadow: 0 5px 0 #d2d5da;
}

.course-section {
  padding: 82px 28px;
}

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

.course-wrap {
  max-width: 1160px;
  margin: 0 auto;
}

.course-heading {
  max-width: 760px;
  margin: 0 0 34px;
}

.course-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 5px 12px;
  color: #fff;
  background: #3dae4b;
  border-radius: 999px;
  font-family: "Baloo 2", "Noto Sans SC", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-heading h2 {
  margin: 0;
  font-family: "ZCOOL KuaiLe", "Noto Sans SC", sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 400;
  line-height: 1.14;
}

.course-heading p {
  margin: 14px 0 0;
  color: #54585f;
  font-size: 17px;
  line-height: 1.8;
}

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

.course-panel {
  min-height: 100%;
  padding: 26px 24px;
  border: 1px solid #e4e6ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 7px 0 #e6e8ec;
}

.course-panel h3 {
  margin: 0;
  font-size: 20px;
  color: #202124;
}

.course-panel p,
.course-panel li {
  color: #5c606a;
  font-size: 15px;
  line-height: 1.75;
}

.course-panel ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 1.1em;
}

.course-band {
  color: #fff;
  background: #16224a;
}

.course-band .course-heading p {
  color: rgba(255, 255, 255, 0.78);
}

.course-band .course-heading h2 {
  color: #fff;
}

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

.course-step {
  padding: 24px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.course-step strong {
  display: block;
  color: #ffd83d;
  font-family: "Baloo 2", "Noto Sans SC", sans-serif;
  font-size: 22px;
}

.course-step span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.65;
}

.course-faq {
  display: grid;
  gap: 14px;
}

.course-faq details {
  border: 1px solid #e4e6ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 0 #e6e8ec;
}

.course-faq summary {
  cursor: pointer;
  padding: 20px 22px;
  color: #202124;
  font-size: 17px;
  font-weight: 800;
}

.course-faq p {
  margin: 0;
  padding: 0 22px 22px;
  color: #5c606a;
  line-height: 1.78;
}

.course-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-chip {
  display: inline-flex;
  padding: 9px 15px;
  color: #3c4043;
  text-decoration: none;
  background: #f3f4f6;
  border-radius: 999px;
  font-weight: 700;
}

.course-footer {
  padding: 42px 28px;
  color: #9aa0a8;
  background: #202124;
}

.course-footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

@media (max-width: 860px) {
  .course-navlinks {
    display: none;
  }

  .course-hero {
    min-height: 520px;
  }

  .course-grid,
  .course-steps {
    grid-template-columns: 1fr;
  }
}
