/* =========================================================
   牛人智能 · 官网宣传页样式
   目录：
   1. 变量与基础
   2. 通用组件（容器 / 按钮 / 标签 / 列表 / 标题）
   3. 顶部导航
   4. Hero
   5. 数据条
   6. 核心功能
   7. 创作流程
   8. 发布平台
   9. 多端支持
   9b. 企业一站式方案
   9c. 扫码直达
   10. 价格
   11. 下载（深色区）
   12. FAQ
   13. 底部 CTA / 页脚 / 回顶 / 提示条
   14. 入场动画
   15. 响应式
   ========================================================= */

/* ---------- 1. 变量与基础 ---------- */
:root {
  /* 品牌色（与 App 内主题保持一致） */
  --brand: #FF6A00;
  --brand-light: #FF8A00;
  --brand-deep: #FF5F00;
  --brand-bright: #FFB03A;
  --brand-bg: #FFF3E8;
  --brand-bg2: #FFF9F2;
  --brand-border: #FFE3B8;

  /* 文本与背景 */
  --ink: #1F2329;
  --sub: #6E7480;
  --muted: #9AA0AC;
  --bg: #F5F6FA;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;
  --line: #EEF0F4;
  --line-2: #E3E6EB;

  /* 状态色 */
  --success: #00A870;
  --success-bg: #E8F8F0;
  --info: #3370FF;
  --info-bg: #E8F1FF;
  --purple: #7B61FF;
  --purple-bg: #F3EEFF;

  /* 渐变与阴影 */
  --grad: linear-gradient(135deg, #FF8A00 0%, #FF5F00 100%);
  --grad-soft: linear-gradient(160deg, #FFF7EC 0%, #FFFFFF 62%);
  --shadow-xs: 0 1px 3px rgba(31, 35, 41, .06);
  --shadow-sm: 0 4px 14px rgba(31, 35, 41, .06);
  --shadow: 0 12px 32px rgba(31, 35, 41, .09);
  --shadow-brand: 0 14px 34px rgba(255, 106, 0, .26);

  /* 主题化令牌（深色主题在 :root 之后覆盖） */
  --nav-bg: rgba(255, 255, 255, .82);
  --card-trans: rgba(255, 255, 255, .94);
  --card-border: rgba(255, 255, 255, .9);
  --text-2: #4A5058;
  --fill: #F2F3F5;
  --note-text: #6B5637;
  --hero-bg:
    radial-gradient(900px 520px at 12% -6%, #FFE9D6 0%, rgba(255, 233, 214, 0) 62%),
    radial-gradient(760px 520px at 92% 4%, #E9E5FF 0%, rgba(233, 229, 255, 0) 58%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  --hero-glow: radial-gradient(closest-side, rgba(255, 138, 0, .22), rgba(255, 138, 0, 0));
  --shot-shadow: drop-shadow(0 24px 44px rgba(31, 35, 41, .18));
  --shot-shadow-strong: drop-shadow(0 34px 56px rgba(31, 35, 41, .26));

  /* 尺寸 */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1180px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 1b. 深色主题（配色对齐 App 端 theme.scss） ---------- */
html[data-theme="dark"] {
  color-scheme: dark;

  /* 文本与背景 */
  --ink: #E8E8EC;
  --sub: #9AA0AC;
  --muted: #6F6F7A;
  --bg: #0F0F13;
  --bg-alt: #15151B;
  --card: #1A1A21;
  --line: #26262F;
  --line-2: #33333D;

  /* 品牌橙 */
  --brand: #FF8A3D;
  --brand-light: #FFA159;
  --brand-deep: #FF6A00;
  --brand-bright: #FFB03A;
  --brand-bg: #3A2515;
  --brand-bg2: #332619;
  --brand-border: #4A321E;

  /* 状态色 */
  --success: #34C48E;
  --success-bg: #123229;
  --info: #5C8DFF;
  --info-bg: #17243D;
  --purple: #9A87FF;
  --purple-bg: #252039;

  /* 阴影 */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, .5);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .45);
  --shadow: 0 12px 32px rgba(0, 0, 0, .5);
  --shadow-brand: 0 14px 34px rgba(255, 106, 0, .22);

  /* 主题化令牌 */
  --nav-bg: rgba(26, 26, 33, .82);
  --card-trans: rgba(30, 30, 38, .92);
  --card-border: rgba(255, 255, 255, .07);
  --text-2: #B9BEC9;
  --fill: #2B2B34;
  --note-text: #C9A87C;
  --hero-bg:
    radial-gradient(900px 520px at 12% -6%, rgba(255, 138, 0, .16) 0%, rgba(255, 138, 0, 0) 62%),
    radial-gradient(760px 520px at 92% 4%, rgba(123, 97, 255, .16) 0%, rgba(123, 97, 255, 0) 58%),
    linear-gradient(180deg, #15151B 0%, var(--bg) 100%);
  --hero-glow: radial-gradient(closest-side, rgba(255, 138, 0, .16), rgba(255, 138, 0, 0));
  --shot-shadow: drop-shadow(0 24px 44px rgba(0, 0, 0, .5));
  --shot-shadow-strong: drop-shadow(0 34px 56px rgba(0, 0, 0, .6));
  --grad-soft: linear-gradient(160deg, #2A2118 0%, #1A1A21 62%);
}

/* 深色下深色区块需要一条分隔线，否则与页面背景融为一体 */
html[data-theme="dark"] .section--dark { border-top: 1px solid var(--line); }
html[data-theme="dark"] .footer { border-top: 1px solid var(--line); }

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .28s ease, color .28s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.28; letter-spacing: -.4px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 700; }
button { font-family: inherit; }

::selection { background: rgba(255, 106, 0, .18); }

/* ---------- 2. 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 880px; }

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: #14161C; color: #fff; }

.section__head {
  max-width: 880px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__head h2 {
  font-size: 38px;
  margin-bottom: 14px;
}
.section__head p {
  color: var(--sub);
  font-size: 17px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--brand-bg);
  border: 1px solid var(--brand-border);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
}
.eyebrow--light {
  background: rgba(255, 106, 0, .16);
  border-color: rgba(255, 138, 0, .34);
  color: #FFB03A;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn svg { flex: none; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(255, 106, 0, .34); }
.btn--ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: var(--shadow-xs);
}
.btn--ghost:hover { border-color: var(--brand-border); color: var(--brand-deep); transform: translateY(-2px); }
.btn--white {
  background: #fff;
  color: #1F2329;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}
.btn--white:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(0); }

/* 标签类 */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--brand-border);
  box-shadow: var(--shadow-xs);
  color: var(--brand-deep);
  font-size: 13.5px;
  font-weight: 600;
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(0, 168, 112, .14);
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--line);
  color: var(--sub);
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--brand { background: var(--brand-bg); color: var(--brand-deep); }
.badge--muted { background: var(--fill); color: var(--muted); }

/* 勾选列表 */
.ticks { display: grid; gap: 10px; margin-top: 18px; }
.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--text-2);
  font-size: 15.5px;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6A00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}
.ticks--sm li { font-size: 14.5px; }

/* ---------- 3. 顶部导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(31, 35, 41, .05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 6px 14px rgba(255, 106, 0, .3)); }
.brand__text { font-size: 19px; font-weight: 800; letter-spacing: -.5px; }

.nav__menu { display: flex; align-items: center; gap: 26px; }
.nav__menu > a {
  font-size: 15px;
  color: var(--text-2);
  font-weight: 500;
  transition: color .2s ease;
}
.nav__menu > a:hover { color: var(--brand); }
.nav__cta { color: #fff !important; }
.nav__cta:hover { color: #fff !important; }
.nav__web::after {
  content: "↗";
  margin-left: 4px;
  font-size: 12px;
  opacity: .75;
}

/* 主题切换按钮 + 汉堡按钮容器 */
.nav__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--card);
  color: var(--text-2);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand-border); transform: translateY(-1px); }
.theme-toggle__ico { grid-area: 1 / 1; transition: opacity .22s ease, transform .32s ease; }
.theme-toggle__ico--moon { opacity: 0; transform: rotate(-35deg) scale(.7); }
html[data-theme="dark"] .theme-toggle__ico--sun { opacity: 0; transform: rotate(35deg) scale(.7); }
html[data-theme="dark"] .theme-toggle__ico--moon { opacity: 1; transform: none; }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 18px; height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s ease, opacity .22s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 96px;
  background: var(--hero-bg);
}
.hero__glow {
  position: absolute;
  left: 50%; top: -160px;
  width: 900px; height: 420px;
  transform: translateX(-50%);
  background: var(--hero-glow);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 64px;
}
.hero h1 {
  margin: 22px 0 20px;
  font-size: 58px;
  line-height: 1.14;
}
.hero__desc {
  max-width: 560px;
  color: var(--sub);
  font-size: 17px;
}
.hero__desc strong { color: var(--ink); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 22px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--muted);
  font-size: 14px;
}
.hero__meta li { position: relative; padding-left: 16px; }
.hero__meta li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--brand-bright);
}

.hero__visual { position: relative; display: flex; justify-content: center; }

/* 手机图由 SVG 自带机身与刘海，这里只负责尺寸与投影 */
.phone {
  position: relative;
  width: 330px;
  filter: var(--shot-shadow-strong);
}
.phone__frame { display: block; }
.phone__frame img { width: 100%; height: auto; }

/* 浮动状态卡片 */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--card-trans);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  font-size: 13px;
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 13.5px; }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 10px;
  flex: none;
}
.float-card__icon--brand { background: var(--brand-bg); color: var(--brand); }
.float-card__icon--success { background: var(--success-bg); color: var(--success); }
.float-card__icon--purple { background: var(--purple-bg); color: var(--purple); }
.float-card .bar {
  display: block;
  width: 130px; height: 4px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.float-card .bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
}
.float-card--a { left: -22px; top: 84px; }
.float-card--b { right: -30px; top: 232px; animation-delay: .8s; }
.float-card--c { left: -10px; bottom: 92px; animation-delay: 1.6s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 5. 数据条 ---------- */
.stats { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { color: var(--sub); font-size: 14.5px; }

/* ---------- 6. 核心功能 ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 64px;
  padding: 42px 0;
}
.feature + .feature { border-top: 1px dashed var(--line-2); }
.feature--reverse .feature__text { order: 2; }
.feature--reverse .feature__media { order: 1; }

.feature__text h3 { font-size: 28px; margin-bottom: 14px; }
.feature__text p { color: var(--sub); font-size: 16px; }
.feature__text p b { color: var(--ink); }

.feature__media { display: flex; justify-content: center; }
.feature__media img {
  width: 300px;
  filter: var(--shot-shadow);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 56px;
}
.mini-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.mini-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-border);
  box-shadow: var(--shadow);
}
.mini-card__media {
  margin-bottom: 20px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  aspect-ratio: 360 / 340;
}
/* 界面图按顶部对齐裁切，保留主要信息区 */
.mini-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.mini-card h3 { font-size: 20px; margin-bottom: 10px; }
.mini-card p { color: var(--sub); font-size: 15px; }

/* ---------- 7. 创作流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.flow__step {
  position: relative;
  padding: 30px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.flow__step::after {
  content: "";
  position: absolute;
  top: 54px; right: -22px;
  width: 20px; height: 2px;
  background: linear-gradient(90deg, var(--brand-border), rgba(255, 227, 184, 0));
}
.flow__step:last-child::after { display: none; }
.flow__no {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
}
.flow__step h3 { font-size: 19px; margin-bottom: 8px; }
.flow__step p { color: var(--sub); font-size: 15px; }

/* ---------- 8. 发布平台 ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.platform {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.platform--api {
  border-color: var(--brand-border);
  background: var(--grad-soft);
}
.platform__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.platform__head h3 { font-size: 19px; }
.platform__list { display: grid; gap: 12px; }
.platform__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 600;
}
.dot-ico {
  display: inline-grid;
  place-items: center;
  min-width: 34px; height: 34px;
  padding: 0 10px;
  border-radius: 11px;
  background: var(--fill);
  background: color-mix(in srgb, var(--c) 12%, var(--card));
  color: var(--c);
  font-size: 13px;
  font-weight: 700;
}
.platform__note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  color: var(--sub);
  font-size: 14px;
}

/* ---------- 9. 多端支持 ---------- */
.devices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.device-card {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease;
}
.device-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.device-card--hl { border-color: var(--brand-border); background: var(--grad-soft); }
.device-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 15px;
  background: var(--fill);
  background: color-mix(in srgb, var(--c) 12%, var(--card));
  color: var(--c);
}
.device-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 19px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.device-card p { color: var(--sub); font-size: 14.5px; }
.device-card__meta {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}
.device-card__link {
  display: inline-block;
  margin-top: 16px;
  color: var(--brand-deep);
  font-size: 14.5px;
  font-weight: 700;
}
.device-card__link:hover { text-decoration: underline; }
/* 同一张卡片里放多个入口链接（如 Web 端：打开 / 扫码） */
.device-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 16px;
}
.device-card__links .device-card__link { margin-top: 0; }

/* ---------- 9b. 企业一站式方案 ---------- */
.section--brand {
  background:
    radial-gradient(720px 420px at 88% -12%, rgba(255, 138, 0, .14), rgba(255, 138, 0, 0) 62%),
    radial-gradient(640px 420px at 4% 112%, rgba(123, 97, 255, .12), rgba(123, 97, 255, 0) 60%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.biz-card {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.biz-card:hover { transform: translateY(-4px); border-color: var(--brand-border); box-shadow: var(--shadow); }
.biz-card__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: var(--fill);
  background: color-mix(in srgb, var(--c) 12%, var(--card));
  color: var(--c);
}
.biz-card h3 { font-size: 18px; margin-bottom: 8px; }
.biz-card p { color: var(--sub); font-size: 14.5px; }

.chain {
  margin-top: 34px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--brand-border);
  box-shadow: 0 16px 40px rgba(255, 106, 0, .1);
}
.chain__head { margin-bottom: 30px; text-align: center; }
.chain__head h3 { font-size: 24px; margin-bottom: 8px; }
.chain__head p { color: var(--sub); font-size: 15px; }

.chain__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.chain__step {
  position: relative;
  padding: 24px 20px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line);
}
.chain__step::after {
  content: "→";
  position: absolute;
  top: 50%; right: -16px;
  transform: translateY(-50%);
  color: var(--brand);
  opacity: .5;
  font-size: 18px;
  font-weight: 700;
}
.chain__step:last-child::after { display: none; }
.chain__no {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-brand);
}
.chain__step h4 { font-size: 17px; margin-bottom: 8px; }
.chain__step p { color: var(--sub); font-size: 14px; }
.chain__step p b { color: var(--brand-deep); }

.biz-note {
  margin-top: 26px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--brand-bg2);
  border: 1px dashed var(--brand-border);
  color: var(--note-text);
  font-size: 14.5px;
}
.biz-note b { color: var(--brand-deep); }

/* ---------- 9c. 扫码直达 ---------- */
.section--qr {
  background:
    radial-gradient(760px 420px at 86% -8%, rgba(255, 138, 0, .14), rgba(255, 138, 0, 0) 62%),
    radial-gradient(620px 400px at 2% 110%, rgba(123, 97, 255, .1), rgba(123, 97, 255, 0) 58%),
    var(--brand-bg2);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.qr-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-border);
}
/* 二维码必须是浅底才扫得出来：深色主题下也保持白底 */
.qr-card__media {
  position: relative;
  display: grid;
  place-items: center;
  width: 196px;
  height: 196px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.qr-card__media a { display: block; width: 100%; height: 100%; }
.qr-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.qr-card h3 { font-size: 19px; margin-bottom: 8px; }
.qr-card p { color: var(--sub); font-size: 14.5px; }
.qr-card__tag {
  margin-top: auto;
  padding-top: 16px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 700;
}
.qr-card__tag--wait { color: var(--muted); }

/* 公众号二维码未提供前，用手机端二维码占位并加遮罩 */
.qr-card--placeholder .qr-card__media img { opacity: .25; filter: grayscale(1); }
.qr-card__mask {
  position: absolute;
  inset: 10px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  color: #1F2329;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}
.qr-note {
  max-width: 880px;
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px dashed var(--brand-border);
  color: var(--sub);
  font-size: 14px;
  text-align: center;
}
.qr-note a { color: var(--brand-deep); font-weight: 700; }
.qr-note a:hover { text-decoration: underline; }

/* ---------- 10. 价格 ---------- */
.price-switch {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin: 0 auto 40px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.price-switch { display: flex; width: fit-content; }
.price-switch__btn {
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--sub);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.price-switch__btn.is-active { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plans[hidden] { display: none; }
.plans--points { grid-template-columns: repeat(5, 1fr); }

.plan, .pack {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .24s ease, box-shadow .24s ease;
}
.plan:hover, .pack:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan--hot, .pack--hot {
  border-color: var(--brand-border);
  background: var(--grad-soft);
  box-shadow: 0 16px 40px rgba(255, 106, 0, .14);
}
.plan__flag {
  position: absolute;
  top: -12px; left: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-brand);
}
.plan h3, .pack h3 { font-size: 18px; }
.plan__price, .pack__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 6px;
}
.plan__price b, .pack__price b {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
}
.plan__price span, .pack__price span { color: var(--muted); font-size: 14px; }
.plan__sub, .pack__desc { color: var(--sub); font-size: 14px; }
.plan .ticks { flex: 1; margin-bottom: 24px; }
.plan .btn { margin-top: auto; }
.pack__desc { margin-bottom: 20px; }
.pack .btn { margin-top: auto; }

.price-note {
  margin-top: 34px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--brand-bg2);
  border: 1px dashed var(--brand-border);
  color: var(--note-text);
  font-size: 14.5px;
  text-align: center;
}
.price-note b { color: var(--brand-deep); }

/* ---------- 11. 下载（深色区） ---------- */
.section--dark {
  background:
    radial-gradient(760px 420px at 88% 0%, rgba(255, 138, 0, .22), rgba(255, 138, 0, 0) 60%),
    radial-gradient(620px 420px at 6% 100%, rgba(123, 97, 255, .2), rgba(123, 97, 255, 0) 62%),
    #14161C;
}
.download {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.download__text h2 { font-size: 38px; margin-bottom: 16px; }
.download__text > p { color: #B9BEC9; font-size: 16px; }
.download__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}
.download__actions .btn { text-align: left; }
.download__actions .btn span { display: grid; line-height: 1.35; }
.download__actions .btn small { color: #8F959E; font-size: 12px; font-weight: 500; }
.download__meta {
  display: grid;
  gap: 8px;
  color: #8A90A0;
  font-size: 13.5px;
}
.download__meta li { position: relative; padding-left: 18px; }
.download__meta li::before {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-light);
}
.download__visual {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.download__visual img { width: 100%; height: auto; border-radius: 14px; }

.download__tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.tip {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
}
.tip h4 { font-size: 16px; margin-bottom: 8px; }
.tip p { color: #A8AEBC; font-size: 14px; }

/* ---------- 12. FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  padding: 4px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--brand-border); box-shadow: var(--shadow-sm); }
.faq summary {
  position: relative;
  padding: 18px 34px 18px 0;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0; top: 24px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F959E' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq p {
  padding: 0 0 20px;
  color: var(--sub);
  font-size: 15px;
}

/* ---------- 13. 底部 CTA / 页脚 / 回顶 ---------- */
.cta { padding: 0 0 96px; }
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 52px;
  border-radius: 32px;
  background: var(--grad-soft);
  border: 1px solid var(--brand-border);
  box-shadow: 0 22px 50px rgba(255, 106, 0, .12);
}
.cta__inner h2 { font-size: 32px; margin-bottom: 10px; }
.cta__inner p { color: var(--sub); font-size: 16px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

.footer { background: #14161C; color: #B9BEC9; padding: 64px 0 32px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__brand p { margin-top: 14px; font-size: 14px; color: #8A90A0; }
.brand--light .brand__text { color: #fff; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__links h4 { margin-bottom: 14px; color: #fff; font-size: 15px; }
.footer__links a {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  color: #8A90A0;
  transition: color .2s ease;
}
.footer__links a:hover { color: var(--brand-light); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  font-size: 13px;
  color: #6B7280;
  flex-wrap: wrap;
}
.footer__note { color: #5A6070; }

.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--card);
  color: var(--brand);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand); color: #fff; }

.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  z-index: 90;
  max-width: 90vw;
  padding: 13px 24px;
  border-radius: 999px;
  background: rgba(31, 35, 41, .94);
  color: #fff;
  font-size: 14.5px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity .26s ease, transform .26s ease, visibility .26s;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 14. 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  .btn:hover, .mini-card:hover, .device-card:hover, .biz-card:hover, .plan:hover, .pack:hover, .qr-card:hover { transform: none; }
}

/* ---------- 15. 响应式 ---------- */
@media (max-width: 1100px) {
  .hero { padding-top: 128px; }
  .hero h1 { font-size: 48px; }
  .feature { gap: 40px; }
  .plans--points { grid-template-columns: repeat(3, 1fr); }
  .devices { grid-template-columns: repeat(2, 1fr); }
  .nav__menu { gap: 18px; }
  .nav__menu > a { font-size: 14px; }
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    left: 16px; right: 16px; top: 74px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border-radius: 20px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__menu > a { padding: 11px 12px; border-radius: 12px; font-size: 15.5px; }
  .nav__menu > a:hover { background: var(--brand-bg2); }
  .nav__cta { justify-content: center; margin-top: 6px; }

  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .section__head h2 { font-size: 30px; }

  .hero { padding: 116px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; text-align: left; }
  .hero h1 { font-size: 40px; }
  .hero__visual { order: 2; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .float-card--c { left: 4px; }

  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
  .stat b { font-size: 32px; }

  .feature, .feature--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0;
  }
  .feature--reverse .feature__text { order: 1; }
  .feature--reverse .feature__media { order: 2; }
  .feature__media img { width: 260px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 40px; }

  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step::after { display: none; }

  .platforms { grid-template-columns: 1fr; }

  .plans { grid-template-columns: 1fr; }
  .plans--points { grid-template-columns: repeat(2, 1fr); }

  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .chain { padding: 26px 22px; }
  .chain__steps { grid-template-columns: repeat(2, 1fr); }
  .chain__step::after { display: none; }

  .download { grid-template-columns: 1fr; gap: 36px; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .qr-card { padding: 26px 20px 22px; }
  .download__text h2 { font-size: 30px; }
  .download__tips { grid-template-columns: 1fr; margin-top: 40px; }

  .cta { padding-bottom: 72px; }
  .cta__inner { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .cta__inner h2 { font-size: 26px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero h1 { font-size: 33px; }
  .hero__desc { font-size: 15.5px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .phone { width: 100%; max-width: 300px; }
  .float-card { display: none; }
  .float-card--b { display: flex; right: -6px; }

  .flow { grid-template-columns: 1fr; }
  .devices { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .qr-card__media { width: 176px; height: 176px; }
  .plans--points { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .chain__steps { grid-template-columns: 1fr; }
  .chain__head h3 { font-size: 20px; }
  .section__head h2 { font-size: 26px; }
  .feature__text h3 { font-size: 22px; }
  .download__actions .btn { width: 100%; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .price-switch__btn { padding: 9px 16px; font-size: 14px; }
}

/* ---------- 二维码放大弹层（页面里 .js-qr-pop 元素点击后在这里展示大图） ---------- */
.qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.qr-lightbox[hidden] { display: none; }

.qr-lightbox__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 26, .68);
  backdrop-filter: blur(4px);
}

.qr-lightbox__panel {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(86vw, 380px);
  background: var(--card, #fff);
  border-radius: 20px;
  padding: 30px 26px 24px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35);
}

.qr-lightbox__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  /* 二维码图固定白底，保证暗色主题下照样可扫 */
  background: #fff;
}

.qr-lightbox__cap {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--sub);
  word-break: break-all;
}

.qr-lightbox__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.qr-lightbox__close:hover { color: var(--sub); }

/* 卡片内的小二维码缩略图（「四个端」区的微信小程序卡） */
.device-card__qr {
  display: block;
  width: 88px;
  height: 88px;
  margin-top: 14px;
  border-radius: 14px;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  box-shadow: 0 0 0 1px var(--line);
  cursor: zoom-in;
}

.device-card__qr img { display: block; width: 100%; height: 100%; }
