/* Mo Agent 官网 · 首页专用样式 */

/* ================= 首屏 ================= */
.hero {
  position: relative;
  padding: 76px 0 56px;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 38% at 50% 0%, var(--accent-glow), transparent 72%),
    radial-gradient(26% 30% at 10% 34%, hsl(214 80% 66% / 0.1), transparent 70%),
    radial-gradient(26% 30% at 90% 30%, hsl(158 60% 56% / 0.1), transparent 70%);
}
/* 淡淡的网格，只在中间一圈看得见 */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(62% 56% at 50% 26%, #000, transparent 76%);
  mask-image: radial-gradient(62% 56% at 50% 26%, #000, transparent 76%);
}
.hero__inner {
  position: relative;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
  font-size: 13.5px;
}
.hero__tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.hero__tag-sep {
  width: 1px;
  height: 12px;
  background: var(--border-strong);
}
.hero__title {
  margin-top: 28px;
  font-size: clamp(40px, 7.4vw, 88px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hero__title-accent {
  background: linear-gradient(100deg, var(--accent-strong), #e8a06a 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme='dark'] .hero__title-accent {
  background-image: linear-gradient(100deg, #e08a5b, #f2c08f 90%);
}
.hero__sub {
  max-width: 700px;
  margin: 26px auto 0;
  color: var(--text-2);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
}
.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
/* 两个按钮一样高、一样宽：实心的是主按钮（下载），描边的是次按钮 */
.hero__cta .btn {
  min-width: 216px;
}
.hero__cta .btn .icon {
  width: 19px;
  height: 19px;
}
.hero__meta {
  margin-top: 18px;
  color: var(--text-3);
  font-size: 14px;
}

/* ---------- 界面示意 + 模型卡片 ---------- */
.hero__stage {
  position: relative;
  max-width: 1240px;
  height: 548px;
  margin: 64px auto 0;
  padding: 0 28px;
}
.deck {
  position: absolute;
  top: 0;
  width: 330px;
  height: 100%;
  z-index: 1;
}
.deck--left {
  left: 28px;
}
.deck--right {
  right: 28px;
}
.mcard {
  position: absolute;
  width: 196px;
  height: 256px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid hsl(var(--h) 40% 55% / 0.3);
  background:
    radial-gradient(120% 80% at 86% 0%, hsl(var(--h) 85% var(--art-l1)), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, hsl(calc(var(--h) + 38) 75% var(--art-l2)), transparent 65%),
    linear-gradient(160deg, hsl(var(--h) 60% var(--art-l3)), hsl(calc(var(--h) - 18) 55% var(--art-l4)));
  box-shadow: var(--shadow);
  color: var(--art-text);
  text-align: left;
  rotate: var(--r, 0deg);
  animation: mcard-float 9s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  transition:
    scale 0.3s ease,
    box-shadow 0.3s ease;
}
.mcard:hover {
  scale: 1.04;
  box-shadow: var(--shadow-lg);
  z-index: 3;
}
@keyframes mcard-float {
  50% {
    translate: 0 -10px;
  }
}
.deck--left .mcard:nth-child(1) {
  left: 0;
  top: 8px;
  --r: -9deg;
}
.deck--left .mcard:nth-child(2) {
  left: 122px;
  top: 148px;
  --r: 5deg;
  --delay: -3s;
  z-index: 2;
}
.deck--left .mcard:nth-child(3) {
  left: 10px;
  top: 292px;
  --r: -4deg;
  --delay: -6s;
}
.deck--right .mcard:nth-child(1) {
  right: 0;
  top: 30px;
  --r: 8deg;
  --delay: -1.5s;
}
.deck--right .mcard:nth-child(2) {
  right: 120px;
  top: 168px;
  --r: -5deg;
  --delay: -4.5s;
  z-index: 2;
}
.deck--right .mcard:nth-child(3) {
  right: 8px;
  top: 292px;
  --r: 6deg;
  --delay: -7s;
}
/* 每张卡片一种抽象纹样，全部用渐变画出来 */
.mcard__art {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(95% 72% at 72% 24%, #000 18%, transparent 76%);
  mask-image: radial-gradient(95% 72% at 72% 24%, #000 18%, transparent 76%);
}
.mcard--rings .mcard__art {
  background: repeating-radial-gradient(circle at 76% 26%, transparent 0 13px, var(--art-ink) 13px 14px);
}
.mcard--dots .mcard__art {
  background-image: radial-gradient(var(--art-ink) 1.3px, transparent 1.7px);
  background-size: 13px 13px;
}
.mcard--rays .mcard__art {
  background: repeating-conic-gradient(from 0deg at 84% 12%, var(--art-ink) 0 0.7deg, transparent 0.7deg 9deg);
}
.mcard--grid .mcard__art {
  background-image:
    linear-gradient(var(--art-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--art-ink) 1px, transparent 1px);
  background-size: 22px 22px;
}
.mcard--lines .mcard__art {
  background: repeating-linear-gradient(128deg, transparent 0 10px, var(--art-ink) 10px 11px);
}
.mcard--waves .mcard__art {
  background: repeating-radial-gradient(ellipse 120% 60% at 50% -10%, transparent 0 15px, var(--art-ink) 15px 16px);
}
.mcard__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  opacity: 0.72;
  letter-spacing: 0.04em;
}
.mcard__foot {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}
.mcard__foot b {
  display: block;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.mcard__foot span {
  display: block;
  margin-top: 6px;
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent);
  font-size: 12.5px;
  opacity: 0.76;
}

/* 右边那叠卡片的左半边会被窗口挡住，文字靠右排 */
.deck--right .mcard__top {
  flex-direction: row-reverse;
}
.deck--right .mcard__foot {
  text-align: right;
}

/* 软件窗口 */
.win {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  height: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  box-shadow: var(--shadow-lg);
  text-align: left;
  font-size: 12.5px;
  line-height: 1.5;
}
.win .icon {
  width: 14px;
  height: 14px;
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.win__brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
}
.win__brand .logo__mark {
  width: 17px;
  height: 17px;
}
.win__title {
  flex: 1;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win__ctl {
  display: inline-flex;
  gap: 14px;
  color: var(--text-3);
}
.win__ctl i {
  width: 9px;
  height: 9px;
  border: 1.4px solid currentColor;
  border-radius: 2px;
}
.win__ctl i:first-child {
  height: 0;
  border-width: 1.4px 0 0;
  align-self: center;
  border-radius: 0;
}
.win__ctl i:last-child {
  border: 0;
  background:
    linear-gradient(45deg, transparent 44%, currentColor 44% 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, currentColor 44% 56%, transparent 56%);
}
.win__body {
  flex: 1;
  min-height: 0;
  display: flex;
}
.win__side {
  width: 186px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 8px;
  border-right: 1px solid var(--border);
  background: var(--bg-soft);
}
.win__nav,
.win__item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 9px;
  border-radius: 7px;
  white-space: nowrap;
  overflow: hidden;
}
.win__nav.is-on,
.win__item.is-on {
  background: var(--bg-hover);
}
.win__item {
  color: var(--text-2);
}
.win__item.is-on {
  color: var(--text);
}
.win__item em {
  margin-left: auto;
  padding: 0 4px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--text-3);
  font-size: 9.5px;
  font-style: normal;
  line-height: 13px;
}
.win__group {
  padding: 12px 9px 4px;
  color: var(--text-3);
  font-size: 11px;
}
.win__user {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 4px 0;
  border-top: 1px solid var(--border);
}
.win__user b {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.win__user small {
  color: var(--text-3);
  font-size: 11px;
}
.win__avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
}
.win__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px 16px;
}
.win__bubble {
  align-self: flex-end;
  max-width: 82%;
  padding: 8px 13px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 13px;
}
.win__status {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  color: var(--text-3);
  font-size: 11.5px;
}
.win__status-right {
  margin-left: auto;
}
.win__spin {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.6px solid var(--text-3);
  border-right-color: transparent;
  animation: spin 1s linear infinite;
}
.win__tool {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  color: var(--text-2);
}
.win__tool b {
  color: var(--text);
  font-weight: 500;
}
.win__tool code {
  flex: 1;
  min-width: 0;
  color: var(--text-3);
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win__ok {
  color: var(--ok);
}
.win__ask {
  margin-top: 4px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--bg-elev);
  box-shadow: 0 8px 26px var(--accent-soft);
  overflow: hidden;
}
.win__ask-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-weight: 600;
}
.win__ask-head .icon {
  color: var(--accent);
}
.win__ask code {
  display: block;
  padding: 8px 12px;
  border-block: 1px solid var(--border);
  background: var(--code-bg);
  color: var(--text-2);
  font-size: 11.5px;
}
.win__ask-acts {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 9px 12px;
}
.win__btn {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  font-weight: 500;
  font-size: 11.5px;
}
.win__btn--deny {
  border-color: transparent;
  color: var(--danger);
}
.win__btn--go {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}
.win__composer {
  margin-top: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.win__ph {
  display: block;
  padding: 11px 13px 4px;
  color: var(--text-3);
  font-size: 13px;
}
.win__composer-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px 7px;
}
.win__pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 7px;
  border-radius: 7px;
  color: var(--text-2);
  font-size: 11.5px;
  white-space: nowrap;
}
.win__spacer {
  flex: 1;
}
.win__send {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
}

/* 模型名一排 */
.vendors {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 34px;
  margin-top: 60px;
  color: var(--text-3);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ================= 分段通用 ================= */
.section {
  padding: 116px 0;
}
.section--tint {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}
.section__head {
  max-width: 720px;
  margin: 0 auto 68px;
  text-align: center;
}
.section__head h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: -0.03em;
}
.section__head > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--text-2);
  font-size: clamp(16px, 1.5vw, 18.5px);
}
.section__head--left {
  margin: 0;
  text-align: left;
}
.section__note {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 34px;
  color: var(--text-3);
  font-size: 14px;
  text-align: center;
}
.section__note--small {
  margin-top: 18px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.link-arrow:hover .icon {
  transform: translateX(4px);
}

/* ================= 功能 ================= */
.feature {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 76px;
  align-items: center;
  margin-bottom: 104px;
}
.feature--flip .feature__text {
  order: 2;
}
.feature__no {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.feature__text h3 {
  margin-top: 20px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.025em;
}
.feature__text > p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 17.5px;
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  color: var(--text-2);
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ticks .icon {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  padding: 3px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  stroke-width: 2.4;
}

/* 展示框：带一圈柔光的底，里面放一张示意卡片 */
.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 44px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background:
    radial-gradient(90% 80% at 12% 0%, hsl(var(--h) 82% 62% / 0.24), transparent 60%),
    radial-gradient(70% 70% at 100% 100%, hsl(calc(var(--h) + 44) 82% 62% / 0.16), transparent 65%),
    var(--bg-soft);
  overflow: hidden;
}
.stage__card {
  width: 100%;
  max-width: 450px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.5;
}
.stage__card .icon {
  width: 15px;
  height: 15px;
}
.stage__float {
  position: absolute;
  right: 30px;
  bottom: 28px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow);
  font-size: 13px;
}

/* 01：操作记录 */
.ops__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 4px 12px;
  color: var(--text-2);
  font-weight: 600;
}
.ops__head .icon {
  color: var(--ok);
}
.ops__head span {
  margin-left: auto;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 400;
}
.ops__row {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 33px;
  padding: 0 8px;
  border-radius: 9px;
  color: var(--text-2);
}
.ops__row:nth-of-type(4) {
  background: var(--bg-soft);
}
.ops__row b {
  color: var(--text);
  font-weight: 500;
}
.ops__row code {
  flex: 1;
  min-width: 0;
  color: var(--text-3);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ops__row i {
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  rotate: -45deg;
  translate: 0 -2px;
  scale: 0.7;
}
.ops__diff {
  display: flex;
  flex-direction: column;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  font-size: 12.5px;
}
.ops__diff span {
  padding: 6px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ops__diff .del {
  background: var(--danger-soft);
  color: var(--danger);
}
.ops__diff .add {
  background: color-mix(in srgb, var(--ok) 13%, transparent);
  color: var(--ok);
}
.ops__undo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 9px 9px 12px;
  border-radius: 11px;
  background: var(--bg-soft);
  color: var(--text-2);
}
.ops__undo span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ops__undo-btn {
  height: 28px;
  padding: 0 11px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elev);
  color: var(--text);
  font-weight: 500;
}

/* 02：模型选择 */
.pick__search {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 13px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-3);
}
.pick__search kbd {
  margin-left: auto;
  font-size: 11px;
}
.pick__seg {
  display: inline-flex;
  gap: 2px;
  margin: 12px 0 8px;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.pick__seg span {
  padding: 3px 11px;
  border-radius: 7px;
  color: var(--text-3);
  font-size: 12.5px;
}
.pick__seg .is-on {
  background: var(--bg-elev);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pick__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.pick__row.is-on {
  border-color: var(--border);
  background: var(--bg-soft);
}
.pick__name {
  flex: 1;
  min-width: 0;
}
.pick__name b {
  display: block;
  font-weight: 600;
}
.pick__name small {
  color: var(--text-3);
  font-size: 12px;
}

/* ---------- 拼格 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.cell {
  padding: 14px 14px 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cell.is-in:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cell--2 {
  grid-column: span 2;
}
.cell--3 {
  grid-column: span 3;
}
.cell--4 {
  grid-column: span 4;
}
.cell__art {
  display: grid;
  place-items: center;
  height: 240px;
  margin-bottom: 24px;
  padding: 20px;
  border-radius: 18px;
  background:
    radial-gradient(90% 90% at 10% 0%, hsl(var(--h) 82% 62% / 0.2), transparent 62%),
    radial-gradient(70% 80% at 100% 100%, hsl(calc(var(--h) + 44) 82% 62% / 0.13), transparent 65%),
    var(--bg-soft);
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
}
.cell__art .icon {
  width: 15px;
  height: 15px;
}
.cell > .feature__no {
  margin-left: 14px;
}
.cell h3 {
  margin: 16px 14px 0;
  font-size: 22px;
}
.cell > p {
  margin: 10px 14px 0;
  color: var(--text-2);
  font-size: 15.5px;
}

/* 03：模型对比 */
.cmp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 520px;
}
.cmp__col {
  padding: 13px 13px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.cmp__col.is-pick {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  translate: 0 -8px;
}
.cmp__col > b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 14px;
}
.cmp__col em {
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 10.5px;
  font-style: normal;
  white-space: nowrap;
}
.cmp__bar {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 8px;
  height: 22px;
  color: var(--text-3);
  font-size: 11.5px;
}
.cmp__bar i {
  position: relative;
  height: 5px;
  border-radius: 5px;
  background: var(--bg-hover);
}
.cmp__bar i::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: 5px;
  background: var(--text-2);
}
.cmp__col.is-pick .cmp__bar:nth-of-type(3) i::after {
  background: var(--accent);
}

/* 04：定时任务 */
.sched {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sched__row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.sched__time {
  width: 46px;
  flex: none;
  padding: 3px 0;
  border-radius: 7px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  text-align: center;
}
.sched__row > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.sched__row b {
  display: block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sched__row small {
  color: var(--text-3);
  font-size: 11.5px;
}
.sw {
  position: relative;
  width: 30px;
  height: 18px;
  flex: none;
  border-radius: 999px;
  background: var(--border-strong);
}
.sw::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.sw.is-on {
  background: var(--accent-strong);
}
.sw.is-on::after {
  left: 14px;
}

/* 05：手机远程 */
.remote {
  display: flex;
  align-items: center;
  gap: 12px;
}
.remote__phone {
  position: relative;
  width: 138px;
  padding: 20px 9px 11px;
  border-radius: 22px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}
.remote__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 34px;
  height: 4px;
  margin-left: -17px;
  border-radius: 4px;
  background: var(--border-strong);
}
.remote__msg {
  margin-left: 12px;
  padding: 6px 9px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 11.5px;
}
.remote__ask {
  margin-top: 8px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--accent);
}
.remote__ask small {
  display: block;
  color: var(--text-3);
  font-size: 10.5px;
}
.remote__ask code {
  display: block;
  margin: 3px 0 7px;
  font-size: 11.5px;
}
.remote__ask div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.remote__ask div span {
  padding: 3px 0;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 11px;
  text-align: center;
}
.remote__ask .is-go {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}
.remote__link {
  display: flex;
  gap: 5px;
}
.remote__link i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: link-pulse 1.6s ease-in-out infinite;
}
.remote__link i:nth-child(2) {
  animation-delay: 0.2s;
}
.remote__link i:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes link-pulse {
  0%,
  100% {
    opacity: 0.25;
  }
  50% {
    opacity: 1;
  }
}
.remote__pc {
  display: grid;
  place-items: center;
  gap: 5px;
  width: 74px;
  padding: 13px 6px 9px;
  border-radius: 13px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.remote__pc .icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
}
.remote__pc small {
  color: var(--text-3);
  font-size: 10.5px;
  white-space: nowrap;
}

/* 06：扩展 */
.ext {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 600px;
}
.ext__tile {
  padding: 15px 13px 14px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.ext__tile .icon {
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.ext__tile b {
  display: block;
  margin-top: 12px;
  font-size: 14.5px;
}
.ext__tile small {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 12px;
  line-height: 1.45;
}

/* 07：附件 */
.attach {
  width: 100%;
  max-width: 420px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
}
.attach__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.attach__img,
.attach__file {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 10px 0 5px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 12.5px;
  white-space: nowrap;
}
.attach__file {
  padding-left: 9px;
  color: var(--text-2);
}
.attach__img i {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 70% 30%, #f6c79a 0 22%, transparent 24%),
    linear-gradient(160deg, hsl(18 80% 72%), hsl(250 60% 62%));
}
.attach__input {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
}

/* 08：导入 */
.imp {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.imp__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.imp__row > span {
  flex: 1;
  min-width: 0;
}
.imp__row b {
  display: block;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.imp__row small {
  color: var(--text-3);
  font-size: 11px;
}
.imp__row em {
  padding: 0 5px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  color: var(--text-3);
  font-size: 10px;
  font-style: normal;
}
.ck {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 5px;
  border: 1.5px solid var(--border-strong);
}
.ck.is-on {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}
.ck.is-on::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 7px;
  height: 4px;
  border-left: 1.8px solid var(--on-accent);
  border-bottom: 1.8px solid var(--on-accent);
  rotate: -45deg;
}
.imp__safe {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: var(--bg-soft);
  color: var(--text-2);
  font-size: 12px;
}
.imp__safe .icon {
  color: var(--ok);
}

/* ================= 模型 ================= */
.scenes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.scene {
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.scene:hover {
  color: var(--text);
  background: var(--bg-hover);
}
.scene[aria-selected='true'] {
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
}
.scenes__hint {
  min-height: 1.7em;
  margin: 22px auto 34px;
  max-width: 640px;
  color: var(--text-2);
  text-align: center;
}
.models {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}
.model {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
  animation: model-in 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--d, 0ms);
}
@keyframes model-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
.model.is-pick {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-soft),
    var(--shadow-sm);
}
.model__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.model__av {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 17px;
}
.model__names {
  flex: 1;
  min-width: 0;
}
.model__head h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  /* 模型名是后台填的，可能很长：放不下就换行，不截断 */
  overflow-wrap: anywhere;
}
.model__head small {
  color: var(--text-3);
  font-size: 13px;
}
.model__head .chip {
  margin-left: auto;
}
.model__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.model__fit {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  color: var(--text-2);
  font-size: 14px;
}

/* ================= 上手 ================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow-sm);
}
.step__no {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--accent);
  font-size: 18px;
}
/* 步骤之间的连线 */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 55px;
  left: 86px;
  right: -46px;
  border-top: 1px dashed var(--border-strong);
  z-index: 1;
}
.step h3 {
  margin-top: 22px;
  font-size: 21px;
}
.step p {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15.5px;
}
.step a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================= 常见问题 ================= */
.faq {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 72px;
  align-items: start;
}
.faq__list details {
  border-bottom: 1px solid var(--border);
}
.faq__list details:first-child {
  border-top: 1px solid var(--border);
}
.faq__list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 2px;
  font-size: 17.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__list summary::-webkit-details-marker {
  display: none;
}
.faq__list summary::after {
  content: '';
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(var(--text-2), var(--text-2)) center / 10px 1.5px no-repeat,
    linear-gradient(var(--text-2), var(--text-2)) center / 1.5px 10px no-repeat;
  transition: rotate 0.25s ease;
}
.faq__list details[open] summary::after {
  rotate: 45deg;
}
.faq__list summary:hover::after {
  border-color: var(--accent);
}
.faq__list details p {
  padding: 0 44px 24px 2px;
  color: var(--text-2);
}

/* ================= 下载 ================= */
.section--cta {
  padding-top: 20px;
}
.cta {
  position: relative;
  padding: 88px 28px 80px;
  border-radius: 40px;
  border: 1px solid var(--border);
  background: var(--bg-elev);
  box-shadow: var(--shadow);
  text-align: center;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 70% at 50% 0%, var(--accent-glow), transparent 70%),
    radial-gradient(30% 50% at 8% 100%, hsl(214 80% 66% / 0.12), transparent 70%),
    radial-gradient(30% 50% at 92% 100%, hsl(158 60% 56% / 0.12), transparent 70%);
}
.cta__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center;
  -webkit-mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(70% 80% at 50% 40%, #000, transparent 78%);
}
.cta > *:not(.cta__bg) {
  position: relative;
}
.cta__logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 14px 28px var(--accent-glow));
}
.cta h2 {
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.035em;
}
.cta > p {
  margin-top: 16px;
  color: var(--text-2);
  font-size: 18px;
}
.cta__acts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.cta .cta__meta {
  margin-top: 22px;
  color: var(--text-3);
  font-size: 14px;
}

/* ================= 响应式 ================= */
@media (max-width: 1239px) {
  /* 放不下两侧的卡片了：卡片改成窗口下面的两排 */
  .hero__stage {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    margin-top: 52px;
  }
  .win {
    order: 1;
    width: 100%;
    max-width: 760px;
  }
  .deck {
    position: static;
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
  }
  .mcard,
  .deck--left .mcard:nth-child(n),
  .deck--right .mcard:nth-child(n) {
    position: relative;
    inset: auto;
    width: auto;
    height: 168px;
    --r: 0deg;
    animation: none;
  }
  .deck--right .mcard__top {
    flex-direction: row;
  }
  .deck--right .mcard__foot {
    text-align: left;
  }
}

@media (max-width: 1080px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 76px;
  }
  .feature--flip .feature__text {
    order: 0;
  }
  .cell--2,
  .cell--3,
  .cell--4 {
    grid-column: span 3;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .wide-only {
    display: none;
  }
  .section {
    padding: 76px 0;
  }
  .section__head {
    margin-bottom: 44px;
  }
  .cell--2,
  .cell--3,
  .cell--4 {
    grid-column: span 6;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step::after {
    display: none;
  }
  .ext {
    grid-template-columns: repeat(2, 1fr);
  }
  .cell__art {
    height: auto;
    min-height: 220px;
  }
  .stage {
    min-height: 0;
    padding: 22px 16px 56px;
    border-radius: 24px;
  }
  .stage__float {
    right: 14px;
    bottom: 14px;
  }
  .cta {
    padding: 60px 20px 52px;
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 44px 0 40px;
  }
  .hero__title {
    letter-spacing: -0.03em;
  }
  .hero__cta .btn {
    width: 100%;
    max-width: 320px;
  }
  .hero__stage {
    margin-top: 40px;
    padding: 0 18px;
  }
  .win {
    height: auto;
    border-radius: 14px;
  }
  .win__side,
  .win__status-right,
  .win__pill:first-child,
  .win__title {
    display: none;
  }
  .win__bar {
    justify-content: space-between;
  }
  .win__main {
    padding: 14px 12px 12px;
  }
  .win__bubble {
    max-width: 92%;
  }
  .win__ask-acts .win__btn:nth-child(2) {
    display: none;
  }
  .deck {
    gap: 8px;
  }
  .mcard,
  .deck--left .mcard:nth-child(n),
  .deck--right .mcard:nth-child(n) {
    height: 128px;
    border-radius: 16px;
  }
  .mcard__top {
    top: 10px;
    left: 10px;
    right: 10px;
    font-size: 10px;
  }
  .mcard__top span:last-child {
    display: none;
  }
  .mcard__foot {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  .mcard__foot b {
    font-size: 15px;
  }
  .mcard__foot span {
    display: none;
  }
  .vendors {
    gap: 8px 20px;
    margin-top: 40px;
    font-size: 14px;
  }
  .scene {
    height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }
  .scenes {
    border-radius: 22px;
  }
  .cmp {
    gap: 6px;
  }
  .cmp__col {
    padding: 10px 8px;
  }
  .cmp__col em {
    display: none;
  }
  .cmp__bar {
    grid-template-columns: 34px 1fr;
    gap: 5px;
  }
  .faq__list summary {
    font-size: 16px;
    padding: 18px 0;
  }
  .faq__list details p {
    padding-right: 8px;
  }
  .cta__acts .btn {
    width: 100%;
    max-width: 320px;
  }
}
