/* OpenClaw 中文版 Landing Page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f0f0f5;
  --text-muted: #8b8b9e;
  --text-dim: #5c5c6e;
  --accent: #ff5c5c;
  --accent-hover: #ff7878;
  --accent-glow: rgba(255, 92, 92, 0.35);
  --accent-secondary: #ff8c42;
  --nav-h: 84px;
  --container: 1250px;
  --hero-features-peek: 310px;
  --hero-section-y: 50px;
  --module-section-y: 45px;
  --module-section-y-sm: 35px;
  --module-header-gap: 28px;
  --module-sub-gap: 24px;
  --transition: 0.2s ease;
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(255, 92, 92, 0.15), transparent 70%);
  --gradient-card: linear-gradient(135deg, rgba(255, 92, 92, 0.06) 0%, transparent 60%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 44px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-elevated); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: "⟩";
  opacity: 0.7;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0px;
  height: var(--nav-h);
  padding: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-right: 40px;
}

.nav-logo-icon { font-size: 1.4rem; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  gap: 28px;
}

.nav-links a {
  font-size: 1rem;
  color: #b4b4c6;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.is-active,
.mobile-nav a.is-active {
  color: var(--text);
  font-weight: 600;
}

/* ── FAQ Page · Module 2 (horizontal hero) ── */
.ref-hero-faq-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.ref-hero-faq-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.ref-hero-faq-brand {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 24px);
  min-width: 0;
  flex: 1 1 auto;
}

.ref-hero-faq-logo {
  width: clamp(64px, 9vw, 88px);
  height: clamp(64px, 9vw, 88px);
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 92, 92, 0.22));
}

.ref-hero-faq-text {
  min-width: 0;
}

.ref-hero-faq-name {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}

.ref-hero-faq-slogan {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  background: linear-gradient(90deg, rgba(240, 240, 245, 0.95), var(--accent), rgba(240, 240, 245, 0.95));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: refShimmer 4s linear infinite;
}

.ref-hero-faq-action {
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  overflow: visible;
}

.faq-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.faq-back-link:hover {
  color: var(--accent);
}

.faq-page-section {
  position: relative;
  z-index: 2;
  padding: 8px 0 80px;
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

#get-started,
#features,
#channels,
#models,
#showcase,
#scenes,
#download {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.faq-page-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.faq-page-desc {
  margin-bottom: 0;
}

.faq-list--page {
  max-width: 820px;
  margin: 0 auto;
}

.faq-list--page .faq-item {
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
}

.faq-list--page .faq-item.open {
  border-color: rgba(255, 92, 92, 0.35);
}

.faq-list--page .faq-question {
  padding: 18px 22px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
}

.faq-list--page .faq-answer {
  transition: max-height 0.35s ease;
}

.faq-list--page .faq-answer-inner {
  padding-top: 0;
  font-size: 0.95rem;
}

.faq-page-cta {
  margin-top: 48px;
  text-align: center;
}

.faq-page-cta p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .ref-hero.ref-hero--faq {
    min-height: 32vh;
    padding: calc(var(--nav-h) + 20px) 0 32px;
  }

  .ref-hero.ref-hero--faq .ref-download-pill-inner {
    padding-left: 70px;
    min-height: 64px;
  }

  .ref-hero.ref-hero--faq .download-primary {
    min-height: 64px;
    font-size: 1.08rem;
    padding: 16px 13px;
    gap: 10px;
  }

  .ref-hero.ref-hero--faq .ref-download-icon {
    width: 26px;
    height: 26px;
  }

  .ref-hero.ref-hero--faq .ref-download-icon svg {
    width: 21px;
    height: 21px;
  }

  .ref-hero.ref-hero--faq .download-toggle {
    flex: 0 0 58px;
    width: 58px;
    min-height: 64px;
  }

  .ref-hero.ref-hero--faq .download-toggle svg {
    width: 19px;
    height: 19px;
  }

  .ref-hero.ref-hero--faq + .faq-page-section {
    padding-top: 32px;
  }

  .ref-hero-faq-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .ref-hero-faq-action {
    display: flex;
    justify-content: center;
  }

  .ref-hero-faq-action .ref-download-pill {
    width: 100%;
    max-width: 512px;
  }

  .ref-download-multi--faq {
    width: 100%;
    max-width: none;
    justify-content: center;
  }

  .ref-download-multi--faq .ref-download-multi-btn {
    padding: 14px 22px;
    font-size: 21px;
  }

  .ref-download-multi--faq .ref-download-multi-icon,
  .ref-download-multi--faq .ref-download-multi-icon svg {
    width: 26px;
    height: 26px;
  }

  .faq-page-section {
    padding-bottom: 64px;
  }

  .faq-list--page .faq-question {
    padding: 18px 18px;
    font-size: 0.95rem;
  }

  .faq-list--page .faq-answer-inner {
    padding: 0 18px 18px;
  }
}


.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-download-btn {
  padding: 13px 32px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 999px;
  min-height: 46px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px var(--accent-glow);
}

.nav-download-group {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}

.nav-download-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-download-chevron {
  display: none;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.nav-download-group--multi .nav-download-chevron {
  display: block;
}

.nav-download-group--multi.open .nav-download-chevron {
  transform: rotate(180deg);
}

.nav-download-menu {
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  min-width: 280px;
}

@media (hover: hover) and (pointer: fine) {
  .nav-download-group--multi:hover .nav-download-menu {
    display: block;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-download-group--multi:hover .nav-download-chevron {
    transform: rotate(180deg);
  }
}

.nav-download-group--multi.open .nav-download-menu {
  display: block;
  transform: translateY(0);
  pointer-events: auto;
}

body.download-menu-open .nav {
  z-index: 200;
}

.nav-download-group--mobile {
  width: 100%;
  margin-top: 12px;
  flex-direction: column;
}

.nav-download-group--mobile .nav-download-btn {
  width: 100%;
}

.nav-download-group--mobile .nav-download-menu {
  position: static;
  width: 100%;
  min-width: 0;
  margin-top: 8px;
  transform: none;
}

.nav-download-group--mobile.nav-download-group--multi.open .nav-download-menu {
  display: block;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

/* Hero */
.hero {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: var(--gradient-hero);
  position: relative;
  z-index: 10;
  overflow: visible;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 92, 92, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 92, 92, 0.1);
  border: 1px solid rgba(255, 92, 92, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 100;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

.hero-scroll {
  margin-top: 48px;
  font-size: 0.8rem;
  color: var(--text-dim);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Download */
.download-group {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  border-radius: 10px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.download-primary-wrap { position: relative; flex: 1; min-width: 0; }

.download-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px 0 0 10px;
  transition: all var(--transition);
}

.download-primary:hover { background: var(--accent-hover); }

.download-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  background: var(--accent);
  color: #fff;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 10px 10px 0;
  transition: background var(--transition);
}

.download-toggle:hover { background: var(--accent-hover); }
.download-toggle svg { transition: transform var(--transition); }
.download-toggle.open svg { transform: rotate(180deg); }

.download-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 100%;
  width: max-content;
  background: #12121a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  display: none;
  transform: translateY(-6px);
  transition: transform 0.2s ease;
  z-index: 500;
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  isolation: isolate;
}

.download-menu::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: #12121a;
  z-index: -1;
}

.download-menu.open {
  display: block;
  transform: translateY(0);
  pointer-events: auto;
}

.download-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  text-align: left;
  transition: background var(--transition);
  background: #12121a;
  position: relative;
  z-index: 1;
}

.download-option:hover { background: #1a1a24; }
.download-option.recommended { background: #221a1c; }
.download-option-info { flex: 1; min-width: 0; }
.download-option-title { font-size: 0.9375rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.download-option-desc { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; line-height: 1.5; }
.download-option-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
}

.stats { position: relative; z-index: 1; padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

body.download-menu-open .stats {
  pointer-events: none;
}

body.download-menu-open .hero {
  z-index: 200;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat-num .unit { font-size: 0.6em; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-dim); }

.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cap-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all var(--transition); }
.cap-card:hover { border-color: var(--border-strong); background: var(--bg-card-hover); transform: translateY(-2px); }
.cap-icon-svg {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--accent);
  padding: 9px;
  background: rgba(255, 92, 92, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 92, 92, 0.2);
}
.cap-icon-svg svg { width: 100%; height: 100%; }
.cap-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.cap-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.cap-case { font-size: 0.8rem; color: var(--text-dim); padding: 12px 14px; background: rgba(255,255,255,0.03); border-radius: 8px; border-left: 3px solid var(--accent); line-height: 1.6; }

.workflow-steps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.workflow-step { text-align: center; padding: 20px 16px; min-width: 120px; }
.workflow-step-icon { font-size: 1.75rem; margin-bottom: 10px; }
.workflow-step-title { font-size: 0.875rem; font-weight: 600; }
.workflow-arrow { color: var(--text-dim); font-size: 1.25rem; }

.compare-table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare-table th { background: var(--bg-card); font-weight: 600; color: var(--text-muted); font-size: 0.8rem; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--text-muted); font-weight: 500; }
.compare-table .highlight-col { background: rgba(255, 92, 92, 0.05); }

.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: all var(--transition); }
.feat-card:hover { border-color: rgba(255, 92, 92, 0.3); }
.feat-icon { font-size: 1.75rem; margin-bottom: 14px; }
.feat-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feat-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; }

.channels-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.channel-tag { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; font-size: 0.875rem; color: var(--text-muted); }
.channel-tag.supported { border-color: rgba(74, 222, 128, 0.3); }
.channel-tag .status { font-size: 0.7rem; color: #4ade80; }

.models-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.model-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px 16px; text-align: center; }
.model-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; }
.model-desc { font-size: 0.75rem; color: var(--text-dim); line-height: 1.5; }

.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.skill-icon { font-size: 2rem; margin-bottom: 14px; }
.skill-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.skill-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.skill-meta span { display: inline-block; margin-right: 8px; padding: 2px 8px; background: rgba(255,255,255,0.05); border-radius: 4px; font-size: 0.75rem; color: var(--text-dim); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { text-align: center; padding: 32px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--accent); color: #fff; font-weight: 800; border-radius: 50%; margin-bottom: 20px; }
.step-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.step-time { display: inline-block; margin-top: 12px; font-size: 0.75rem; color: var(--accent); font-weight: 600; }

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card { padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; text-align: center; }
.adv-icon { font-size: 1.75rem; margin-bottom: 14px; }
.adv-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.adv-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item:hover { border-color: rgba(255, 92, 92, 0.25); }
.faq-item.open {
  border-color: rgba(255, 92, 92, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
}
.faq-question svg { flex-shrink: 0; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 480px; }
.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.faq-answer-inner strong { color: var(--text); font-weight: 600; }

.cta-section { padding: 80px 0; background: var(--gradient-hero); border-top: 1px solid var(--border); }
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 12px; }
.cta-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 16px; }
.cta-note { font-size: 0.8rem; color: var(--text-dim); }

/* CTA 区为独立下载按钮，非 Hero 分体式 */
.cta-section .download-group {
  display: inline-flex;
  flex-direction: row;
  width: auto;
  max-width: 100%;
}

.cta-section .download-primary-wrap {
  width: auto;
  max-width: 100%;
}

.cta-section .download-primary {
  border-radius: 10px;
  padding: 14px 32px;
  white-space: nowrap;
  max-width: 100%;
}

.cta-section .download-primary span:last-child {
  overflow: visible;
  text-overflow: unset;
}

.footer { padding: 48px 0 32px; border-top: 1px solid var(--border); background: var(--bg-elevated); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.footer-brand { max-width: 280px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; }
.footer-tagline { font-size: 0.85rem; color: var(--text-dim); line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-col-title { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-dim); }

.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--bg-elevated); border: 1px solid var(--border-strong); color: var(--text); padding: 12px 24px; border-radius: 10px; font-size: 0.875rem; box-shadow: 0 8px 32px rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 200; }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

.mobile-nav { display: none; position: fixed; inset: 0; top: var(--nav-h); background: rgba(10,10,15,0.96); backdrop-filter: blur(12px); z-index: 99; padding: 24px; flex-direction: column; gap: 8px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { display: block; padding: 14px 16px; font-size: 1.125rem; color: #b4b4c6; border-radius: 8px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .stats-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid, .skills-grid, .steps-grid { grid-template-columns: 1fr; }
  .feat-grid, .models-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-arrow { display: none; }
  .workflow-steps { flex-direction: column; gap: 0; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .feat-grid, .adv-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .download-group { flex-direction: column; width: 100%; align-items: stretch; }
  .download-primary-wrap { width: 100%; }
  .download-primary { width: 100%; border-radius: 10px 10px 0 0; }
  .download-toggle { width: 100%; border-radius: 0 0 10px 10px; border-left: none; border-top: 1px solid rgba(255,255,255,0.2); }
  .download-menu { left: 0; right: 0; width: 100%; min-width: unset; }
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-tags, .hero-actions { justify-content: center; }
  .channels-layout { grid-template-columns: 1fr; }
}

/* ── Tech Background ── */
.tech-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  contain: strict;
  isolation: isolate;
  z-index: 0;
  pointer-events: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.tech-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  pointer-events: none;
  opacity: 0.45;
}

.scanline-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.012) 2px,
    rgba(255, 255, 255, 0.012) 4px
  );
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

body > *:not(.tech-bg):not(.tech-canvas):not(.scanline-overlay):not(.nav):not(.mobile-nav):not(.float-dl):not(.toast):not(.wzck_footer):not(.wap-fixed-cta):not(.wap-phone-fab):not(.wap-contact-overlay) {
  position: relative;
  z-index: 2;
}

/* ── Scroll Reveal ── */
.reveal-item {
  opacity: 0;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s ease;
  will-change: opacity, transform, filter;
}

.reveal-item[data-reveal="fade-up"],
.reveal-item:not([data-reveal]) { transform: translateY(48px); }

.reveal-item[data-reveal="fade-down"] { transform: translateY(-48px); }
.reveal-item[data-reveal="fade-left"] { transform: translateX(-56px); }
.reveal-item[data-reveal="fade-right"] { transform: translateX(56px); }
.reveal-item[data-reveal="scale-up"] { transform: scale(0.88) translateY(24px); }
.reveal-item[data-reveal="blur-up"] { transform: translateY(32px); filter: blur(10px); }

.reveal-item.revealed {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ── Nav logo img ── */
.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

/* ── Hero Layout ── */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content { text-align: left; }

.hero-subtitle { margin: 0 0 16px; text-align: left; }

.hero-tags {
  justify-content: flex-start;
}

.hero-actions {
  justify-content: flex-start;
}

.tag-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-visual { display: flex; justify-content: center; }

.hero-image-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-mascot {
  width: 100%;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 80px rgba(255, 92, 92, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float-mascot 5s ease-in-out infinite;
}

@keyframes float-mascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-image-ring {
  position: absolute;
  inset: -20px;
  border: 1px solid rgba(255, 92, 92, 0.25);
  border-radius: 28px;
  animation: ring-pulse 3s ease infinite;
}

.hero-image-ring.ring-2 {
  inset: -40px;
  border-color: rgba(0, 212, 255, 0.15);
  animation-delay: 1.5s;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.02); }
}

.hero-image-scan {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.hero-image-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 255, 0.08), transparent);
  animation: img-scan 4s ease-in-out infinite;
}

@keyframes img-scan {
  0% { top: -40%; }
  100% { top: 100%; }
}

.hero-float-card {
  position: absolute;
  z-index: 4;
  padding: 10px 14px;
  background: rgba(18, 18, 26, 0.9);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  font-size: 0.75rem;
  animation: float-card 4s ease-in-out infinite;
}

.hero-float-card.card-1 { top: 10%; right: -10%; animation-delay: 0s; }
.hero-float-card.card-2 { bottom: 15%; left: -8%; animation-delay: 2s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-label { display: block; color: var(--text-dim); margin-bottom: 2px; }
.float-value { color: var(--accent); font-weight: 700; font-size: 0.85rem; }

.hero-scroll { text-align: center; margin-top: 48px; font-size: 0.8rem; color: var(--text-dim); animation: bounce 2s infinite; }

/* ── Capability Icons (SVG) ── */
.workflow-node {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  position: relative;
  transition: all 0.4s ease;
}

.workflow-node.active,
.workflow-step.revealed .workflow-node {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.workflow-node::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 92, 92, 0.2);
  animation: spin-slow 12s linear infinite;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.workflow-step-icon { display: none; }

.feat-icon-svg {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--accent);
  padding: 8px;
  background: rgba(255, 92, 92, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 92, 92, 0.2);
}

.feat-icon-svg svg { width: 100%; height: 100%; }

.feat-icon { display: none; }

.feat-card.revealed {
  animation: card-glow 0.6s ease forwards;
}

@keyframes card-glow {
  0% { box-shadow: none; }
  100% { box-shadow: 0 0 0 1px rgba(255, 92, 92, 0.1); }
}

/* ── Channels Layout ── */
.channels-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ── Channels Diagram ── */
.channels-visual { display: flex; justify-content: center; }

.channels-diagram {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channels-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.channels-diagram-ring {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(255, 92, 92, 0.25);
  border-radius: 50%;
  animation: spin-slow 24s linear infinite;
}

.channels-diagram-ring::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: 50%;
}

.channels-diagram-core {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(255, 92, 92, 0.25), rgba(22, 22, 31, 0.95));
  border: 2px solid rgba(255, 92, 92, 0.45);
  box-shadow: 0 0 40px rgba(255, 92, 92, 0.2);
}

.channels-core-label { font-size: 0.72rem; font-weight: 700; color: var(--text); letter-spacing: 0.04em; }
.channels-core-sub { font-size: 0.65rem; color: var(--accent); margin-top: 2px; }

.channels-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: rotate(calc(var(--i) * 72deg)) translateY(-130px) rotate(calc(var(--i) * -72deg));
  margin: -18px 0 0 -36px;
  width: 72px;
  padding: 8px 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.channels-diagram:hover .channels-node {
  border-color: rgba(255, 92, 92, 0.35);
}

.channels-grid { justify-content: flex-start; }

/* ── Skill Images ── */
.skill-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
}

.skill-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.skill-card:hover .skill-img { transform: scale(1.05); }

.skill-icon { display: none; }

/* ── Nav scroll state ── */
.nav.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.adv-icon-svg {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  color: var(--accent);
  padding: 7px;
  background: rgba(255, 92, 92, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 92, 92, 0.2);
}

.adv-icon-svg svg { width: 100%; height: 100%; }
.adv-icon { display: none; }

.model-card.revealed { border-color: rgba(255, 92, 92, 0.2); }

/* ── Landing: Models & Experts ── */
.lp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.lp-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.lp-points {
  list-style: none;
  margin-bottom: 32px;
}

.lp-points li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.lp-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}

.lp-points strong { color: var(--text); }

.lp-vendor-stack { display: flex; flex-direction: column; gap: 12px; }

.lp-vendor-card {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.lp-vendor-card:hover {
  border-color: rgba(255, 92, 92, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.lp-vendor-card.compact { padding: 16px; flex: 1; }

.lp-vendor-row { display: flex; gap: 12px; }

.lp-vendor-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.lp-vendor-name { font-size: 1rem; font-weight: 700; }

.lp-vendor-tag {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 600;
}

.lp-vendor-tag.hot {
  background: rgba(255, 92, 92, 0.15);
  color: var(--accent);
}

.lp-vendor-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  line-height: 1.5;
}

.lp-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

.lp-chip {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 0.68rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
}

.lp-chip.primary {
  border-color: rgba(74, 222, 128, 0.3);
  color: #4ade80;
  background: rgba(74, 222, 128, 0.06);
}

.lp-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.lp-scene-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.lp-scene-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.lp-scene-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--accent);
  padding: 8px;
  background: rgba(255, 92, 92, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 92, 92, 0.2);
}
.lp-scene-icon svg { width: 100%; height: 100%; }

.lp-scene-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.lp-scene-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.lp-scene-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.lp-scene-tags span {
  font-size: 0.7rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-dim);
}

.lp-usecases {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  margin-bottom: 32px;
}

.lp-usecases-title {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: var(--text);
}

.lp-usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-usecase-item {
  padding: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s ease;
}

.lp-usecase-item:hover { border-color: rgba(255, 92, 92, 0.25); }

.lp-usecase-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(255, 92, 92, 0.1);
  border-radius: 100px;
  margin-bottom: 12px;
}

.lp-usecase-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.lp-usecase-item strong { color: var(--text); font-weight: 600; }

.lp-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.1), rgba(255, 140, 66, 0.06));
  border: 1px solid rgba(255, 92, 92, 0.25);
  border-radius: 14px;
}

.lp-cta-main {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .lp-split { grid-template-columns: 1fr; }
  .lp-scene-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-usecases-grid { grid-template-columns: 1fr; }
  .lp-cta-bar { flex-direction: column; text-align: center; }
  .lp-vendor-row { flex-direction: column; }
}

@media (max-width: 640px) {
  .lp-scene-grid { grid-template-columns: 1fr; }
  .channels-diagram { width: min(100%, 300px); }
  .channels-node {
    width: 64px;
    font-size: 0.72rem;
    transform: rotate(calc(var(--i) * 72deg)) translateY(-108px) rotate(calc(var(--i) * -72deg));
    margin-left: -32px;
  }
  .channels-diagram-core { width: 84px; height: 84px; }
  .cta-section .download-group { flex-direction: row; width: 100%; }
  .cta-section .download-primary {
    width: 100%;
    justify-content: center;
    border-radius: 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
}

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 2; text-align: center; }
  .hero-visual { order: 1; }
  .hero-subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-tags, .hero-actions { justify-content: center; }
  .channels-layout { grid-template-columns: 1fr; }
  .hero-float-card.card-1 { right: 0; }
  .hero-float-card.card-2 { left: 0; }
}

/* ══════════════════════════════════════════
   Reference-aligned 7-Module Layout
   QClaw · theopenclaw · ai.theopenclaw
   ══════════════════════════════════════════ */

.ref-section-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.ref-section-heading span { color: var(--accent); }

.ref-section-sub span { color: var(--accent); }

.ref-section-sub-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.ref-section-sub-link:hover {
  text-decoration: underline;
}

.ref-section-sub {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 var(--module-sub-gap);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hide-mobile { display: inline; }

/* ── Module 2: QClaw Hero ── */
.ref-hero {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* 首页 Hero：占满首屏，仅留出模块三顶部一条 */
.ref-hero:not(.ref-hero--faq) {
  justify-content: center;
  min-height: calc(100svh - var(--hero-features-peek));
  padding: calc(var(--nav-h) + var(--hero-section-y)) 40px var(--hero-section-y);
}

.ref-hero:not(.ref-hero--faq) .ref-hero-name {
  margin-bottom: 12px;
  font-size: clamp(3.5rem, 6vw, 4.5rem);
}

.ref-hero:not(.ref-hero--faq) .ref-hero-slogan {
  margin-bottom: 40px;
  line-height: 1.6;
  font-size: clamp(17px, 2.2vw, 24px);
}

.ref-hero:not(.ref-hero--faq) .ref-hero-btns {
  margin-top: 24px;
  margin-bottom: 0;
}

.ref-hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 92, 92, 0.12) 0%, transparent 70%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: refPulseGlow 4s ease-in-out infinite;
}

@keyframes refPulseGlow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.ref-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ref-hero-logo {
  width: clamp(140px, 20vw, 200px);
  height: clamp(140px, 20vw, 200px);
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 30px rgba(255, 92, 92, 0.2));
}

.ref-hero-logo--hidden {
  display: none !important;
}

.ref-hero-name {
  font-size: clamp(3.75rem, 6.5vw, 4.75rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  line-height: 1.12;
  color: var(--text);
}

.ref-hero-slogan {
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 500;
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 56px;
  background: linear-gradient(90deg, rgba(240, 240, 245, 0.95), var(--accent), rgba(240, 240, 245, 0.95));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: refShimmer 4s linear infinite;
}

@keyframes refShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.ref-hero-btns {
  margin-bottom: 16px;
  margin-top: 12px;
  position: relative;
  z-index: 100;
  overflow: visible;
}

.ref-hero-download-tag {
  display: inline-block;
  margin-top: 40px;
  margin-bottom: 16px;
  padding: 4px 12px;
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.12);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #ff7878;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* 首页 Hero 下载区（模块二）整体尺寸 ×1.2，高度再 ×0.9 */
.ref-hero:not(.ref-hero--faq) .ref-download-pill-inner {
  min-height: 117px;
  padding-left: 117px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-pill .download-primary {
  padding: 36px 22px;
  min-height: 117px;
  font-size: 2.16rem;
  gap: 18px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-icon {
  width: 50px;
  height: 50px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-icon svg {
  width: 43px;
  height: 43px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-pill .download-toggle {
  flex: 0 0 91px;
  width: 91px;
  min-height: 117px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-pill .download-toggle svg {
  width: 36px;
  height: 36px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-gift-badge {
  top: -50px;
  right: -10px;
  padding: 10px 22px 11px;
  border-radius: 18px 18px 18px 5px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-gift-badge-label {
  font-size: 1.17rem;
}

.ref-hero:not(.ref-hero--faq) .ref-download-gift-icon {
  font-size: 1.55em;
  margin-right: 10px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-gift-badge-value {
  font-size: 1.44rem;
}

.ref-hero:not(.ref-hero--faq) .ref-download-gift-badge::after {
  right: 22px;
  bottom: -8px;
  width: 17px;
  height: 17px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-multi {
  gap: 17px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-multi-btn {
  padding: 15px 38px;
  font-size: 18px;
  gap: 12px;
  border-radius: 14px;
}

.ref-hero:not(.ref-hero--faq) .ref-download-multi-icon,
.ref-hero:not(.ref-hero--faq) .ref-download-multi-icon svg {
  width: 22px;
  height: 22px;
}

.ref-hero-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* FAQ 页 Hero：覆盖首页 72vh 居中布局，左右分栏（高度为首页 Hero 一半） */
.ref-hero.ref-hero--faq {
  min-height: 36vh;
  padding: calc(var(--nav-h) + 32px) 0 42px;
  text-align: left;
  align-items: stretch;
  justify-content: center;
}

.ref-hero.ref-hero--faq .ref-hero-faq-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.ref-hero.ref-hero--faq .ref-download-pill-inner {
  min-height: 83px;
  padding-left: 83px;
  box-shadow: 0 13px 38px rgba(255, 92, 92, 0.24);
}

.ref-hero.ref-hero--faq .ref-download-pill-inner.download-breathe {
  animation: heroBtnBreatheSm 0.7s ease-in-out infinite alternate;
}

@keyframes heroBtnBreatheSm {
  from {
    transform: scale(1);
    box-shadow: 0 13px 38px rgba(255, 92, 92, 0.24);
  }
  to {
    transform: scale(1.035);
    box-shadow: 0 19px 51px rgba(255, 92, 92, 0.38);
  }
}

.ref-hero.ref-hero--faq .download-primary {
  padding: 22px 16px;
  min-height: 83px;
  font-size: 1.52rem;
  gap: 13px;
}

.ref-hero.ref-hero--faq .ref-download-icon {
  width: 35px;
  height: 35px;
}

.ref-hero.ref-hero--faq .ref-download-icon svg {
  width: 29px;
  height: 29px;
}

.ref-hero.ref-hero--faq .download-toggle {
  flex: 0 0 77px;
  width: 77px;
  min-height: 83px;
}

.ref-hero.ref-hero--faq .download-toggle svg {
  width: 26px;
  height: 26px;
}

.ref-hero.ref-hero--faq .ref-hero-glow {
  top: 40%;
  left: 18%;
  width: 480px;
  height: 480px;
  transform: translate(-18%, -40%);
  animation: faqHeroGlow 4s ease-in-out infinite;
}

@keyframes faqHeroGlow {
  0%, 100% { opacity: 0.55; transform: translate(-18%, -40%) scale(1); }
  50% { opacity: 1; transform: translate(-18%, -40%) scale(1.05); }
}

.ref-hero.ref-hero--faq + .faq-page-section {
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.ref-download-pill {
  position: relative;
  display: inline-flex !important;
  align-items: stretch;
  overflow: visible;
  z-index: 1;
}

.ref-download-pill-inner {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  min-height: 72px;
  padding-left: 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff5c5c 0%, #ff7878 100%);
  box-shadow: 0 12px 36px rgba(255, 92, 92, 0.28);
  transform-origin: center center;
  will-change: transform;
  transition: filter 0.2s ease;
  overflow: visible;
}

.ref-download-gift-badge {
  position: absolute;
  top: -28px;
  right: -6px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 5px 12px 6px;
  pointer-events: none;
  border-radius: 10px 10px 10px 3px;
  background: linear-gradient(145deg, #ffe082 0%, #ffb300 45%, #f59e0b 100%);
  border: 1px solid rgba(255, 248, 220, 0.75);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  transform-origin: 88% 110%;
}

.ref-download-gift-badge::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: #f59e0b;
  border-right: 1px solid rgba(255, 248, 220, 0.5);
  border-bottom: 1px solid rgba(255, 248, 220, 0.5);
  transform: rotate(45deg);
  border-radius: 0 0 2px 0;
}

.ref-download-gift-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 1.35em;
  line-height: 1;
  vertical-align: -0.05em;
  filter: saturate(1.3);
}

.ref-download-gift-badge-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: rgba(80, 45, 0, 0.88);
}

.ref-download-gift-badge-value {
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #3d2200;
  white-space: nowrap;
}

.ref-hero.ref-hero--faq .ref-download-gift-badge {
  top: -45px;
  right: -6px;
  padding: 6px 14px 8px;
  border-radius: 13px 13px 13px 5px;
}

.ref-hero.ref-hero--faq .ref-download-gift-badge-label {
  font-size: 0.96rem;
  letter-spacing: 0.08em;
  color: rgba(80, 45, 0, 0.88);
}

.ref-hero.ref-hero--faq .ref-download-gift-icon {
  font-size: 1.45em;
  margin-right: 9px;
}

.ref-hero.ref-hero--faq .ref-download-gift-badge-value {
  font-size: 1.15rem;
  color: #3d2200;
}

.ref-hero.ref-hero--faq .ref-download-gift-badge::after {
  right: 14px;
  bottom: -6px;
  width: 11px;
  height: 11px;
  background: #f59e0b;
}

body.download-menu-open .ref-download-pill {
  z-index: 300;
  overflow: visible;
}

.ref-download-pill:hover .ref-download-pill-inner {
  filter: brightness(1.06);
}

.ref-download-pill-inner.download-breathe {
  animation: heroBtnBreathe 0.7s ease-in-out infinite alternate;
}

.ref-download-pill .download-primary {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 22px 12px;
  min-height: 72px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 0;
  background: transparent;
  border: none;
  white-space: nowrap;
  color: #fff;
}

.ref-download-pill .download-primary:hover {
  background: transparent;
}

.ref-download-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  filter: drop-shadow(0 0 8px rgba(255, 92, 92, 0.28));
}

.ref-download-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.ref-dl-glow {
  fill: currentColor;
  fill-opacity: 0.07;
  animation: refDlGlowPulse 1.35s ease-in-out infinite;
}

.ref-dl-tray {
  opacity: 0.92;
  animation: refDlTrayPulse 1.35s ease-in-out infinite;
}

.ref-dl-tray-base {
  opacity: 0.42;
}

.ref-dl-receive {
  fill: currentColor;
  opacity: 0;
  transform-origin: 12px 17.25px;
  animation: refDlReceive 1.35s ease-in-out infinite;
}

.ref-dl-trail {
  opacity: 0;
  animation: refDlTrail 1.35s ease-in-out infinite;
}

.ref-dl-arrow {
  transform-origin: 12px 12px;
  animation: refDlArrowDrop 1.35s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ref-dl-spark {
  opacity: 0;
  transform-origin: center;
  animation: refDlSparkDrop 1.35s ease-in-out infinite;
}

.ref-dl-spark-1 {
  animation-delay: 0.12s;
}

.ref-dl-spark-2 {
  animation-delay: 0.22s;
}

@keyframes refDlGlowPulse {
  0%, 55% { fill-opacity: 0.06; }
  68% { fill-opacity: 0.14; }
  100% { fill-opacity: 0.06; }
}

@keyframes refDlTrayPulse {
  0%, 58% { opacity: 0.88; }
  68% { opacity: 1; }
  100% { opacity: 0.88; }
}

@keyframes refDlReceive {
  0%, 58% {
    opacity: 0;
    transform: scaleX(0.55);
  }
  68% {
    opacity: 0.38;
    transform: scaleX(1);
  }
  82% {
    opacity: 0.18;
    transform: scaleX(1);
  }
  100% {
    opacity: 0;
    transform: scaleX(0.85);
  }
}

@keyframes refDlTrail {
  0%, 8% { opacity: 0; }
  22% { opacity: 0.45; }
  58% { opacity: 0.2; }
  100% { opacity: 0; }
}

@keyframes refDlSparkDrop {
  0% {
    transform: translateY(-6px);
    opacity: 0;
  }
  20% { opacity: 0.55; }
  65% {
    transform: translateY(5px);
    opacity: 0.35;
  }
  100% {
    transform: translateY(9px);
    opacity: 0;
  }
}

@keyframes refDlArrowDrop {
  0% {
    transform: translateY(-8px);
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  58% {
    transform: translateY(1px);
    opacity: 1;
  }
  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ref-dl-glow,
  .ref-dl-tray,
  .ref-dl-receive,
  .ref-dl-trail,
  .ref-dl-spark,
  .ref-dl-arrow {
    animation: none;
  }

  .ref-dl-arrow {
    transform: translateY(0);
    opacity: 1;
  }

  .ref-dl-trail,
  .ref-dl-spark {
    opacity: 0;
  }
}

.ref-download-pill .ref-download-label {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  text-align: center;
}

@keyframes refWipeFree {
  0% { -webkit-mask-position: 220% 0; mask-position: 220% 0; }
  100% { -webkit-mask-position: 0% 0; mask-position: 0% 0; }
}

.ref-download-label-free {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.125em;
  line-height: 1;
}

.ref-download-label-free::after {
  content: '免费';
  position: absolute;
  left: 0;
  top: 0;
  color: #b57edc;
  font-weight: 900;
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 26%,
    rgba(0, 0, 0, 0.3) 36%,
    rgba(0, 0, 0, 0.7) 42%,
    #000 50%,
    rgba(0, 0, 0, 0.7) 58%,
    rgba(0, 0, 0, 0.3) 64%,
    transparent 74%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    transparent 26%,
    rgba(0, 0, 0, 0.3) 36%,
    rgba(0, 0, 0, 0.7) 42%,
    #000 50%,
    rgba(0, 0, 0, 0.7) 58%,
    rgba(0, 0, 0, 0.3) 64%,
    transparent 74%,
    transparent 100%
  );
  -webkit-mask-size: 220% 100%;
  mask-size: 220% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  animation: refWipeFree 2.8s linear infinite;
}

.ref-download-pill .download-toggle {
  flex: 0 0 72px;
  width: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 72px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-left: none;
  color: #fff;
  cursor: pointer;
}

.ref-download-pill .download-toggle:hover {
  background: transparent;
}

.ref-download-pill .download-toggle svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.ref-download-pill .download-toggle.open svg {
  transform: rotate(180deg);
}

.ref-download-pill .download-menu {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  right: auto;
  min-width: 280px;
  width: max-content;
  transform: translateY(-50%) translateX(-8px);
}

.ref-download-pill .download-menu.open {
  display: block;
  transform: translateY(-50%) translateX(0);
  pointer-events: auto;
}

@keyframes heroBtnBreathe {
  from {
    transform: scale(1);
    box-shadow: 0 12px 36px rgba(255, 92, 92, 0.28);
  }
  to {
    transform: scale(1.035);
    box-shadow: 0 16px 44px rgba(255, 92, 92, 0.42);
  }
}

@keyframes downloadBreathe {
  0%, 100% { box-shadow: 0 10px 24px rgba(255, 92, 92, 0.25); }
  50% { box-shadow: 0 10px 36px rgba(255, 92, 92, 0.4); }
}

body.download-menu-open .ref-hero { z-index: 200; }

body.download-menu-open .ref-hero-btns {
  z-index: 301;
}

/* ── Module 3: QClaw features-strip ── */
.ref-features-strip {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  margin: 0 auto;
  padding: 8px 44px calc(var(--module-section-y) * 0.67);
}

.ref-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

.ref-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 20px 22px;
  background: linear-gradient(165deg, #222230 0%, #17171f 55%, #12121a 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease;
  isolation: isolate;
}

.ref-feature-card.reveal-item {
  transform: translateY(28px);
}

.ref-feature-card.reveal-item.revealed {
  transform: none;
  will-change: auto;
}

.ref-feature-card.reveal-item.revealed:hover {
  transform: translateY(-8px);
}

.ref-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.1), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 0;
}

.ref-feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  opacity: 0.65;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

.ref-feature-card:hover,
.ref-feature-card.reveal-item.revealed:hover {
  border-color: rgba(255, 120, 120, 0.55);
  background: linear-gradient(165deg, #282836 0%, #1c1c28 55%, #16161f 100%);
  transform: translateY(-8px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(255, 92, 92, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition:
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    background 0.4s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ref-feature-card:hover::before,
.ref-feature-card.revealed:hover::before {
  opacity: 1;
}

.ref-feature-card:hover::after,
.ref-feature-card.revealed:hover::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 140, 120, 0.75), transparent);
}

.ref-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #ff7878;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.14), rgba(255, 140, 66, 0.06));
  border: 1px solid rgba(255, 92, 92, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
  position: relative;
  z-index: 1;
}

.ref-feature-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.ref-feature-card:hover .ref-feature-icon {
  transform: scale(1.08) rotate(-3deg);
  color: #ff9a9a;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.24), rgba(255, 140, 66, 0.1));
  box-shadow: 0 4px 20px rgba(255, 92, 92, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ref-feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
  min-height: 40px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.96);
  position: relative;
  z-index: 1;
}

.ref-feature-card p {
  flex: 1;
  margin: 0;
  min-height: 38px;
  font-size: 12px;
  color: rgba(210, 210, 225, 0.88);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.ref-feature-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.12);
  border-radius: 6px;
  font-size: 11px;
  color: #ff7878;
  font-weight: 500;
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

/* ── Module 3b: IM channel strip（对齐 theopenclaw.cn hero-channel-*） ── */
.ref-channel-strip {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  margin: 0 auto;
  padding: var(--module-section-y) 44px calc(var(--module-section-y) * 0.67);
}

.ref-channel-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ref-channel-strip-text {
  flex: 0 0 auto;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #fff;
  white-space: nowrap;
}

.ref-channel-marquee {
  flex: 0 1 auto;
  width: 100%;
  max-width: 820px;
  height: 118px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 30px, #000 calc(100% - 30px), transparent 100%);
}

.ref-channel-marquee-inner {
  display: flex;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.ref-channel-marquee-track {
  display: flex;
  gap: 40px;
  padding-right: 40px;
}

.ref-channel-card {
  flex: 0 0 auto;
  width: 128px;
  height: 118px;
  border-radius: 12px;
  background: #191a23;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ref-channel-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.ref-channel-card--brand img {
  border-radius: 10px;
}

.ref-channel-card--brand p {
  font-size: 12px;
  line-height: 14px;
}

.ref-channel-card p {
  margin: 0;
  font-size: 14px;
  line-height: 16px;
  color: #fff;
  white-space: nowrap;
}

/* ── Module 4: theopenclaw model-grid ── */
.ref-models {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--module-section-y) 40px;
}

.ref-model-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.ref-model-card {
  background: var(--bg-card);
  border: 1px solid rgba(88, 97, 117, 0.38);
  border-radius: 12px;
  padding: 32px 16px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: transform 0.2s ease;
}

.ref-model-card:hover { transform: translateY(-3px); }

.ref-model-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ref-model-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Kimi 官方 logo 为白字，深色底上单独提亮 */
.ref-model-logo--kimi {
  background: rgba(23, 131, 255, 0.12);
  border-color: rgba(23, 131, 255, 0.28);
}

.ref-model-card p {
  margin: 0;
  font-size: 16px;
  color: #d9deea;
  font-weight: 500;
}

/* ── Module 5: Product demo showcase ── */
.ref-showcase-section {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  margin: 0 auto;
  padding: var(--module-section-y) 44px calc(var(--module-section-y) * 0.67);
}

.ref-showcase-wrap {
  width: 100%;
}

.ref-showcase-header .ref-section-sub {
  margin-bottom: calc(var(--module-sub-gap) * 0.83);
}

.ref-showcase-inner {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.ref-showcase-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #151925;
}

.ref-showcase-video__player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border: none;
  outline: none;
  border-radius: 16px;
  -webkit-clip-path: inset(0 round 16px);
  clip-path: inset(0 round 16px);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  background: #151925;
}

.ref-showcase-swiper {
  position: relative;
  width: 100%;
  aspect-ratio: 1017 / 583;
  border-radius: 16px;
  overflow: hidden;
  background: #151925;
}

.ref-showcase-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.ref-showcase-track.no-transition {
  transition: none !important;
}

.ref-showcase-slide {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #151925;
}

.ref-showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ref-showcase-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #151925 0%, #1a2030 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
}

.ref-showcase-placeholder small {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 400;
}

.ref-showcase-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
}

.ref-showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, border-radius 0.25s ease, background 0.25s ease;
}

.ref-showcase-dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--accent);
}

/* ── Module 6: Real scenarios (bento grid) ── */
.ref-scenes {
  position: relative;
  z-index: 2;
  max-width: 1250px;
  margin: 0 auto;
  padding: var(--module-section-y) 44px;
}

.ref-scenes-header,
.ref-demos-header {
  text-align: center;
  margin-bottom: var(--module-header-gap);
}

.ref-scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ref-scene-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(24, 24, 34, 0.98) 0%, rgba(14, 14, 22, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.32);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ref-scene-card:hover {
  border-color: rgba(255, 92, 92, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 92, 92, 0.06);
  transform: translateY(-4px);
}

.ref-scene-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ref-scene-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ff7878;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.14), rgba(255, 140, 66, 0.06));
  border: 1px solid rgba(255, 92, 92, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.ref-scene-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ref-scene-card:nth-child(2) .ref-scene-icon {
  color: #5cc8ff;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.14), rgba(0, 140, 255, 0.06));
  border-color: rgba(0, 180, 255, 0.2);
}

.ref-scene-card:nth-child(3) .ref-scene-icon {
  color: #ffb07a;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.14), rgba(255, 100, 50, 0.06));
  border-color: rgba(255, 140, 66, 0.2);
}

.ref-scene-card:nth-child(4) .ref-scene-icon {
  color: #ff6ba0;
  background: linear-gradient(135deg, rgba(255, 45, 117, 0.14), rgba(255, 80, 120, 0.06));
  border-color: rgba(255, 45, 117, 0.2);
}

.ref-scene-card:nth-child(5) .ref-scene-icon {
  color: #b48cff;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.14), rgba(160, 80, 255, 0.06));
  border-color: rgba(123, 47, 255, 0.2);
}

.ref-scene-card:nth-child(6) .ref-scene-icon {
  color: #7dffb0;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.14), rgba(50, 200, 100, 0.06));
  border-color: rgba(74, 222, 128, 0.2);
}

.ref-scene-card:hover .ref-scene-icon {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ref-scene-card:nth-child(1):hover .ref-scene-icon {
  color: #ff9a9a;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.24), rgba(255, 140, 66, 0.1));
  box-shadow: 0 4px 16px rgba(255, 92, 92, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ref-scene-card:nth-child(2):hover .ref-scene-icon {
  color: #7dd8ff;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.24), rgba(0, 140, 255, 0.1));
  box-shadow: 0 4px 16px rgba(0, 180, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ref-scene-card:nth-child(3):hover .ref-scene-icon {
  color: #ffc49a;
  background: linear-gradient(135deg, rgba(255, 140, 66, 0.24), rgba(255, 100, 50, 0.1));
  box-shadow: 0 4px 16px rgba(255, 140, 66, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ref-scene-card:nth-child(4):hover .ref-scene-icon {
  color: #ff8fb8;
  background: linear-gradient(135deg, rgba(255, 45, 117, 0.24), rgba(255, 80, 120, 0.1));
  box-shadow: 0 4px 16px rgba(255, 45, 117, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ref-scene-card:nth-child(5):hover .ref-scene-icon {
  color: #c9a8ff;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.24), rgba(160, 80, 255, 0.1));
  box-shadow: 0 4px 16px rgba(123, 47, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ref-scene-card:nth-child(6):hover .ref-scene-icon {
  color: #9dffc4;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.24), rgba(50, 200, 100, 0.1));
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ref-scene-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 92, 92, 0.12);
  border: 1px solid rgba(255, 92, 92, 0.2);
  color: #ff8a8a;
}

.ref-scene-card:nth-child(2) .ref-scene-tag { background: rgba(0, 180, 255, 0.1); border-color: rgba(0, 180, 255, 0.22); color: #5cc8ff; }
.ref-scene-card:nth-child(3) .ref-scene-tag { background: rgba(255, 140, 66, 0.1); border-color: rgba(255, 140, 66, 0.22); color: #ffb07a; }
.ref-scene-card:nth-child(4) .ref-scene-tag { background: rgba(255, 45, 117, 0.1); border-color: rgba(255, 45, 117, 0.22); color: #ff6ba0; }
.ref-scene-card:nth-child(5) .ref-scene-tag { background: rgba(123, 47, 255, 0.1); border-color: rgba(123, 47, 255, 0.22); color: #b48cff; }
.ref-scene-card:nth-child(6) .ref-scene-tag { background: rgba(74, 222, 128, 0.1); border-color: rgba(74, 222, 128, 0.22); color: #7dffb0; }

.ref-scene-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.ref-scene-card p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.ref-scene-prompt {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(255, 92, 92, 0.5);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(240, 240, 245, 0.72);
  font-style: normal;
}

/* ── Legacy demos (kept for animation hooks) ── */
.ref-demos {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 40px;
}

.ref-demos-header {
  text-align: center;
  margin-bottom: 56px;
}

.ref-demos-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: "SF Mono", "Fira Code", Consolas, "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ref-demos-line {
  width: 30px;
  height: 1px;
  background: rgba(255, 92, 92, 0.3);
}

.ref-demos-title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 14px;
  color: var(--text);
}

.ref-demos-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: none;
  margin: 0 auto;
  line-height: 1.6;
  white-space: nowrap;
}

.ref-demos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ref-demo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.5s, box-shadow 0.5s;
}

.ref-demo-card:hover {
  border-color: rgba(255, 92, 92, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 60px rgba(255, 92, 92, 0.05);
}

.ref-demo-card-image {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.ref-demo-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ref-scene-remote { background: linear-gradient(135deg, #0a1628, #0a2818); }
.ref-scene-files { background: linear-gradient(135deg, #1a0a2e, #2e0a1a); }
.ref-scene-weather { background: linear-gradient(135deg, #0a1628, #1a0a2e); }
.ref-scene-claw { background: linear-gradient(135deg, #1e0a0a, #2e1a0a); }
.ref-scene-github { background: linear-gradient(135deg, #0a0f1e, #1e0a28); }
.ref-scene-paper { background: linear-gradient(135deg, #0a1e1e, #0a0f28); }

.ref-hex-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ff5c5c' fill-opacity='0.03'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.ref-demo-mockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.ref-chat-bubble {
  max-width: 88%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}

.ref-chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.12), rgba(255, 120, 100, 0.08));
  border: 1px solid rgba(255, 92, 92, 0.15);
  color: var(--text);
}

.ref-chat-bubble.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.ref-typing-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background: var(--accent);
  animation: refBlink 1s infinite;
  vertical-align: middle;
  margin-left: 2px;
}

@keyframes refBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.ref-demo-card-content {
  padding: 24px 28px;
}

.ref-demo-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}

.ref-demo-card:nth-child(1) .ref-demo-tag { background: rgba(255, 92, 92, 0.1); color: var(--accent); }
.ref-demo-card:nth-child(2) .ref-demo-tag { background: rgba(0, 180, 255, 0.1); color: #00b4ff; }
.ref-demo-card:nth-child(3) .ref-demo-tag { background: rgba(255, 45, 117, 0.1); color: #ff2d75; }
.ref-demo-card:nth-child(4) .ref-demo-tag { background: rgba(123, 47, 255, 0.1); color: #7b2fff; }
.ref-demo-card:nth-child(5) .ref-demo-tag { background: rgba(255, 165, 0, 0.1); color: orange; }
.ref-demo-card:nth-child(6) .ref-demo-tag { background: rgba(255, 80, 50, 0.1); color: #ff6b5e; }

.ref-demo-card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text);
}

.ref-demo-card-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Demos 区块滚动入场动效 */
.ref-demos-animate .ref-demos-label,
.ref-demos-animate .ref-demos-title,
.ref-demos-animate .ref-demos-desc {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.ref-demos-animate .ref-demos-line {
  transform: scaleX(0);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ref-demos-animate .ref-demos-label .ref-demos-line:first-child { transform-origin: right center; }
.ref-demos-animate .ref-demos-label .ref-demos-line:last-child { transform-origin: left center; }

.ref-demos-animate .ref-scene-card {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.ref-demos-animate .ref-demo-card {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

.ref-demos-animate .ref-demo-card:nth-child(odd) {
  transform: translateY(28px) translateX(-14px) scale(0.98);
}

.ref-demos-animate .ref-demo-card:nth-child(even) {
  transform: translateY(28px) translateX(14px) scale(0.98);
}

.ref-demos-animate.inview .ref-demos-label,
.ref-demos-animate.inview .ref-demos-title,
.ref-demos-animate.inview .ref-demos-desc {
  opacity: 1;
  transform: none;
}

.ref-demos-animate.inview .ref-demos-label { transition-delay: 0ms; }
.ref-demos-animate.inview .ref-demos-title { transition-delay: 90ms; }
.ref-demos-animate.inview .ref-demos-desc { transition-delay: 180ms; }

.ref-demos-animate.inview .ref-demos-line {
  transform: scaleX(1);
  transition-delay: 60ms;
}

.ref-demos-animate.inview .ref-scene-card {
  opacity: 1;
  transform: translateY(0);
}

.ref-demos-animate.inview .ref-scene-card:nth-child(1) { transition-delay: 280ms; }
.ref-demos-animate.inview .ref-scene-card:nth-child(2) { transition-delay: 360ms; }
.ref-demos-animate.inview .ref-scene-card:nth-child(3) { transition-delay: 440ms; }
.ref-demos-animate.inview .ref-scene-card:nth-child(4) { transition-delay: 520ms; }
.ref-demos-animate.inview .ref-scene-card:nth-child(5) { transition-delay: 600ms; }
.ref-demos-animate.inview .ref-scene-card:nth-child(6) { transition-delay: 680ms; }

.ref-demos-animate.inview .ref-demo-card {
  opacity: 1;
  transform: none;
}

.ref-demos-animate.inview .ref-demo-card:nth-child(1) { transition-delay: 280ms; }
.ref-demos-animate.inview .ref-demo-card:nth-child(2) { transition-delay: 380ms; }
.ref-demos-animate.inview .ref-demo-card:nth-child(3) { transition-delay: 480ms; }
.ref-demos-animate.inview .ref-demo-card:nth-child(4) { transition-delay: 580ms; }
.ref-demos-animate.inview .ref-demo-card:nth-child(5) { transition-delay: 680ms; }
.ref-demos-animate.inview .ref-demo-card:nth-child(6) { transition-delay: 780ms; }

@media (prefers-reduced-motion: reduce) {
  .ref-demos-animate .ref-demos-label,
  .ref-demos-animate .ref-demos-title,
  .ref-demos-animate .ref-demos-desc,
  .ref-demos-animate .ref-scene-card,
  .ref-demos-animate .ref-demo-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ref-demos-animate .ref-demos-line { transform: none; transition: none; }
}

@media (max-width: 960px) {
  .ref-demos-desc {
    white-space: normal;
    max-width: 580px;
  }

  .ref-demos-animate .ref-demo-card:nth-child(odd),
  .ref-demos-animate .ref-demo-card:nth-child(even) {
    transform: translateY(24px) scale(0.98);
  }

  .ref-demos-animate.inview .ref-demo-card:nth-child(1) { transition-delay: 240ms; }
  .ref-demos-animate.inview .ref-demo-card:nth-child(2) { transition-delay: 320ms; }
  .ref-demos-animate.inview .ref-demo-card:nth-child(3) { transition-delay: 400ms; }
  .ref-demos-animate.inview .ref-demo-card:nth-child(4) { transition-delay: 480ms; }
  .ref-demos-animate.inview .ref-demo-card:nth-child(5) { transition-delay: 560ms; }
  .ref-demos-animate.inview .ref-demo-card:nth-child(6) { transition-delay: 640ms; }
}

/* ── Module 7: bottom download CTA ── */
.ref-download-section {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: calc(var(--module-section-y) * 0.78) 44px 80px;
}

.ref-download-section-header .ref-section-sub {
  margin-bottom: 18px;
}

.ref-download-cta-card {
  background: #191a23;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 76px 64px 60px;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
}

.ref-download-cta-card[data-download-card],
.ref-hero.ref-hero--faq[data-download-card] {
  cursor: pointer;
}

.ref-download-cta-logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
  margin: 0 auto 28px;
  display: block;
  filter: drop-shadow(0 0 32px rgba(255, 92, 92, 0.28));
}

.ref-download-cta-title {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.ref-download-cta-title span {
  color: var(--accent);
}

.ref-download-cta-desc {
  margin: 0 0 40px;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.ref-download-cta-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  margin-bottom: 8px;
}

body.download-menu-open .ref-download-cta-actions {
  z-index: 301;
}

.ref-download-pill--solo .ref-download-pill-inner {
  padding-left: 0;
  min-width: min(100%, 540px);
}

.ref-download-pill--solo .download-primary {
  padding: 30px 56px;
  min-width: min(100%, 540px);
  font-size: 1.35rem;
  min-height: 88px;
}

.ref-download-footnote {
  text-align: center;
  margin: 36px 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.ref-download-official-tag {
  display: inline-block;
  margin-top: 20px;
  padding: 4px 12px;
  background: rgba(255, 92, 92, 0.08);
  border: 1px solid rgba(255, 92, 92, 0.12);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #ff7878;
  letter-spacing: 0.02em;
}

/* ── Multi download fallback (QClaw-style) ── */
.ref-download-multi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.ref-download-multi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  color: #0a0a0f;
  background: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ref-download-multi-btn--mac,
.ref-download-multi-btn--mac-intel {
  background: #fff;
}

.ref-download-multi-btn--mac:hover,
.ref-download-multi-btn--mac-intel:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.ref-download-multi-btn--win {
  background: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.ref-download-multi-btn--win:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 92, 92, 0.15);
}

.ref-download-multi-btn:active {
  transform: translateY(0);
}

.ref-download-multi-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #0a0a0f;
}

.ref-download-multi-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.ref-download-multi-label {
  line-height: 1;
}

.ref-download-multi--hero {
  max-width: 100%;
}

.ref-download-multi--faq {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: auto;
  max-width: none;
}

.ref-download-multi--faq .ref-download-multi-btn {
  width: auto;
  padding: 19px 35px;
  font-size: 22px;
}

.ref-download-multi--faq .ref-download-multi-icon,
.ref-download-multi--faq .ref-download-multi-icon svg {
  width: 26px;
  height: 26px;
}

.ref-download-multi--bottom {
  max-width: 720px;
  margin: 0 auto;
}

/* ── Floating download card ── */
@keyframes floatDlDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.float-dl {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  width: 260px;
  max-width: calc(100vw - 40px);
  z-index: 120;
  opacity: 1;
  visibility: visible;
  transform: scale(0.9);
  transform-origin: bottom right;
  pointer-events: auto;
}

.float-dl.float-dl--show .float-dl-card {
  animation: floatDlDrift 5s ease-in-out infinite;
}

.float-dl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  border-radius: 20px;
  background: #1a1a22;
  cursor: pointer;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* 覆盖 .download-group 的 inline-flex，避免卡片左右分栏 */
.float-dl-card.download-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
}

.float-dl-head {
  flex: 0 0 auto;
  min-width: 0;
  padding: 22px 18px 20px;
  text-align: center;
  background: linear-gradient(180deg, #ff3b5c 0%, #ff6b81 100%);
}

.float-dl-head-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  letter-spacing: 0.04em;
}

.float-dl-gift-icon {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  filter: saturate(1.3);
}

.float-dl-head-offer {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}

.float-dl-head-offer strong {
  display: inline-block;
  margin: 0 2px;
  font-size: 2.125rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  vertical-align: -2px;
}

.float-dl-body {
  padding: 14px 16px 16px;
  background: #14141c;
  flex: 0 0 auto;
  min-width: 0;
}

.float-dl-proof {
  margin-bottom: 12px;
}

.float-dl-proof-scroll {
  width: 100%;
  height: 24px;
  overflow: hidden;
  text-align: center;
}

.float-dl-proof-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.float-dl-proof-list li {
  height: 24px;
  line-height: 24px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.float-dl-group {
  position: relative;
  width: 100%;
}

.float-dl-card .float-dl-menu {
  position: absolute;
  top: auto;
  bottom: calc(100% + 8px);
  left: 8px;
  right: 8px;
  width: auto;
  min-width: 0;
  transform: translateY(6px);
}

.float-dl-card .float-dl-menu.open {
  transform: translateY(0);
}

.float-dl-btn-wrap {
  width: 100%;
  max-width: 100%;
  border-radius: 999px;
  transform-origin: center center;
  will-change: transform;
  box-sizing: border-box;
}

.float-dl-btn-wrap.download-breathe {
  animation: heroBtnBreathe 0.7s ease-in-out infinite alternate;
}

.float-dl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff416c 0%, #8e44ad 100%);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  pointer-events: none;
  box-shadow: none;
  transition: filter 0.25s ease;
}

.float-dl-btn-wrap:hover .float-dl-btn {
  filter: brightness(1.06);
}

.float-dl-menu {
  top: auto;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 0;
  transform: translateY(6px);
}

.float-dl-menu.open {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .float-dl.float-dl--show .float-dl-card {
    animation: none;
  }
}

@media (max-width: 640px) {
  .float-dl {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    width: min(240px, calc(100vw - 24px));
  }

  .float-dl-head {
    padding: 18px 14px 16px;
  }

  .float-dl-head-offer strong {
    font-size: 1.875rem;
  }

  .float-dl-body {
    padding: 12px 14px 14px;
  }

  .float-dl-proof-scroll {
    height: 22px;
  }

  .float-dl-proof-list li {
    height: 22px;
    line-height: 22px;
    font-size: 0.6875rem;
  }

  .float-dl-btn {
    min-height: 40px;
    font-size: 0.875rem;
  }
}

/* ── ICP Footer (gzhskm / get_icp) ── */
.wzck_footer {
  position: relative;
  z-index: 2;
  width: 100%;
  background: rgba(10, 10, 15, 0.92);
  border-top: 1px solid var(--border);
}

.wzck_footer_bot {
  width: 100%;
  padding: 10px 24px 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  background: transparent;
}

.wzck_footer_bot-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  line-height: 1.5;
}

.wzck_footer_bot a {
  color: var(--text-dim);
  text-decoration: none;
}

.wzck_footer_bot a:hover {
  color: var(--text-muted);
}

.wzck-footer-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.wzck-footer-icon-icp {
  margin: 0 10px;
}

/* ── Reference modules responsive ── */
@media (max-width: 1100px) {
  .ref-features-grid { grid-template-columns: repeat(3, 1fr); }
  .ref-model-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 960px) {
  .ref-features-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-model-grid { grid-template-columns: repeat(3, 1fr); }
  .ref-demos-grid { grid-template-columns: 1fr; }
  .ref-scenes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ref-showcase-section { padding-left: 24px; padding-right: 24px; }
  .ref-scenes { padding-left: 24px; padding-right: 24px; }
  .ref-channel-strip { padding: 27px 24px 19px; }
  .ref-channel-strip-inner { gap: 20px; }
  .ref-channel-strip-text { font-size: 1rem; }
  .ref-channel-marquee { max-width: min(820px, 100%); height: 108px; }
  .ref-channel-card { width: 112px; height: 108px; }
  .ref-channel-marquee-track { gap: 14px; padding-right: 14px; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hide-mobile { display: none; }
  .ref-hero:not(.ref-hero--faq) {
    padding: calc(var(--nav-h) + var(--hero-section-y)) 20px var(--hero-section-y);
    min-height: auto;
  }
  .ref-features-strip,
  .ref-channel-strip,
  .ref-models,
  .ref-demos,
  .ref-scenes,
  .ref-showcase-section,
  .ref-features-strip,
  .ref-channel-strip,
  .ref-models,
  .ref-demos {
    padding-left: 20px;
    padding-right: 20px;
  }
  .ref-download-section { padding: 27px 20px 72px; }
  .ref-download-cta-card { padding: 48px 32px 40px; border-radius: 24px; }
  .ref-download-cta-logo { width: 96px; height: 96px; margin-bottom: 22px; }
  .ref-download-cta-desc { font-size: 1.1rem; margin-bottom: 32px; }
  .ref-scenes-grid { grid-template-columns: 1fr; }
  .ref-channel-strip-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
  }
  .ref-channel-strip-text {
    text-align: left;
    font-size: 0.9375rem;
  }
  .ref-channel-marquee {
    flex: 1 1 100%;
    max-width: none;
    height: 96px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ref-channel-card { width: 100px; height: 96px; }
  .ref-channel-marquee-track { gap: 10px; padding-right: 10px; }
  .ref-download-multi {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 4px;
  }

  .ref-download-multi-btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 15px;
    white-space: normal;
  }

  .wzck_footer_bot { font-size: 11px; padding: 8px 16px 6px; }
  .ref-features-grid { grid-template-columns: 1fr; }
  .ref-model-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ref-download-pill--solo .ref-download-pill-inner {
    padding-left: 0;
    width: 100%;
    min-width: 0;
  }
  .ref-download-pill--solo .download-primary {
    width: 100%;
    min-width: 0;
    padding: 20px 24px;
  }
  .ref-download-pill {
    width: 100%;
    max-width: 420px;
  }

  .ref-download-pill-inner {
    width: 100%;
    padding-left: 56px;
    min-height: 64px;
  }

  .ref-download-pill .download-primary {
    padding: 20px 8px;
    min-height: 64px;
    font-size: 1.05rem;
  }

  .ref-download-pill .download-toggle {
    flex: 0 0 56px;
    width: 56px;
    min-height: 64px;
  }

  .ref-download-pill .download-menu {
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    min-width: 0;
    width: 100%;
    transform: translateY(-6px);
  }

  .ref-download-pill .download-menu.open {
    transform: translateY(0);
  }

  .ref-showcase-section { padding: 27px 12px 19px; }
  .ref-channel-strip { padding: 27px 20px 19px; }
  .ref-scene-card { padding: 22px 20px 20px; }
  .ref-scene-card h3 { font-size: 1.05rem; }

  .ref-hero:not(.ref-hero--faq) .ref-download-pill-inner {
    min-height: 86px;
    padding-left: 77px;
  }

  .ref-hero:not(.ref-hero--faq) .ref-download-pill .download-primary {
    padding: 23px 17px;
    min-height: 86px;
    font-size: 1.5rem;
  }

  .ref-hero:not(.ref-hero--faq) .ref-download-pill .download-toggle {
    flex: 0 0 69px;
    width: 69px;
    min-height: 86px;
  }

  .ref-demo-card-content { padding: 20px 22px; }
  .ref-demo-card-image { height: 220px; }
}
