/* Mija 官网 — 配色与桌面端 global.css 一致；布局为宽画幅 + 分区结构 */
:root {
  --color-primary: #00f9c1;
  --color-primary-hover: #00f9bb;
  --color-bg: #0d0d0d;
  --color-bg-elevated: #1a1a1a;
  --color-bg-deep: #050505;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.8);
  --color-text-dim: rgba(255, 255, 255, 0.6);
  --color-accent-glow: rgba(0, 249, 193, 0.15);
  --font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius-lg: 0.8rem;
  --radius-card: 1.517rem;
  --radius-hero: 1.5rem;
  --shadow-card: 0 0.289rem 5rem rgba(0, 0, 0, 0.3);
  --nav-h: 4rem;
  /* Hero 占满首屏时需扣除粘性顶栏，避免「顶栏 + Hero > 一屏」 */
  --hero-vh: calc(100vh - var(--nav-h));
  --hero-vh-d: calc(100dvh - var(--nav-h));
  /* 锚点滚动时预留顶栏 + 留白，避免标题被挡或对齐过头 */
  --anchor-scroll-padding: calc(var(--nav-h) + 1.5rem);
  --content-max: min(90rem, 97vw);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-scroll-padding);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary-hover);
}

/* —— 背景（与原先官网一致） —— */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(0, 249, 193, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 90%, rgba(0, 232, 184, 0.06), transparent 50%),
    linear-gradient(135deg, #0d0d0d 0%, #141414 50%, #0d0d0d 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* —— 导航 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition:
    background-color 0.28s var(--ease),
    backdrop-filter 0.28s var(--ease),
    border-color 0.28s var(--ease),
    box-shadow 0.28s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header--scrolled {
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  width: 100%;
  max-width: var(--content-max);
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
}
.brand:hover {
  color: #eeeeee;
}
.brand__mark {
  width: auto;
  height: 2rem;
  max-width: 6rem;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover {
  color: #eeeeee;
}

.nav-item--dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.nav-dropdown__trigger:hover {
  color: #eeeeee;
}

.nav-dropdown__chev {
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  opacity: 0.75;
}

.nav-item--dropdown.is-open .nav-dropdown__chev {
  transform: rotate(225deg) translateY(0.05rem);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  min-width: 13rem;
  margin: 0.4rem 0 0;
  padding: 0.35rem 0;
  list-style: none;
  background: rgba(17, 17, 17, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s var(--ease),
    visibility 0.2s var(--ease);
}

.nav-item--dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.nav-dropdown a:hover {
  color: var(--color-primary);
  background: rgba(0, 249, 193, 0.08);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 50rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-bg);
  background: linear-gradient(135deg, #00e8b8 0%, #00c299 100%);
  box-shadow: 0 0.15rem 0.75rem rgba(0, 249, 193, 0.25);
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 1rem rgba(0, 249, 193, 0.35);
  color: var(--color-bg);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
}

/* —— 主内容区 —— */
main {
  overflow-x: hidden;
}

.section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 5.25rem clamp(1.25rem, 4vw, 2.5rem);
}

.section--tight-top {
  padding-top: 3.5rem;
}

.section--showcase {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

/* 紧跟 Hero：略留呼吸，再进入内容 */
.hero + .section.section--showcase {
  padding-top: 4rem;
}

.section-intro {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 4.25rem;
}

.section-intro .section__lead {
  margin-left: auto;
  margin-right: auto;
}

.section__label {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0 0 1.35rem;
}

.section__title {
  font-size: clamp(2rem, 4.4vw, 2.95rem);
  font-weight: 600;
  margin: 0 0 1.35rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section__lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 38rem;
  margin: 0 0 2rem;
  line-height: 1.7;
}

/* Hero：严格一屏（视口 − 顶栏），超出时内部可滚 */
.hero {
  box-sizing: border-box;
  height: var(--hero-vh);
  height: var(--hero-vh-d);
  max-height: var(--hero-vh);
  max-height: var(--hero-vh-d);
  padding: clamp(1.75rem, 5vw, 3.25rem) clamp(1rem, 3vw, 2rem)
    max(1rem, env(safe-area-inset-bottom, 0px));
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  overflow-y: auto;
}

.hero__badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(0, 249, 193, 0.1);
  border: 1px solid rgba(0, 249, 193, 0.25);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.35rem, 6.5vw, 3.75rem);
  font-weight: 600;
  margin: 0 0 1.35rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero__title span {
  background: linear-gradient(135deg, #fff 0%, #00f9c1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 50rem;
  margin: 0 auto 1.65rem;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 2rem;
  border-radius: 50rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-bg);
  background: linear-gradient(135deg, #00e8b8 0%, #00c299 100%);
  border: none;
  cursor: pointer;
  box-shadow: 0 0.2rem 0.85rem rgba(0, 249, 193, 0.3);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 1.1rem rgba(0, 249, 193, 0.4);
}

.btn-primary:disabled {
  opacity: 0.88;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 0.2rem 0.85rem rgba(0, 249, 193, 0.2);
}
.btn-primary:disabled:hover {
  transform: none;
  box-shadow: 0 0.2rem 0.85rem rgba(0, 249, 193, 0.2);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0 1.75rem;
  border-radius: 50rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-ghost:hover {
  border-color: rgba(0, 249, 193, 0.4);
  box-shadow: 0 0 1rem var(--color-accent-glow);
}

.hero__version {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  color: #555;
}

/* —— 核心功能：Cursor 式 —— 左文案、右应用界面 mock —— */
.feature-ribbons {
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 8vw, 7.5rem);
}

.feature-ribbon {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: flex-start;
  padding: clamp(2.75rem, 6vw, 4.25rem);
  border-radius: calc(var(--radius-card) + 0.15rem);
  text-align: left;
  background: var(--color-bg-elevated);
  box-shadow: var(--shadow-card);
}

.feature-ribbon:first-child {
  background: linear-gradient(165deg, rgba(0, 249, 193, 0.07) 0%, var(--color-bg-elevated) 45%, var(--color-bg-elevated) 100%);
}

.feature-ribbon__eyebrow {
  display: block;
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.35;
}

.feature-ribbon__title {
  font-size: clamp(1.45rem, 2.9vw, 2.15rem);
  font-weight: 600;
  margin: 0 0 1.2rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.feature-ribbon__text {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.7;
  max-width: 36rem;
}

.feature-ribbon__hint {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin: 1.5rem 0 0.65rem;
  letter-spacing: 0.04em;
}

.feature-ribbon__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.feature-ribbon__pills li {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.35rem 1rem;
  border-radius: 50rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-ribbon__visual {
  display: flex;
  align-items: center;
  justify-content: stretch;
  width: 100%;
  min-height: 14rem;
}

/* 成片包装：参考 TRAE「全场景适配」— 居中主副标题 + 横向 Tab + 大卡片双栏 */
.feature-packaging {
  padding: clamp(2.75rem, 6vw, 4.25rem);
  border-radius: calc(var(--radius-card) + 0.15rem);
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 249, 193, 0.06) 0%, var(--color-bg-elevated) 42%);
  box-shadow: var(--shadow-card);
}

.feature-packaging__intro {
  max-width: 50rem;
  margin: 0 auto clamp(2rem, 3.5vw, 2.75rem);
}

.feature-packaging__intro .feature-ribbon__title {
  margin-bottom: 0.85rem;
}

.feature-packaging__sub {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.feature-packaging__lead {
  margin: 0 auto;
  max-width: 40rem;
  text-align: center;
}

.feature-packaging__tabs-wrap {
  margin: 0 auto clamp(1.75rem, 3vw, 2.5rem);
  max-width: 52rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-packaging__tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.15rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.feature-packaging__tabs::-webkit-scrollbar {
  display: none;
}

.feature-packaging__tab {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.85rem 1.15rem 1rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font: inherit;
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition:
    color 0.2s var(--ease),
    border-color 0.2s var(--ease);
  white-space: nowrap;
}

.feature-packaging__tab:hover {
  color: var(--color-text);
}

.feature-packaging__tab[aria-selected="true"] {
  color: var(--color-text);
  border-bottom-color: var(--color-primary);
}

.feature-packaging__tab:focus-visible {
  outline: none;
  border-radius: 0.25rem;
  box-shadow: 0 0 0 2px var(--color-bg-elevated), 0 0 0 4px var(--color-primary);
}

.feature-packaging__panels {
  text-align: left;
}

.feature-packaging__panel-card {
  border-radius: 0.65rem;
  background: var(--color-bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.feature-packaging__panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem);
}

.feature-packaging__panel-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.feature-packaging__panel-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--color-text);
}

.feature-packaging__panel-desc {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* Tab 面板右侧：轻量示意（非截图） */
.feature-packaging__panel-art {
  position: relative;
  min-height: 11rem;
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-packaging__panel-art--subs {
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  justify-content: center;
}

.fp-art-subs__bar {
  height: 0.2rem;
  width: 3.5rem;
  border-radius: 0.1rem;
  background: var(--color-primary);
  opacity: 0.85;
}

.fp-art-subs__line {
  height: 0.45rem;
  border-radius: 0.2rem;
  background: rgba(255, 255, 255, 0.1);
}

.fp-art-subs__line--lg {
  width: 100%;
}

.fp-art-subs__line--md {
  width: 72%;
}

.fp-art-subs__cap {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0, 249, 193, 0.75);
}

.feature-packaging__panel-art--pip {
  padding: 1rem;
}

.fp-art-pip__main {
  height: 100%;
  min-height: 9rem;
  border-radius: 0.4rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fp-art-pip__float {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 38%;
  aspect-ratio: 16 / 10;
  border-radius: 0.35rem;
  background: var(--color-bg);
  border: 2px solid rgba(0, 249, 193, 0.35);
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-art-pip__float span {
  width: 40%;
  height: 35%;
  border-radius: 0.2rem;
  background: rgba(0, 249, 193, 0.2);
}

.feature-packaging__panel-art--lib {
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.fp-art-lib__tile {
  min-height: 3.25rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.fp-art-lib__tile--wide {
  grid-column: 1 / -1;
  min-height: 3rem;
}

.feature-packaging__panel-art--cover {
  padding: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-art-cover__frame {
  width: 55%;
  max-width: 11rem;
  aspect-ratio: 9 / 16;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, var(--color-bg-elevated), var(--color-bg-deep));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fp-art-cover__title {
  height: 0.35rem;
  width: 85%;
  border-radius: 0.15rem;
  background: rgba(255, 255, 255, 0.12);
}

.fp-art-cover__blob {
  flex: 1;
  border-radius: 0.3rem;
  background: linear-gradient(135deg, rgba(0, 249, 193, 0.15), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(0, 249, 193, 0.2);
}

/* 应用界面示意（纯 HTML/CSS，非真实截图） */
.ui-mock {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--color-bg-deep);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.55);
  font-size: 0.69rem;
  line-height: 1.4;
}

.ui-mock__titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  background: var(--color-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ui-mock__dots {
  position: absolute;
  left: 0.75rem;
  display: flex;
  gap: 0.35rem;
}

.ui-mock__dots span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3d3d3d;
}

.ui-mock__dots span:nth-child(1) {
  background: #5c5c5c;
}

.ui-mock__dots span:nth-child(2) {
  background: #454545;
}

.ui-mock__title {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.ui-mock__body--split {
  display: grid;
  min-height: 15rem;
}

.ui-mock__body--nav-left {
  grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
}

.ui-mock__body--editor-left {
  grid-template-columns: minmax(0, 1fr) minmax(0, 7.75rem);
}

.ui-mock__sidebar {
  padding: 0.65rem 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ui-mock__body--editor-left .ui-mock__sidebar {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.ui-mock__sidebar--narrow {
  padding: 0.65rem 0.45rem;
}

.ui-mock__sidebar-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.ui-mock-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ui-mock-steps__item {
  padding: 0.35rem 0.4rem;
  margin-bottom: 0.2rem;
  border-radius: 0.35rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.38);
}

.ui-mock-steps__item.is-done {
  color: rgba(0, 249, 193, 0.85);
}

.ui-mock-steps__item.is-current {
  color: var(--color-text);
  background: rgba(0, 249, 193, 0.12);
  border: 1px solid rgba(0, 249, 193, 0.28);
}

.ui-mock__main {
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.ui-mock__main--preview {
  justify-content: flex-start;
}

.ui-mock__main--stack {
  gap: 0.45rem;
}

.ui-mock-panel__hdr {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.ui-mock-panel__tab {
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

.ui-mock-panel__tab.is-active {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
}

.ui-mock-bubble {
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.65rem;
}

.ui-mock-lines {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ui-mock-line {
  height: 0.35rem;
  border-radius: 0.2rem;
  background: rgba(255, 255, 255, 0.07);
}

.ui-mock-line--short {
  width: 62%;
}

.ui-mock-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.ui-mock-toolbar--center {
  justify-content: center;
  margin-top: 0.5rem;
}

.ui-mock-tag {
  font-size: 0.58rem;
  color: var(--color-text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ui-mock-btn {
  flex-shrink: 0;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border: none;
  border-radius: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--color-bg);
  background: linear-gradient(135deg, #00e8b8 0%, #00c299 100%);
  cursor: default;
}

.ui-mock-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ui-mock-btn--block {
  width: 100%;
  margin-top: 0.35rem;
}

.ui-mock-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.45rem;
  margin-bottom: 0.35rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.6rem;
  color: var(--color-text-muted);
}

.ui-mock-card.is-active {
  border-color: rgba(0, 249, 193, 0.35);
  background: rgba(0, 249, 193, 0.06);
  color: rgba(255, 255, 255, 0.82);
}

.ui-mock-card__thumb {
  height: 2.75rem;
  border-radius: 0.35rem;
  background: linear-gradient(145deg, #353535, #1f1f1f);
}

.ui-mock-card__thumb--alt {
  background: linear-gradient(145deg, #2a3533, #1a2220);
}

.ui-mock-preview {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ui-mock-preview__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  border-radius: 0.45rem;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-mock-preview__icon {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.ui-mock-preview__cap {
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: 0.6rem;
  color: var(--color-text-muted);
}

.ui-mock-script {
  flex: 1;
  min-height: 4.5rem;
  padding: 0.5rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  line-height: 1.55;
}

.ui-mock-wave {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.2rem;
  height: 1.75rem;
  padding: 0 0.15rem;
}

.ui-mock-wave span {
  flex: 1;
  align-self: flex-end;
  border-radius: 0.15rem;
  background: rgba(0, 249, 193, 0.35);
  min-height: 0.3rem;
}

.ui-mock-wave span:nth-child(1) {
  height: 0.45rem;
}

.ui-mock-wave span:nth-child(2) {
  height: 0.85rem;
}

.ui-mock-wave span:nth-child(3) {
  height: 0.6rem;
}

.ui-mock-wave span:nth-child(4) {
  height: 1rem;
}

.ui-mock-wave span:nth-child(5) {
  height: 0.55rem;
}

.ui-mock-wave span:nth-child(6) {
  height: 0.8rem;
}

.ui-mock-wave span:nth-child(7) {
  height: 0.5rem;
}

.ui-mock-wave span:nth-child(8) {
  height: 0.72rem;
}

.ui-mock__sidebar--voice .ui-mock-voice-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.4rem;
  margin-bottom: 0.25rem;
  border-radius: 0.35rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.45);
}

.ui-mock__sidebar--voice .ui-mock-voice-row.is-active {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
}

.ui-mock-voice-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.ui-mock-voice-row.is-active .ui-mock-voice-dot {
  border-color: var(--color-primary);
  background: var(--color-primary);
}

.ui-mock-slider {
  margin: 0.5rem 0 0.35rem;
  font-size: 0.58rem;
  color: var(--color-text-muted);
}

.ui-mock-slider__track {
  margin-top: 0.35rem;
  height: 0.25rem;
  border-radius: 0.15rem;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.ui-mock-slider__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  border-radius: 0.15rem;
  background: rgba(0, 249, 193, 0.5);
}

/* 工具箱：大气简约 · 标题 / 说明 / 左下线性图标（与参考图一致层级） */
.section--toolbox .section-intro {
  max-width: 48rem;
  margin-bottom: clamp(2.75rem, 4.5vw, 3.75rem);
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.35rem, 2.2vw, 1.85rem);
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 2rem 1.85rem 1.65rem;
  min-height: 12.5rem;
  border-radius: 0.5rem;
  background: var(--color-bg-elevated);
  border: none;
  box-shadow: none;
  overflow: visible;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.tool-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.45);
}

.tool-card__title {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
}

.tool-card__desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 26rem;
}

.tool-card__icon {
  margin-top: auto;
  align-self: flex-start;
  color: var(--color-primary);
  line-height: 0;
  padding-top: 1.5rem;
}

.tool-card__icon svg {
  display: block;
  width: 1.65rem;
  height: 1.65rem;
}

/* 更新日志独立页（参考 trae.cn/changelog） */
.changelog-page {
  padding-bottom: 4rem;
}

.changelog-hero {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.changelog-hero__label {
  margin: 0 0 1rem;
  font-size: clamp(0.8125rem, 1.15vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.changelog-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.changelog-hero__lead {
  margin: 0 auto 1.75rem;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.changelog-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.changelog-feed {
  max-width: min(52rem, 94vw);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.changelog-entry {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.changelog-entry:first-of-type {
  border-top: none;
  padding-top: 0;
}

.changelog-entry__time {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-dim);
  letter-spacing: 0.02em;
}

.changelog-entry__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.changelog-entry__ver {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.changelog-entry__tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  padding: 0.2rem 0.55rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}

.changelog-entry__list {
  margin: 0;
  padding: 0 0 0 1.15rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-dim);
}

.changelog-entry__list li {
  margin: 0.35rem 0;
}

.changelog-entry__list li::marker {
  color: rgba(0, 249, 193, 0.45);
}

.changelog-entry__intro {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* CTA 条 */
.cta-band {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.cta-band__inner {
  padding: clamp(2.75rem, 5vw, 3.75rem) clamp(1.75rem, 4vw, 2.75rem);
  text-align: center;
  
}

.cta-band__inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.cta-band__inner p {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-size: 1rem;
}

/* 页面顶部锚点（供 logo / #top 使用，避免 id 挂在 header 链上无法回顶） */
.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

/* 右侧返回顶部 */
.back-to-top {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  transition:
    opacity 0.28s var(--ease),
    visibility 0.28s var(--ease),
    transform 0.28s var(--ease),
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: rgba(0, 249, 193, 0.4);
  background: #222222;
}

.back-to-top:focus-visible {
  outline: none;
  box-shadow: var(--shadow-card), 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-primary);
}

.back-to-top__icon {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.15rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-135deg);
}

/* 页脚 */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.75rem 1.5rem 3.25rem;
  text-align: center;
}

.site-footer p {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--color-text-dim);
}

.site-footer .muted {
  color: #555;
  font-size: 0.85rem;
}

/* 响应式 */
@media (max-width: 1024px) {
  .feature-ribbon {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    align-items: start;
  }

  .feature-ribbon__visual {
    min-height: auto;
    justify-content: flex-start;
  }

  .ui-mock__body--nav-left,
  .ui-mock__body--editor-left {
    grid-template-columns: 1fr;
  }

  .ui-mock__sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .ui-mock__body--editor-left .ui-mock__sidebar {
    border-left: none;
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

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

  .feature-packaging__panel-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-packaging__panel-art {
    min-height: 9.5rem;
  }

  .feature-packaging__tabs {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem 1.5rem 1.25rem;
    background: rgba(13, 13, 13, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item--dropdown {
    width: 100%;
  }

  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.35rem 0;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    left: auto;
    min-width: 0;
    width: 100%;
    margin: 0.25rem 0 0;
    padding: 0.25rem 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: none;
    transition: max-height 0.25s var(--ease);
  }

  .nav-item--dropdown.is-open .nav-dropdown {
    max-height: 24rem;
    pointer-events: auto;
    padding: 0.35rem 0;
  }

  .nav-toggle {
    display: flex;
  }
  .site-header__inner .nav-cta {
    display: none;
  }
  .feature-packaging__tab {
    padding: 0.65rem 0.85rem 0.85rem;
    font-size: 0.9rem;
  }

  .feature-packaging__panel-grid {
    padding: 1.35rem 1.15rem;
  }

  .fp-art-cover__frame {
    width: 42%;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: max(2rem, env(safe-area-inset-top, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
}
