/* baocut.com 的样式。深色电影感基调，品牌珊瑚色只用在强调处；不引外部字体，中文走系统字体。 */

:root {
  --bg: #0b0b10;
  --bg-band: #0f0f15;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f4f8;
  --muted: #a9a7b4;
  --faint: #73717f;
  --brand: #ff5c4a;
  --brand-soft: #ffc1b8;
  --brand-ink: #1c0906;
  --brand-glow: rgba(255, 92, 74, 0.32);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --gutter: 16px;
  --nav-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  color-scheme: dark;
}

@media (min-width: 720px) {
  :root {
    --gutter: 28px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:lang(zh-Hans) body,
body:lang(zh-Hans) {
  line-height: 1.75;
}

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

img {
  height: auto;
}

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

p a,
li a {
  color: var(--brand-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 193, 184, 0.35);
  text-underline-offset: 3px;
}

p a:hover,
li a:hover {
  text-decoration-color: currentColor;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:lang(zh-Hans) h1,
:lang(zh-Hans) h2,
:lang(zh-Hans) h3,
:lang(zh-Hans) h4 {
  letter-spacing: 0;
  line-height: 1.3;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--brand-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

.icon-sm {
  width: 15px;
  height: 15px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a63 0%, var(--brand) 55%, #f2412d 100%);
  color: var(--brand-ink);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 10px 30px -10px var(--brand-glow);
}

.btn-primary:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 14px 38px -10px rgba(255, 92, 74, 0.55);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-sm .icon {
  width: 17px;
  height: 17px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 16px;
}

/* ---------- 顶部导航 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

.nav.is-scrolled,
.nav.is-open {
  background: rgba(11, 11, 16, 0.78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand img {
  width: 28px;
  height: 28px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14.5px;
}

.nav-menu > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-menu > a:hover {
  color: var(--text);
  background: var(--surface-strong);
}

.nav-menu .icon {
  width: 17px;
  height: 17px;
}

.nav-lang {
  margin-left: 8px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle .icon-close,
.nav.is-open .nav-toggle .icon-open {
  display: none;
}

.nav.is-open .nav-toggle .icon-close {
  display: block;
}

@media (max-width: 879px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    inset: var(--nav-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    padding: 8px var(--gutter) 18px;
    background: #0d0d13;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    font-size: 16px;
  }

  .nav.is-open .nav-menu {
    display: flex;
  }

  .nav-menu > a {
    padding: 12px 8px;
    border-radius: 10px;
  }

  .nav-lang {
    margin: 0;
  }
}

@media (max-width: 380px) {
  .nav-actions .btn-sm span {
    display: none;
  }

  .nav-actions .btn-sm {
    width: 40px;
    padding: 0;
  }
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 9vw, 104px));
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(255, 92, 74, 0.28), transparent 70%),
    radial-gradient(38% 30% at 82% 18%, rgba(255, 193, 184, 0.12), transparent 70%),
    radial-gradient(36% 30% at 12% 30%, rgba(120, 92, 255, 0.1), transparent 70%);
}

.hero-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 10%, #000 30%, transparent 75%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13.5px;
  color: var(--muted);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.pill:hover {
  border-color: rgba(255, 193, 184, 0.45);
  background: rgba(255, 92, 74, 0.08);
}

.pill-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 92, 74, 0.16);
  color: var(--brand-soft);
  font-weight: 600;
  white-space: nowrap;
}

.pill-version {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.pill-link .icon {
  width: 15px;
  height: 15px;
}

@media (max-width: 440px) {
  .pill-link {
    display: none;
  }
}

.hero-title {
  margin-top: 28px;
  max-width: 15ch;
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

:lang(zh-Hans) .hero-title {
  max-width: 13em;
  font-size: clamp(2.3rem, 6.4vw, 4.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero-title span {
  display: block;
}

.accent {
  background: linear-gradient(100deg, #ff8a73 0%, var(--brand) 35%, var(--brand-soft) 75%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 24px;
  max-width: 680px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero-meta {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--faint);
}

.hero-stage {
  margin-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero-shot {
  position: relative;
  margin: 0;
  animation: rise 1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-shot::before {
  content: '';
  position: absolute;
  inset: 8% 6% -4%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 92, 74, 0.35), transparent 70%);
  filter: blur(40px);
}

.window {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: #1a1a20;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 40px 120px -30px rgba(0, 0, 0, 0.9),
    0 20px 60px -20px rgba(255, 92, 74, 0.18);
}

.terminal-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3a44;
}

.terminal-bar i:first-child {
  background: #ff5f57;
}

.terminal-bar i:nth-child(2) {
  background: #febc2e;
}

.terminal-bar i:nth-child(3) {
  background: #28c840;
}

.float {
  position: absolute;
  max-width: 300px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(20, 20, 27, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.float-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}

.float-label .icon {
  width: 15px;
  height: 15px;
  color: #3ddc84;
}

.float-prompt {
  left: -56px;
  top: 30%;
  animation: float 7s ease-in-out infinite;
}

.float-prompt p::before {
  content: '“';
}

.float-prompt p::after {
  content: '”';
}

.float-receipt {
  right: -56px;
  bottom: 9%;
  animation: float 7s 1.4s ease-in-out infinite;
}

.float-receipt .float-label {
  color: #3ddc84;
}

@media (max-width: 1279px) {
  .float-prompt {
    left: 16px;
  }

  .float-receipt {
    right: 16px;
  }
}

@media (max-width: 759px) {
  .float {
    display: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- 智能体引擎 ---------- */

.agents {
  padding: 36px 0 12px;
  text-align: center;
}

.agents-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

:lang(zh-Hans) .agents-label {
  letter-spacing: 0.12em;
}

.agents-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 18px;
}

.agents-list li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.agents-list li.is-validated {
  color: var(--text);
  border-color: rgba(255, 193, 184, 0.3);
  background: rgba(255, 92, 74, 0.08);
}

.agents-note {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 14px;
  color: var(--faint);
}

/* ---------- 通用区块 ---------- */

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-band {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-band) 12%, var(--bg-band) 88%, var(--bg) 100%);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}

.kicker::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head h2,
.row-text h2 {
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

:lang(zh-Hans) .section-head h2,
:lang(zh-Hans) .row-text h2 {
  letter-spacing: 0;
}

.lead {
  margin-top: 18px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
}

.card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.card:hover {
  border-color: var(--line-strong);
}

.card h3 {
  margin-top: 18px;
  font-size: 1.2rem;
  font-weight: 650;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.card-icon,
.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 92, 74, 0.1);
  border: 1px solid rgba(255, 92, 74, 0.22);
  color: var(--brand-soft);
}

.card-icon .icon {
  width: 22px;
  height: 22px;
}

/* ---------- 原则 ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.bento .card {
  grid-column: span 2;
}

.bento .bento-1,
.bento .bento-2 {
  grid-column: span 3;
  padding-bottom: 150px;
}

.bento-1 {
  background:
    radial-gradient(80% 60% at 100% 100%, rgba(255, 92, 74, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

@media (max-width: 959px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento .card,
  .bento .bento-1,
  .bento .bento-2 {
    grid-column: span 1;
  }

  .bento .bento-1 {
    grid-column: span 2;
  }

  .bento .bento-5 {
    grid-column: span 2;
  }
}

@media (max-width: 639px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento .card,
  .bento .bento-1,
  .bento .bento-2,
  .bento .bento-5 {
    grid-column: span 1;
  }
}

.tracks {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  display: grid;
  gap: 8px;
}

.track {
  display: flex;
  gap: 5px;
  height: 18px;
}

.track span {
  border-radius: 5px;
  background: rgba(255, 193, 184, 0.16);
  border: 1px solid rgba(255, 193, 184, 0.12);
}

.track:nth-child(1) span {
  background: rgba(255, 92, 74, 0.3);
}

.track:nth-child(2) span {
  background: rgba(255, 255, 255, 0.12);
}

.track:nth-child(4) span {
  background: rgba(120, 140, 255, 0.18);
  border-color: rgba(120, 140, 255, 0.16);
}

.tracks-scope .track span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.06);
}

.tracks-scope .track span.is-hot {
  background: var(--brand);
  border-color: var(--brand-soft);
  box-shadow: 0 0 24px rgba(255, 92, 74, 0.6);
}

.playhead {
  position: absolute;
  top: -10px;
  bottom: -6px;
  left: 42%;
  width: 2px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.playhead::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -5px;
  width: 12px;
  height: 8px;
  border-radius: 2px 2px 6px 6px;
  background: #fff;
}

.tracks-scope .playhead {
  display: none;
}

/* ---------- 场景：翻译字幕 ---------- */

.scene {
  overflow: hidden;
  isolation: isolate;
}

.scene::before {
  content: '';
  position: absolute;
  inset: 20% 0 auto;
  height: 60%;
  z-index: -1;
  background: radial-gradient(45% 50% at 50% 50%, rgba(255, 92, 74, 0.14), transparent 70%);
}

.scene-stage {
  position: relative;
  margin: 0;
}

.scene-stage .shot {
  border-radius: 16px;
}

.scene-prompt {
  max-width: 400px;
  margin: 0 0 16px auto;
  padding: 14px 18px;
  border-radius: 16px 16px 4px 16px;
  border: 1px solid rgba(255, 193, 184, 0.35);
  background: linear-gradient(135deg, rgba(255, 92, 74, 0.92), rgba(232, 67, 47, 0.92));
  color: #fff;
  box-shadow: 0 24px 60px -20px rgba(255, 92, 74, 0.6);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.scene-prompt .float-label {
  color: rgba(255, 255, 255, 0.75);
}

/* 宽屏：气泡放在截图右上方、标题区右边的空处，不遮截图。 */
@media (min-width: 1180px) {
  .scene-prompt {
    position: absolute;
    right: 0;
    bottom: calc(100% + 18px);
    z-index: 1;
    max-width: 340px;
    margin: 0;
  }
}

@media (max-width: 639px) {
  .scene-prompt {
    max-width: none;
  }
}

.scene-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.scene-steps::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 92, 74, 0.6), rgba(255, 255, 255, 0.12));
}

.scene-steps li {
  position: relative;
}

.scene-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scene-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 92, 74, 0.4);
  background: #1a0f0e;
  color: var(--brand-soft);
}

.scene-step-num {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--faint);
}

.scene-steps h3 {
  margin-top: 16px;
  font-size: 1.02rem;
  font-weight: 650;
}

.scene-steps p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 959px) {
  .scene-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .scene-steps::before {
    display: none;
  }
}

@media (max-width: 519px) {
  .scene-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 能力 ---------- */

.cap-group {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px 40px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.cap-group:last-child {
  padding-bottom: 0;
}

.cap-group-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 650;
}

.cap-group-name span {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.cap {
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.cap:hover {
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.cap-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.cap h4 {
  margin-top: 14px;
  font-size: 1.02rem;
  font-weight: 650;
}

.cap p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}

@media (max-width: 879px) {
  .cap-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 截图行 ---------- */

.rows .wrap {
  display: grid;
  gap: clamp(80px, 11vw, 140px);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.row-flip .row-text {
  order: 2;
}

.row-text-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
}

.row-text > p:not(.kicker) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.shot {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #1a1a20;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

.row-media {
  position: relative;
}

.row-media::before {
  content: '';
  position: absolute;
  inset: 10% 10% -6%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 92, 74, 0.2), transparent 70%);
  filter: blur(40px);
}

.checks {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
  font-size: 15px;
}

.checks .icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--brand);
}

.models {
  margin-top: 4px;
}

.models-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.models-label .icon {
  width: 17px;
  height: 17px;
}

.models .checks {
  margin-top: 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chips li {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text);
}

.chips .chip-muted {
  color: var(--muted);
  border-style: dashed;
}

@media (max-width: 879px) {
  .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .row-flip .row-text {
    order: 0;
  }
}

/* ---------- 模板展示 ---------- */

.tpl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px 20px;
}

.tpl-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #15151b;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tpl-media:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
}

.tpl-media img,
.tpl-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tpl-media video {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tpl-media.is-playing video {
  opacity: 1;
}

.tpl-media.is-portrait::before {
  content: '';
  position: absolute;
  inset: -20px;
  z-index: -1;
  background: var(--cover) center / cover;
  filter: blur(22px) brightness(0.55);
}

.tpl-media.is-portrait img,
.tpl-media.is-portrait video {
  object-fit: contain;
}

.tpl-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0.85;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.tpl-play .icon {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

.tpl-media:hover .tpl-play,
.tpl-media:focus-visible .tpl-play {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.tpl-media.is-playing .tpl-play {
  opacity: 0;
}

.tpl-body {
  padding: 14px 4px 0;
}

.tpl-body h3 {
  font-size: 1.02rem;
  font-weight: 650;
}

.tpl-summary {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  font-size: 14px;
  color: var(--muted);
}

.tpl-meta {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--faint);
}

@media (max-width: 599px) {
  .tpl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .tpl-summary {
    display: none;
  }

  .tpl-play {
    width: 40px;
    height: 40px;
  }

  .tpl-body h3 {
    font-size: 0.95rem;
  }
}

.player {
  width: min(1100px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #121218;
  color: var(--text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
}

.player.is-portrait {
  width: min(520px, calc(100vw - 32px));
}

.player::backdrop {
  background: rgba(4, 4, 8, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.player-inner {
  padding: 14px 18px 18px;
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.player-head h3 {
  font-size: 1.05rem;
}

.player-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.player-stage {
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}

.player-stage video {
  width: 100%;
  max-height: calc(100dvh - 190px);
  margin-inline: auto;
}

.player-summary {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

/* ---------- 使用步骤 ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.step-num {
  display: block;
  font-family: var(--mono);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(180deg, var(--brand-soft), rgba(255, 92, 74, 0.25));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 {
  margin-top: 22px;
  font-size: 1.2rem;
  font-weight: 650;
}

.step p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  right: -17px;
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

@media (max-width: 879px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step:not(:last-child)::after {
    display: none;
  }
}

/* ---------- 四种入口 ---------- */

.surfaces {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 20px;
  align-items: stretch;
}

.surface-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.surface {
  padding: 24px;
}

.surface h3 {
  font-size: 1.08rem;
}

.terminal {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: #07070a;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #111116;
}

.terminal-bar span {
  margin-left: 10px;
  font-size: 12.5px;
  color: var(--faint);
}

.terminal pre {
  flex: 1;
  margin: 0;
  padding: 24px 22px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.75;
  color: #e9e8ee;
}

.terminal code {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
}

.t-comment {
  color: #6f6d7a;
}

.t-prompt {
  color: var(--brand);
  user-select: none;
}

.t-arg {
  color: var(--brand-soft);
}

@media (max-width: 959px) {
  .surfaces {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 599px) {
  .surface-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .terminal pre {
    font-size: 12.5px;
    padding: 18px 16px;
  }
}

/* ---------- 下载 ---------- */

.download {
  overflow: hidden;
  isolation: isolate;
}

.download-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 40% at 50% 0%, rgba(255, 92, 74, 0.16), transparent 70%);
}

.download .section-head {
  max-width: none;
  text-align: center;
}

.download .kicker::before {
  display: none;
}

.release-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 8px;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--muted);
}

.release-line strong {
  color: var(--text);
}

.release-line .sep {
  color: var(--faint);
}

.release-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.15);
}

.release-line a {
  color: var(--brand-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255, 193, 184, 0.35);
  text-underline-offset: 3px;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.dl-card.is-match {
  border-color: rgba(255, 92, 74, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 92, 74, 0.25) inset,
    0 30px 70px -30px rgba(255, 92, 74, 0.45);
}

.dl-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dl-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.dl-head h3 {
  font-size: 1.1rem;
}

.dl-chip {
  margin-top: 2px;
  font-size: 13px;
  color: var(--faint);
}

.dl-body {
  flex: 1;
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--muted);
}

.dl-version {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
}

.dl-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.dl-actions .btn-primary {
  flex: 1;
  padding: 0 14px;
}

.dl-actions .btn-ghost {
  padding: 0 16px;
}

@media (max-width: 1099px) {
  .dl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .dl-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dl-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.reqs h3 {
  font-size: 1rem;
}

.reqs ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.reqs li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  color: var(--muted);
}

.reqs li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.reqs strong {
  color: var(--text);
  font-weight: 600;
}

.dl-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}

.dl-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 600;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.dl-links a:hover {
  border-color: var(--line-strong);
  background: var(--surface-strong);
}

.dl-links a span {
  flex: 1;
}

.dl-links .icon-sm {
  color: var(--faint);
}

@media (max-width: 879px) {
  .dl-foot {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
  }

  .dl-links {
    min-width: 0;
  }
}

/* ---------- 常见问题 ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 48px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--faint);
  transition: transform 0.25s ease;
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 40px 24px 0;
  color: var(--muted);
}

@media (max-width: 879px) {
  .faq-wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .faq-a {
    padding-right: 0;
  }
}

/* ---------- 收尾横幅 ---------- */

.cta {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 60% at 50% 100%, rgba(255, 92, 74, 0.32), transparent 70%),
    radial-gradient(30% 40% at 50% 100%, rgba(255, 193, 184, 0.18), transparent 70%);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-icon {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 16px 30px rgba(255, 92, 74, 0.4));
}

.cta h2 {
  margin-top: 28px;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

:lang(zh-Hans) .cta h2 {
  letter-spacing: 0;
}

.cta p {
  max-width: 560px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- 页脚 ---------- */

.footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: #08080c;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.footer-brand p {
  max-width: 320px;
  margin-top: 14px;
  color: var(--muted);
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 14px;
}

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

.footer-lang .icon {
  width: 16px;
  height: 16px;
}

.footer h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer nav ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

@media (max-width: 719px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- 404 ---------- */

.not-found {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(255, 92, 74, 0.22), transparent 70%),
    var(--bg);
}

.not-found-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 64px;
  text-align: center;
}

.not-found-inner .kicker {
  margin-top: 28px;
}

.not-found-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.not-found-inner > p:not(.kicker) {
  margin-top: 12px;
  color: var(--muted);
}

/* ---------- 进场 ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
