:root {
  --bg-1: #fffaf1;
  --bg-2: #fff2de;
  --bg-3: #fffdf8;
  --panel: rgba(255, 250, 241, 0.86);
  --panel-strong: rgba(255, 253, 248, 0.95);
  --text: #3d2a18;
  --text-soft: #6d5641;
  --text-muted: #9a7c63;
  --line: rgba(160, 118, 52, 0.16);
  --line-strong: rgba(212, 165, 71, 0.36);
  --accent: #c9972d;
  --accent-soft: #8a5f17;
  --gold: #d4a547;
  --green: #2f9961;
  --red: #ca5b4a;
  --shadow: 0 24px 56px rgba(91, 61, 26, 0.12);
  --shadow-strong: 0 30px 76px rgba(91, 61, 26, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 44%, var(--bg-3) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 10% 14%, rgba(212, 165, 71, 0.18), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(202, 91, 74, 0.14), transparent 22%),
    radial-gradient(circle at 80% 76%, rgba(47, 153, 97, 0.12), transparent 18%),
    radial-gradient(circle at 16% 84%, rgba(212, 165, 71, 0.12), transparent 18%),
    repeating-linear-gradient(90deg, rgba(109, 86, 65, 0.03) 0, rgba(109, 86, 65, 0.03) 1px, transparent 1px, transparent 84px),
    repeating-linear-gradient(180deg, rgba(109, 86, 65, 0.025) 0, rgba(109, 86, 65, 0.025) 1px, transparent 1px, transparent 84px);
}

body::after {
  background:
    radial-gradient(circle at calc(100% - 128px) 132px, rgba(47, 153, 97, 0.82) 0 10px, transparent 11px),
    radial-gradient(circle at calc(100% - 88px) 172px, rgba(202, 91, 74, 0.78) 0 10px, transparent 11px),
    radial-gradient(circle at calc(100% - 48px) 124px, rgba(212, 165, 71, 0.86) 0 10px, transparent 11px),
    linear-gradient(120deg, transparent 0 44%, rgba(160, 118, 52, 0.18) 44% 46%, transparent 46% 100%);
  opacity: 0.55;
}

a {
  color: inherit;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fffaf0;
  font-weight: 900;
  background: linear-gradient(135deg, #d4a547 0%, #e6b35a 46%, #ca5b4a 100%);
  box-shadow: 0 16px 36px rgba(212, 165, 71, 0.28);
}

.brand-copy strong {
  display: block;
  font-size: 18px;
}

.brand-copy span {
  display: block;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 13px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 244, 0.92);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(91, 61, 26, 0.08);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(212, 165, 71, 0.42);
  box-shadow: 0 16px 28px rgba(91, 61, 26, 0.12);
}

.btn-primary {
  color: #fff9ef;
  border-color: transparent;
  background: linear-gradient(135deg, #c9972d 0%, #d9a64b 56%, #ca5b4a 100%);
}

.hero,
.panel {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(255, 252, 245, 0.84);
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.88) 0%, rgba(255, 247, 235, 0.76) 100%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  overflow: hidden;
  margin-bottom: 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(212, 165, 71, 0.18), transparent 28%),
    radial-gradient(circle at 82% 20%, rgba(202, 91, 74, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), transparent 34%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 24px;
  padding: 34px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 165, 71, 0.18);
  background: rgba(255, 250, 241, 0.88);
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--green) 100%);
  box-shadow: 0 0 14px rgba(212, 165, 71, 0.24);
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.hero p {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.78;
}

.hero-card {
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(160, 118, 52, 0.12);
  background: rgba(255, 252, 246, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-card h3,
.section-title {
  margin: 0 0 12px;
  font-size: 22px;
}

.hero-list,
.check-list,
.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li,
.check-list li,
.meta-list li {
  position: relative;
  padding-left: 18px;
  margin-top: 12px;
  color: var(--text-soft);
  line-height: 1.7;
}

.hero-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--green) 100%);
  box-shadow: 0 0 10px rgba(212, 165, 71, 0.22);
}

.section {
  margin-top: 24px;
}

.panel {
  padding: 28px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 18px;
}

.section-copy {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.journey-map::before,
.journey-map::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  height: 5px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(212, 165, 71, 0.48) 0 24px,
      rgba(212, 165, 71, 0) 24px 38px
    );
  opacity: 0.95;
}

.journey-map::before {
  top: 56px;
}

.journey-map::after {
  top: 194px;
}

.journey-step {
  position: relative;
  z-index: 1;
  min-height: 126px;
  padding: 18px 18px 18px 78px;
  border-radius: 24px;
  border: 1px solid rgba(160, 118, 52, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 247, 231, 0.88) 100%);
  box-shadow: 0 16px 34px rgba(91, 61, 26, 0.1);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.journey-step:hover,
.journey-step:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(212, 165, 71, 0.42);
  box-shadow: var(--shadow-strong);
}

.journey-step::before {
  content: attr(data-step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fffaf1;
  font-weight: 900;
  font-size: 14px;
  background: linear-gradient(135deg, var(--gold) 0%, #e7b65a 55%, var(--red) 100%);
  box-shadow: 0 10px 24px rgba(212, 165, 71, 0.24);
}

.journey-step:nth-child(2n)::before {
  background: linear-gradient(135deg, var(--green) 0%, #5dbc86 54%, var(--gold) 100%);
}

.journey-step:nth-child(3n)::before {
  background: linear-gradient(135deg, var(--red) 0%, #df8b56 50%, var(--gold) 100%);
}

.journey-step strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.journey-step span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  line-height: 1.6;
  font-size: 14px;
}

.chapter-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  border: 1px solid rgba(160, 118, 52, 0.14);
  background: linear-gradient(180deg, rgba(255, 254, 250, 0.92) 0%, rgba(255, 247, 235, 0.84) 100%);
  box-shadow: 0 18px 42px rgba(91, 61, 26, 0.1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.chapter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 165, 71, 0.3);
  box-shadow: var(--shadow-strong);
}

.chapter-cover-link {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.chapter-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #eadfcb;
  transition: transform .45s ease, filter .25s ease;
}

.chapter-card:hover .chapter-cover {
  transform: scale(1.03);
  filter: saturate(1.04);
}

.chapter-cover-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(61, 42, 24, 0.24) 100%);
}

.chapter-cover-hint {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 251, 244, 0.92);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(91, 61, 26, 0.16);
}

.chapter-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
}

.chapter-body .actions {
  margin-top: auto;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(212, 165, 71, 0.12);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.tag.ready {
  background: rgba(47, 153, 97, 0.12);
  color: var(--green);
}

.chapter-title-link {
  text-decoration: none;
}

.chapter-title-link:hover h3,
.chapter-title-link:focus-visible h3 {
  color: var(--accent-soft);
}

.chapter-body h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.18;
}

.chapter-body p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.74;
}

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

.meta-item {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(160, 118, 52, 0.1);
  background: rgba(255, 252, 245, 0.88);
}

.meta-item strong {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

.meta-item span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.56;
}

.video-shell {
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(212, 165, 71, 0.24);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.video-shell video {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #eadfcb;
}

.footer-note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.roadmap-item {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(160, 118, 52, 0.1);
  background: rgba(255, 252, 246, 0.8);
  box-shadow: 0 10px 28px rgba(91, 61, 26, 0.06);
}

.roadmap-item h4 {
  margin: 12px 0 8px;
  font-size: 20px;
}

.roadmap-item p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.muted {
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .meta-grid,
  .journey-map {
    grid-template-columns: 1fr;
  }

  .journey-map::before,
  .journey-map::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .topbar,
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .page {
    width: min(100% - 20px, 1240px);
  }

  .hero-grid,
  .panel {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  body::after {
    display: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p,
  .chapter-body p,
  .section-copy,
  .roadmap-item p,
  .hero-list li,
  .check-list li {
    font-size: 15px;
  }

  .chapter-body h3 {
    font-size: 24px;
  }

  .btn,
  .actions {
    width: 100%;
  }

  .actions .btn {
    flex: 1 1 auto;
  }
}
