/* ==========================================================================
   闲牛租 · 官网样式表
   主体：深圳市闲牛科技有限公司
   主色：闲牛黄 #EFC705（取自小程序 app.json titleBarColor / tabBar selectedColor）
   ========================================================================== */

/* ---------- 1. 变量与基础 ---------- */
:root {
  --brand: #EFC705;
  --brand-1: #FFDD55;
  --brand-2: #EFC705;
  --brand-deep: #C9A200;
  --brand-ink: #7A5F00;
  --brand-soft: #FFFDF3;
  --brand-soft-2: #FFF7D6;

  --ink: #1D2025;
  --ink-2: #3A3F47;
  --muted: #6C7480;
  --line: #ECEDEF;
  --dark: #17181C;
  --dark-2: #23252B;
  --dark-line: #33363D;

  --red: #E5322A;
  --blue: #1146C8;
  --purple: #6A22D6;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 10px rgba(23, 24, 28, .05);
  --shadow: 0 14px 40px rgba(23, 24, 28, .08);
  --shadow-lg: 0 30px 70px rgba(23, 24, 28, .16);
  --shadow-brand: 0 14px 34px rgba(239, 199, 5, .35);

  --container: 1200px;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC",
    "Source Han Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(239, 199, 5, .85);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--brand); color: #1D2025; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- 2. 通用工具 ---------- */
.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.section { padding: 92px 0; }
.section--soft { background: var(--brand-soft); }
.section--tight { padding: 72px 0; }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brand-ink);
  background: var(--brand-soft-2);
  border: 1px solid rgba(239, 199, 5, .45);
  border-radius: 999px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-deep);
}

.title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.28;
  letter-spacing: -.01em;
  font-weight: 800;
}
.title em { font-style: normal; color: var(--brand-deep); }

.subtitle {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #2A2400;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { box-shadow: 0 18px 40px rgba(239, 199, 5, .45); }

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--brand); }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.btn--sm { height: 42px; padding: 0 22px; font-size: 14px; }

/* 滚动入场动画（仅在 JS 可用时启用初始隐藏态，脚本失效时内容照常可见） */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 3. 顶部导航 ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(23, 24, 28, .06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 16px rgba(239, 199, 5, .4); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 19px; font-weight: 800; letter-spacing: .02em; }
.brand__name span { color: var(--brand-deep); }
.brand__slogan { font-size: 11px; color: var(--muted); letter-spacing: .04em; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .18s, background .18s;
}
.nav__link:hover { color: var(--ink); background: var(--brand-soft-2); }
.nav__link.is-active { color: var(--ink); font-weight: 700; background: var(--brand-soft-2); }

.header__cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle::before { top: 15px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 27px; }
.nav-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 4. 首屏 ---------- */
.hero {
  position: relative;
  padding: 64px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 12% 8%, rgba(255, 221, 85, .55), transparent 62%),
    radial-gradient(620px 380px at 88% 0%, rgba(255, 240, 160, .55), transparent 60%),
    linear-gradient(180deg, #FFFDF6 0%, #FFF9E6 52%, #FFFFFF 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 199, 5, .45), transparent);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: 84px;
}

.hero__copy { max-width: 620px; }
.hero__title {
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.hero__title .hl {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.hero__title .hl::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 6px;
  height: 14px;
  background: linear-gradient(90deg, rgba(255, 221, 85, .95), rgba(239, 199, 5, .65));
  border-radius: 6px;
  z-index: -1;
}
.hero__lead {
  margin-top: 22px;
  font-size: 16.5px;
  line-height: 2;
  color: var(--ink-2);
}
.hero__lead + .hero__lead { margin-top: 14px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(23, 24, 28, .08);
}
.hero__stat { padding-right: 14px; }
.hero__stat + .hero__stat { padding-left: 20px; border-left: 1px solid rgba(23, 24, 28, .08); }
.hero__stat b { display: block; font-size: 26px; font-weight: 900; letter-spacing: -.01em; }
.hero__stat b small { font-size: 14px; font-weight: 700; margin-left: 2px; }
.hero__stat span { font-size: 13px; color: var(--muted); }

/* 手机样机（复原小程序首页） */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone-stage::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  top: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 199, 5, .35), transparent 68%);
  filter: blur(6px);
}

.phone {
  --w: min(320px, 74vw);
  position: relative;
  z-index: 2;
  width: var(--w);
  height: calc(var(--w) * 2.05);
  padding: .7em;
  font-size: calc(var(--w) / 32);
  background: #16171B;
  border-radius: 4.2em;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, .5) inset;
}
.phone__screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 3.6em;
}

.mini-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1em 2.2em .5em;
  font-size: 1.1em;
  font-weight: 700;
  color: #111;
  background: var(--brand);
}
.mini-status__icons { display: flex; align-items: center; gap: .45em; }
/* 注意：图标精灵使用 <use> 引用 symbol，外层 svg 必须同时给出宽高，
   否则在缺少 viewBox 时宽度会回落到 300px 默认值。 */
.mini-status__icons svg { width: 1.2em; height: 1.05em; }

.mini-notch {
  position: absolute;
  top: .9em;
  left: 50%;
  transform: translateX(-50%);
  width: 8.5em;
  height: 2.1em;
  background: #16171B;
  border-radius: 999px;
  z-index: 4;
}

.mini-header {
  display: flex;
  align-items: center;
  gap: .8em;
  padding: .75em 1.4em .95em;
  background: var(--brand);
  color: #241F00;
  font-size: 1.28em;
  font-weight: 700;
  letter-spacing: .01em;
}
.mini-header__title { flex: 1; text-align: center; }
.mini-header__dot {
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  border: .16em solid rgba(36, 31, 0, .75);
  flex: none;
}
.mini-header__dots { display: flex; gap: .22em; flex: none; }
.mini-header__dots i {
  width: .34em;
  height: .34em;
  border-radius: 50%;
  background: #241F00;
}

.mini-body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  background: #F6F6F8;
  padding-bottom: .6em;
}
.mini-body::-webkit-scrollbar { display: none; }

.mini-card {
  position: relative;
  margin: .7em;
  padding: 1.6em .9em .9em;
  border-radius: 1.3em;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 .5em 1.4em rgba(0, 0, 0, .13);
}
.mini-card--1 { background: linear-gradient(135deg, #FF6A5E, #D9231C); }
.mini-card--2 { background: linear-gradient(135deg, #4C8BFF, #0F3FB8); }
.mini-card--3 { background: linear-gradient(135deg, #B072FF, #6A22D6); }

.mini-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: .45em 1em .5em;
  font-size: 1.02em;
  font-weight: 800;
  font-style: italic;
  color: #C4241B;
  background: linear-gradient(120deg, #FFF7C9, #FFD53F);
  border-radius: 0 1.3em 0 1.1em;
  letter-spacing: .01em;
}
.mini-card--2 .mini-card__ribbon { color: #0F3FB8; }
.mini-card--3 .mini-card__ribbon { color: #6A22D6; }

.mini-card__row { display: flex; align-items: center; gap: .7em; }
.mini-card--2 .mini-card__row { flex-direction: row-reverse; }
.mini-card__art {
  flex: none;
  width: 8.4em;
  height: 8.4em;
  display: grid;
  place-items: center;
  border-radius: 1em;
  background: rgba(255, 255, 255, .16);
}
.mini-card__art svg { width: 86%; height: 86%; }

.mini-card__panel {
  flex: 1;
  min-width: 0;
  padding: .7em .75em;
  border-radius: .9em;
  background: rgba(0, 0, 0, .18);
}
.mini-logo {
  display: inline-block;
  margin-bottom: .25em;
  padding: .1em .5em;
  font-size: .95em;
  font-weight: 800;
  letter-spacing: .04em;
  border-radius: .3em;
  background: rgba(255, 255, 255, .92);
  color: #1A1A1A;
}
.mini-card__name { font-size: 1.55em; font-weight: 800; line-height: 1.3; }
.mini-card__sub { font-size: 1.05em; opacity: .92; margin-top: .1em; }
.mini-card__hot { font-size: 1.05em; margin-top: .5em; line-height: 1.5; }
.mini-card__hot b { font-weight: 700; }
.mini-stars { font-size: 1.05em; margin-top: .2em; letter-spacing: .1em; color: #FFD84D; }
.mini-stars i { font-style: normal; opacity: .55; }

.mini-btn {
  display: block;
  width: 100%;
  margin-top: .7em;
  padding: .45em 0;
  font-size: 1.15em;
  font-weight: 800;
  text-align: center;
  color: #C4241B;
  background: linear-gradient(120deg, #FFF3B0, #FFC93C);
  border-radius: 999px;
  box-shadow: 0 .25em .6em rgba(0, 0, 0, .18);
}
.mini-card--2 .mini-btn,
.mini-card--3 .mini-btn { color: #6A22D6; }
.mini-card--2 .mini-btn { color: #0F3FB8; }

.mini-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .3em;
  margin: .2em .7em 0;
  padding: .9em .4em 1em;
  background: #fff;
  border-radius: 1.2em;
  box-shadow: 0 .2em .8em rgba(0, 0, 0, .04);
}
.mini-cat { text-align: center; font-size: .95em; color: #333; }
.mini-cat__icon {
  width: 3.6em;
  height: 3.6em;
  margin: 0 auto .45em;
  display: grid;
  place-items: center;
  border-radius: .9em;
  background: #FFF6D2;
}
.mini-cat__icon svg { width: 58%; height: 58%; }

.mini-tabbar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: .55em 0 .8em;
  background: #fff;
  border-top: .08em solid #EFEFEF;
}
.mini-tab { text-align: center; font-size: .95em; color: #B4B4B4; }
.mini-tab.is-on { color: #E0B400; font-weight: 700; }
.mini-tab svg { width: 2.3em; height: 2.3em; margin: 0 auto .1em; }

/* ---------- 5. 热租排行榜 ---------- */
.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.rank-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.rank-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.rank-card--1 { background: linear-gradient(150deg, #FF7C6B, #D9231C); }
.rank-card--2 { background: linear-gradient(150deg, #4C8BFF, #0F3FB8); }
.rank-card--3 { background: linear-gradient(150deg, #B072FF, #6A22D6); }

.rank-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 20px 11px;
  font-size: 13.5px;
  font-weight: 800;
  font-style: italic;
  color: #C4241B;
  background: linear-gradient(120deg, #FFF7C9, #FFD53F);
  border-radius: 0 var(--radius-lg) 0 18px;
}
.rank-card--2 .rank-card__ribbon { color: #0F3FB8; }
.rank-card--3 .rank-card__ribbon { color: #6A22D6; }

.rank-card__art {
  height: 156px;
  margin: 26px 0 20px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .14);
}
.rank-card__art svg { width: 76%; height: 76%; }

.rank-card__logo {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .05em;
  border-radius: 6px;
  background: rgba(255, 255, 255, .95);
  color: #1A1A1A;
}
.rank-card__name { font-size: 24px; font-weight: 800; line-height: 1.3; }
.rank-card__sub { margin-top: 4px; font-size: 14.5px; opacity: .92; }

.rank-card__list { margin-top: 18px; display: grid; gap: 6px; font-size: 14.5px; }
.rank-card__list li { display: flex; align-items: baseline; gap: 8px; }
.rank-card__list b { font-weight: 700; }
.rank-card__list span { opacity: .88; }

.rank-card__stars {
  margin-top: 16px;
  font-size: 15px;
  letter-spacing: 3px;
  color: #FFD84D;
}
.rank-card__stars i { font-style: normal; opacity: .5; }

.rank-card__btn {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 20px;
  padding: 13px 0;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: #C4241B;
  background: linear-gradient(120deg, #FFF3B0, #FFC93C);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.rank-card__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 0, 0, .22); }
.rank-card--2 .rank-card__btn { color: #0F3FB8; }
.rank-card--3 .rank-card__btn { color: #6A22D6; }

.rank-note {
  margin-top: 26px;
  text-align: center;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- 6. 租赁品类 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.cat-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 199, 5, .8);
  box-shadow: var(--shadow);
}
.cat-card__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(140deg, #FFEFAE, var(--brand-soft-2));
  color: var(--brand-deep);
}
.cat-card__icon svg { width: 30px; height: 30px; }
.cat-card h3 { font-size: 19px; font-weight: 800; }
.cat-card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.85; }

/* ---------- 7. 租赁流程 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step { position: relative; padding-right: 12px; }
.step__num {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 900;
  color: #2A2400;
  background: linear-gradient(140deg, var(--brand-1), var(--brand-2));
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(239, 199, 5, .38);
}
.step::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 64px;
  right: -6px;
  height: 2px;
  background-image: linear-gradient(90deg, rgba(239, 199, 5, .9) 0 8px, transparent 8px 16px);
  background-size: 16px 2px;
  background-repeat: repeat-x;
}
.step:last-child::before { display: none; }
.step h3 { font-size: 17px; font-weight: 800; }
.step p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.85; }

/* ---------- 9. 关于我们 / 联系 ---------- */
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: start;
}
.about__text p { margin-top: 18px; font-size: 16px; line-height: 2; color: var(--ink-2); }
.about__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-ink);
  background: var(--brand-soft-2);
  border-radius: 999px;
}

.contact-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-card h3 { font-size: 20px; font-weight: 800; }
.contact-list { margin-top: 22px; display: grid; gap: 18px; }
.contact-item { display: flex; gap: 14px; }
.contact-item__icon {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-soft-2);
  color: var(--brand-deep);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__body { display: block; min-width: 0; }
.contact-item__label { display: block; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }
.contact-item__value {
  display: block;
  margin-top: 2px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.7;
  word-break: break-word;
}
.contact-item__value a { border-bottom: 1px solid rgba(239, 199, 5, .6); }
.contact-item__value a:hover { color: var(--brand-deep); }

/* ---------- 11. 行动号召 ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: linear-gradient(130deg, #2A2400 0%, #1D2025 55%, #23252B 100%);
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 199, 5, .45), transparent 66%);
}
.cta__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.cta h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; line-height: 1.35; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .72); font-size: 15.5px; }
.cta__actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 14px; }
.cta .btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .18); }

/* ---------- 12. 页脚 ---------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding: 62px 0 46px;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name span { color: var(--brand); }
.footer__brand .brand__slogan { color: rgba(255, 255, 255, .5); }
.footer__brand p { margin-top: 18px; line-height: 1.95; max-width: 300px; color: rgba(255, 255, 255, .58); }

.footer h4 {
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: rgba(255, 255, 255, .66); transition: color .2s; }
.footer__links a:hover { color: var(--brand); }
.footer__contact { display: grid; gap: 12px; color: rgba(255, 255, 255, .66); line-height: 1.8; font-style: normal; }
.footer__contact a:hover { color: var(--brand); }
.footer__contact strong { color: rgba(255, 255, 255, .85); font-weight: 600; }

.footer__bottom {
  padding: 26px 0 34px;
  border-top: 1px solid var(--dark-line);
  text-align: center;
  font-size: 13.5px;
  line-height: 2.1;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom .footer__legal { margin-top: 6px; font-size: 12.5px; }
.footer__icp {
  color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  transition: color .2s, border-color .2s;
}
.footer__icp:hover { color: var(--brand); border-bottom-color: var(--brand); }
.footer__note { display: block; margin-top: 4px; opacity: .75; }

/* ---------- 13. 返回顶部 ---------- */
.backtop {
  position: fixed;
  right: 26px;
  bottom: 34px;
  z-index: 90;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
}
.backtop.is-on { opacity: 1; visibility: visible; transform: none; }
.backtop:hover { background: var(--brand); border-color: var(--brand); }
.backtop svg { width: 20px; height: 20px; }

/* ---------- 14. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 12px 4vw 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 14px 12px; font-size: 16px; border-radius: 12px; }
  .header__cta { display: none; }

  .hero { padding: 44px 0 76px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 52px; }
  .hero__copy { order: 2; max-width: none; }
  .phone-stage { order: 1; width: fit-content; max-width: 100%; margin-inline: auto; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 4px; }
  .hero__stat:nth-child(odd) { padding-left: 0; border-left: 0; }

  .rank-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 18px; }
  .step::before { display: none; }
  .about__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cta__actions { margin-left: 0; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 38px; }
  .brand__slogan { display: none; }
  .phone { --w: min(300px, 82vw); }
  .phone-stage { width: 100%; max-width: 100%; }
  .phone-stage::before { display: none; }
  .cat-grid, .steps { grid-template-columns: minmax(0, 1fr); }
  .cat-grid { gap: 16px; }
  .cat-card { padding: 22px 20px; }
  .rank-card { padding: 26px 20px 24px; }
  .rank-card__art { height: 132px; }
  .contact-card { padding: 24px 20px; }
  .footer__main { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 46px 0 34px; }
  .backtop { right: 16px; bottom: 20px; width: 44px; height: 44px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .header, .backtop, .cta, .phone-stage { display: none; }
  body { color: #000; }
}
