/* =========================================================
   金果短剧 JinGuo —— 短剧 APP 宣传下载页样式
   主题：暗黑视频平台风 + 红紫渐变 + 电光蓝辅助
   ========================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  --bg: #0a0810;
  --bg-2: #100c1a;
  --bg-3: #151022;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  --text: #f5f3fa;
  --text-2: #b3adc4;
  --text-3: #7d778f;

  --brand-1: #ff2d55;
  --brand-2: #a524ff;
  --brand-3: #6b3dff;
  --neon: #22e0ff;

  --grad-brand: linear-gradient(115deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
  --grad-soft: linear-gradient(115deg, rgba(255, 45, 85, .18), rgba(165, 36, 255, .18));

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --shadow-brand: 0 14px 38px rgba(165, 36, 255, .38);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --maxw: 1200px;
}

/* ---------- 2. 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
em { font-style: normal; }

::selection { background: rgba(165, 36, 255, .45); }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0d0a16; }
::-webkit-scrollbar-thumb { background: #2b2340; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3b3057; }

/* ---------- 3. 通用容器与工具类 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 860px; }

.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.img-fallback {
  background: var(--grad-soft);
  min-height: 160px;
}

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 32px; font-size: 16px; }

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(255, 45, 85, .45); }

.btn--outline {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
}
.btn--outline:hover { border-color: rgba(165, 36, 255, .7); background: rgba(165, 36, 255, .14); transform: translateY(-3px); }

.btn--ghost { color: var(--text-2); }
.btn--ghost:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

.btn--light { background: #fff; color: #1a0f2e; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.btn--light:hover { transform: translateY(-3px); }

.btn--ghost-light { border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); transform: translateY(-3px); }

/* ---------- 5. 顶部导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 8, 16, .78);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 11px;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 22px rgba(165, 36, 255, .5);
}
.logo__text { font-weight: 900; font-size: 19px; letter-spacing: .02em; }
.logo__text em {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--text-3);
  text-transform: uppercase;
}

.nav__menu { display: flex; gap: 28px; margin-left: auto; }
.nav__menu a {
  font-size: 15px;
  color: var(--text-2);
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width .3s var(--ease);
}
.nav__menu a:hover { color: var(--text); }
.nav__menu a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero 首屏 ---------- */
.hero {
  position: relative;
  padding: 150px 0 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  pointer-events: none;
}
.hero__glow--a {
  width: 620px; height: 620px;
  top: -220px; left: -140px;
  background: radial-gradient(circle, rgba(255, 45, 85, .40), transparent 68%);
}
.hero__glow--b {
  width: 700px; height: 700px;
  top: -180px; right: -200px;
  background: radial-gradient(circle, rgba(107, 61, 255, .42), transparent 68%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 25%, #000 20%, transparent 78%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 50px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  font-size: 13px;
  color: var(--text-2);
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(34, 224, 255, .7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(34, 224, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 224, 255, 0); }
}

.hero__title {
  margin: 22px 0 18px;
  font-size: clamp(38px, 5.6vw, 68px);
  letter-spacing: -.03em;
}
.hero__desc {
  max-width: 520px;
  font-size: 17px;
  color: var(--text-2);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }

.hero__meta {
  display: flex;
  gap: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__meta strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__meta span { font-size: 13px; color: var(--text-3); }

/* 手机模型 */
.hero__phone { position: relative; display: grid; place-items: center; min-height: 520px; }
.phone {
  position: relative;
  width: 268px;
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(160deg, #2a2140, #14101f 60%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.phone__notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 96px; height: 20px;
  border-radius: 0 0 14px 14px;
  background: #0a0810;
  z-index: 2;
}
.phone__screen {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #120d1d;
  aspect-ratio: 9 / 18.5;
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.phone__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(8, 5, 14, .95), transparent);
}
.phone__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--grad-brand);
  color: #fff;
}
.phone__bar {
  margin-top: 10px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .2);
  overflow: hidden;
}
.phone__bar i {
  display: block;
  width: 42%; height: 100%;
  border-radius: 4px;
  background: var(--grad-brand);
}

.phone__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(22, 16, 35, .82);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.phone__card b { display: block; font-size: 14px; }
.phone__card small { font-size: 11px; color: var(--text-3); }
.phone__ico { font-size: 20px; }
.phone__card--one { top: 84px; left: -16px; animation-delay: .8s; }
.phone__card--two { bottom: 96px; right: -22px; animation-delay: 1.6s; }

/* 合作方 */
.hero__partners {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.hero__partners > span { font-size: 13px; color: var(--text-3); }
.hero__partners ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, .3);
}
.hero__partners li { transition: color .3s var(--ease); }
.hero__partners li:hover { color: rgba(255, 255, 255, .72); }

/* ---------- 7. 通用区块 ---------- */
.section { padding: 100px 0; position: relative; }
.section--alt {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(107, 61, 255, .10), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  color: var(--neon);
  margin-bottom: 14px;
}
.section__title { font-size: clamp(26px, 3.4vw, 40px); }
.section__sub { margin-top: 14px; color: var(--text-2); font-size: 16px; }

/* 栅格 */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 8. 功能卡片 ---------- */
.card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 36, 255, .5);
  box-shadow: 0 22px 50px rgba(107, 61, 255, .22);
}
.card__ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 18px;
  font-size: 24px;
  border-radius: 15px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 14.5px; }

/* ---------- 9. 数据背书 ---------- */
.stats {
  padding: 62px 0;
  background: var(--bg-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat strong {
  display: block;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span { font-size: 14px; color: var(--text-3); }

/* ---------- 10. 剧集筛选与卡片 ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 38px; }
.filter {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  transition: all .28s var(--ease);
}
.filter:hover { color: var(--text); border-color: var(--line-strong); }
.filter.is-active {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(165, 36, 255, .34);
}

.drama { transition: transform .35s var(--ease), opacity .35s var(--ease); }
.drama.is-hidden { display: none; }
.drama__cover {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--grad-soft);
  border: 1px solid var(--line);
}
.drama__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.drama:hover .drama__cover img { transform: scale(1.07); }
.drama:hover .drama__cover { border-color: rgba(255, 45, 85, .5); box-shadow: 0 22px 46px rgba(165, 36, 255, .26); }
.drama__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 5, 14, .88) 0%, transparent 55%);
}
.drama__tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: rgba(34, 224, 255, .9);
  color: #06222b;
}
.drama__tag--hot { background: var(--grad-brand); color: #fff; }
.drama__heat {
  position: absolute;
  bottom: 12px; left: 12px;
  z-index: 2;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .8);
}
.drama h3 { margin: 14px 0 4px; font-size: 16px; transition: color .25s var(--ease); }
.drama:hover h3 { color: #ff6b8a; }
.drama p { font-size: 13px; color: var(--text-3); }

.dramas__empty { text-align: center; color: var(--text-3); padding: 40px 0; }

/* ---------- 11. 用户评价 ---------- */
.review {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.review:hover { transform: translateY(-6px); border-color: rgba(34, 224, 255, .42); }
.stars { color: #ffb400; letter-spacing: 3px; font-size: 15px; margin-bottom: 14px; }
.review blockquote { font-size: 15px; color: var(--text-2); min-height: 84px; }
.review figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.review .avatar {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-weight: 800;
  color: #fff;
  background: var(--grad-brand);
}
.review figcaption b { display: block; font-size: 14px; }
.review figcaption small { font-size: 12px; color: var(--text-3); }

/* ---------- 12. 下载步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  overflow: hidden;
}
.step__num {
  display: block;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
}
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-2); }

/* ---------- 13. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  overflow: hidden;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq__item.is-open { border-color: rgba(165, 36, 255, .55); background: rgba(165, 36, 255, .07); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 22px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
}
.faq__q i {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq__q i::before, .faq__q i::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq__q i::before { width: 9px; height: 1.5px; }
.faq__q i::after { width: 1.5px; height: 9px; transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q i { background: var(--grad-brand); border-color: transparent; color: #fff; transform: rotate(180deg); }
.faq__item.is-open .faq__q i::after { transform: translate(-50%, -50%) scaleY(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s var(--ease);
}
.faq__a p { padding: 0 22px 22px; color: var(--text-2); font-size: 15px; }

/* ---------- 14. 底部 CTA ---------- */
.cta {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(120deg, #ff2d55 0%, #a524ff 58%, #5b28e0 100%);
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  width: 700px; height: 700px;
  top: -320px; right: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 50px;
}
.cta__copy h2 { font-size: clamp(26px, 3.6vw, 42px); color: #fff; }
.cta__copy > p { margin: 16px 0 30px; font-size: 17px; color: rgba(255, 255, 255, .88); max-width: 520px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__note { display: block; margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .75); }

/* ---------- 15. 页脚 ---------- */
.footer { background: #08060d; border-top: 1px solid var(--line); padding-top: 64px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 50px;
  padding-bottom: 48px;
}
.logo--footer { margin-bottom: 16px; }
.footer__brand p { color: var(--text-3); font-size: 14px; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__links h4 { font-size: 14px; margin-bottom: 16px; }
.footer__links a {
  display: block;
  font-size: 14px;
  color: var(--text-3);
  padding: 6px 0;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer__links a:hover { color: var(--text); transform: translateX(4px); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 24px 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-3);
}

/* ---------- 16. 返回顶部 ---------- */
.to-top {
  position: fixed;
  right: 24px; bottom: 26px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .35s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ---------- 17. 底部悬浮下载条 ---------- */
.float-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 85;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 11, 26, .9);
  backdrop-filter: blur(18px) saturate(150%);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -14px 40px rgba(0, 0, 0, .5);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s var(--ease);
}
.float-bar.is-show { transform: translateY(0); visibility: visible; }

.float-bar__inner { display: flex; align-items: center; gap: 14px; }
.float-bar__logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 8px 22px rgba(165, 36, 255, .5);
}
.float-bar__text { margin-right: auto; min-width: 0; }
.float-bar__text b { display: block; font-size: 15px; }
.float-bar__text small {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.float-bar__btn { flex: none; }
.float-bar__close {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-size: 19px;
  line-height: 1;
  color: var(--text-3);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.float-bar__close:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* 悬浮条出现时上移返回顶部与轻提示，避免被遮挡 */
body.has-float-bar .to-top { bottom: 104px; }
body.has-float-bar .toast { bottom: 112px; }

/* ---------- 18. 轻提示 Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 42px;
  z-index: 200;
  transform: translate(-50%, 20px);
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: rgba(26, 19, 48, .96);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 19. 滚动渐显动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease) var(--d, 0s), transform .7s var(--ease) var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 20. 响应式：平板 ---------- */
@media (max-width: 1100px) {
  .nav__menu { gap: 20px; }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__glow--b { right: -320px; }
  .hero__phone { min-height: 480px; }
  .cta__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cta__copy > p { margin-left: auto; margin-right: auto; }
  .cta__btns { justify-content: center; }
}

/* ---------- 21. 响应式：移动端 ---------- */
@media (max-width: 820px) {
  .container { padding: 0 18px; }

  /* 导航：抽屉式菜单 */
  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 10px 18px 22px;
    background: rgba(10, 8, 16, .97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform .4s var(--ease);
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__menu a:last-child { border-bottom: 0; }
  .nav__toggle { display: flex; }
  .nav__actions .btn--ghost { display: none; }

  .hero { padding: 118px 0 40px; }
  .hero__meta { gap: 26px; }
  .hero__meta strong { font-size: 22px; }
  .hero__partners { margin-top: 54px; }
  .hero__partners ul { gap: 10px 20px; font-size: 13px; }

  .section { padding: 68px 0; }
  .grid--3, .grid--4, .stats__grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }

  /* 悬浮条：窄屏隐藏副标题，保留主文案与按钮 */
  .float-bar__text small { display: none; }
}

/* ---------- 22. 响应式：小屏手机 ---------- */
@media (max-width: 560px) {
  .grid--3, .grid--4, .stats__grid, .steps { grid-template-columns: 1fr; }
  .stats { padding: 44px 0; }
  .stats__grid { gap: 26px; }

  .hero__cta .btn { width: 100%; }
  .hero__phone { min-height: 430px; }
  .phone { width: 230px; }
  .phone__card--one { left: -6px; }
  .phone__card--two { right: -6px; }

  .footer__links { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; }

  .review blockquote { min-height: 0; }
  .to-top { right: 16px; bottom: 18px; width: 42px; height: 42px; }

  /* 悬浮条：小屏进一步压缩，避免挤压正文 */
  .float-bar__inner { gap: 10px; }
  .float-bar__logo { width: 38px; height: 38px; border-radius: 11px; }
  .float-bar__text b { font-size: 14px; }
  .float-bar__btn { padding: 10px 16px; font-size: 14px; }
  body.has-float-bar .to-top { bottom: 92px; }
}

/* ---------- 23. 无障碍：减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
