/* /// 全局设计变量：集中维护颜色、宽度与阴影，便于后续根据品牌调整。 */
:root {
  --bg: #070b18;
  --bg-deep: #040711;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-strong: #11192d;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(96, 165, 250, 0.3);
  --text: #f7f9ff;
  --text-soft: #9caac4;
  --text-faint: #697792;
  --blue: #2f80ed;
  --blue-light: #52b6ff;
  --orange: #ffae26;
  --coral: #ff7b67;
  --green: #52d49a;
  --purple: #a98bff;
  --pink: #ff80a8;
  --shell: min(1180px, calc(100% - 40px));
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

/* /// 基础重置：统一盒模型、滚动和文字渲染。 */
* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
summary {
  font: inherit;
}

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

/* /// 通用布局组件：控制内容宽度、章节留白和标题层级。 */
.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section--border {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.008));
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
  text-align: left;
}

.section-heading--row > p {
  max-width: 470px;
  margin: 0 0 8px;
}

.section-heading h2,
.about-copy h2 {
  margin: 16px 0 20px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.section-heading p,
.about-copy > p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.85;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #86c8ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 18px rgba(255, 174, 38, 0.8);
}

.gradient-text {
  background: linear-gradient(100deg, #6fc7ff 4%, #2f80ed 48%, #ffb535 105%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* /// 背景光晕组件：固定在视口外侧，营造与旧官网相近的科技氛围。 */
.page-aurora {
  position: fixed;
  z-index: -1;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(16px);
  opacity: 0.72;
}

.page-aurora--blue {
  top: -280px;
  right: -260px;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.21), transparent 68%);
}

.page-aurora--orange {
  top: 700px;
  left: -430px;
  background: radial-gradient(circle, rgba(255, 174, 38, 0.1), transparent 70%);
}

/* /// 顶部导航组件：滚动时保持可见，并用半透明背景减少内容遮挡。 */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 11, 24, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header__inner {
  display: flex;
  height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand__logo {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.18);
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

.brand__text small {
  color: var(--text-faint);
  font-size: 0.67rem;
  letter-spacing: 0.06em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.desktop-nav a {
  transition: color 180ms ease;
}

.desktop-nav a:hover {
  color: var(--text);
}

.header-cta {
  padding: 11px 18px;
  border: 1px solid rgba(82, 182, 255, 0.34);
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.12);
  color: #b9e1ff;
  font-size: 0.84rem;
  font-weight: 700;
  transition: 180ms ease;
}

.header-cta:hover {
  background: rgba(47, 128, 237, 0.22);
  transform: translateY(-1px);
}

.menu-button,
.mobile-menu {
  display: none;
}

/* /// 首屏组件：左侧负责传达价值，右侧通过手机模型展示产品气质。 */
.hero {
  min-height: 920px;
  padding-top: 170px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(480px, 1.04fr);
  align-items: center;
  gap: 72px;
}

.hero__copy h1 {
  max-width: 650px;
  margin: 24px 0 28px;
  font-size: clamp(3.5rem, 6.2vw, 6.15rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero__lead {
  max-width: 610px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  transition: 200ms ease;
}

.button--primary {
  background: linear-gradient(135deg, #2384ef, #56b7ff);
  color: white;
  box-shadow: 0 14px 34px rgba(47, 128, 237, 0.3);
}

.button--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(47, 128, 237, 0.4);
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: #dbe6f8;
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 42px 0 0;
  padding: 0;
  color: var(--text-faint);
  font-size: 0.78rem;
  list-style: none;
}

.hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.hero__facts span {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 900;
}

.hero__visual {
  position: relative;
  display: grid;
  min-height: 650px;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(82, 182, 255, 0.12);
  border-radius: 50%;
}

.orbit--one {
  width: 540px;
  height: 540px;
}

.orbit--two {
  width: 430px;
  height: 430px;
  border-color: rgba(255, 174, 38, 0.1);
}

.phone {
  position: relative;
  z-index: 2;
  width: 324px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 42px;
  background: linear-gradient(150deg, #2d3548, #080b13 35%, #1f2a43 85%);
  box-shadow: 0 46px 100px rgba(0, 0, 0, 0.58), 0 0 80px rgba(47, 128, 237, 0.12);
  transform: rotate(3deg);
}

.phone__speaker {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 74px;
  height: 21px;
  border-radius: 999px;
  background: #060910;
  transform: translateX(-50%);
}

.phone__screen {
  min-height: 626px;
  overflow: hidden;
  padding: 47px 16px 10px;
  border-radius: 34px;
  background: #f1f5f9;
  color: #0f172a;
}

/* /// App 首页标题：与 home_page.dart 中的真实欢迎文案和字重保持一致。 */
.app-home-title {
  margin: 0 0 20px;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

/* /// 首页 Bento 布局：左五右四的比例对应 App 当前实现。 */
.app-bento-grid {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 10px;
}

.recommend-bento,
.streak-bento,
.footprint-bento,
.practice-track article,
.meow-dialogue > div {
  border: 1px solid #e2e8f0;
  background: transparent;
}

.recommend-bento {
  display: flex;
  height: 160px;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  border-radius: 19px;
}

.recommend-bento > div:first-child {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.recommend-bento__tag {
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.45rem;
  font-weight: 800;
}

.recommend-bento > div > strong {
  font-size: 0.95rem;
  line-height: 1.3;
}

.recommend-bento__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.recommend-bento__footer small {
  color: #475569;
  font-size: 0.54rem;
}

.recommend-bento__footer span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 0.72rem;
}

.app-bento-side {
  display: grid;
  gap: 10px;
}

.streak-bento,
.footprint-bento {
  height: 75px;
  padding: 12px;
  border-radius: 16px;
}

.streak-bento {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.streak-bento small {
  color: #94a3b8;
  font-size: 0.53rem;
}

.streak-bento strong {
  color: #d97706;
  font-size: 1.25rem;
  font-weight: 900;
}

.streak-bento em {
  color: #475569;
  font-size: 0.5rem;
  font-style: normal;
}

.footprint-bento {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footprint-bento__icon {
  color: #2563eb;
  font-size: 0.82rem;
}

.footprint-bento div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footprint-bento strong {
  font-size: 0.62rem;
  font-weight: 800;
}

.footprint-bento div > span {
  color: #94a3b8;
  font-size: 0.68rem;
}

/* /// 自主练习场标题和横向卡片：还原首页的科目快捷轨道。 */
.practice-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 10px;
}

.practice-heading strong {
  font-size: 0.68rem;
}

.practice-heading span {
  color: #94a3b8;
  font-size: 0.5rem;
}

.practice-track {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.practice-track article {
  display: flex;
  width: 98px;
  height: 82px;
  flex: 0 0 98px;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  border-radius: 14px;
}

.practice-track article > span {
  color: #2563eb;
  font-size: 0.78rem;
}

.practice-track article div {
  display: grid;
  gap: 2px;
}

.practice-track strong {
  overflow: hidden;
  font-size: 0.57rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.practice-track small {
  color: #94a3b8;
  font-size: 0.46rem;
}

/* /// 猫咪助理气泡：结构和文案均对应 App 首页当前实现。 */
.meow-dialogue {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  margin-top: 18px;
}

.meow-dialogue__avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.04);
  font-size: 0.78rem;
}

.meow-dialogue > div {
  padding: 10px;
  border-radius: 0 13px 13px 13px;
}

.meow-dialogue strong {
  color: #2563eb;
  font-size: 0.48rem;
}

.meow-dialogue p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 0.43rem;
  line-height: 1.45;
}

.app-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px -16px -10px;
  padding: 8px 3px 7px;
  border-top: 1px solid rgba(226, 232, 240, 0.7);
  background: #f1f5f9;
}

.app-nav span {
  display: grid;
  place-items: center;
  color: #475569;
  font-size: 0.78rem;
}

.app-nav small {
  margin-top: 2px;
  font-size: 0.42rem;
}

.app-nav .app-nav__active {
  color: #2563eb;
}

/* /// 能力卡片组件：采用玻璃卡片与不同强调色区分五个训练维度。 */
.ability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ability-card {
  min-height: 290px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  transition: 230ms ease;
}

.ability-card:hover,
.training-card:hover,
.preview-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  transform: translateY(-5px);
}

.ability-card--wide {
  display: grid;
  grid-column: span 2;
  grid-template-columns: auto 1fr;
  gap: 22px;
}

.ability-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 40px;
  place-items: center;
  border-radius: 15px;
  font-size: 1.35rem;
}

.ability-card__icon--blue { background: rgba(47, 128, 237, 0.14); }
.ability-card__icon--orange { background: rgba(255, 174, 38, 0.13); }
.ability-card__icon--green { background: rgba(82, 212, 154, 0.13); }
.ability-card__icon--purple { background: rgba(169, 139, 255, 0.14); }
.ability-card__icon--pink { background: rgba(255, 128, 168, 0.13); }

.ability-card__index {
  color: var(--text-faint);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ability-card h3 {
  margin: 10px 0 12px;
  font-size: 1.45rem;
}

.ability-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.memory-sequence {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-self: end;
}

.memory-sequence span {
  aspect-ratio: 1.8;
  border: 1px solid rgba(82, 182, 255, 0.14);
  border-radius: 10px;
  background: rgba(47, 128, 237, 0.05);
}

.memory-sequence .is-lit {
  background: linear-gradient(135deg, #2384ef, #5fc1ff);
  box-shadow: 0 7px 22px rgba(47, 128, 237, 0.35);
}

/* /// 训练列表组件：采用紧凑横向卡片，容纳完整训练名称和分类。 */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.training-card {
  position: relative;
  display: grid;
  min-height: 145px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 17px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(11, 17, 33, 0.68);
  transition: 220ms ease;
}

.training-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(82, 182, 255, 0.2);
  border-radius: 14px;
  background: rgba(47, 128, 237, 0.1);
  color: #86c8ff;
  font-size: 1.2rem;
  font-weight: 900;
}

.training-card small {
  color: var(--blue-light);
  font-size: 0.65rem;
  font-weight: 800;
}

.training-card h3 {
  margin: 5px 0 7px;
  font-size: 1.05rem;
}

.training-card p {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.76rem;
  line-height: 1.55;
}

.training-card b {
  position: absolute;
  right: 14px;
  bottom: -8px;
  color: rgba(255, 255, 255, 0.035);
  font-size: 3.6rem;
}

.training-card--more {
  border-style: dashed;
}

.training-card--more .training-card__icon {
  border-color: rgba(255, 174, 38, 0.2);
  background: rgba(255, 174, 38, 0.08);
  color: var(--orange);
}

/* /// 产品体验组件：使用不同尺寸卡片承载推荐、成绩和主题示意。 */
.preview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.preview-card {
  min-height: 330px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(17, 25, 45, 0.94), rgba(10, 15, 29, 0.88));
  transition: 230ms ease;
}

.preview-card--large {
  display: grid;
  grid-row: span 2;
  grid-template-rows: auto 1fr;
  min-height: 680px;
}

.preview-card__copy > span {
  color: var(--blue-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.preview-card h3 {
  margin: 11px 0 13px;
  font-size: 1.65rem;
}

.preview-card p {
  max-width: 520px;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.75;
}

.recommendation-demo {
  align-self: end;
  margin: 62px auto 0;
  width: min(100%, 470px);
  padding: 34px;
  border: 1px solid rgba(255, 174, 38, 0.22);
  border-radius: 25px;
  background: linear-gradient(145deg, #fffdf9, #fff3e5);
  color: #3d3431;
  box-shadow: 0 32px 65px rgba(0, 0, 0, 0.24);
  transform: rotate(-2deg);
}

.recommendation-demo__badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff0d4;
  color: #d47c24;
  font-size: 0.7rem;
  font-weight: 800;
}

.recommendation-demo strong {
  display: block;
  margin-top: 24px;
  font-size: 1.55rem;
}

.recommendation-demo p {
  margin-top: 9px;
  color: #8e7d75;
}

.sequence-line {
  display: flex;
  gap: 8px;
  margin: 28px 0;
}

.sequence-line i {
  flex: 1;
  height: 54px;
  border-radius: 12px;
  background: #eaf3fc;
}

.sequence-line .active {
  background: linear-gradient(145deg, #2f80ed, #62c3ff);
  box-shadow: 0 12px 24px rgba(47, 128, 237, 0.26);
}

.recommendation-demo button {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: #e07a5f;
  color: white;
  font-weight: 800;
}

.score-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 40px;
}

.score-demo div {
  display: grid;
  gap: 8px;
  padding: 15px 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.score-demo span {
  color: var(--text-faint);
  font-size: 0.58rem;
}

.score-demo strong {
  font-size: 1.15rem;
}

.score-demo small {
  color: var(--text-soft);
  font-size: 0.55rem;
}

.theme-demo {
  display: flex;
  gap: 12px;
  margin-top: 42px;
}

.theme-demo span {
  position: relative;
  width: 52px;
  height: 72px;
  border: 5px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: var(--theme-background);
  box-shadow: inset 0 -24px 0 var(--theme-surface);
}

.theme-demo span::before {
  position: absolute;
  top: 12px;
  left: 9px;
  width: 24px;
  height: 7px;
  border-radius: 999px;
  background: var(--theme-accent);
  content: "";
}

/* /// 主题预览配色：严格对应 App 当前启用的浅色和深色主题。 */
.theme-demo__light {
  --theme-background: #f1f5f9;
  --theme-surface: #ffffff;
  --theme-accent: #2563eb;
}

.theme-demo__dark {
  --theme-background: #0f172a;
  --theme-surface: #1e293b;
  --theme-accent: #3b82f6;
}

/* /// 关于组件：限制正文宽度，避免单段信息在大屏上形成过长行宽。 */
.about-wrap {
  display: flex;
  justify-content: center;
}

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

.about-copy h2 {
  margin-top: 18px;
}

.company-card {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  text-align: left;
}

.company-card span {
  color: var(--text-faint);
  font-size: 0.68rem;
}

.company-card strong {
  font-size: 0.96rem;
}

.company-card a {
  color: var(--blue-light);
  font-size: 0.83rem;
}

/* /// 页脚组件：保持信息简洁，重点露出主体、协议和备案链接。 */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 70px;
  padding-top: 64px;
  padding-bottom: 54px;
}

.brand--footer {
  align-self: start;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 46px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 13px;
}

.footer-links strong {
  margin-bottom: 3px;
  font-size: 0.82rem;
}

.footer-links a {
  color: var(--text-faint);
  font-size: 0.76rem;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

.site-footer__bottom {
  display: flex;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--text-faint);
  font-size: 0.72rem;
}

/* /// 入场动画：脚本只负责增加可见类，无脚本时内容仍保持可读。 */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal--delay {
  transition-delay: 120ms;
}

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

/* /// 平板适配：压缩间距并调整高密度卡片列数。 */
@media (max-width: 1024px) {
  .desktop-nav {
    gap: 18px;
  }

  .hero__grid {
    grid-template-columns: 1fr 420px;
    gap: 36px;
  }

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

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

}

/* /// 移动端适配：切换折叠菜单、单列内容和更紧凑的手机模型。 */
@media (max-width: 820px) {
  :root {
    --shell: min(100% - 30px, 680px);
  }

  .section {
    padding: 82px 0;
  }

  .site-header__inner {
    height: 70px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 43px;
    height: 43px;
    padding: 0;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: white;
    transition: 180ms ease;
  }

  .menu-button.is-active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button.is-active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 99;
    top: 70px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 30px;
    background: rgba(7, 11, 24, 0.98);
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.35rem;
    font-weight: 800;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__copy h1 {
    margin-inline: auto;
  }

  .hero__lead {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__facts {
    justify-content: center;
  }

  .hero__visual {
    min-height: 630px;
  }

  .section-heading--row {
    display: block;
    text-align: center;
  }

  .section-heading--row > p {
    margin: 20px auto 0;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .preview-card--large {
    min-height: 620px;
  }

}

/* /// 小屏手机适配：避免浮动提示、统计卡和页脚在窄屏溢出。 */
@media (max-width: 560px) {
  .page-aurora {
    width: 360px;
    height: 360px;
  }

  .page-aurora--blue {
    right: 0;
  }

  .page-aurora--orange {
    left: -180px;
  }

  .brand__text small {
    display: none;
  }

  .hero__copy h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__facts {
    gap: 14px 20px;
  }

  .hero__visual {
    min-height: 570px;
    margin-inline: -10px;
    overflow: hidden;
    transform: scale(0.9);
    transform-origin: top center;
  }

  .orbit--one {
    width: 390px;
    height: 390px;
  }

  .orbit--two {
    width: 320px;
    height: 320px;
  }

  .ability-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .ability-card--wide {
    grid-column: span 1;
  }

  .ability-card {
    min-height: 245px;
  }

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

  .preview-card {
    padding: 25px;
  }

  .preview-card--large {
    min-height: 540px;
  }

  .recommendation-demo {
    margin-top: 45px;
    padding: 24px;
  }

  .sequence-line i {
    height: 42px;
  }

  .score-demo {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    display: grid;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .site-footer__bottom {
    display: grid;
    justify-content: start;
    padding: 22px 0;
  }

  .site-footer__bottom p {
    margin: 0;
  }
}

/* /// 减少动态效果：尊重系统的辅助功能设置。 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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