/* AvoAgent · Public pages styles
 * 用于 home / apis / pricing 等公开页面的共用组件。
 * 颜色 / 字号 / 间距全部走 var()，禁止 inline 硬编码 hex/px。
 */

/* === Section wrapper ============================================ */
.avo-section {
  padding: var(--avo-s-20) 0;
}
.avo-section--tight { padding: var(--avo-s-12) 0; }
.avo-section--alt { background: var(--avo-surface-alt); }
.avo-section__head {
  text-align: center;
  margin: 0 auto var(--avo-s-12);
  max-width: 720px;
}
.avo-section__eyebrow {
  display: inline-block;
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  color: var(--avo-brand);
  letter-spacing: var(--avo-tracking-mono);
  margin-bottom: var(--avo-s-3);
}
.avo-section__title {
  font-size: var(--avo-fs-3xl);
  margin-bottom: var(--avo-s-4);
}
.avo-section__sub {
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-md);
  line-height: var(--avo-lh-loose);
}

@media (max-width: 768px) {
  .avo-section { padding: var(--avo-s-12) 0; }
  .avo-section__title { font-size: var(--avo-fs-2xl); }
}

/* === Hero ======================================================= */
.avo-hero {
  padding: var(--avo-s-20) 0 var(--avo-s-16);
  position: relative;
  background:
    radial-gradient(circle at 20% 0%, var(--avo-brand-tint), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(200, 165, 96, .08), transparent 60%);
  overflow: hidden;  /* bg 模糊后可能溢出边界，截掉 */
}

/* v1.21.0 · Hero 背景图层（admin 填了 hero_bg_image 时启用）
   v1.21.1 调整：原 opacity .22 + 双 overlay 把图压成几乎不可见。
   现在：bg 提升到 .55，去 saturate，blur 减到 4px，让背景图明显可见；
   overlay 改成「左强右弱」的横向渐变 — 左边压住文字保可读，右边让 bg 充分露出 */
.avo-hero__bg {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(4px);
  opacity: .55;
  z-index: 0;
  pointer-events: none;
}
.avo-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* 品牌色 radial 强调（与无 bg 兜底视觉一致） */
    radial-gradient(circle at 20% 0%, var(--avo-brand-tint), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(200, 165, 96, .15), transparent 60%),
    /* 左强右弱 cream wash — 文字区压住保可读，slider 区让 bg 透出 */
    linear-gradient(90deg, rgba(250, 250, 245, .65) 0%, rgba(250, 250, 245, .4) 45%, rgba(250, 250, 245, .12) 80%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}
.avo-hero--with-bg > .avo-container {
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  /* 移动端 stacked 布局，文字与 slider 都在同一列上叠 bg，整体 cream wash 加重 */
  .avo-hero__bg { opacity: .42; filter: blur(5px); }
  .avo-hero__bg-overlay {
    background:
      radial-gradient(circle at 20% 0%, var(--avo-brand-tint), transparent 55%),
      linear-gradient(180deg, rgba(250, 250, 245, .55) 0%, rgba(250, 250, 245, .4) 100%);
  }
}
.avo-hero__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.avo-hero__eyebrow {
  display: inline-block;
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  color: var(--avo-brand);
  letter-spacing: var(--avo-tracking-mono);
  margin-bottom: var(--avo-s-5);
  padding: 4px 12px;
  background: var(--avo-brand-soft);
  border-radius: 999px;
}
.avo-hero__title {
  font-size: var(--avo-fs-4xl);
  margin: 0 0 var(--avo-s-5);
  letter-spacing: var(--avo-tracking-tight);
}
.avo-hero__title em {
  font-style: italic;
  color: var(--avo-brand);
  font-weight: var(--avo-fw-semi);
}
.avo-hero__sub {
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-lg);
  line-height: var(--avo-lh-loose);
  max-width: 640px;
  margin: 0 auto var(--avo-s-8);
}
/* v1.19.3 · subtitle <strong> 价格锚点：荧光笔背景（建议 snippet 的 linear-gradient 高亮）
   颜色用 --avo-accent-gold soft 版，65% 起底 → 不盖字 */
.avo-hero__sub strong {
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text);
  background: linear-gradient(180deg, transparent 65%, rgba(200, 165, 96, .32) 65%);
  padding: 0 2px;
}
.avo-hero__cta { display: flex; gap: var(--avo-s-3); justify-content: center; flex-wrap: wrap; margin-bottom: var(--avo-s-12); }

/* === Hero split 布局：左文 + 右 slider
   v1.22.0 重平衡：1.1fr / 1fr → 1fr / 1.2fr，右 slider 占 ~55% 视觉权重 ====== */
.avo-hero--split { padding: var(--avo-s-16) 0; }
.avo-hero__split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--avo-s-12);
  align-items: center;
}

/* v1.22.0 · Promise badges 移出 copy 列，作为 hero 满宽 strip（释放左 copy 空间） */
.avo-hero__promise-strip {
  margin-top: var(--avo-s-10);
  padding-top: var(--avo-s-6);
  border-top: 1px solid var(--avo-border);
}
.avo-hero__promise-strip .avo-promise-badges {
  justify-content: center;
  margin-top: 0;
  gap: var(--avo-s-5) var(--avo-s-8);
}
@media (max-width: 1024px) {
  /* mobile stacked: 不需要 border-top，gap 自然 */
  .avo-hero__promise-strip { border-top: 0; padding-top: 0; margin-top: var(--avo-s-6); }
}
.avo-hero__copy { text-align: left; }
.avo-hero--split .avo-hero__eyebrow { margin-bottom: var(--avo-s-4); }
.avo-hero--split .avo-hero__title { font-size: var(--avo-fs-4xl); }
.avo-hero--split .avo-hero__sub { margin: 0 0 var(--avo-s-6); max-width: 560px; }
.avo-hero--split .avo-hero__cta { justify-content: flex-start; margin-bottom: var(--avo-s-8); }
.avo-hero--split .avo-trust-strip { margin: 0; max-width: none; }

.avo-hero__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--avo-s-3);
  aspect-ratio: 1 / 1;
}
.avo-hero__tile {
  border-radius: var(--avo-r-lg);
  overflow: hidden;
  position: relative;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  box-shadow: var(--avo-shadow-sm);
}
.avo-hero__tile--filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avo-hero__tile--empty {
  background: linear-gradient(135deg, var(--avo-brand-tint), var(--avo-brand-soft));
  display: flex; align-items: center; justify-content: center;
  color: var(--avo-brand-strong);
  opacity: 0.6;
}
.avo-hero__tile-icon { display: inline-flex; }
.avo-hero__tile-icon svg { width: 28px; height: 28px; }

@media (max-width: 1024px) {
  .avo-hero__split { grid-template-columns: 1fr; gap: var(--avo-s-8); }
  .avo-hero__copy { text-align: center; }
  .avo-hero--split .avo-hero__cta { justify-content: center; }
  .avo-hero__gallery { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .avo-hero { padding: var(--avo-s-12) 0 var(--avo-s-10); }
  .avo-hero__title { font-size: var(--avo-fs-3xl); }
  .avo-hero__sub { font-size: var(--avo-fs-md); }
  .avo-hero--split .avo-hero__title { font-size: var(--avo-fs-3xl); }
}

/* === Showcase rows: See it in action ========================== */
.avo-showcase-rows {
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-16);
}
.avo-showcase-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--avo-s-10);
  align-items: center;
}
.avo-showcase-row--reverse .avo-showcase-row__visual { order: 2; }

.avo-showcase-row__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--avo-r-lg);
  overflow: hidden;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  box-shadow: var(--avo-shadow);
}
.avo-showcase-row__icon {
  width: 44px; height: 44px;
  border-radius: var(--avo-r-md);
  background: var(--avo-brand-soft);
  color: var(--avo-brand-strong);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--avo-s-4);
}
.avo-showcase-row__icon svg { width: 22px; height: 22px; }
.avo-showcase-row__title {
  font-size: var(--avo-fs-2xl);
  font-weight: var(--avo-fw-bold);
  letter-spacing: var(--avo-tracking-tight);
  margin: 0 0 var(--avo-s-3);
}
.avo-showcase-row__desc {
  font-size: var(--avo-fs-md);
  color: var(--avo-text-muted);
  line-height: var(--avo-lh-loose);
  margin: 0 0 var(--avo-s-5);
}
.avo-showcase-row__quote {
  margin: 0 0 var(--avo-s-5);
  padding: var(--avo-s-4) var(--avo-s-5);
  background: var(--avo-brand-tint);
  border-left: 3px solid var(--avo-brand);
  border-radius: 0 var(--avo-r-sm) var(--avo-r-sm) 0;
  font-size: var(--avo-fs-sm);
  color: var(--avo-text);
}
.avo-showcase-row__quote p { margin: 0 0 var(--avo-s-2); line-height: var(--avo-lh-loose); }
.avo-showcase-row__quote footer {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  color: var(--avo-text-muted);
  letter-spacing: var(--avo-tracking-mono);
}

/* === Testimonials（v1.12.2 新增）— admin Tab #14 填的 3 槽 ===== */
.avo-testimonials {
  display: grid;
  gap: var(--avo-s-4);
}
.avo-testimonials--1 { grid-template-columns: minmax(0, 720px); justify-content: center; }
.avo-testimonials--2 { grid-template-columns: repeat(2, 1fr); }
.avo-testimonials--3 { grid-template-columns: repeat(3, 1fr); }
.avo-testimonial {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-6) var(--avo-s-6) var(--avo-s-5);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-3);
  transition: border-color 150ms, box-shadow 150ms;
}
.avo-testimonial:hover {
  border-color: var(--avo-brand-soft);
  box-shadow: var(--avo-shadow-sm);
}
.avo-testimonial__quote {
  margin: 0;
  font-size: var(--avo-fs-base);
  line-height: var(--avo-lh-loose);
  color: var(--avo-text);
  position: relative;
  padding-left: var(--avo-s-3);
  border-left: 3px solid var(--avo-brand);
}
/* v1.22.0 · caption 改成 [头像] + [name + role 列] 横排 */
.avo-testimonial__caption {
  display: flex;
  align-items: center;
  gap: var(--avo-s-3);
}
.avo-testimonial__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--avo-font-sans);
  font-weight: var(--avo-fw-bold);
  font-size: var(--avo-fs-md);
  letter-spacing: -.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(26, 43, 35, .12);
}
.avo-testimonial__caption-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.avo-testimonial__name {
  font-family: var(--avo-font-sans);
  font-size: var(--avo-fs-sm);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text);
}
.avo-testimonial__role {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  color: var(--avo-text-muted);
  letter-spacing: var(--avo-tracking-mono);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.avo-testimonial__flag {
  font-size: var(--avo-fs-sm);
  line-height: 1;
  /* 系统 emoji 默认即 colored，无需额外样式 */
}
@media (max-width: 900px) {
  .avo-testimonials--2,
  .avo-testimonials--3 { grid-template-columns: 1fr; }
}

/* Showcase before/after slider — 内嵌于 row */
.avo-showcase-baslider {
  position: relative;
  width: 100%;
  height: 100%;
  user-select: none;
  cursor: ew-resize;
}
.avo-showcase-baslider__before,
.avo-showcase-baslider__after {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.avo-showcase-baslider__after-wrap {
  position: absolute; inset: 0; overflow: hidden;
  width: 50%;
  pointer-events: none;
}
.avo-showcase-baslider__handle {
  position: absolute; top: 0; bottom: 0;
  width: 4px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 12px rgba(0, 0, 0, .3);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 2;
}
.avo-showcase-baslider__handle-bar {
  position: absolute; top: 50%; left: 50%;
  width: 36px; height: 36px;
  background: var(--avo-surface);
  border: 2px solid var(--avo-brand);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.avo-showcase-baslider__handle-bar::before,
.avo-showcase-baslider__handle-bar::after {
  content: ""; position: absolute; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.avo-showcase-baslider__handle-bar::before { left: 7px; border-right: 7px solid var(--avo-brand); }
.avo-showcase-baslider__handle-bar::after  { right: 7px; border-left:  7px solid var(--avo-brand); }

.avo-showcase-baslider__label {
  position: absolute; top: 12px;
  font-family: var(--avo-font-mono);
  font-size: 11px;
  letter-spacing: var(--avo-tracking-mono);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(26, 43, 35, .75);
  color: #fff;
  z-index: 3;
}
.avo-showcase-baslider__label--before { left: 12px; }
.avo-showcase-baslider__label--after  { right: 12px; }

@media (max-width: 900px) {
  .avo-showcase-row { grid-template-columns: 1fr; gap: var(--avo-s-6); }
  .avo-showcase-row--reverse .avo-showcase-row__visual { order: 0; }
  .avo-showcase-row__title { font-size: var(--avo-fs-xl); }
}

/* === Trust strip ================================================ */
.avo-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--avo-s-6);
  max-width: 720px;
  margin: 0 auto;
  padding: var(--avo-s-6);
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  box-shadow: var(--avo-shadow-sm);
}
.avo-trust-strip__item { text-align: center; }
.avo-trust-strip__value {
  font-family: var(--avo-font-mono);
  font-weight: var(--avo-fw-semi);
  font-size: var(--avo-fs-2xl);
  color: var(--avo-brand);
  letter-spacing: var(--avo-tracking-tight);
  display: block;
}
.avo-trust-strip__label {
  font-size: var(--avo-fs-sm);
  color: var(--avo-text-muted);
  margin-top: 2px;
}

@media (max-width: 600px) {
  .avo-trust-strip { grid-template-columns: 1fr; }
  .avo-trust-strip__value { font-size: var(--avo-fs-xl); }
}

/* === Card grid (12 APIs / value props) ========================== */
.avo-grid {
  display: grid;
  gap: var(--avo-s-6);
}
.avo-grid--3 { grid-template-columns: repeat(3, 1fr); }
.avo-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .avo-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .avo-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .avo-grid--4, .avo-grid--3 { grid-template-columns: 1fr; }
}

/* === Tool / API card ============================================ */
.avo-tool-card {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-6);
  transition: transform var(--avo-duration) var(--avo-ease), box-shadow var(--avo-duration) var(--avo-ease), border-color var(--avo-duration) var(--avo-ease);
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-3);
}
.avo-tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--avo-brand);
  box-shadow: var(--avo-shadow);
}
.avo-tool-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--avo-s-3); }
.avo-tool-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--avo-r-md);
  background: var(--avo-brand-soft);
  color: var(--avo-brand-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.avo-tool-card__icon svg { width: 22px; height: 22px; }
.avo-tool-card__title { font-size: var(--avo-fs-md); font-weight: var(--avo-fw-semi); margin: 0; }
.avo-tool-card__desc { color: var(--avo-text-muted); font-size: var(--avo-fs-sm); line-height: var(--avo-lh-normal); margin: 0; flex: 1; }
.avo-tool-card__meta { display: flex; justify-content: space-between; align-items: center; padding-top: var(--avo-s-3); border-top: 1px dashed var(--avo-border); margin-top: auto; }
.avo-tool-card__price { font-family: var(--avo-font-mono); font-size: var(--avo-fs-sm); color: var(--avo-text); font-weight: var(--avo-fw-semi); }
.avo-tool-card__try {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  color: var(--avo-brand);
  font-weight: var(--avo-fw-semi);
}
.avo-tool-card:hover .avo-tool-card__try { text-decoration: underline; }

/* tier badge on cards */
.avo-tier {
  display: inline-block;
  font-family: var(--avo-font-mono);
  font-size: 11px;
  font-weight: var(--avo-fw-semi);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: var(--avo-tracking-mono);
}
.avo-tier--cheap { background: #E0F2E5; color: #1E5C2F; }
.avo-tier--medium { background: #FCEED2; color: #6F4E12; }
.avo-tier--expensive { background: #F4E1E0; color: #6F2A26; }

/* === 首页分类大卡 (3 列：Translate / Write / Edit) ============== */
.avo-cat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--avo-s-6);
}
@media (max-width: 1024px) { .avo-cat-cards { grid-template-columns: 1fr; } }

.avo-cat-card {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-8);
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-4);
  position: relative;
  overflow: hidden;
  transition: transform var(--avo-duration) var(--avo-ease),
              box-shadow var(--avo-duration) var(--avo-ease),
              border-color var(--avo-duration) var(--avo-ease);
}
.avo-cat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--avo-brand) 0%, var(--avo-accent-gold) 100%);
  opacity: 0;
  transition: opacity var(--avo-duration) var(--avo-ease);
}
.avo-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--avo-brand);
  box-shadow: var(--avo-shadow-lg);
}
.avo-cat-card:hover::before { opacity: 1; }

.avo-cat-card__head { display: flex; justify-content: space-between; align-items: center; }
.avo-cat-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--avo-r-md);
  background: var(--avo-brand-soft);
  color: var(--avo-brand-strong);
  display: inline-flex; align-items: center; justify-content: center;
}
.avo-cat-card__count {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  letter-spacing: var(--avo-tracking-mono);
  color: var(--avo-text-muted);
  background: var(--avo-surface-alt);
  padding: 4px 10px;
  border-radius: 999px;
}
.avo-cat-card__title {
  font-size: var(--avo-fs-2xl);
  font-weight: var(--avo-fw-bold);
  letter-spacing: var(--avo-tracking-tight);
  color: var(--avo-text);
  margin: 0;
}
.avo-cat-card__sub {
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-sm);
  line-height: var(--avo-lh-loose);
  margin: 0;
}
.avo-cat-card__list {
  list-style: none;
  margin: 0;
  padding: var(--avo-s-3) 0;
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-2);
  border-top: 1px dashed var(--avo-border);
  border-bottom: 1px dashed var(--avo-border);
}
.avo-cat-card__list li {
  display: flex;
  align-items: center;
  gap: var(--avo-s-2);
  font-size: var(--avo-fs-sm);
  color: var(--avo-text);
}
.avo-cat-card__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--avo-brand);
  flex-shrink: 0;
}
.avo-cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--avo-s-2);
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  color: var(--avo-brand);
  font-weight: var(--avo-fw-semi);
  margin-top: auto;
}
.avo-cat-card:hover .avo-cat-card__cta { gap: var(--avo-s-3); }

/* === 3 大工作流 stacked rows（admin 填图就显，否则渐变 placeholder）====== */
.avo-workflows {
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-16);
}
.avo-workflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--avo-s-12);
  align-items: center;
}
.avo-workflow--reverse .avo-workflow__visual { order: 2; }

.avo-workflow__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--avo-r-xl);
  overflow: hidden;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  box-shadow: var(--avo-shadow-lg);
}
.avo-workflow__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.avo-workflow__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--avo-brand-tint) 0%, var(--avo-brand-soft) 50%, rgba(200, 165, 96, .15) 100%);
}
.avo-workflow__placeholder-icon { color: var(--avo-brand); opacity: 0.4; }
.avo-workflow__placeholder-icon svg { width: 56px; height: 56px; }

.avo-workflow__count-badge {
  position: absolute;
  top: var(--avo-s-4);
  left: var(--avo-s-4);
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  font-weight: var(--avo-fw-semi);
  letter-spacing: var(--avo-tracking-mono);
  padding: 6px 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--avo-text);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.avo-workflow__copy { padding: var(--avo-s-4) 0; }
.avo-workflow__eyebrow {
  display: inline-block;
  font-size: var(--avo-fs-sm);
  color: var(--avo-brand);
  letter-spacing: var(--avo-tracking-mono);
  margin-bottom: var(--avo-s-3);
}
.avo-workflow__title {
  font-size: var(--avo-fs-3xl);
  font-weight: var(--avo-fw-bold);
  letter-spacing: var(--avo-tracking-tight);
  line-height: var(--avo-lh-tight);
  margin: 0 0 var(--avo-s-4);
}
.avo-workflow__sub {
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-md);
  line-height: var(--avo-lh-loose);
  margin: 0 0 var(--avo-s-6);
  max-width: 480px;
}
.avo-workflow__list {
  list-style: none;
  margin: 0 0 var(--avo-s-6);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-1);
}
.avo-workflow__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--avo-s-2) 0;
  font-size: var(--avo-fs-sm);
  color: var(--avo-text);
  border-bottom: 1px solid var(--avo-border);
  transition: color var(--avo-duration) var(--avo-ease), padding var(--avo-duration) var(--avo-ease);
}
.avo-workflow__list a:hover { color: var(--avo-brand); padding-left: var(--avo-s-2); }
.avo-workflow__list-name { font-weight: var(--avo-fw-medium); }
.avo-workflow__list-tier {
  font-family: var(--avo-font-mono);
  font-size: 9px;
  font-weight: var(--avo-fw-semi);
  letter-spacing: var(--avo-tracking-mono);
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 999px;
}
.avo-workflow__list-tier--cheap     { background: #E0F2E5; color: #1E5C2F; }
.avo-workflow__list-tier--medium    { background: #FCEED2; color: #6F4E12; }
.avo-workflow__list-tier--expensive { background: #F4E1E0; color: #6F2A26; }

@media (max-width: 900px) {
  .avo-workflow { grid-template-columns: 1fr; gap: var(--avo-s-6); }
  .avo-workflow--reverse .avo-workflow__visual { order: 0; }
  .avo-workflow__title { font-size: var(--avo-fs-2xl); }
}

/* === Final CTA 全屏背景图通栏 ============================== */
.avo-final-cta {
  position: relative;
  padding: var(--avo-s-20) var(--avo-s-5);
  background-size: cover;
  background-position: center;
  margin-top: var(--avo-s-16);
}
.avo-final-cta--gradient {
  background: linear-gradient(135deg, var(--avo-brand) 0%, var(--avo-brand-strong) 60%, #2A4A33 100%);
}
.avo-final-cta__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26, 43, 35, .75) 0%, rgba(58, 99, 71, .55) 100%);
  z-index: 1;
}
.avo-final-cta--gradient .avo-final-cta__overlay { display: none; }

.avo-final-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  text-align: center;
  color: var(--avo-text-inverse);
}
.avo-final-cta__title {
  color: var(--avo-text-inverse);
  font-size: var(--avo-fs-4xl);
  letter-spacing: var(--avo-tracking-tight);
  margin: 0 0 var(--avo-s-4);
}
.avo-final-cta__sub {
  color: rgba(255, 255, 255, .85);
  font-size: var(--avo-fs-lg);
  line-height: var(--avo-lh-loose);
  margin: 0 0 var(--avo-s-8);
}
.avo-final-cta__buttons {
  display: flex;
  gap: var(--avo-s-3);
  justify-content: center;
  flex-wrap: wrap;
}
.avo-btn--on-image {
  background: rgba(255, 255, 255, .15);
  color: #fff !important;
  border-color: rgba(255, 255, 255, .35) !important;
  backdrop-filter: blur(8px);
}
.avo-btn--on-image:hover { background: rgba(255, 255, 255, .25); border-color: #fff !important; }

@media (max-width: 768px) {
  .avo-final-cta { padding: var(--avo-s-12) var(--avo-s-5); }
  .avo-final-cta__title { font-size: var(--avo-fs-3xl); }
  .avo-final-cta__sub { font-size: var(--avo-fs-md); }
}

/* === How it works · 3 步 ====================================== */
.avo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--avo-s-5);
  position: relative;
}
@media (max-width: 900px) { .avo-steps { grid-template-columns: 1fr; } }
.avo-step {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-8) var(--avo-s-6) var(--avo-s-6);
  position: relative;
  transition: border-color var(--avo-duration) var(--avo-ease);
}
.avo-step:hover { border-color: var(--avo-brand); }
.avo-step__num {
  position: absolute;
  top: var(--avo-s-5);
  right: var(--avo-s-5);
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-2xl);
  font-weight: var(--avo-fw-bold);
  letter-spacing: var(--avo-tracking-tight);
  color: var(--avo-brand-soft);
  line-height: 1;
}
.avo-step__icon {
  width: 48px; height: 48px;
  border-radius: var(--avo-r-md);
  background: var(--avo-brand);
  color: var(--avo-text-inverse);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--avo-s-4);
}
.avo-step__icon svg { width: 24px; height: 24px; }
.avo-step__title {
  font-size: var(--avo-fs-lg);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text);
  margin: 0 0 var(--avo-s-2);
}
.avo-step__desc {
  font-size: var(--avo-fs-sm);
  color: var(--avo-text-muted);
  line-height: var(--avo-lh-loose);
  margin: 0;
}

/* === Platform badges (Built for sellers on …) =================== */
.avo-platforms__lead {
  text-align: center;
  font-size: var(--avo-fs-sm);
  color: var(--avo-text-subtle);
  letter-spacing: var(--avo-tracking-mono);
  margin-bottom: var(--avo-s-5);
}
.avo-platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--avo-s-3);
}
.avo-platform-badge {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  letter-spacing: var(--avo-tracking-mono);
  padding: 8px 18px;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-md);
  color: var(--avo-text-muted);
  transition: color var(--avo-duration) var(--avo-ease),
              border-color var(--avo-duration) var(--avo-ease),
              background var(--avo-duration) var(--avo-ease);
}
.avo-platform-badge:hover {
  color: var(--avo-brand-strong);
  border-color: var(--avo-brand);
  background: var(--avo-brand-soft);
}

/* === FAQ <details> ============================================== */
.avo-faq {
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-2);
}
.avo-faq__item {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-md);
  padding: var(--avo-s-4) var(--avo-s-5);
  transition: border-color var(--avo-duration) var(--avo-ease);
}
.avo-faq__item:hover { border-color: var(--avo-brand-strong); }
.avo-faq__item[open] { border-color: var(--avo-brand); background: var(--avo-brand-tint); }
.avo-faq__item summary {
  font-size: var(--avo-fs-md);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--avo-s-3);
}
.avo-faq__item summary::-webkit-details-marker { display: none; }
.avo-faq__item summary::after {
  content: "+";
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xl);
  font-weight: var(--avo-fw-bold);
  color: var(--avo-brand);
  transition: transform var(--avo-duration) var(--avo-ease);
  flex-shrink: 0;
}
.avo-faq__item[open] summary::after { content: "−"; }
.avo-faq__item p {
  margin: var(--avo-s-3) 0 0;
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-sm);
  line-height: var(--avo-lh-loose);
}

/* === Category filter ============================================ */
.avo-cat-filter {
  display: flex;
  gap: var(--avo-s-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--avo-s-10);
}
.avo-cat-filter__btn {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  color: var(--avo-text-muted);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  cursor: pointer;
  transition: all var(--avo-duration) var(--avo-ease);
}
.avo-cat-filter__btn:hover { border-color: var(--avo-brand); color: var(--avo-brand); }
.avo-cat-filter__btn.is-active { background: var(--avo-brand); border-color: var(--avo-brand); color: var(--avo-text-inverse); }

/* === Value prop card ============================================ */
.avo-prop {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-6);
  text-align: left;
}
.avo-prop__icon {
  width: 44px; height: 44px;
  border-radius: var(--avo-r-md);
  background: var(--avo-brand-soft);
  color: var(--avo-brand-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--avo-s-4);
}
.avo-prop__icon svg { width: 24px; height: 24px; }
.avo-prop__title { font-size: var(--avo-fs-lg); margin: 0 0 var(--avo-s-2); font-weight: var(--avo-fw-semi); }
.avo-prop__desc { color: var(--avo-text-muted); font-size: var(--avo-fs-sm); line-height: var(--avo-lh-loose); margin: 0; }

/* === Pricing tiers ============================================== */
.avo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--avo-s-4);
  margin-bottom: var(--avo-s-10);
}
@media (max-width: 1100px) { .avo-pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .avo-pricing-grid { grid-template-columns: 1fr; } }

/* === Pricing · "$10 buys you" 实物对照（v1.12.0）================= */
.avo-buys-card {
  background: var(--avo-surface);
  border: 1px solid var(--avo-brand-soft);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-8) var(--avo-s-8) var(--avo-s-6);
  box-shadow: var(--avo-shadow-sm);
}
.avo-buys-card__head {
  text-align: center;
  margin-bottom: var(--avo-s-6);
}
.avo-buys-card__title {
  font-size: var(--avo-fs-xl);
  font-weight: var(--avo-fw-semi);
  margin: var(--avo-s-2) 0 var(--avo-s-2);
}
.avo-buys-card__sub {
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-sm);
  margin: 0;
}
.avo-buys-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--avo-s-3);
}
.avo-buys-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: var(--avo-s-4);
  background: var(--avo-bg);
  border-radius: var(--avo-r-md);
  border: 1px solid var(--avo-border);
}
.avo-buys-cell__icon { color: var(--avo-brand); }
.avo-buys-cell__num {
  font-family: var(--avo-font-mono);
  font-size: 22px;
  font-weight: var(--avo-fw-semi);
  letter-spacing: -0.5px;
  color: var(--avo-text);
}
.avo-buys-cell__label {
  font-size: 12px;
  color: var(--avo-text-muted);
  line-height: 1.35;
}
.avo-buys-card__foot {
  text-align: center;
  margin: var(--avo-s-5) 0 0;
  font-size: 12px;
}
@media (max-width: 1100px) { .avo-buys-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .avo-buys-grid { grid-template-columns: repeat(2, 1fr); } }

.avo-pack {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-6);
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-3);
  transition: border-color var(--avo-duration) var(--avo-ease), transform var(--avo-duration) var(--avo-ease);
}
.avo-pack:hover { border-color: var(--avo-brand); transform: translateY(-2px); }
.avo-pack--featured {
  border-color: var(--avo-brand);
  border-width: 2px;
  position: relative;
  background: linear-gradient(180deg, var(--avo-brand-tint) 0%, var(--avo-surface) 30%);
}
.avo-pack--featured::before {
  content: 'Best Value';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--avo-brand);
  color: var(--avo-text-inverse);
  font-family: var(--avo-font-mono);
  font-size: 11px;
  font-weight: var(--avo-fw-semi);
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: var(--avo-tracking-mono);
}
.avo-pack__name { font-size: var(--avo-fs-md); margin: 0; font-weight: var(--avo-fw-semi); }
.avo-pack__price { font-family: var(--avo-font-mono); font-size: var(--avo-fs-3xl); font-weight: var(--avo-fw-bold); color: var(--avo-text); }
.avo-pack__price em { font-style: normal; font-size: var(--avo-fs-md); color: var(--avo-text-muted); margin-left: 4px; }
.avo-pack__credits { font-size: var(--avo-fs-sm); color: var(--avo-text-muted); margin: 0; }
.avo-pack__credits strong { color: var(--avo-text); font-weight: var(--avo-fw-semi); }
.avo-pack__discount {
  display: inline-block;
  background: var(--avo-accent-gold);
  color: var(--avo-text);
  font-family: var(--avo-font-mono);
  font-size: 11px;
  font-weight: var(--avo-fw-semi);
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: var(--avo-s-2);
}
.avo-pack__cta { margin-top: auto; padding-top: var(--avo-s-3); }
.avo-pack__cta .avo-btn { width: 100%; justify-content: center; }

/* === Pricing table per API ====================================== */
.avo-price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  overflow: hidden;
}
.avo-price-table thead { background: var(--avo-surface-alt); }
.avo-price-table th, .avo-price-table td {
  padding: var(--avo-s-3) var(--avo-s-4);
  text-align: left;
  border-bottom: 1px solid var(--avo-border);
  font-size: var(--avo-fs-sm);
}
.avo-price-table th { font-weight: var(--avo-fw-semi); color: var(--avo-text-muted); font-size: var(--avo-fs-xs); text-transform: uppercase; letter-spacing: var(--avo-tracking-mono); font-family: var(--avo-font-mono); }
.avo-price-table tbody tr:last-child td { border-bottom: 0; }
.avo-price-table td.avo-mono { white-space: nowrap; }
.avo-price-table tbody tr:hover { background: var(--avo-brand-tint); }

/* === FAQ accordion ============================================== */
.avo-faq {
  max-width: 760px;
  margin: 0 auto;
}
.avo-faq__item {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-md);
  margin-bottom: var(--avo-s-3);
  overflow: hidden;
}
.avo-faq__item summary {
  padding: var(--avo-s-4) var(--avo-s-5);
  font-weight: var(--avo-fw-semi);
  font-size: var(--avo-fs-md);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--avo-s-3);
}
.avo-faq__item summary::-webkit-details-marker { display: none; }
.avo-faq__item summary::after {
  content: '+';
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xl);
  color: var(--avo-brand);
  transition: transform var(--avo-duration) var(--avo-ease);
}
.avo-faq__item[open] summary::after { content: '−'; }
.avo-faq__answer {
  padding: 0 var(--avo-s-5) var(--avo-s-5);
  color: var(--avo-text-muted);
  line-height: var(--avo-lh-loose);
  font-size: var(--avo-fs-sm);
}

/* === CTA strip (final 重复 CTA) ================================= */
.avo-cta-strip {
  background: linear-gradient(135deg, var(--avo-brand) 0%, var(--avo-brand-strong) 100%);
  color: var(--avo-text-inverse);
  padding: var(--avo-s-12) var(--avo-s-8);
  border-radius: var(--avo-r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.avo-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(200, 165, 96, .25), transparent 60%);
  pointer-events: none;
}
.avo-cta-strip__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.avo-cta-strip__title { font-size: var(--avo-fs-2xl); color: var(--avo-text-inverse); margin: 0 0 var(--avo-s-3); }
.avo-cta-strip__sub { color: rgba(255, 255, 255, .85); font-size: var(--avo-fs-md); margin-bottom: var(--avo-s-6); }
.avo-cta-strip .avo-btn { background: var(--avo-text-inverse); color: var(--avo-brand-strong); }
.avo-cta-strip .avo-btn:hover { background: var(--avo-bg); color: var(--avo-brand-strong); }
.avo-cta-strip .avo-btn--ghost { background: transparent; color: var(--avo-text-inverse); border-color: rgba(255, 255, 255, .35); }
.avo-cta-strip .avo-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: var(--avo-text-inverse); }

/* Footer 样式已迁回 base.css（保证 12 工具页等不加载 public.css 的页面也能正确渲染） */

/* ================================================================
   Long-form prose (about / privacy / terms / single post / blog detail)
   ================================================================ */
.avo-prose { color: var(--avo-text); line-height: var(--avo-lh-loose); font-size: var(--avo-fs-md); }
.avo-prose > * + * { margin-top: var(--avo-s-4); }
.avo-prose h2 { font-size: var(--avo-fs-xl); margin: var(--avo-s-10) 0 var(--avo-s-3); }
.avo-prose h3 { font-size: var(--avo-fs-lg); margin: var(--avo-s-8) 0 var(--avo-s-3); }
.avo-prose h4 { font-size: var(--avo-fs-md); margin: var(--avo-s-6) 0 var(--avo-s-2); font-weight: var(--avo-fw-semi); }
.avo-prose p, .avo-prose ul, .avo-prose ol { color: var(--avo-text); }
.avo-prose ul, .avo-prose ol { padding-left: var(--avo-s-6); }
.avo-prose li { margin: var(--avo-s-2) 0; }
.avo-prose a { color: var(--avo-brand); text-decoration: underline; text-decoration-color: var(--avo-brand-soft); text-underline-offset: 2px; }
.avo-prose a:hover { text-decoration-color: var(--avo-brand); }
.avo-prose strong { font-weight: var(--avo-fw-semi); color: var(--avo-text); }
.avo-prose code { font-family: var(--avo-font-mono); font-size: 0.92em; background: var(--avo-surface-alt); padding: 2px 6px; border-radius: 4px; }
.avo-prose pre { background: var(--avo-text); color: var(--avo-text-inverse); padding: var(--avo-s-5); border-radius: var(--avo-r-md); overflow: auto; line-height: 1.55; font-size: var(--avo-fs-sm); }
.avo-prose pre code { background: transparent; padding: 0; color: inherit; }
.avo-prose blockquote { border-left: 3px solid var(--avo-brand); padding: var(--avo-s-2) var(--avo-s-5); color: var(--avo-text-muted); background: var(--avo-brand-tint); border-radius: 0 var(--avo-r-sm) var(--avo-r-sm) 0; }
.avo-prose img { border-radius: var(--avo-r-md); margin: var(--avo-s-6) 0; }
.avo-prose hr { border: 0; border-top: 1px solid var(--avo-border); margin: var(--avo-s-10) 0; }

/* ================================================================
   Honeypot (defensive double-hide; inline style 已 off-screen)
   ================================================================ */
.avo-honeypot { display: none !important; }

/* ================================================================
   Legal pages (privacy / terms)
   ================================================================ */
.avo-legal-placeholder {
  background: #FFF8E1;
  border: 1px solid #F5D76E;
  color: #7A5D00;
  padding: var(--avo-s-4) var(--avo-s-5);
  border-radius: var(--avo-r-md);
  font-size: var(--avo-fs-sm);
  margin-bottom: var(--avo-s-8);
  line-height: var(--avo-lh-loose);
}
.avo-legal-placeholder strong { color: #5C4500; }
.avo-legal-placeholder p { margin: var(--avo-s-2) 0 0; }
.avo-legal-placeholder a { color: var(--avo-brand-strong); text-decoration: underline; }
.avo-legal-crosslink {
  margin-top: var(--avo-s-12);
  padding-top: var(--avo-s-5);
  border-top: 1px solid var(--avo-border);
  font-size: var(--avo-fs-sm);
  color: var(--avo-text-muted);
  text-align: center;
}
.avo-legal-crosslink a { color: var(--avo-brand); text-decoration: underline; }

/* ================================================================
   Developer docs page
   ================================================================ */
.avo-doc-toc {
  display: flex;
  flex-wrap: wrap;
  gap: var(--avo-s-2);
  padding: var(--avo-s-4);
  background: var(--avo-surface-alt);
  border-radius: var(--avo-r-md);
  margin-top: var(--avo-s-6);
}
.avo-doc-toc a {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  color: var(--avo-text-muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  text-decoration: none;
  transition: all var(--avo-duration) var(--avo-ease);
}
.avo-doc-toc a:hover { color: var(--avo-brand); border-color: var(--avo-brand); }

.avo-doc-h2 { font-size: var(--avo-fs-2xl); margin: var(--avo-s-3) 0 var(--avo-s-5); scroll-margin-top: calc(var(--avo-header-h) + var(--avo-s-6)); }
.avo-doc-h3 { font-size: var(--avo-fs-lg); margin: var(--avo-s-8) 0 var(--avo-s-4); }
.avo-doc-h4 { font-size: var(--avo-fs-md); margin: var(--avo-s-6) 0 var(--avo-s-3); font-weight: var(--avo-fw-semi); color: var(--avo-text); }

.avo-doc-code {
  background: var(--avo-text);
  color: var(--avo-text-inverse);
  padding: var(--avo-s-5) var(--avo-s-6);
  border-radius: var(--avo-r-md);
  overflow: auto;
  line-height: 1.6;
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  margin: var(--avo-s-4) 0;
}
.avo-doc-code code { font-family: inherit; background: transparent; padding: 0; color: inherit; }

.avo-doc-steps { padding-left: var(--avo-s-6); margin: var(--avo-s-5) 0; }
.avo-doc-steps li { margin: var(--avo-s-3) 0; line-height: var(--avo-lh-loose); }
.avo-doc-list { padding-left: var(--avo-s-6); margin: var(--avo-s-3) 0; }
.avo-doc-list li { margin: var(--avo-s-1) 0; line-height: var(--avo-lh-loose); }

/* ================================================================
   Contact page
   ================================================================ */
.avo-contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--avo-s-10);
  align-items: start;
}
@media (max-width: 900px) { .avo-contact-grid { grid-template-columns: 1fr; gap: var(--avo-s-6); } }

.avo-contact-main { min-width: 0; }
.avo-contact-side { display: flex; flex-direction: column; gap: var(--avo-s-4); }
.avo-contact-side__card { padding: var(--avo-s-5); }
.avo-contact-side__card .avo-card-title { font-size: var(--avo-fs-md); margin-bottom: var(--avo-s-2); }

.avo-contact-flash {
  padding: var(--avo-s-4) var(--avo-s-5);
  border-radius: var(--avo-r-md);
  margin-bottom: var(--avo-s-6);
  line-height: var(--avo-lh-loose);
}
.avo-contact-flash--success { background: #EAF6ED; border: 1px solid var(--avo-brand); color: var(--avo-brand-strong); }
.avo-contact-flash--error { background: #FBE5E3; border: 1px solid var(--avo-danger); color: #7A1F17; }

.avo-contact-form .avo-field { margin-bottom: var(--avo-s-5); }
.avo-contact-form .avo-label { display: block; font-size: var(--avo-fs-sm); font-weight: var(--avo-fw-semi); color: var(--avo-text); margin-bottom: var(--avo-s-2); }
.avo-required { color: var(--avo-danger); font-weight: var(--avo-fw-semi); }

/* form input fallback styles (base.css 没定义 .avo-input on public 页) */
.avo-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-sm);
  background: var(--avo-surface);
  font-family: var(--avo-font-sans);
  font-size: var(--avo-fs-base);
  color: var(--avo-text);
  transition: border-color var(--avo-duration) var(--avo-ease), box-shadow var(--avo-duration) var(--avo-ease);
}
.avo-input--mono { font-family: var(--avo-font-mono); }
.avo-input:focus {
  outline: 0;
  border-color: var(--avo-brand);
  box-shadow: 0 0 0 3px var(--avo-brand-soft);
}
textarea.avo-input { height: auto; padding: 12px 14px; resize: vertical; min-height: 100px; line-height: var(--avo-lh-normal); }
select.avo-input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C6B62' stroke-width='2.5'><path d='m19.5 8.25-7.5 7.5-7.5-7.5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }

.avo-help { font-size: var(--avo-fs-xs); color: var(--avo-text-muted); margin: var(--avo-s-1) 0 0; line-height: var(--avo-lh-normal); }
.avo-help-list { padding-left: var(--avo-s-5); margin: var(--avo-s-2) 0; font-size: var(--avo-fs-sm); color: var(--avo-text-muted); line-height: var(--avo-lh-loose); }

.avo-contact-form .avo-form-actions { margin-top: var(--avo-s-6); }

/* ================================================================
   Blog index / archive / search — card grid
   ================================================================ */
.avo-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--avo-s-6);
}
@media (max-width: 1024px) { .avo-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .avo-blog-grid { grid-template-columns: 1fr; } }

.avo-blog-card {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  overflow: hidden;
  transition: transform var(--avo-duration) var(--avo-ease), box-shadow var(--avo-duration) var(--avo-ease), border-color var(--avo-duration) var(--avo-ease);
  display: flex;
  flex-direction: column;
}
.avo-blog-card:hover { transform: translateY(-2px); border-color: var(--avo-brand); box-shadow: var(--avo-shadow); }
.avo-blog-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--avo-surface-alt); }
.avo-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--avo-duration) var(--avo-ease); }
.avo-blog-card:hover .avo-blog-card__thumb img { transform: scale(1.04); }
.avo-blog-card__body { padding: var(--avo-s-5); display: flex; flex-direction: column; gap: var(--avo-s-2); flex: 1; }
.avo-blog-card__meta { font-family: var(--avo-font-mono); font-size: var(--avo-fs-xs); color: var(--avo-text-muted); }
.avo-blog-card__meta a { color: var(--avo-brand); }
.avo-blog-card__title { font-size: var(--avo-fs-lg); line-height: 1.3; margin: 0; font-weight: var(--avo-fw-semi); }
.avo-blog-card__title a { color: var(--avo-text); }
.avo-blog-card__title a:hover { color: var(--avo-brand); }
.avo-blog-card__excerpt { color: var(--avo-text-muted); font-size: var(--avo-fs-sm); line-height: var(--avo-lh-loose); margin: 0; flex: 1; }
.avo-blog-card__more { font-family: var(--avo-font-mono); font-size: var(--avo-fs-sm); color: var(--avo-brand); font-weight: var(--avo-fw-semi); margin-top: auto; }
.avo-blog-card__more:hover { text-decoration: underline; }

/* ================================================================
   Single post
   ================================================================ */
.avo-single-thumb { border-radius: var(--avo-r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--avo-surface-alt); }
.avo-single-thumb img { width: 100%; height: 100%; object-fit: cover; }

.avo-single-tags { margin-top: var(--avo-s-10); padding-top: var(--avo-s-5); border-top: 1px solid var(--avo-border); display: flex; flex-wrap: wrap; gap: var(--avo-s-2); align-items: center; }
.avo-single-tags__label { font-family: var(--avo-font-mono); font-size: var(--avo-fs-xs); color: var(--avo-brand); margin-right: var(--avo-s-2); }
.avo-single-tags__tag {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--avo-surface-alt);
  border: 1px solid var(--avo-border);
  color: var(--avo-text-muted);
  text-decoration: none;
  transition: all var(--avo-duration) var(--avo-ease);
}
.avo-single-tags__tag:hover { color: var(--avo-brand); border-color: var(--avo-brand); }

.avo-single-nav {
  margin-top: var(--avo-s-12);
  padding-top: var(--avo-s-6);
  border-top: 1px solid var(--avo-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--avo-s-5);
}
.avo-single-nav > a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--avo-s-4);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-md);
  text-decoration: none;
  transition: border-color var(--avo-duration) var(--avo-ease), background var(--avo-duration) var(--avo-ease);
}
.avo-single-nav > a:hover { border-color: var(--avo-brand); background: var(--avo-brand-tint); }
.avo-single-nav__next { text-align: right; }
.avo-single-nav__label { font-family: var(--avo-font-mono); font-size: var(--avo-fs-xs); color: var(--avo-brand); }
.avo-single-nav__title { font-size: var(--avo-fs-sm); color: var(--avo-text); font-weight: var(--avo-fw-semi); line-height: 1.3; }
@media (max-width: 600px) { .avo-single-nav { grid-template-columns: 1fr; } }

.avo-single-comments { margin-top: var(--avo-s-12); padding-top: var(--avo-s-6); border-top: 1px solid var(--avo-border); }

/* ================================================================
   Pagination (shared across blog / archive / search / dashboard)
   ================================================================ */
.avo-pagination { display: flex; gap: var(--avo-s-2); align-items: center; flex-wrap: wrap; }
.avo-page-link {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  padding: 6px 12px;
  border-radius: var(--avo-r-sm);
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  color: var(--avo-text-muted);
  text-decoration: none;
  transition: all var(--avo-duration) var(--avo-ease);
}
.avo-page-link:hover { color: var(--avo-brand); border-color: var(--avo-brand); }
.avo-page-link.is-current { background: var(--avo-brand); color: var(--avo-text-inverse); border-color: var(--avo-brand); }
.avo-page-info { font-family: var(--avo-font-mono); font-size: var(--avo-fs-xs); color: var(--avo-text-subtle); margin-left: var(--avo-s-3); }

/* ================================================================
   Checkout success page
   ================================================================ */
.avo-checkout-card {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-xl);
  padding: var(--avo-s-12) var(--avo-s-8);
  text-align: center;
  box-shadow: var(--avo-shadow);
}
.avo-checkout-card--success { border-top: 4px solid var(--avo-success); }
.avo-checkout-card--pending { border-top: 4px solid var(--avo-warning); }
.avo-checkout-card__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--avo-s-5);
  background: var(--avo-brand-soft);
  color: var(--avo-brand);
}
.avo-checkout-card--success .avo-checkout-card__icon { background: var(--avo-brand-soft); color: var(--avo-success); }
.avo-checkout-card--pending .avo-checkout-card__icon { background: #FFF8E1; color: var(--avo-warning); }
.avo-checkout-card__icon svg { width: 40px; height: 40px; }
.avo-spinner svg { animation: avo-spin 1s linear infinite; }
@keyframes avo-spin { to { transform: rotate(360deg); } }
.avo-checkout-card__title { font-size: var(--avo-fs-2xl); margin: 0 0 var(--avo-s-3); }
.avo-checkout-card__sub { color: var(--avo-text-muted); font-size: var(--avo-fs-md); line-height: var(--avo-lh-loose); max-width: 520px; margin: 0 auto var(--avo-s-8); }

.avo-checkout-summary {
  width: 100%;
  max-width: 480px;
  margin: 0 auto var(--avo-s-8);
  border-collapse: collapse;
  text-align: left;
  font-size: var(--avo-fs-sm);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-md);
  overflow: hidden;
}
.avo-checkout-summary td {
  padding: var(--avo-s-3) var(--avo-s-4);
  border-bottom: 1px solid var(--avo-border);
}
.avo-checkout-summary td:first-child { color: var(--avo-text-muted); }
.avo-checkout-summary td:last-child { text-align: right; font-family: var(--avo-font-mono); }
.avo-checkout-summary tr:last-child td { border-bottom: 0; }

.avo-checkout-cta { display: flex; gap: var(--avo-s-3); justify-content: center; flex-wrap: wrap; }

/* ================================================================
   #8 Mobile responsive tuning — global polish
   ================================================================ */
@media (max-width: 600px) {
  /* 减小 hero / section spacing on mobile */
  .avo-hero { padding: var(--avo-s-10) 0 var(--avo-s-8); }
  .avo-hero__title { font-size: var(--avo-fs-2xl); letter-spacing: var(--avo-tracking-tight); }
  .avo-hero__sub { font-size: var(--avo-fs-base); }
  .avo-hero__cta { gap: var(--avo-s-2); margin-bottom: var(--avo-s-8); }
  .avo-hero__cta .avo-btn { width: 100%; justify-content: center; }

  .avo-section { padding: var(--avo-s-10) 0; }
  .avo-section--tight { padding: var(--avo-s-8) 0; }
  .avo-section__title { font-size: var(--avo-fs-2xl); }
  .avo-section__sub { font-size: var(--avo-fs-sm); }

  /* CTA strip on mobile */
  .avo-cta-strip { padding: var(--avo-s-8) var(--avo-s-5); border-radius: var(--avo-r-lg); }
  .avo-cta-strip__title { font-size: var(--avo-fs-xl); }
  .avo-cta-strip__sub { font-size: var(--avo-fs-sm); }
  .avo-cta-strip__inner > div { flex-direction: column; }
  .avo-cta-strip__inner > div .avo-btn { width: 100%; justify-content: center; }

  /* Pricing pack: stack columns + reduce padding */
  .avo-pack { padding: var(--avo-s-5); }
  .avo-pack__price { font-size: var(--avo-fs-2xl); }

  /* Per-API price table: scroll horizontally on mobile */
  .avo-price-table { font-size: var(--avo-fs-xs); }
  .avo-price-table th, .avo-price-table td { padding: var(--avo-s-2); }

  /* Doc TOC chips wrap better */
  .avo-doc-toc { padding: var(--avo-s-3); gap: 6px; }
  .avo-doc-toc a { padding: 3px 8px; font-size: 11px; }
  .avo-doc-h2 { font-size: var(--avo-fs-xl); }
  .avo-doc-code { padding: var(--avo-s-3) var(--avo-s-4); font-size: 12px; }

  /* Contact form: full-width inputs */
  .avo-contact-grid { grid-template-columns: 1fr; }
  .avo-input { font-size: 16px; /* iOS no zoom */ }

  /* Single post hero margin on mobile */
  .avo-single-thumb { aspect-ratio: 4 / 3; }
  .avo-single-nav__title { font-size: var(--avo-fs-xs); }

  /* Footer 移动端样式已迁回 base.css */

  /* Header */
  .avo-header__inner { padding: 0; }
  .avo-nav { display: none; /* sm screens: hide main nav, show only logo + actions */ }
  .avo-nav-actions { gap: var(--avo-s-2); }

  /* Trust strip already breakpointed at 600px in main rules */

  /* Checkout success summary: smaller padding */
  .avo-checkout-card { padding: var(--avo-s-8) var(--avo-s-5); }
  .avo-checkout-card__title { font-size: var(--avo-fs-xl); }
  .avo-checkout-summary td { padding: var(--avo-s-2) var(--avo-s-3); }
}

@media (max-width: 400px) {
  /* Very small phones */
  .avo-section__title { font-size: var(--avo-fs-xl); }
  .avo-hero__title { font-size: var(--avo-fs-xl); }
}

/* ============================================================
 * v1.17.0 · Magnific-inspired home 10-屏结构样式
 * ============================================================ */

/* --- Section head 左对齐变体（屏 5 tool scroll 用） --------- */
.avo-section__head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: 720px; }

/* --- Section eyebrow/title/sub 在暗色背景上的反色变体 ---------- */
.avo-section__eyebrow--on-dark { color: var(--avo-brand-soft); }
.avo-section__title--on-dark   { color: var(--avo-text-inverse); }
.avo-section__sub--on-dark     { color: rgba(255, 255, 255, .75); }

/* --- 暗色 section 背景（屏 6 / 7） --- */
.avo-section--dark {
  background: var(--avo-text);
  color: var(--avo-text-inverse);
  padding: var(--avo-s-20) 0;
}
.avo-section--dark-tight { padding: var(--avo-s-12) 0 var(--avo-s-20); }

/* --- 屏 1 Hero bullets（替代旧版 4 格图墙）
 *     组合用法：class="avo-hero avo-hero--split avo-hero--bullets"
 *     --split 提供 2-col 网格 + 左对齐 copy；--bullets 只负责右列样式
 * --- */
.avo-hero__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-3);
}
.avo-hero__bullet {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--avo-s-4);
  align-items: start;
  padding: var(--avo-s-5) var(--avo-s-5);
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  transition: transform var(--avo-duration) var(--avo-ease), border-color var(--avo-duration) var(--avo-ease);
}
.avo-hero__bullet:hover {
  transform: translateX(4px);
  border-color: var(--avo-brand);
}
.avo-hero__bullet-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--avo-r-md);
  background: var(--avo-brand-soft);
  color: var(--avo-brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avo-hero__bullet-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.avo-hero__bullet-title {
  font-size: var(--avo-fs-md);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text);
  letter-spacing: var(--avo-tracking-normal);
}
.avo-hero__bullet-sub {
  font-size: var(--avo-fs-sm);
  color: var(--avo-text-muted);
  line-height: var(--avo-lh-normal);
}

@media (max-width: 1024px) {
  .avo-hero--bullets .avo-hero__split { grid-template-columns: 1fr; }
  .avo-hero__bullets { max-width: 560px; margin: 0 auto; }
}

/* --- 屏 2 Tab switcher --- */
.avo-tabs { max-width: 1100px; margin: 0 auto; }
.avo-tabs__nav {
  display: flex;
  gap: var(--avo-s-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--avo-s-10);
  background: var(--avo-surface);
  padding: var(--avo-s-2);
  border-radius: 999px;
  border: 1px solid var(--avo-border);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.avo-tabs__nav-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--avo-text-muted);
  padding: var(--avo-s-2) var(--avo-s-5);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--avo-s-2);
  font-family: var(--avo-font-sans);
  font-size: var(--avo-fs-sm);
  font-weight: var(--avo-fw-medium);
  transition: background var(--avo-duration) var(--avo-ease), color var(--avo-duration) var(--avo-ease);
}
.avo-tabs__nav-btn:hover { color: var(--avo-text); }
.avo-tabs__nav-btn.is-active {
  background: var(--avo-brand);
  color: var(--avo-text-inverse);
}
.avo-tabs__nav-icon { display: inline-flex; }
.avo-tabs__nav-count { font-family: var(--avo-font-mono); opacity: .7; font-size: var(--avo-fs-xs); }

/* v1.18.0 crossfade：panels 用 grid-area 叠放，opacity 过渡。
   inactive 走 visibility:hidden 防止其内部链接被键盘 / 屏幕阅读器误触。 */
.avo-tabs__panels {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.avo-tabs__panel {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--avo-s-10);
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}
.avo-tabs__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 0s;
}
@media (prefers-reduced-motion: reduce) {
  .avo-tabs__panel { transition: none; transform: none; }
}

.avo-tab-panel__visual {
  border-radius: var(--avo-r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  box-shadow: var(--avo-shadow);
}
.avo-tab-panel__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avo-tab-panel__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--avo-brand-tint), var(--avo-brand-soft));
  display: flex; align-items: center; justify-content: center;
  color: var(--avo-brand-strong);
  opacity: 0.75;
}
.avo-tab-panel__title {
  font-size: var(--avo-fs-2xl);
  margin: 0 0 var(--avo-s-3);
  letter-spacing: var(--avo-tracking-tight);
}
.avo-tab-panel__sub {
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-md);
  line-height: var(--avo-lh-normal);
  margin: 0 0 var(--avo-s-6);
}
.avo-tab-panel__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--avo-s-6);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.avo-tab-panel__list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--avo-s-3);
  padding: var(--avo-s-3) var(--avo-s-4);
  border-radius: var(--avo-r-md);
  color: var(--avo-text);
  text-decoration: none;
  font-size: var(--avo-fs-base);
  border: 1px solid transparent;
  transition: background var(--avo-duration) var(--avo-ease), border-color var(--avo-duration) var(--avo-ease);
}
.avo-tab-panel__list li a:hover {
  background: var(--avo-surface);
  border-color: var(--avo-border);
  color: var(--avo-brand-strong);
}

@media (max-width: 900px) {
  .avo-tabs__panel { grid-template-columns: 1fr; gap: var(--avo-s-6); }
  .avo-tabs__nav { width: 100%; }
  .avo-tabs__nav-btn { flex: 1 1 auto; justify-content: center; }
  .avo-tabs__nav-count { display: none; }
}

/* --- 屏 3 Platforms tagline 补充 --- */
.avo-platforms__tagline {
  text-align: center;
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-sm);
  margin: var(--avo-s-5) 0 0;
  font-style: italic;
}

/* --- 屏 4 Bento grid --- */
.avo-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: var(--avo-s-5);
}
.avo-bento__card {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-8);
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-3);
  transition: border-color var(--avo-duration) var(--avo-ease), transform var(--avo-duration) var(--avo-ease);
}
.avo-bento__card:hover { border-color: var(--avo-brand); transform: translateY(-2px); }
/* 4-card bento 8-cell 拼图：lg(2×2)=4 + md(2×1)=2 + sm(1×1)=1 + sm(1×1)=1 = 8 */
.avo-bento__card--lg { grid-column: span 2; grid-row: span 2; }
.avo-bento__card--md { grid-column: span 2; grid-row: span 1; }
.avo-bento__card--sm { grid-column: span 1; grid-row: span 1; }
.avo-bento__icon {
  width: 56px; height: 56px;
  border-radius: var(--avo-r-md);
  background: var(--avo-brand-soft);
  color: var(--avo-brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.avo-bento__card--sm .avo-bento__icon { width: 44px; height: 44px; }
.avo-bento__title {
  font-size: var(--avo-fs-xl);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text);
  margin: 0;
  letter-spacing: var(--avo-tracking-normal);
  line-height: var(--avo-lh-tight);
}
.avo-bento__card--lg .avo-bento__title { font-size: var(--avo-fs-2xl); }
.avo-bento__sub {
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-base);
  line-height: var(--avo-lh-normal);
  margin: 0;
  flex-grow: 1;
}
.avo-bento__mini-packs {
  display: flex;
  gap: var(--avo-s-3);
  flex-wrap: wrap;
  margin-top: var(--avo-s-2);
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  color: var(--avo-text-muted);
}
.avo-bento__mini-packs strong { color: var(--avo-text); font-weight: var(--avo-fw-bold); font-size: var(--avo-fs-md); }
.avo-bento__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--avo-brand-strong);
  text-decoration: none;
  font-weight: var(--avo-fw-semi);
  font-size: var(--avo-fs-sm);
  margin-top: var(--avo-s-2);
}
.avo-bento__cta:hover { color: var(--avo-brand); }

@media (max-width: 900px) {
  .avo-bento { grid-template-columns: repeat(2, 1fr); }
  .avo-bento__card--lg, .avo-bento__card--md { grid-column: span 2; grid-row: span 1; }
  .avo-bento__card--sm { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 600px) {
  .avo-bento { grid-template-columns: 1fr; }
  .avo-bento__card--lg, .avo-bento__card--md, .avo-bento__card--sm { grid-column: span 1; }
  .avo-bento__card { padding: var(--avo-s-6); }
}

/* --- 屏 5 Tool scroll 自动滚动 + 缩略图 before/after 交替 (v1.21.0) --- */
.avo-tool-scroll {
  position: relative;
  overflow: hidden;
  padding: var(--avo-s-3) 0 var(--avo-s-6);
}
.avo-tool-scroll__track {
  display: flex;
  width: max-content;
  /* 24 张卡（12 + 12 dup）× 280px + 间隙 → translateX -50% 后无缝衔接 */
  animation: avo-tool-scroll-marquee 60s linear infinite;
}
.avo-tool-scroll:hover .avo-tool-scroll__track,
.avo-tool-scroll:focus-within .avo-tool-scroll__track {
  animation-play-state: paused;
}
@keyframes avo-tool-scroll-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.avo-tool-scroll__card {
  flex-shrink: 0;
  width: 280px;
  margin-right: var(--avo-s-5);  /* 用 margin-right 而非 flex gap：track 末端补空白，translateX(-50%) 无缝 */
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color var(--avo-duration) var(--avo-ease), transform var(--avo-duration) var(--avo-ease);
}
.avo-tool-scroll__card:hover { border-color: var(--avo-brand); transform: translateY(-2px); }

/* v1.20.0 · 工具卡缩略图（顶部 4:3 视觉锚点） */
.avo-tool-scroll__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--avo-brand-soft) 0%, var(--avo-brand-tint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* v1.21.0 · 缩略图基础（img 绝对定位填满 thumb 容器，方便 before/after 叠加） */
.avo-tool-scroll__thumb-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.avo-tool-scroll__thumb-img--before { z-index: 2; opacity: 0; }
.avo-tool-scroll__thumb-img--after  { z-index: 1; opacity: 1; }

/* admin 同时填了 before + after 时，before 层 6s 循环 fade-in/out 实现交替 */
@media (prefers-reduced-motion: no-preference) {
  .avo-tool-scroll__thumb--swap .avo-tool-scroll__thumb-img--before {
    animation: avo-thumb-swap 6s ease-in-out infinite;
  }
  /* 用 nth-child 错峰：奇数卡和偶数卡延迟一半周期，避免整排同步切显得机械 */
  .avo-tool-scroll__card:nth-child(even) .avo-tool-scroll__thumb-img--before {
    animation-delay: -3s;
  }
}
@keyframes avo-thumb-swap {
  0%, 35% { opacity: 0; }   /* after 显示 */
  50%, 90% { opacity: 1; }  /* before 显示 */
  100% { opacity: 0; }
}

/* 旧 img 兼容（admin 没填 _before 时只有一张 _after，无 thumb-img class，直接 fill） */
.avo-tool-scroll__thumb > img:not([class*="avo-tool-scroll__thumb-img"]) {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.avo-tool-scroll__thumb--content { background: linear-gradient(135deg, rgba(200, 165, 96, .18) 0%, var(--avo-brand-tint) 100%); }
.avo-tool-scroll__thumb--image   { background: linear-gradient(135deg, var(--avo-brand-soft) 0%, rgba(74, 124, 89, .15) 100%); }
.avo-tool-scroll__thumb-icon {
  color: var(--avo-brand-strong);
  opacity: .55;
  display: inline-flex;
}
.avo-tool-scroll__group-tag {
  position: absolute;
  top: var(--avo-s-3);
  left: var(--avo-s-3);
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  letter-spacing: var(--avo-tracking-mono);
  background: rgba(255, 255, 255, .85);
  color: var(--avo-brand-strong);
  padding: 2px 8px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.avo-tool-scroll__body {
  padding: var(--avo-s-5) var(--avo-s-5) var(--avo-s-5);
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-2);
  flex-grow: 1;
}
.avo-tool-scroll__icon {
  /* 保留旧 class 防 fallback 引用，但 v1.20.0 已被 __thumb 取代 */
  display: none;
}
.avo-tool-scroll__name {
  font-size: var(--avo-fs-md);
  font-weight: var(--avo-fw-semi);
  margin: 0;
  letter-spacing: var(--avo-tracking-normal);
  color: var(--avo-text);
}
.avo-tool-scroll__desc {
  font-size: var(--avo-fs-sm);
  color: var(--avo-text-muted);
  margin: 0;
  flex-grow: 1;
  line-height: var(--avo-lh-normal);
}
.avo-tool-scroll__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-sm);
  margin-top: var(--avo-s-2);
}
.avo-tool-scroll__price { color: var(--avo-text); font-weight: var(--avo-fw-semi); }
.avo-tool-scroll__try { color: var(--avo-brand); font-weight: var(--avo-fw-semi); }

/* --- 屏 6 Use cases (dark bg) --- */
.avo-usecases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--avo-s-5);
}
.avo-usecase {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-6);
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-4);
  transition: background var(--avo-duration) var(--avo-ease), border-color var(--avo-duration) var(--avo-ease);
}
.avo-usecase:hover { background: rgba(255, 255, 255, .06); border-color: rgba(232, 240, 226, .25); }
.avo-usecase__visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--avo-r-md);
  overflow: hidden;
  background: rgba(255, 255, 255, .03);
}
.avo-usecase__visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avo-usecase__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(74, 124, 89, .35), rgba(74, 124, 89, .15));
  display: flex; align-items: center; justify-content: center;
  color: var(--avo-brand-soft);
}
.avo-usecase__title {
  font-size: var(--avo-fs-lg);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text-inverse);
  margin: 0;
  letter-spacing: var(--avo-tracking-normal);
}
.avo-usecase__sub {
  color: rgba(255, 255, 255, .7);
  font-size: var(--avo-fs-sm);
  line-height: var(--avo-lh-normal);
  margin: 0;
}

@media (max-width: 1000px) {
  .avo-usecases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .avo-usecases { grid-template-columns: 1fr; }
}

/* --- 屏 7 Audiences (dark bg) --- */
.avo-audiences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--avo-s-5);
}
.avo-audience {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-8);
  display: flex;
  flex-direction: column;
  gap: var(--avo-s-3);
}
.avo-audience__icon {
  width: 56px; height: 56px;
  border-radius: var(--avo-r-md);
  background: rgba(232, 240, 226, .12);
  color: var(--avo-brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.avo-audience__title {
  font-size: var(--avo-fs-xl);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text-inverse);
  margin: 0;
  letter-spacing: var(--avo-tracking-normal);
}
.avo-audience__sub {
  color: rgba(255, 255, 255, .7);
  font-size: var(--avo-fs-base);
  line-height: var(--avo-lh-normal);
  margin: 0;
}
.avo-audience__cta {
  /* v1.19.0 — 每张卡独立 CTA，按受众分流（卖家→Starter / 品牌→audit / 代运营→features） */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--avo-s-3);
  color: var(--avo-brand-soft);
  text-decoration: none;
  font-size: var(--avo-fs-sm);
  font-weight: var(--avo-fw-semi);
  padding-top: var(--avo-s-3);
  border-top: 1px solid rgba(255, 255, 255, .08);
  transition: color var(--avo-duration) var(--avo-ease), gap var(--avo-duration) var(--avo-ease);
}
.avo-audience__cta:hover {
  color: var(--avo-text-inverse);
  gap: 8px;
}

@media (max-width: 900px) {
  .avo-audiences { grid-template-columns: 1fr; }
}

/* --- 屏 8 Packs grid (5 packs) --- */
.avo-packs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--avo-s-4);
  align-items: stretch;
}
@media (max-width: 1100px) { .avo-packs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .avo-packs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .avo-packs { grid-template-columns: 1fr; } }

/* === v1.17.0 mobile tweaks ================================== */
@media (max-width: 768px) {
  .avo-section--dark { padding: var(--avo-s-12) 0; }
  .avo-section--dark-tight { padding: var(--avo-s-8) 0 var(--avo-s-12); }
  .avo-hero__bullet { padding: var(--avo-s-4); }
  .avo-tab-panel__title { font-size: var(--avo-fs-xl); }
  .avo-tool-scroll { grid-auto-columns: minmax(240px, 1fr); }
}

/* ============================================================
 * v1.18.0 · Scroll & motion polish
 *
 * 严格遵守 prefers-reduced-motion：所有动效都有 disable 兜底。
 * IntersectionObserver 触发的 reveal 在 app.js initReveals() / initCountUp() 里。
 * ============================================================ */

/* --- 1. Reveal-on-scroll（fade-up + stagger） --- */
@media (prefers-reduced-motion: no-preference) {
  .avo-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 520ms cubic-bezier(.2,.7,.2,1), transform 520ms cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
  }
  .avo-reveal.is-revealed { opacity: 1; transform: none; }
  /* stagger by sibling order — 70ms 每张，最多 5 张以内 */
  .avo-reveal:nth-child(1) { transition-delay: 0ms; }
  .avo-reveal:nth-child(2) { transition-delay: 70ms; }
  .avo-reveal:nth-child(3) { transition-delay: 140ms; }
  .avo-reveal:nth-child(4) { transition-delay: 210ms; }
  .avo-reveal:nth-child(5) { transition-delay: 280ms; }
}
/* prefers-reduced-motion 用户：always-visible，无动画 */
@media (prefers-reduced-motion: reduce) {
  .avo-reveal { opacity: 1; transform: none; }
}

/* --- 2. Tab crossfade — 见上方 .avo-tabs__panel 已加 --- */

/* v1.22.0 · Platform 真实 SVG logo 网格（替代 v1.20.0 文字 wordmark）
   每个 logo 内联 SVG，--platform-color 由 PHP 通过 inline style 注入品牌色 */
.avo-platforms-grid {
  list-style: none;
  padding: 0;
  margin: var(--avo-s-5) auto var(--avo-s-3);
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: var(--avo-s-3) var(--avo-s-5);
  max-width: 1100px;
  align-items: center;
  justify-items: center;
}
.avo-platform-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--avo-s-2) var(--avo-s-2);
  color: var(--avo-text-subtle);  /* 默认灰阶（currentColor 驱动 SVG fill / stroke） */
  filter: grayscale(100%) opacity(.65);
  transition: filter var(--avo-duration) var(--avo-ease), color var(--avo-duration) var(--avo-ease);
  user-select: none;
  cursor: default;
}
.avo-platform-logo:hover {
  filter: grayscale(0%) opacity(1);
  color: var(--platform-color, var(--avo-text));
}
.avo-platform-logo svg {
  height: 28px;
  width: auto;
  max-width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .avo-platforms-grid { grid-template-columns: repeat(3, 1fr); gap: var(--avo-s-4); }
  .avo-platform-logo svg { height: 24px; }
}
@media (max-width: 480px) {
  .avo-platforms-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- 4. Tool scroll 边缘渐隐蒙版（暗示横滚 / 软化 marquee 起止边缘） --- */
.avo-tool-scroll {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

/* v1.21.0 · prefers-reduced-motion + 移动端：关掉 marquee，回退到手动横滑 + scroll-snap */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  .avo-tool-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--avo-border-strong) transparent;
    scroll-snap-type: x mandatory;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .avo-tool-scroll__track {
    animation: none;
    transform: none;
    width: max-content;  /* 保持 flex 行布局可滚动 */
  }
  /* 隐藏重复卡（marquee 用的第 2 套），避免手动滑动时遇到「连看 24 张卡」 */
  .avo-tool-scroll__track > .avo-tool-scroll__card.is-dup { display: none; }
  /* 单卡 snap-align */
  .avo-tool-scroll__card { scroll-snap-align: start; }
  /* 缩略图 before/after 交替也关掉，手动滑时图静止 */
  .avo-tool-scroll__thumb--swap .avo-tool-scroll__thumb-img--before { animation: none; opacity: 0; }
}

/* --- 5. Section 2 sticky tab nav --- */
.avo-tabs__nav {
  position: sticky;
  top: calc(var(--avo-header-h) + 12px);
  z-index: 5;
  /* 加 subtle shadow 当 stuck 状态，与 panel 内容拉开层级 */
  box-shadow: 0 4px 16px rgba(26, 43, 35, .04);
}
@media (max-width: 900px) {
  /* 移动端 header 一般已隐藏或更简 — 关掉 sticky 避免占用宝贵屏高 */
  .avo-tabs__nav { position: static; }
}

/* --- 6. Trust-strip count-up 显示稳定性 ---
   动画期间 textContent 在 0 → target 之间跳，font-feature 锁等宽数字防止抖动 */
.avo-trust-strip__value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* --- 7. Section 斜面分界（暗色块前后 24px diagonal seam）---
   亮 → 暗（屏 5 → 屏 6）: 暗 section 自带 ::before 一道斜上沿
   暗 → 亮（屏 7 → 屏 8）: 末尾暗 section 自带 ::after 一道斜下沿
   两条斜线方向一致（lower-left → upper-right），形成 ribbon 节奏 */
.avo-section--dark { position: relative; }
.avo-section--dark:not(.avo-section--dark-tight)::before {
  content: '';
  position: absolute;
  top: -24px; left: 0; right: 0;
  height: 24px;
  background: var(--avo-text);
  /* 三角形：bottom-left + bottom-right + top-right，斜边从 BL → TR */
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  pointer-events: none;
}
.avo-section--dark-tight::after {
  content: '';
  position: absolute;
  bottom: -24px; left: 0; right: 0;
  height: 24px;
  background: var(--avo-text);
  /* 三角形：top-left + top-right + bottom-left，斜边从 TR → BL */
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}
@media (max-width: 768px) {
  /* 移动端缩到 16px 避免占屏 */
  .avo-section--dark:not(.avo-section--dark-tight)::before,
  .avo-section--dark-tight::after { height: 16px; top: auto; bottom: auto; }
  .avo-section--dark:not(.avo-section--dark-tight)::before { top: -16px; }
  .avo-section--dark-tight::after { bottom: -16px; }
}

/* ============================================================
 * v1.19.0 · Hero before/after slider（替代 bullets，当 admin 填了
 * smart-erase / image-translation-pro / virtual-tryon 全部 6 张图）
 * ============================================================ */
.avo-hero__demo {
  position: relative;
  width: 100%;
}
.avo-hero-slider {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--avo-r-xl);
  overflow: hidden;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  box-shadow:
    0 1px 2px rgba(26, 43, 35, .04),
    0 12px 32px -8px rgba(26, 43, 35, .12),
    0 24px 64px -12px rgba(74, 124, 89, .18);
}
.avo-hero-slider__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms ease, visibility 0s linear 600ms;
}
.avo-hero-slider__scene.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms ease, visibility 0s linear 0s;
}
.avo-hero-slider__compare {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;  /* 横向拖比对不抢页面竖向滚动 */
}
.avo-hero-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
/* after 图叠在 before 上方，用 clip-path 控制可见区域 — JS 改 clip-path inset 左值 */
.avo-hero-slider__img--after { will-change: clip-path; }

/* ============================================================
 * v1.20.0 · Hero slider CSS-生成 placeholder（admin 未填真实图时启用）
 * 关键：3 个 scene 各 2 个 layer (before/after) 用 div + ::after 文字层堆出"在演"
 * 效果。任何配置都让 hero 立即有视觉证据，不再退回 bullets。
 * ============================================================ */
.avo-hero-slider__img[class*="avo-hero-slider__placeholder--"] {
  /* div 形式不支持 object-fit；但 inset:0 + width/height 100% 已经填满容器 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.avo-hero-slider__img[class*="avo-hero-slider__placeholder--"]::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

/* --- Scene 1 · Smart Erase: cream gradient ± 水印 --- */
.avo-hero-slider__placeholder--smart-erase-before,
.avo-hero-slider__placeholder--smart-erase-after {
  background: linear-gradient(135deg, var(--avo-bg) 0%, var(--avo-brand-soft) 100%);
}
.avo-hero-slider__placeholder--smart-erase-before::after {
  content: 'AVOBRAND\AWATERMARK';
  white-space: pre;
  transform: rotate(-22deg);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.1;
  color: rgba(26, 43, 35, .22);
}

/* --- Scene 2 · Image Translation Pro: cream + 英文 / 日文 label --- */
.avo-hero-slider__placeholder--image-translation-pro-before,
.avo-hero-slider__placeholder--image-translation-pro-after {
  background: linear-gradient(160deg, var(--avo-brand-soft) 0%, var(--avo-brand-tint) 70%);
}
.avo-hero-slider__placeholder--image-translation-pro-before::after {
  content: 'PREMIUM HYDRATING SERUM \A with Hyaluronic Acid + Vitamin C';
  white-space: pre;
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--avo-brand-strong);
  padding: 0 var(--avo-s-8);
  letter-spacing: .02em;
}
.avo-hero-slider__placeholder--image-translation-pro-after::after {
  content: '高保湿美容液 \A ヒアルロン酸 + ビタミンC配合';
  white-space: pre;
  font-size: clamp(15px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--avo-brand-strong);
  padding: 0 var(--avo-s-8);
}

/* --- Scene 3 · Virtual Try-On: striped 平铺 / radial 模特 --- */
.avo-hero-slider__placeholder--virtual-tryon-before {
  background: repeating-linear-gradient(
    45deg,
    var(--avo-brand-tint) 0,
    var(--avo-brand-tint) 14px,
    var(--avo-brand-soft) 14px,
    var(--avo-brand-soft) 28px
  );
}
.avo-hero-slider__placeholder--virtual-tryon-before::after {
  content: '👕';
  font-size: clamp(80px, 14vw, 160px);
  line-height: 1;
}
.avo-hero-slider__placeholder--virtual-tryon-after {
  background: radial-gradient(circle at 50% 45%, var(--avo-brand-soft) 0%, var(--avo-brand) 90%);
}
.avo-hero-slider__placeholder--virtual-tryon-after::after {
  content: '🙋‍♀️';
  font-size: clamp(80px, 14vw, 160px);
  line-height: 1;
}
.avo-hero-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--avo-surface);
  box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.18);
  pointer-events: none;
  transform: translateX(-50%);
}
.avo-hero-slider__handle-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: var(--avo-surface);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--avo-text);
  user-select: none;
}
.avo-hero-slider__label {
  position: absolute;
  top: var(--avo-s-4);
  padding: 4px 10px;
  background: rgba(26, 43, 35, .78);
  color: var(--avo-text-inverse);
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  letter-spacing: var(--avo-tracking-mono);
  border-radius: var(--avo-r-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.avo-hero-slider__label--before { left: var(--avo-s-4); }
.avo-hero-slider__label--after  { right: var(--avo-s-4); }
.avo-hero-slider__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--avo-s-5) var(--avo-s-5) var(--avo-s-4);
  background: linear-gradient(180deg, transparent, rgba(26, 43, 35, .78) 60%);
  color: var(--avo-text-inverse);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--avo-s-3);
  pointer-events: none;
}
.avo-hero-slider__caption-title {
  font-size: var(--avo-fs-sm);
  font-weight: var(--avo-fw-semi);
}
.avo-hero-slider__caption-meta {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  opacity: .85;
  font-variant-numeric: tabular-nums;
}
.avo-hero-slider__dots {
  display: flex;
  gap: var(--avo-s-2);
  justify-content: center;
  margin-top: var(--avo-s-4);
}
.avo-hero-slider__dot {
  appearance: none;
  background: var(--avo-border-strong);
  border: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: background var(--avo-duration) var(--avo-ease), width var(--avo-duration) var(--avo-ease);
}
.avo-hero-slider__dot:hover { background: var(--avo-text-muted); }
.avo-hero-slider__dot.is-active {
  background: var(--avo-brand);
  width: 24px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .avo-hero-slider__scene { transition: none; }
}
@media (max-width: 768px) {
  .avo-hero-slider__handle-grip { width: 32px; height: 32px; font-size: 12px; }
  .avo-hero-slider__label { font-size: 10px; padding: 3px 8px; }
}

/* ============================================================
 * v1.19.0 · Pricing ROI 对比框 + 5-pack 对照表
 * ============================================================ */
.avo-roi-box {
  background: linear-gradient(135deg, var(--avo-brand-tint) 0%, var(--avo-surface) 100%);
  border: 1px solid var(--avo-brand-soft);
  border-left: 3px solid var(--avo-accent-gold);
  border-radius: var(--avo-r-md);
  padding: var(--avo-s-5) var(--avo-s-6);
  margin: var(--avo-s-8) auto 0;
  max-width: 760px;
}
.avo-roi-box__label {
  display: block;
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-xs);
  letter-spacing: var(--avo-tracking-mono);
  margin-bottom: var(--avo-s-2);
}
.avo-roi-box__body {
  color: var(--avo-text);
  font-size: var(--avo-fs-base);
  line-height: var(--avo-lh-normal);
  margin: 0;
}
.avo-roi-box__body strong {
  color: var(--avo-brand-strong);
  font-weight: var(--avo-fw-semi);
}

.avo-pack-matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  overflow: hidden;
  font-size: var(--avo-fs-sm);
}
.avo-pack-matrix th,
.avo-pack-matrix td {
  padding: var(--avo-s-4) var(--avo-s-5);
  text-align: left;
  border-bottom: 1px solid var(--avo-border);
}
.avo-pack-matrix tr:last-child td { border-bottom: 0; }
.avo-pack-matrix th {
  background: var(--avo-surface-alt);
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--avo-tracking-mono);
  color: var(--avo-text-muted);
  font-weight: var(--avo-fw-semi);
}
.avo-pack-matrix tbody tr:hover { background: var(--avo-brand-tint); }
.avo-pack-matrix__pack { font-weight: var(--avo-fw-semi); }
.avo-pack-matrix__pack strong { display: block; color: var(--avo-text); }
.avo-pack-matrix__pack .avo-pack-matrix__price {
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  color: var(--avo-brand-strong);
  margin-top: 2px;
  display: block;
}
.avo-pack-matrix__qty {
  font-family: var(--avo-font-mono);
  color: var(--avo-text);
  font-variant-numeric: tabular-nums;
}
.avo-pack-matrix__ideal {
  color: var(--avo-text-muted);
  font-style: italic;
  font-size: var(--avo-fs-sm);
}

/* v1.19.2 · Hero 承诺徽章（替代 stats trust strip — 仅 hero）
   No card / Never expire / Auto-refund / GDPR — 4 项 ✓ 行 */
.avo-promise-badges {
  list-style: none;
  padding: 0;
  margin: var(--avo-s-5) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--avo-s-3) var(--avo-s-5);
}
.avo-promise-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--avo-fs-sm);
  color: var(--avo-text-muted);
  line-height: 1.2;
}
.avo-promise-badge__icon {
  display: inline-flex;
  color: var(--avo-brand);
  flex-shrink: 0;
}
.avo-promise-badge__icon svg { width: 16px; height: 16px; }
.avo-promise-badge__text { white-space: nowrap; }

@media (max-width: 500px) {
  .avo-promise-badges { gap: var(--avo-s-2) var(--avo-s-4); }
  .avo-promise-badge { font-size: var(--avo-fs-xs); }
}

/* v1.19.1 · 处理量计数器 band（临时占位 — 真实数据接入后保留结构换数字即可） */
.avo-counter-band {
  background: var(--avo-text);
  color: var(--avo-text-inverse);
  padding: var(--avo-s-12) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.avo-counter-band::before {
  /* subtle radial 光晕 — 同 Section 6/7 暗色风格但不加 diagonal seam，避免节奏过密 */
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(74, 124, 89, .25), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200, 165, 96, .12), transparent 50%);
  pointer-events: none;
}
.avo-counter-band > * { position: relative; }
.avo-counter-band__label {
  display: inline-block;
  font-size: var(--avo-fs-xs);
  color: var(--avo-brand-soft);
  letter-spacing: var(--avo-tracking-mono);
  margin-bottom: var(--avo-s-4);
  opacity: .8;
}
.avo-counter-band__big {
  display: inline-flex;
  align-items: baseline;
  gap: var(--avo-s-3);
  flex-wrap: wrap;
  justify-content: center;
}
.avo-counter-band__num {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: var(--avo-fw-bold);
  letter-spacing: var(--avo-tracking-tight);
  line-height: 1;
  color: var(--avo-text-inverse);
  font-variant-numeric: tabular-nums;
}
.avo-counter-band__unit {
  font-size: var(--avo-fs-xl);
  color: var(--avo-brand-soft);
  font-weight: var(--avo-fw-medium);
}
.avo-counter-band__sub {
  margin: var(--avo-s-4) 0 0;
  color: rgba(255, 255, 255, .7);
  font-size: var(--avo-fs-base);
}
.avo-counter-band__sub strong {
  color: var(--avo-text-inverse);
  font-weight: var(--avo-fw-semi);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 768px) {
  .avo-counter-band { padding: var(--avo-s-10) 0; }
}

/* v1.22.0 · 4-stat metrics 块（FAQ 前临门一脚） */
.avo-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--avo-s-5);
}
.avo-metric {
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  padding: var(--avo-s-6) var(--avo-s-5);
  text-align: center;
}
.avo-metric__num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: var(--avo-s-3);
  font-family: var(--avo-font-sans);
}
.avo-metric__num-main {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: var(--avo-fw-bold);
  color: var(--avo-brand-strong);
  letter-spacing: var(--avo-tracking-tight);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.avo-metric__num-strike {
  font-size: var(--avo-fs-lg);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text-subtle);
  text-decoration: line-through;
  text-decoration-color: var(--avo-danger);
  text-decoration-thickness: 2px;
}
.avo-metric__num-arrow {
  font-size: var(--avo-fs-md);
  color: var(--avo-text-muted);
}
.avo-metric__num-unit {
  font-size: var(--avo-fs-base);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text-muted);
}
.avo-metric__label {
  font-size: var(--avo-fs-sm);
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text);
  margin: 0 0 4px;
}
.avo-metric__sub {
  font-size: var(--avo-fs-xs);
  color: var(--avo-text-subtle);
  margin: 0;
  line-height: var(--avo-lh-normal);
}
@media (max-width: 900px) {
  .avo-metrics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .avo-metrics-grid { grid-template-columns: 1fr; }
}

/* v1.20.0 · Mid-page CTA strip — 短而宽，文案 + 按钮，长滚动页中触发点 */
.avo-mid-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--avo-s-5);
  margin-top: var(--avo-s-10);
  padding: var(--avo-s-5) var(--avo-s-6);
  background: var(--avo-brand-tint);
  border: 1px solid var(--avo-brand-soft);
  border-radius: var(--avo-r-lg);
}
.avo-mid-cta__text {
  margin: 0;
  font-size: var(--avo-fs-md);
  color: var(--avo-text);
  font-weight: var(--avo-fw-medium);
}

/* v1.20.0 · Mobile sticky CTA — 仅移动端底部 fixed 栏，桌面隐藏
   safe-area-inset 兼容 iPhone notch */
.avo-sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  .avo-sticky-cta--mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--avo-s-2);
    position: fixed;
    left: var(--avo-s-3);
    right: var(--avo-s-3);
    bottom: calc(var(--avo-s-3) + env(safe-area-inset-bottom, 0));
    z-index: 40;
    padding: var(--avo-s-3) var(--avo-s-5);
    background: var(--avo-text);
    color: var(--avo-text-inverse);
    text-decoration: none;
    border-radius: 999px;
    font-size: var(--avo-fs-base);
    font-weight: var(--avo-fw-semi);
    box-shadow: 0 8px 24px rgba(26, 43, 35, .25), 0 2px 6px rgba(26, 43, 35, .15);
    transition: transform var(--avo-duration) var(--avo-ease);
  }
  .avo-sticky-cta--mobile:active { transform: scale(.97); }
}

/* v1.20.0 · Subscription vs AvoAgent 对比表 — pay-per-job 卖点从文案改成视觉对比 */
.avo-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--avo-surface);
  border: 1px solid var(--avo-border);
  border-radius: var(--avo-r-lg);
  overflow: hidden;
  font-size: var(--avo-fs-base);
}
.avo-compare-table th,
.avo-compare-table td {
  padding: var(--avo-s-4) var(--avo-s-5);
  text-align: left;
  border-bottom: 1px solid var(--avo-border);
  vertical-align: top;
}
.avo-compare-table tbody tr:last-child th,
.avo-compare-table tbody tr:last-child td { border-bottom: 0; }
.avo-compare-table thead th {
  background: var(--avo-surface-alt);
  font-family: var(--avo-font-mono);
  font-size: var(--avo-fs-xs);
  letter-spacing: var(--avo-tracking-mono);
  text-transform: uppercase;
  color: var(--avo-text-muted);
  font-weight: var(--avo-fw-semi);
}
.avo-compare-table__col-them { color: var(--avo-text-subtle); }
.avo-compare-table__col-us   {
  color: var(--avo-brand-strong);
  background: linear-gradient(180deg, var(--avo-brand-tint) 0%, var(--avo-surface) 100%);
}
.avo-compare-table__label {
  font-weight: var(--avo-fw-semi);
  color: var(--avo-text);
  width: 140px;
  background: var(--avo-surface-alt);
}
.avo-compare-table tbody td:nth-child(3) {
  background: linear-gradient(180deg, rgba(74, 124, 89, .04), transparent);
}
.avo-compare-table__bad {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(184, 69, 63, .15);
  color: var(--avo-danger);
  text-align: center;
  line-height: 18px;
  font-size: 11px;
  font-weight: var(--avo-fw-bold);
  margin-right: 4px;
}
.avo-compare-table__good {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--avo-brand);
  color: var(--avo-text-inverse);
  text-align: center;
  line-height: 18px;
  font-size: 11px;
  font-weight: var(--avo-fw-bold);
  margin-right: 4px;
}
@media (max-width: 600px) {
  .avo-compare-table { font-size: var(--avo-fs-sm); }
  .avo-compare-table th,
  .avo-compare-table td { padding: var(--avo-s-3) var(--avo-s-3); }
  .avo-compare-table__label { width: 90px; font-size: var(--avo-fs-xs); }
}

/* v1.19.0 · FAQ bullet list 改写（隐私 FAQ） */
.avo-faq__list {
  margin: var(--avo-s-3) 0 0;
  padding-left: var(--avo-s-5);
  list-style: none;
}
.avo-faq__list li {
  position: relative;
  padding: 4px 0;
  color: var(--avo-text-muted);
  font-size: var(--avo-fs-base);
  line-height: var(--avo-lh-normal);
}
.avo-faq__list li::before {
  content: '→';
  position: absolute;
  left: -20px;
  color: var(--avo-brand);
  font-weight: var(--avo-fw-semi);
}

