:root {
  --ink: #14221b;
  --muted: #5f6b63;
  --deep: #0e3b2f;
  --green: #13704f;
  --court: #1c8a63;
  --ivory: #f7f2e8;
  --paper: #fffdf7;
  --line: rgba(20, 34, 27, 0.14);
  --gold: #d99a35;
  --orange: #e86f2d;
  --white: #ffffff;
  --shadow: 0 20px 54px rgba(13, 38, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 36, 28, 0.82);
  backdrop-filter: blur(18px);
  color: var(--white);
}

.nav-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: #f7c267;
  font-weight: 800;
  border-radius: 8px;
}

.brand-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--gold);
  color: #1f170a;
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  background: transparent;
  color: var(--white);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 128px 0 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 28, 21, 0.88) 0%, rgba(6, 28, 21, 0.66) 44%, rgba(6, 28, 21, 0.2) 100%),
    url("assets/hero-courts.jpg") center / cover no-repeat;
}

.sub-hero {
  min-height: 58vh;
  padding: 132px 0 70px;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 34, 25, 0.9), rgba(7, 34, 25, 0.52)),
    url("../assets/hero-courts.jpg") center / cover no-repeat;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy,
.sub-hero-copy {
  max-width: 790px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7c267;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.sub-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.lead {
  max-width: 690px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2.3vw, 24px);
  line-height: 1.55;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.mt-24 {
  margin-top: 24px;
}

.mt-26 {
  margin-top: 26px;
}

.mt-28 {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #1f170a;
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background: var(--deep);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--deep);
  border-color: var(--line);
}

.hero-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 920px;
}

.hero-stat {
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stat strong {
  display: block;
  color: var(--white);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.05;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--deep);
  color: var(--white);
}

.section-green {
  background: #e8f1e8;
}

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

.section-kicker {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.section-dark .section-kicker {
  color: #f7c267;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-intro {
  max-width: 560px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.trust-grid,
.course-grid,
.campus-grid,
.faq-grid,
.achievement-grid,
.method-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

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

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

.trust-card,
.course-card,
.campus-card,
.faq-card,
.achievement-card,
.method-card,
.path-step,
.proof-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
}

.section-dark .trust-card,
.section-dark .course-card,
.section-dark .campus-card,
.section-dark .faq-card,
.section-dark .achievement-card,
.section-dark .method-card,
.section-dark .path-step,
.section-dark .proof-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: #173f32;
  color: #f7c267;
  font-size: 13px;
  font-weight: 900;
}

.course-label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  border: 1px solid rgba(217, 154, 53, 0.46);
  border-radius: 999px;
  color: #9c5d12;
  background: rgba(217, 154, 53, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.section-dark .course-label {
  color: #f7c267;
  background: rgba(217, 154, 53, 0.14);
}

.trust-card h3,
.course-card h3,
.campus-card h3,
.faq-card h3,
.achievement-card h3,
.method-card h3,
.path-step h3,
.proof-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.28;
}

.trust-card p,
.course-card p,
.campus-card p,
.faq-card p,
.achievement-card p,
.method-card p,
.path-step p,
.proof-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-dark .trust-card p,
.section-dark .course-card p,
.section-dark .campus-card p,
.section-dark .faq-card p,
.section-dark .achievement-card p,
.section-dark .method-card p,
.section-dark .path-step p,
.section-dark .proof-card p {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 46px;
  align-items: center;
}

.image-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(8, 33, 25, 0.82);
  color: var(--white);
}

.image-caption strong {
  display: block;
  margin-bottom: 4px;
}

.path-list {
  display: grid;
  gap: 12px;
}

.path-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.step-dot {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #1f170a;
  font-weight: 900;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.metric {
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: #f7c267;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.campus-card {
  position: relative;
  overflow: hidden;
}

.campus-tag {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.campus-card h3 {
  min-height: 58px;
}

.campus-title {
  font-size: 30px;
  line-height: 1.2;
}

.campus-card ul,
.course-card ul,
.proof-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.campus-card li,
.course-card li,
.proof-card li {
  padding: 7px 0 7px 18px;
  border-top: 1px solid var(--line);
  position: relative;
}

.campus-card li::before,
.course-card li::before,
.proof-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.trial-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background: var(--deep);
  color: var(--white);
}

.trial-wrap h2 {
  margin-bottom: 12px;
}

.trial-wrap p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.qr-panel {
  justify-self: end;
  width: 220px;
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--deep);
  text-align: center;
}

.qr-panel img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.qr-panel span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--white);
}

.page-intro {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

.course-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 22px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.course-detail:first-child {
  border-top: 0;
  padding-top: 0;
}

.course-detail h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.course-meta span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(19, 112, 79, 0.1);
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
}

.detail-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
}

.detail-panel p {
  color: var(--muted);
}

.detail-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-panel li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

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

.footer {
  padding: 46px 0 92px;
  background: #081f18;
  color: rgba(255, 255, 255, 0.72);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer strong {
  color: var(--white);
}

.footer a {
  color: rgba(255, 255, 255, 0.86);
}

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

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 31, 24, 0.94);
  backdrop-filter: blur(16px);
  gap: 10px;
}

.mobile-cta a {
  flex: 1;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 850;
}

.mobile-cta a:first-child {
  background: var(--gold);
  color: #1f170a;
}

.mobile-cta a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.is-open {
    position: fixed;
    left: 0;
    right: 0;
    top: 72px;
    display: grid;
    gap: 0;
    padding: 16px 20px 24px;
    background: #081f18;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-links.is-open a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero {
    min-height: 82vh;
    padding-top: 112px;
  }

  .hero-stats,
  .metric-band,
  .achievement-grid,
  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .section-head {
    display: block;
  }

  .trial-wrap {
    grid-template-columns: 1fr;
  }

  .qr-panel {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .container,
  .nav-wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  .brand-sub {
    font-size: 11px;
  }

  .hero {
    min-height: 84vh;
    padding: 112px 0 48px;
    background:
      linear-gradient(180deg, rgba(6, 28, 21, 0.9) 0%, rgba(6, 28, 21, 0.72) 55%, rgba(6, 28, 21, 0.5) 100%),
      url("assets/hero-courts.jpg") center / cover no-repeat;
  }

  .sub-hero {
    min-height: 48vh;
    padding: 112px 0 48px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .lead,
  .page-intro {
    font-size: 17px;
  }

  .hero-actions .btn {
    flex: 1 1 180px;
  }

  .hero-stats,
  .trust-grid,
  .course-grid,
  .campus-grid,
  .achievement-grid,
  .method-grid,
  .method-grid.two-col,
  .metric-band,
  .proof-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 30px;
  }

  .hero-stat {
    padding: 14px 16px;
  }

  .section {
    padding: 62px 0;
  }

  .trust-card,
  .course-card,
  .campus-card,
  .faq-card,
  .achievement-card,
  .method-card,
  .path-step,
  .proof-card,
  .detail-panel {
    padding: 20px;
  }

  .image-panel,
  .image-panel img {
    min-height: 360px;
  }

  .path-step {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .step-dot {
    width: 38px;
    height: 38px;
  }

  .metric {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .trial-wrap {
    padding: 24px;
  }

  .qr-panel {
    width: 100%;
    max-width: 240px;
  }

  .footer-wrap {
    display: grid;
  }

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

  .mobile-cta {
    display: flex;
  }
}
