/* Ember 品牌首页 — 对齐 public/logo.png + ember-classic 琥珀色板 */

:root {
  /* logo Ai 渐变锚点 + ember-classic brand */
  --ember-brand-strong: #b66816;
  --ember-brand: #fda92d;
  --ember-brand-muted: #fed680;
  --ember-brand-soft: #fef4d4;
  --ember-flame-deep: #e65100;
  --ember-flame-mid: #ff8c00;
  --ember-flame-bright: #ffd700;
  /* ember-classic 文本与表面 */
  --ember-text-strong: #1a1915;
  --ember-text: #4a4a45;
  --ember-text-muted: #6b7280;
  --ember-app-bg: #faf9f6;
  --ember-surface-border: rgba(253, 169, 45, 0.35);
  --ember-home-glow: rgba(253, 169, 45, 0.14);
  /* 站点语义 token */
  --ink-900: var(--ember-text-strong);
  --ink-700: var(--ember-text);
  --ink-500: #697486;
  --ink-400: #9aa3b2;
  --page-bg: var(--ember-app-bg);
  --page-surface: #ffffff;
  --page-border: rgba(182, 104, 22, 0.12);
  --page-border-hover: rgba(182, 104, 22, 0.22);
  --shadow-soft: 0 8px 30px rgba(182, 104, 22, 0.08);
  --shadow-lift: 0 20px 40px rgba(182, 104, 22, 0.12);
  --accent-green: rgba(253, 169, 45, 0.14);
  --accent-green-strong: rgba(253, 169, 45, 0.24);
  --ember-primary-gradient: linear-gradient(135deg, #e65100 0%, #fda92d 52%, #ffd700 100%);
  --ember-primary-gradient-hover: linear-gradient(135deg, #b66816 0%, #e65100 52%, #fda92d 100%);
  --ember-title-gradient: linear-gradient(90deg, #b66816 0%, #e65100 28%, #fda92d 55%, #ffd700 78%, #fda92d 100%);
  --shell: min(100% - 48px, 1120px);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.ember-page {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

html:has(.ember-page) {
  overflow-x: clip;
}

.ember-page a {
  color: inherit;
  text-decoration: none;
}

.ember-page a.ember-btn-primary,
.ember-page a.ember-btn-primary:hover {
  color: #fff;
}

.ember-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.ember-page h1,
.ember-page h2,
.ember-page h3,
.ember-page h4,
.ember-page p {
  margin: 0;
}

.ember-shell {
  width: var(--shell);
  margin-inline: auto;
}

/* ---------- 背景场景（对齐 Ember 品牌首页：树月意境 + 渐变遮罩） ---------- */
.ember-home-page {
  position: relative;
  isolation: isolate;
  background: var(--page-bg);
  /* 固定顶栏不占文档流，为正文预留高度 */
  padding-top: 73px;
}

.ember-home-page > section,
.ember-home-page > main {
  position: relative;
  z-index: 1;
}

.ember-home-scene {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 0;
  height: max(1080px, 56.3vw);
  overflow: hidden;
  pointer-events: none;
}

.ember-home-scene-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  opacity: 0.92;
  object-fit: cover;
  object-position: top center;
}

.ember-home-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 50% 22%, rgba(255, 252, 244, 0.42) 0%, rgba(255, 252, 244, 0.16) 28%, transparent 54%),
    linear-gradient(rgba(255, 255, 255, 0), rgba(255, 250, 242, 0.08) 38%, rgba(255, 255, 255, 0.52) 76%, var(--page-bg));
}

/* ---------- 导航（对齐 Ember 品牌首页：顶部透明，滚动后毛玻璃） ---------- */
.ember-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: 73px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    backdrop-filter 0.2s;
}

.ember-nav[data-scrolled="1"] {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}

.ember-nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 73px;
  gap: 24px;
}

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

.ember-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ember-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.ember-nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.58);
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}

.ember-nav-links a:hover {
  color: var(--ember-brand-strong);
  background: rgba(253, 169, 45, 0.1);
}

.ember-nav-links a.is-active {
  color: var(--ember-brand-strong);
  background: rgba(253, 169, 45, 0.16);
  font-weight: 600;
}

.ember-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.ember-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--page-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.ember-lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  font-size: 12px;
  font-weight: 600;
}

.ember-lang a {
  padding: 5px 10px;
  border-radius: 999px;
  color: rgba(0, 0, 0, 0.45);
}

.ember-lang a.is-active {
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ---------- 按钮（对齐 Ember 品牌首页：主按钮黑底） ---------- */
.ember-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #111111;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s, transform 0.15s;
}

.ember-btn-primary:hover {
  background: #000000;
  box-shadow: none;
}

.ember-btn-primary.sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.ember-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--ember-surface-border);
  color: var(--ember-brand-strong);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s;
}

.ember-btn-secondary:hover {
  background: #fff;
  border-color: rgba(182, 104, 22, 0.28);
}

.ember-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.ember-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 56px;
}

.ember-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 880px;
  margin-inline: auto;
}

.ember-hero h1 {
  font-size: clamp(3.5rem, 5.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: rgba(0, 0, 0, 0.88);
}

.ember-hero-lead {
  margin-top: 28px;
  max-width: 44rem;
  font-size: clamp(1.1rem, 1.3vw, 1.25rem);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.65);
}

.ember-product-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ember-text);
  background: rgba(253, 169, 45, 0.12);
  border: 1px solid rgba(253, 169, 45, 0.28);
}

.ember-product-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 8px;
}

/* 产品区块 intro：紧凑卡片 + 能力标签 */
.ember-product-section {
  padding: 48px 0 56px;
}

.ember-product-intro {
  display: grid;
  gap: 20px 28px;
  align-items: start;
  margin-bottom: 28px;
  padding: 24px 28px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background:
    linear-gradient(135deg, rgba(253, 169, 45, 0.08), rgba(255, 255, 255, 0.92) 42%),
    #fff;
  box-shadow: var(--shadow-soft);
}

.ember-section.white .ember-product-intro {
  background:
    linear-gradient(135deg, rgba(253, 169, 45, 0.06), #fff 46%),
    #fff;
}

.ember-product-intro-copy {
  min-width: 0;
}

.ember-product-intro-title {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: rgba(0, 0, 0, 0.92);
}

.ember-product-intro-sub {
  margin-top: 6px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ember-brand-strong);
}

.ember-product-intro-lead {
  margin-top: 12px;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.58);
}

.ember-product-highlights {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ember-product-highlight {
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.72);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.ember-product-usecases {
  margin-top: 32px;
}

.ember-product-usecases-title {
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.88);
}

.ember-usecases-cta {
  padding: 0 0 48px;
}

.ember-usecases-cta .ember-section-link {
  margin-top: 0;
}

.ember-section-sub {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  color: rgba(0, 0, 0, 0.52);
}

.ember-cloud-lead {
  max-width: 40rem;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.58);
}

.ember-cloud-note {
  margin-top: 24px;
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.48);
}

.ember-card-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--page-bg);
  color: rgba(0, 0, 0, 0.55);
}

.ember-hero-cta {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ember-shortcuts {
  margin-top: 40px;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 880px;
  grid-template-columns: repeat(4, 1fr);
}

.ember-shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 16px 38px rgba(37, 52, 44, 0.07),
    inset 0 1px rgba(255, 255, 255, 0.72);
  text-align: left;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ember-shortcut:hover {
  border-color: var(--page-border-hover);
  box-shadow:
    0 18px 42px rgba(37, 52, 44, 0.1),
    inset 0 1px rgba(255, 255, 255, 0.82);
}

.ember-shortcut-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(253, 169, 45, 0.12);
  display: grid;
  place-items: center;
  color: var(--ember-brand-strong);
  flex-shrink: 0;
}

.ember-shortcut-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
}

.ember-shortcut-desc {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(0, 0, 0, 0.48);
}

/* ---------- Hero 平台标签 / 指标 ---------- */
.ember-platform-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.ember-platform-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.62);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--page-border);
}

.ember-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 880px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--page-border);
}

.ember-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--page-border);
}

.ember-stat-value {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ember-brand-strong);
}

.ember-stat-label {
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  color: rgba(0, 0, 0, 0.52);
}

/* ---------- FAQ（参考 TestMu） ---------- */
.ember-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin-inline: auto;
}

.ember-faq-item {
  border-radius: 18px;
  border: 1px solid var(--page-border);
  background: #fff;
  overflow: hidden;
}

.ember-faq-item summary {
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.88);
  cursor: pointer;
  list-style: none;
}

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

.ember-faq-item summary::after {
  content: "+";
  float: right;
  font-size: 18px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.35);
}

.ember-faq-item[open] summary::after {
  content: "−";
}

.ember-faq-item p {
  padding: 0 20px 18px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.58);
}

/* ---------- 区块通用 ---------- */
.ember-section {
  padding: 64px 0;
}

/* 首屏以下区块延迟布局/绘制，降低初始渲染成本 */
.ember-section.ember-product-section,
.ember-section.ember-usecases-cta,
.ember-section.ember-testimonials,
.ember-section.ember-faq,
.ember-section.ember-final-cta {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.ember-section.white {
  background: #fff;
}

.ember-section-title {
  max-width: min(100%, 24ch);
  margin-inline: auto;
  text-align: center;
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* 覆盖 .ember-page h2 { margin: 0 }，否则标题无法居中 */
.ember-page .ember-section-title {
  margin-inline: auto;
}

.ember-section-title.mb {
  margin-bottom: 48px;
}

/* ---------- 大卡片特性 ---------- */
.ember-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ember-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s;
}

.ember-feature-card:hover {
  box-shadow: var(--shadow-lift);
}

.ember-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-green), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.ember-feature-card:hover::before {
  opacity: 1;
}

.ember-feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

.ember-feature-grid.reverse .ember-feature-media {
  order: -1;
}

.ember-feature-copy h3 {
  max-width: 17ch;
  font-size: clamp(1.8rem, 2.2vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.9);
}

.ember-feature-copy p {
  margin-top: 20px;
  max-width: 28rem;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.6);
}

.ember-feature-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.ember-feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: scale(1.02);
  border-radius: 24px;
  background: var(--accent-green);
  filter: blur(32px);
  transition: transform 0.4s;
}

.ember-feature-card:hover .ember-feature-media::before {
  transform: scale(1.08);
}

.ember-feature-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 39rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.6s ease;
}

.ember-feature-card:hover .ember-feature-media img {
  transform: translateY(-8px);
}

/* ---------- 角色堆叠（非 Tab） ---------- */
.ember-persona-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ember-persona-stack .ember-persona {
  margin-top: 0;
}

.ember-persona-duo {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.ember-persona-duo .ember-persona.text-only {
  max-width: none;
}

.ember-section-link {
  margin-top: 40px;
  text-align: center;
}

.ember-workflow-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- 子页面 ---------- */
.ember-subpage .ember-page-hero {
  padding: 72px 0 48px;
  text-align: center;
}

.ember-page-hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.ember-page-hero p {
  margin-top: 20px;
  max-width: 40rem;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.58);
}

.ember-subsection-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.ember-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.ember-card-grid.features {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.ember-list-card {
  display: block;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--page-border);
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ember-list-card:hover {
  border-color: var(--page-border-hover);
  box-shadow: var(--shadow-soft);
}

.ember-list-card.static {
  cursor: default;
}

.ember-list-card.static:hover {
  box-shadow: none;
}

.ember-list-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.48);
}

.ember-list-card-meta span {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--page-bg);
}

.ember-list-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.ember-list-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.58);
}

.ember-list-card-more {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}

/* ---------- 角色 Tab ---------- */
.ember-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.ember-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--page-border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: all 0.15s;
}

.ember-tab.is-active {
  background: var(--ember-primary-gradient);
  border-color: transparent;
  color: #fff;
}

.ember-tab-panel {
  display: none;
}

.ember-tab-panel.is-active {
  display: block;
}

.ember-persona {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 40px;
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: var(--page-bg);
}

.ember-persona-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ember-brand-strong);
}

.ember-persona h3 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ember-persona p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.62);
}

.ember-persona-kicker {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
}

.ember-persona.text-only {
  grid-template-columns: 1fr;
}

.ember-eco-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ember-brand-strong);
  background: rgba(253, 169, 45, 0.12);
}

/* ---------- 评价轮播 ---------- */
.ember-testimonials {
  padding-top: 0;
  overflow: hidden;
}

.ember-marquee {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ember-marquee 42s linear infinite;
}

.ember-marquee-wrap:hover .ember-marquee {
  animation-play-state: paused;
}

@keyframes ember-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ember-quote {
  width: 320px;
  flex-shrink: 0;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--page-border);
  background: #fff;
}

.ember-quote p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.72);
}

.ember-quote-who {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ember-quote-name {
  font-size: 14px;
  font-weight: 600;
}

.ember-quote-role {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.48);
}

/* ---------- 工作流 Tab ---------- */
.ember-workflow-tabs {
  display: grid;
  gap: 24px;
}

.ember-workflow-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ember-workflow-panel {
  display: grid;
  gap: 32px;
  padding: 32px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.ember-workflow-steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ember-step {
  flex: 1;
  min-width: 140px;
  padding: 16px;
  border-radius: 16px;
  background: var(--page-bg);
  text-align: center;
}

.ember-step-label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.48);
}

.ember-step-value {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 三列生态 ---------- */
.ember-eco-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.ember-eco-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--page-border);
  background: #fff;
}

.ember-eco-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.ember-eco-card p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.58);
}

/* ---------- 大图区块 ---------- */
.ember-showcase {
  margin-top: 40px;
  padding: 24px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(253, 169, 45, 0.1), rgba(253, 169, 45, 0.02));
}

.ember-showcase img {
  width: 100%;
  border-radius: 20px;
}

/* ---------- 最终 CTA ---------- */
.ember-final-cta {
  text-align: center;
  padding-bottom: 96px;
}

.ember-final-cta p {
  margin-top: 20px;
  max-width: 36rem;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.58);
}

.ember-final-cta .ember-hero-cta {
  margin-top: 28px;
}

/* ---------- Footer ---------- */
.ember-footer {
  padding: 64px 0 32px;
  background: #fff;
  border-top: 1px solid var(--page-border);
}

.ember-footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.ember-footer-brand p {
  margin-top: 16px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.55);
}

.ember-footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.ember-footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
}

.ember-footer-col a:hover {
  color: var(--ink-900);
}

.ember-footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--page-border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.45);
}

/* ---------- 响应式 ---------- */
@media (min-width: 960px) {
  .ember-product-intro {
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    padding: 28px 32px;
  }

  .ember-product-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .ember-feature-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 64px;
  }

  .ember-feature-grid.reverse {
    grid-template-columns: 0.88fr 1.12fr;
  }

  .ember-persona {
    grid-template-columns: 1fr 1fr;
    padding: 48px;
  }

  .ember-persona.text-only {
    grid-template-columns: 1fr;
  }

  .ember-persona.reverse img {
    order: -1;
  }

  .ember-feature-card {
    padding: 48px 56px;
  }
}

@media (max-width: 959px) {
  .ember-nav-links {
    display: none;
    position: absolute;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 16px 24px 24px;
    background: rgba(247, 247, 248, 0.98);
    border-bottom: 1px solid var(--page-border);
    align-items: stretch;
  }

  .ember-nav[data-menu-open="1"] .ember-nav-links {
    display: flex;
  }

  .ember-nav-toggle {
    display: inline-flex;
  }

  .ember-nav-right .ember-lang {
    display: none;
  }

  .ember-shortcuts {
    grid-template-columns: 1fr 1fr;
  }

  .ember-stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .ember-persona-duo {
    grid-template-columns: 1fr;
  }

  .ember-eco-grid {
    grid-template-columns: 1fr;
  }

  .ember-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .ember-home-scene {
    height: 900px;
  }

  .ember-home-scene::before {
    opacity: 0.58;
    background-position: 57% 0;
    background-size: auto 780px;
  }

  .ember-home-scene::after {
    background:
      radial-gradient(at 50% 25%, rgba(255, 252, 244, 0.7) 0%, rgba(255, 252, 244, 0.5) 30%, transparent 58%),
      linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 250, 242, 0.36) 45%, rgba(255, 255, 255, 0.82) 78%, var(--page-bg));
  }
}

@media (max-width: 640px) {
  .ember-shortcuts {
    grid-template-columns: 1fr;
  }

  .ember-footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ember-marquee {
    animation: none;
  }
}
