:root {
  color-scheme: light;
  font-family:
    "PingFang SC", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  --navy-blue: #0a2463;
  --sport-blue: #0077ff;
  --accent-orange: #ff7a00;
  --light-gray: #f8f9fa;
  --text-gray: #606b7b;
  --line: #eef1f5;
  --shadow-blue: 0 18px 34px rgba(0, 119, 255, 0.2);
  --shadow-card: 0 20px 40px rgba(10, 36, 99, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy-blue);
  background: #ffffff;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px 24px;
  border-bottom: 1px solid #f1f3f6;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  background: var(--sport-blue);
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #5f6877;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--sport-blue);
}

.nav-links a:first-child {
  color: var(--navy-blue);
}

.nav-button,
.mobile-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 10px;
  color: #ffffff !important;
  background: var(--sport-blue);
  box-shadow: 0 10px 24px rgba(0, 119, 255, 0.2);
}

.mobile-admin-link {
  display: none;
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
}

.page-shell {
  width: 100%;
  padding: 24px;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: 48px;
  min-height: calc(80vh - 24px);
  margin-bottom: 80px;
}

.hero-copy {
  display: grid;
  gap: 30px;
}

.hero-kicker {
  margin: 0 0 -12px !important;
  color: var(--sport-blue) !important;
  font-size: 13px !important;
  font-weight: 900;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 640px;
  margin: 0;
  color: var(--text-gray);
  font-size: 18px;
  line-height: 1.85;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 800;
}

.button-primary {
  color: #ffffff;
  background: var(--sport-blue);
  box-shadow: var(--shadow-blue);
}

.button-outline {
  border: 2px solid var(--navy-blue);
  color: var(--navy-blue);
  background: #ffffff;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 48px);
  padding-top: 8px;
}

.hero-metrics div {
  display: grid;
  gap: 4px;
}

.hero-metrics strong {
  font-size: 30px;
  line-height: 1;
}

.hero-metrics span {
  color: #788292;
  font-size: 15px;
}

.hero-visual {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--light-gray);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 36, 99, 0.18));
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speed-line {
  position: absolute;
  left: -10%;
  z-index: 2;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 119, 255, 0.2), transparent);
}

.speed-line-one {
  top: 25%;
}

.speed-line-two {
  top: 50%;
}

.speed-line-three {
  top: 75%;
}

.floating-card {
  position: absolute;
  z-index: 3;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(10, 36, 99, 0.16);
  backdrop-filter: blur(12px);
}

.calorie-card {
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.calorie-card .flame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: var(--sport-blue);
  font-size: 15px;
  font-weight: 900;
  background: rgba(0, 119, 255, 0.1);
}

.floating-card small {
  display: block;
  color: #7b8491;
  font-size: 13px;
}

.floating-card strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
}

.progress-card {
  right: 24px;
  bottom: 24px;
  width: min(260px, calc(100% - 48px));
  padding: 16px;
}

.progress-track {
  height: 8px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e7eb;
}

.progress-track span {
  display: block;
  width: 60%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-orange);
}

.progress-card em {
  display: block;
  margin-top: 8px;
  color: #7b8491;
  font-size: 13px;
  font-style: normal;
  text-align: right;
}

.section-block {
  margin-bottom: 80px;
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading.centered {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: var(--text-gray);
  font-size: 16px;
  line-height: 1.8;
}

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

.category-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(10, 36, 99, 0.05);
}

.category-card span {
  display: block;
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: #10b981;
}

.category-card h3 {
  margin: 42px 0 10px;
  font-size: 24px;
}

.category-card p {
  min-height: 0;
  margin: 0;
  color: var(--text-gray);
  line-height: 1.7;
}

.category-card strong {
  display: block;
  margin-top: 22px;
  color: var(--navy-blue);
  font-size: 16px;
}

.category-green {
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.category-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
}

.category-blue span {
  background: var(--sport-blue);
}

.category-orange {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.category-orange span {
  background: var(--accent-orange);
}

.category-purple {
  background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.category-purple span {
  background: #9333ea;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading-row a {
  flex: 0 0 auto;
  color: var(--sport-blue);
  font-weight: 800;
}

.course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(10, 36, 99, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.course-image {
  height: 192px;
  overflow: hidden;
  background: var(--light-gray);
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.course-meta,
.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-meta small,
.course-footer span {
  color: #7b8491;
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.pill-green {
  color: #047857;
  background: #dcfce7;
}

.pill-yellow {
  color: #a16207;
  background: #fef3c7;
}

.pill-purple {
  color: #7e22ce;
  background: #f3e8ff;
}

.pill-red {
  color: #b91c1c;
  background: #fee2e2;
}

.course-card h3 {
  margin: 0;
  font-size: 22px;
}

.course-card p {
  min-height: 72px;
  margin: 0;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.7;
}

.course-footer a {
  flex: 0 0 auto;
  color: var(--sport-blue);
  font-weight: 800;
}

.cover-placeholder,
.data-loading,
.data-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 192px;
  padding: 24px;
  color: #718096;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 119, 255, 0.08), rgba(255, 122, 0, 0.08)),
    #f7fafc;
}

.data-loading,
.data-empty {
  grid-column: 1 / -1;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--light-gray);
}

.training-path {
  margin-bottom: 80px;
  padding: 48px;
  border-radius: 28px;
  background: var(--light-gray);
}

.step-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.step-row > i {
  flex: 1;
  height: 3px;
  margin-top: 40px;
  background: var(--sport-blue);
}

.step-item {
  display: grid;
  justify-items: center;
  max-width: 250px;
  text-align: center;
}

.step-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 900;
  background: var(--sport-blue);
  box-shadow: var(--shadow-blue);
}

.step-item h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

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

.video-experience {
  margin-bottom: 80px;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: stretch;
}

.video-stage {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--navy-blue);
}

.video-stage::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 36, 99, 0.1), rgba(10, 36, 99, 0.56));
  content: "";
}

.video-stage img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding-left: 4px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-size: 28px;
  cursor: default;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
}

.video-time {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  z-index: 2;
  color: #ffffff;
}

.video-time span {
  font-family: Consolas, "Courier New", monospace;
  font-size: 18px;
}

.video-time div {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.video-time div span {
  display: block;
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent-orange);
}

.video-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(10, 36, 99, 0.08);
}

.video-panel h3 {
  margin: 0;
  font-size: 22px;
}

.video-card-list {
  display: grid;
  gap: 14px;
}

.video-mini-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.video-thumb {
  height: 78px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--light-gray);
}

.video-thumb img,
.video-thumb .cover-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.video-thumb .cover-placeholder {
  padding: 8px;
  font-size: 12px;
}

.video-mini-card h4 {
  overflow: hidden;
  margin: 0 0 6px;
  font-size: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-mini-card p {
  margin: 0 0 8px;
  color: #667085;
  font-size: 13px;
}

.video-mini-card span {
  color: var(--sport-blue);
  font-size: 13px;
  font-weight: 800;
}

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

.feature-grid article {
  min-height: 238px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(10, 36, 99, 0.05);
}

.feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  color: var(--sport-blue);
  font-size: 20px;
  font-weight: 900;
  background: rgba(0, 119, 255, 0.1);
}

.feature-grid h3 {
  margin: 26px 0 12px;
  font-size: 21px;
}

.feature-grid p {
  margin: 0;
  color: var(--text-gray);
  line-height: 1.75;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(240px, 0.8fr);
  gap: 28px;
  padding: 56px 24px 32px;
  color: #ffffff;
  background: #071833;
}

.footer-brand {
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  font-size: 24px;
}

.footer-brand p {
  max-width: 420px;
  margin: 10px 0 0;
  color: #a8b3c5;
  line-height: 1.7;
}

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

.footer-links a {
  color: #a8b3c5;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
}

.copyright {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #7e8aa0;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .hero-section,
  .video-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 460px;
  }

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

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

  .step-row > i {
    display: none;
  }

  .step-item {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand-name {
    font-size: 20px;
  }

  .nav-links {
    display: none;
  }

  .mobile-admin-link {
    display: inline-flex;
  }

  .page-shell {
    padding: 18px;
  }

  .hero-section {
    gap: 32px;
    min-height: auto;
    margin-bottom: 64px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-visual {
    height: 420px;
  }

  .hero-metrics {
    gap: 22px;
  }

  .category-grid,
  .content-grid,
  .feature-grid,
  .step-row,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .training-path {
    padding: 34px 20px;
  }

  .video-stage {
    min-height: 330px;
  }

  .video-panel {
    padding: 22px;
  }

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

@media (max-width: 460px) {
  .button {
    width: 100%;
  }

  .hero-visual {
    height: 360px;
  }

  .floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: calc(100% - 28px);
    margin: -92px 14px 0;
  }

  .calorie-card {
    top: auto;
  }

  .progress-card {
    margin-top: 12px;
  }
}
