:root {
  --ink: #10141b;
  --ink-2: #1d2430;
  --paper: #f7f3ea;
  --paper-2: #e8ddc9;
  --line: rgba(247, 243, 234, 0.16);
  --line-dark: rgba(16, 20, 27, 0.12);
  --text: #f9f4e8;
  --muted: rgba(249, 244, 232, 0.72);
  --dark-text: #1d2430;
  --dark-muted: #5d625f;
  --gold: #d7a642;
  --gold-2: #f3d99a;
  --mars: #b94e35;
  --cyan: #62d0c4;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(10, 13, 18, 0.36);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--dark-text);
  line-height: 1.65;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--text);
  background: rgba(16, 20, 27, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.proof-strip,
.platform-section,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 700;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
}

.nav-links {
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links a,
.site-footer a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--gold-2);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta {
  color: var(--ink);
  background: var(--gold-2);
  font-size: 14px;
}

.button.primary {
  color: var(--ink);
  background: var(--gold-2);
  box-shadow: 0 12px 36px rgba(215, 166, 66, 0.24);
}

.button.secondary {
  color: var(--text);
  border: 1px solid rgba(249, 244, 232, 0.42);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--text);
  background: var(--ink);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 20, 27, 0.94) 0%, rgba(16, 20, 27, 0.78) 42%, rgba(16, 20, 27, 0.28) 100%),
    url("https://cdn.aimindschool.com/aitour/uploads/20260608_122617_0c0549b0_ai-space-work-06.png") center / cover no-repeat;
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(249, 244, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 244, 232, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  width: min(1180px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 112px 0 56px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow,
.section-kicker,
.track-block span,
.download-item span,
.band-title span {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-subtitle {
  margin-bottom: 16px;
  color: var(--gold-2);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

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

.mission-panel {
  position: relative;
  min-height: 520px;
}

.orbit-line {
  position: absolute;
  inset: 38px 20px 34px;
  border: 1px solid rgba(243, 217, 154, 0.38);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.mission-image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(249, 244, 232, 0.22);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.main-image {
  right: 0;
  top: 78px;
  width: min(430px, 88%);
  aspect-ratio: 1.3;
}

.small-image {
  width: 160px;
  aspect-ratio: 1;
}

.small-image.one {
  left: 0;
  top: 20px;
}

.small-image.two {
  left: 58px;
  bottom: 30px;
}

.mission-status {
  position: absolute;
  right: 24px;
  bottom: 16px;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 18px;
  color: var(--text);
  background: rgba(16, 20, 27, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.mission-status span {
  color: var(--muted);
  font-size: 13px;
}

.mission-status strong {
  font-size: 20px;
}

.proof-strip {
  justify-content: center;
  gap: clamp(18px, 4vw, 72px);
  padding: 22px clamp(18px, 4vw, 56px);
  color: var(--text);
  background: var(--mars);
}

.proof-strip div {
  display: grid;
  gap: 2px;
}

.proof-strip strong {
  font-size: 22px;
}

.proof-strip span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.section {
  padding: clamp(72px, 10vw, 130px) clamp(20px, 5vw, 64px);
}

.intro-section,
.courseware-section {
  background: var(--paper);
}

.track-section,
.works-section {
  color: var(--text);
  background: var(--ink-2);
}

.course-section {
  background: #fdfaf3;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  max-width: 1160px;
  margin: 0 auto 42px;
}

.section-kicker {
  display: block;
  max-width: 1160px;
  margin: 0 auto 12px;
  color: var(--mars);
}

.track-section .section-kicker,
.works-section .section-kicker,
.platform-section .section-kicker {
  color: var(--gold-2);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  margin-bottom: 4px;
  color: var(--dark-muted);
  font-size: 17px;
}

.track-section .section-head p,
.works-section .section-head p,
.platform-section p {
  color: var(--muted);
}

.competition-layout,
.track-grid,
.course-paths,
.courseware-grid,
.work-gallery {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.competition-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.feature-panel {
  min-height: 240px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
}

.feature-panel:last-child {
  border-right: 0;
}

.panel-number {
  color: var(--mars);
  font-size: 14px;
  font-weight: 700;
}

.feature-panel h3,
.track-block h3,
.path-column h3 {
  margin: 16px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-panel p,
.track-block p {
  color: var(--dark-muted);
}

.track-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.9fr;
  gap: 1px;
  background: var(--line);
}

.track-block {
  min-height: 300px;
  padding: 34px;
  background: var(--ink-2);
}

.track-block p {
  color: var(--muted);
}

.course-band,
.path-column {
  background: #fffaf0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.course-band {
  width: min(1160px, 100%);
  margin: 0 auto 20px;
  padding: 28px;
}

.band-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.band-title h3 {
  margin: 0;
}

.band-title span {
  color: var(--mars);
  white-space: nowrap;
}

.course-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.path-column {
  padding: 28px;
}

.lesson-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lesson;
}

.common-lessons {
  grid-template-columns: repeat(4, 1fr);
}

.lesson-list li {
  position: relative;
  min-height: 86px;
  padding: 16px 16px 14px;
  background: rgba(16, 20, 27, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.lesson-list strong {
  display: block;
  margin-bottom: 6px;
}

.lesson-list span {
  display: block;
  color: var(--dark-muted);
  font-size: 14px;
}

.courseware-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.download-item {
  display: grid;
  min-height: 170px;
  padding: 22px;
  color: var(--dark-text);
  background: #fffaf0;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.download-item span {
  color: var(--mars);
}

.download-item strong {
  align-self: end;
  font-size: 24px;
  line-height: 1.1;
}

.download-item em {
  color: var(--dark-muted);
  font-size: 14px;
  font-style: normal;
}

.download-item:hover {
  transform: translateY(-4px);
  background: #fff5de;
  border-color: rgba(185, 78, 53, 0.46);
}

.work-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.work-item {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border-radius: var(--radius);
  background: #0f1218;
}

.work-item:nth-child(2),
.work-item:nth-child(5) {
  margin-top: 42px;
}

.work-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.work-item figcaption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  color: var(--text);
  background: rgba(16, 20, 27, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.work-item:hover img {
  transform: scale(1.05);
}

.platform-section {
  justify-content: center;
  min-height: 520px;
  padding: clamp(70px, 10vw, 130px) 20px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(16, 20, 27, 0.92), rgba(16, 20, 27, 0.72)),
    url("https://cdn.aimindschool.com/aitour/uploads/20260608_122616_3786828d_ai-space-work-02.png") center / cover no-repeat;
}

.platform-copy {
  width: min(760px, 100%);
  text-align: center;
}

.platform-copy .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.platform-copy h2 {
  margin-bottom: 20px;
}

.platform-copy p {
  margin-bottom: 28px;
  font-size: 18px;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 64px);
  color: var(--muted);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-inner,
  .section-head,
  .course-paths {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 110px;
  }

  .mission-panel {
    min-height: 430px;
  }

  .competition-layout,
  .track-grid,
  .courseware-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .feature-panel:nth-child(2) {
    border-right: 0;
  }

  .feature-panel:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-dark);
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero-inner {
    width: min(100% - 32px, 1180px);
    min-height: auto;
    padding: 104px 0 44px;
  }

  h1 {
    font-size: clamp(44px, 16vw, 68px);
  }

  .hero-subtitle {
    font-size: 23px;
  }

  .hero-text {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .mission-panel {
    min-height: 330px;
  }

  .main-image {
    top: 42px;
    width: 86%;
  }

  .small-image {
    width: 112px;
  }

  .small-image.two {
    left: 20px;
  }

  .mission-status {
    right: 0;
    bottom: 0;
    min-width: 185px;
  }

  .proof-strip {
    display: grid;
    grid-template-columns: 1fr;
    text-align: left;
  }

  .section {
    padding: 64px 16px;
  }

  .competition-layout,
  .track-grid,
  .courseware-grid,
  .work-gallery,
  .common-lessons {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .track-block,
  .course-band,
  .path-column {
    padding: 22px;
  }

  .feature-panel {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .feature-panel:last-child {
    border-bottom: 0;
  }

  .band-title {
    display: grid;
    gap: 4px;
  }

  .work-item,
  .work-item img {
    min-height: 300px;
  }

  .work-item:nth-child(2),
  .work-item:nth-child(5) {
    margin-top: 0;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
