/* ============================================================
   爱抓马 AIDRAMA · 产品页样式
   设计基准：浅灰 #f5f5f7 / 纯白分区、超粗中文标题、蓝色点缀
   ============================================================ */

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-4: #86868b;
  --bg: #f5f5f7;
  --bg-2: #fbfbfd;
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.05);

  --blue: #1683ff;
  --blue-deep: #0a63d6;
  --blue-soft: #e8f1ff;
  --yellow: #ffd23f;
  --yellow-soft: #fff6d6;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, 0.04), 0 18px 48px rgba(0, 0, 0, 0.09);

  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

::selection {
  background: var(--blue);
  color: #fff;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 66px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.nav__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand__mark {
  width: 44px;
  height: 36px;
  object-fit: contain;
}

.brand__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand__en {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-4);
  margin-top: 3px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav__menu a {
  padding: 9px 15px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav__menu a:hover {
  background: rgba(0, 0, 0, 0.045);
  color: var(--ink);
}

.nav__menu a.is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.nav__cta:hover {
  background: #000;
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav__burger span::before,
.nav__burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.nav__burger span::before {
  top: -6px;
}

.nav__burger span::after {
  top: 6px;
}

/* ---------- 通用区块 ---------- */
.section {
  padding: 96px 0;
}

.section--grey {
  background: var(--bg);
}

.section--tight {
  padding: 64px 0;
}

.sec-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px;
}

.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--blue);
  margin-bottom: 14px;
}

.h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.h2 em {
  font-style: normal;
  color: var(--blue);
}

.sec-desc {
  margin: 20px auto 0;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-3);
}

/* ---------- Hero ---------- */
.hero {
  background: var(--bg);
  padding: 128px 0 0;
  overflow: hidden;
}

.hero__head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 15px 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.hero__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #33c46a;
  box-shadow: 0 0 0 3px rgba(51, 196, 106, 0.16);
}

.hero h1 {
  margin: 26px 0 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--blue) 8%, #40b0ff 52%, var(--blue-deep) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  margin: 26px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  font-weight: 600;
}

.hero__note {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--ink-3);
}

.hero__btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 131, 255, 0.28);
}

.btn--primary:hover {
  background: #0d76ee;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(22, 131, 255, 0.34);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.hero__figure {
  position: relative;
  max-width: 1440px;
  margin: 56px auto 0;
  padding: 0 24px;
}

.hero__img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  display: block;
}

.hero__ai {
  position: absolute;
  right: 36px;
  bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  user-select: none;
}

/* ---------- 作品网格 ---------- */
.works__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.works__hint {
  font-size: 14px;
  color: var(--ink-4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.work {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #111;
  cursor: default;
  transform: translateZ(0);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.45s;
}

.work.has-video {
  cursor: pointer;
}

.work:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.22);
}

.work__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.work:hover .work__media {
  transform: scale(1.06);
}

/* 无素材时的渐变海报 */
.work__poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.work__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.35;
  mix-blend-mode: overlay;
}

.work__poster-no {
  position: relative;
  z-index: 1;
  font-size: 92px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.16);
  font-variant-numeric: tabular-nums;
  transform: translateY(-14px);
}

.work__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 38%,
    rgba(0, 0, 0, 0.18) 62%,
    rgba(0, 0, 0, 0.72) 100%
  );
  pointer-events: none;
}

.work__info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  color: #fff;
  z-index: 2;
}

.work__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.work__desc {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.work__play {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(9px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: 2;
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.3s, transform 0.3s;
}

.work:hover .work__play {
  opacity: 1;
  transform: scale(1);
}

.work__tag {
  display: inline-block;
  margin-bottom: 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ---------- 价值卡 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.value {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 34px 34px 36px;
  border: 1px solid var(--line-2);
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
}

.value:hover {
  transform: translateY(-4px);
  background: #fff;
  box-shadow: var(--shadow-2);
}

.value__no {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  margin-bottom: 18px;
}

.value__no i {
  width: 26px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.value h3 {
  margin: 0 0 12px;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.value p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* ---------- 流程卡 ---------- */
.flow-block {
  margin-top: 96px;
  padding-top: 8px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.flow {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 22px 20px 24px;
  border: 1px solid var(--line-2);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.flow:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}

.flow__ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}

.flow__ico svg {
  width: 20px;
  height: 20px;
}

.flow h4 {
  margin: 0 0 7px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.flow__idx {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.flow p {
  margin: 0;
  font-size: 13px;
  line-height: 1.68;
  color: var(--ink-3);
}

/* ---------- 规格表 ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  max-width: 1000px;
  margin: 0 auto;
}

.spec {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.spec dt {
  font-size: 14px;
  color: var(--ink-4);
}

.spec dd {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.6;
}

.spec dd small {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-4);
  margin-top: 4px;
}

/* ---------- 课程方案 ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 48px;
}

.tab {
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.22s;
}

.tab:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.tab.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 131, 255, 0.24);
}

.plan {
  display: none;
  max-width: 860px;
  margin: 0 auto;
}

.plan.is-on {
  display: block;
  animation: fade 0.4s ease both;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.day {
  margin-bottom: 34px;
}

.day__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}

.day__title::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: var(--blue);
}

.day__list {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 6px 26px;
}

.slot {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.slot:last-child {
  border-bottom: 0;
}

.slot time {
  font-size: 13.5px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.slot b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.slot span {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

.plan__note {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
  background: var(--yellow-soft);
  border: 1px solid rgba(255, 210, 63, 0.5);
  border-radius: var(--r-sm);
  padding: 14px 18px;
}

/* ---------- 双模式 ---------- */
.modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.mode {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  background: #fff;
  transition: box-shadow 0.35s, transform 0.35s;
}

.mode:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.mode__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.mode h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mode p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

.mode__path {
  font-size: 13px;
  line-height: 2;
  color: var(--ink-2);
  background: var(--bg);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.mode__out {
  font-size: 13px;
  color: var(--ink-3);
}

.mode__out b {
  color: var(--ink);
}

/* ---------- 学科卡 ---------- */
.subjects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 56px;
}

.subject {
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 30px 32px 32px;
  border: 1px solid var(--line-2);
}

.subject__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.subject h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.subject__cat {
  font-size: 11.5px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}

.subject__demo {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.subject__demo b {
  color: var(--ink);
}

.subject__row {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.subject__mode {
  flex: none;
  width: 54px;
  height: 24px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.subject__row p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-3);
}

.subject__out {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.subject__out span {
  font-size: 11.5px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 999px;
}

/* ---------- 落地建议 ---------- */
.tips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.tip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 22px;
}

.tip h4 {
  margin: 0 0 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.tip p {
  margin: 0;
  font-size: 13px;
  line-height: 1.72;
  color: var(--ink-3);
}

/* ---------- 合作流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 12px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 22px 18px 24px;
  border: 1px solid var(--line-2);
  transition: background 0.3s, transform 0.3s;
}

.step:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}

.step__no {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 12px;
}

.step h4 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

.step::after {
  content: "→";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: rgba(0, 0, 0, 0.22);
  z-index: 2;
}

.step:last-child::after {
  display: none;
}

/* ---------- CTA ---------- */
.cta {
  text-align: center;
  padding: 110px 0 120px;
  background: #fff;
}

.cta h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.cta p {
  margin: 22px 0 34px;
  font-size: 17px;
  color: var(--ink-3);
}

/* ---------- 页脚 ---------- */
.footer {
  background: #000;
  color: #fff;
  padding: 64px 0 34px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__chip {
  width: 68px;
  height: 58px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: none;
}

.footer__chip img {
  width: 60px;
  object-fit: contain;
}

.footer__name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.footer__slogan {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 20px;
  max-width: 520px;
  padding-top: 6px;
}

.footer__nav a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
  flex-wrap: wrap;
}

/* ---------- 视频弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
}

.modal.is-open {
  display: flex;
  animation: fade 0.25s ease both;
}

.modal__box {
  position: relative;
  width: min(960px, 100%);
  background: #000;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.modal__box video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
  object-fit: contain;
}

.modal__meta {
  padding: 16px 22px 20px;
  background: #111;
  color: #fff;
}

.modal__meta h3 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 700;
}

.modal__meta p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ---------- 滚动进场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.3, 1),
    transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav__menu {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav.is-open .nav__menu {
    display: flex;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-1);
  }

  .nav.is-open .nav__menu a {
    padding: 12px 8px;
    border-radius: 10px;
  }

  .works {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .step::after {
    display: none;
  }

  .tips {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 100px;
  }

  .hero__figure {
    margin-top: 36px;
    padding: 0 12px;
  }

  .hero__img {
    border-radius: 20px;
  }

  .works {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .works__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .value-grid,
  .modes,
  .subjects {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .tips {
    grid-template-columns: 1fr;
  }

  .slot {
    grid-template-columns: 96px 1fr;
    gap: 12px;
  }

  .day__list {
    padding: 4px 18px;
  }

  .footer__top {
    flex-direction: column;
  }

  .modal {
    padding: 14px;
  }

  .work__poster-no {
    font-size: 56px;
  }

  .work__title {
    font-size: 14px;
  }

  .work__desc {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
