/* ==========================================================================
   OPC圈子 · Premium Design Layer (v3)
   设计语言：深空极光 / 编辑级排版 / 克制的动效
   说明：本文件在 base.css + site.css 之后加载，做视觉覆盖，不改任何 JS 绑定
   ========================================================================== */

:root {
  /* 品牌渐变与色阶 */
  --brand: #2f6bff;
  --brand-dark: #1b4dd8;
  --brand-soft: #edf2ff;
  --brand-soft-2: #dbe6ff;
  --violet: #7c4df0;
  --cyan: #22d3ee;

  /* 墨色体系 */
  --ink: #08101f;
  --ink-2: #3c4a63;
  --ink-3: #74819a;
  --ink-4: #9da9bd;

  --bg: #f3f6fc;
  --card: #ffffff;
  --line: #e5eaf4;
  --line-2: #eef2f9;

  /* 圆角与阴影：更大、更薄、分层 */
  --radius-sm: 11px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-1: 0 1px 2px rgba(8, 16, 31, 0.04);
  --shadow-2: 0 14px 34px -16px rgba(8, 16, 31, 0.18), 0 2px 8px rgba(8, 16, 31, 0.03);
  --shadow-3: 0 46px 90px -40px rgba(8, 16, 31, 0.32);

  /* 渐变 */
  --grad-brand: linear-gradient(112deg, #2f6bff 0%, #6d4bf0 52%, #a855f7 100%);
  --grad-deep: linear-gradient(168deg, #070b17 0%, #0b1226 48%, #140f2e 100%);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   1. 基础排版
   -------------------------------------------------------------------------- */
body.site {
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.site ::selection {
  background: rgba(47, 107, 255, 0.16);
  color: var(--ink);
}

.wrap {
  max-width: 1220px;
  padding: 0 32px;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.03em;
  font-weight: 760;
}

/* 数字统一等宽，避免刷新抖动 */
.hero-stat b,
.h5-stat b,
.fund-card b,
.stat-item b,
.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* --------------------------------------------------------------------------
   2. 顶部导航：深色首屏上透明 → 滚动后玻璃拟态
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(8, 16, 31, 0.06);
  transition: background 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px -30px rgba(8, 16, 31, 0.5);
}

.site-header .wrap {
  height: 72px;
  gap: 40px;
}

.brand-mark {
  border-radius: 11px;
  background: var(--grad-brand);
  box-shadow: 0 8px 20px -6px rgba(47, 107, 255, 0.5);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.brand {
  font-size: 17.5px;
  letter-spacing: -0.02em;
}

.brand small {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  gap: 30px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a.on::after {
  transform: scaleX(1);
}

.site-nav a.on:after {
  display: none;
}

/* 深色首屏：导航悬浮在 hero 之上（hero 上移垫底），全程白字 + 深色玻璃 */
body.has-dark-hero .site-header {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.has-dark-hero .site-header .brand {
  color: #fff;
}

body.has-dark-hero .site-header .brand small {
  color: rgba(214, 226, 255, 0.55);
}

body.has-dark-hero .site-header .site-nav a {
  color: rgba(226, 234, 252, 0.76);
}

body.has-dark-hero .site-header .site-nav a:hover,
body.has-dark-hero .site-header .site-nav a.on {
  color: #fff;
}

body.has-dark-hero .site-header .btn:not(.btn-primary) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #eaf0ff;
  backdrop-filter: blur(12px);
}

body.has-dark-hero .site-header .btn:not(.btn-primary):hover {
  background: rgba(255, 255, 255, 0.14);
}

body.has-dark-hero .site-header .bell {
  color: #eaf0ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* 滚动后：深色玻璃，文字保持白色 */
body.has-dark-hero .site-header.is-scrolled {
  background: rgba(7, 11, 23, 0.78);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   3. 首屏：深空 + 极光
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--grad-deep);
  border-bottom: 0;
  color: #fff;
  overflow: hidden;
}

/* 极光光斑 */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(46% 42% at 22% 18%, rgba(47, 107, 255, 0.55) 0%, rgba(47, 107, 255, 0) 62%),
    radial-gradient(38% 36% at 82% 8%, rgba(124, 77, 240, 0.48) 0%, rgba(124, 77, 240, 0) 64%),
    radial-gradient(30% 30% at 68% 78%, rgba(34, 211, 238, 0.22) 0%, rgba(34, 211, 238, 0) 66%);
  filter: blur(28px);
  animation: aurora 24s ease-in-out infinite alternate;
  z-index: -2;
}

/* 细网格 + 噪点 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(120, 160, 255, 0.14) 0%, transparent 42%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
  z-index: -1;
  transition: background-position 0.4s ease;
}

@keyframes aurora {
  0% {
    transform: translate3d(-2%, -2%, 0) scale(1);
  }
  50% {
    transform: translate3d(3%, 2%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-1%, 3%, 0) scale(1.02);
  }
}

/* hero 上移垫到透明头部之下 */
body.has-dark-hero .hero {
  margin-top: -72px;
}

.hero .wrap {
  padding-top: 128px;
  padding-bottom: 96px;
  gap: 64px;
  grid-template-columns: 1.06fr 0.94fr;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cfe0ff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
}

.hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6fe3ff;
  box-shadow: 0 0 0 4px rgba(111, 227, 255, 0.16);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(111, 227, 255, 0.16);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 0 7px rgba(111, 227, 255, 0.05);
  }
}

.hero h1 {
  font-size: clamp(44px, 5.2vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #fff;
  margin: 0 0 26px;
}

.hero h1 em {
  background: linear-gradient(96deg, #8fb4ff 0%, #b79cff 46%, #f0b8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero-sub {
  font-size: 16.5px;
  line-height: 1.92;
  color: rgba(226, 234, 252, 0.72);
  max-width: 30em;
  margin: 0 0 22px;
}

.hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13.5px;
  color: rgba(226, 234, 252, 0.9);
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(100deg, rgba(47, 107, 255, 0.16), rgba(124, 77, 240, 0.12));
  backdrop-filter: blur(10px);
}

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

.hero-cta .btn-lg {
  height: 50px;
  padding: 0 26px;
  border-radius: 13px;
  font-size: 15px;
  font-weight: 600;
}

.hero-cta .btn:not(.btn-primary) {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #eef4ff;
  backdrop-filter: blur(12px);
}

.hero-cta .btn:not(.btn-primary):hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero-badges {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges .tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(226, 234, 252, 0.82);
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* 首屏玻璃数据面板 */
.hero-panel {
  position: relative;
  border-radius: 24px;
  padding: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 190, 255, 0.85), transparent);
}

.hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 54px 110px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-panel h3 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(206, 220, 250, 0.6);
  font-weight: 600;
  margin: 0 0 20px;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hero-stat {
  border-radius: 15px;
  padding: 16px 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.hero-stat b {
  display: block;
  font-size: 27px;
  font-weight: 760;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: rgba(206, 220, 250, 0.58);
  letter-spacing: 0.02em;
}

.hero-live {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.hero-live-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: rgba(206, 220, 250, 0.68);
  padding: 4px 0;
}

.hero-live-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.14);
  animation: pulse-dot 2s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   4. 区块节奏
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: 92px 0;
}

.section + .section {
  border-top: 1px solid rgba(8, 16, 31, 0.055);
}

.section[style*="#f8faff"] {
  background: transparent !important;
  border-color: rgba(8, 16, 31, 0.055) !important;
}

.section-head {
  margin-bottom: 40px;
  align-items: flex-end;
}

.section-head .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.18em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head .eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.section-head h2 {
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  font-weight: 780;
  color: var(--ink);
}

.section-head p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-3);
  max-width: 54em;
}

/* --------------------------------------------------------------------------
   5. 卡片语言
   -------------------------------------------------------------------------- */
.item-card,
.card,
.path-card,
.service-card,
.res-entry {
  position: relative;
  background: #fff;
  border: 1px solid rgba(8, 16, 31, 0.07);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(8, 16, 31, 0.03);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s var(--ease-out),
    border-color 0.32s var(--ease-out);
  overflow: hidden;
}

.item-card::after,
.path-card::after,
.service-card::after,
.res-entry::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item-card:hover,
.card:hover,
.path-card:hover,
.service-card:hover,
.res-entry:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 107, 255, 0.22);
  box-shadow: 0 30px 60px -32px rgba(8, 16, 31, 0.28), 0 2px 6px rgba(8, 16, 31, 0.03);
}

.item-card:hover::after,
.path-card:hover::after,
.service-card:hover::after,
.res-entry:hover::after {
  opacity: 1;
}

.item-card {
  padding: 22px;
  gap: 12px;
}

.item-card .title {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.52;
  letter-spacing: -0.02em;
}

.item-card .desc {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-3);
}

.item-card .meta {
  font-size: 12px;
  color: var(--ink-4);
  padding-top: 12px;
  border-top: 1px dashed rgba(8, 16, 31, 0.07);
  margin-top: auto;
}

.card-pad {
  padding: 26px;
  border-radius: var(--radius-lg);
}

/* 成长路径卡 */
.path-card {
  padding: 26px 24px;
}

.path-card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.path-card h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.path-card p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
}

/* 服务卡 */
.service-card {
  padding: 24px;
}

.service-card .ic {
  font-size: 20px;
  margin-bottom: 14px;
}

.service-card h4 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 12.5px;
  line-height: 1.78;
  color: var(--ink-3);
}

/* 资源入口卡 */
.res-entry {
  padding: 26px 24px;
}

.res-entry .res-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(150deg, #f2f6ff, #f7f1ff);
  border: 1px solid #e7edff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
  transition: transform 0.36s var(--ease-out);
}

.res-entry:hover .res-ic {
  transform: scale(1.06) rotate(-3deg);
}

.res-entry h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.res-entry p {
  font-size: 13px;
  line-height: 1.78;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   6. 按钮 / 筛选 / 标签
   -------------------------------------------------------------------------- */
.btn {
  border-radius: 11px;
  border-color: rgba(8, 16, 31, 0.1);
  font-weight: 550;
  transition: transform 0.2s var(--ease-out), box-shadow 0.24s var(--ease-out),
    background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px -14px rgba(8, 16, 31, 0.4);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--grad-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 26px -14px rgba(47, 107, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.42) 48%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px -16px rgba(47, 107, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-lg {
  height: 46px;
  border-radius: 12px;
}

.seg {
  background: rgba(8, 16, 31, 0.04);
  border-radius: 12px;
  padding: 4px;
  gap: 2px;
  border: 1px solid rgba(8, 16, 31, 0.05);
}

.seg button {
  border-radius: 9px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-3);
  padding: 7px 15px;
  transition: background 0.24s var(--ease-out), color 0.2s ease, box-shadow 0.24s ease;
}

.seg button.on {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 12px -6px rgba(8, 16, 31, 0.28);
}

.filter-bar {
  margin-bottom: 26px;
  gap: 14px;
}

.search-box .input,
.input,
.select,
.textarea {
  border-radius: 11px;
  border-color: rgba(8, 16, 31, 0.1);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.24s var(--ease-out);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(47, 107, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.1);
  outline: none;
}

.tag {
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 550;
  padding: 3px 9px;
  letter-spacing: 0.01em;
}

/* 政策/资讯列表 */
.list-tight > li {
  padding: 16px 4px;
  border-bottom: 1px dashed rgba(8, 16, 31, 0.07);
  transition: padding-left 0.24s var(--ease-out), background 0.24s ease;
  border-radius: 8px;
}

.list-tight > li:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.04), transparent);
}

.list-tight > li:last-child {
  border-bottom: 0;
}

.li-title {
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.6;
}

.li-meta {
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 5px;
}

/* 圈子动态 */
.post-row {
  padding: 20px 4px;
  border-bottom: 1px solid rgba(8, 16, 31, 0.06);
  transition: background 0.24s ease, padding-left 0.24s var(--ease-out);
  border-radius: 10px;
}

.post-row:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, rgba(47, 107, 255, 0.035), transparent);
}

.post-title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.post-body {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-3);
  margin-top: 6px;
}

.post-foot {
  font-size: 12px;
  color: var(--ink-4);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   7. 公告条
   -------------------------------------------------------------------------- */
.announce {
  background: linear-gradient(96deg, #0a1020, #131a35 60%, #1c1440);
  color: #dbe4ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.announce-body {
  font-size: 13px;
  letter-spacing: 0.005em;
}

.announce-tag {
  background: rgba(111, 227, 255, 0.14);
  color: #9be7ff;
  border: 1px solid rgba(111, 227, 255, 0.24);
}

/* --------------------------------------------------------------------------
   8. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--grad-deep);
  padding: 72px 0 34px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 160, 255, 0.4), transparent);
}

.site-footer .footer-grid h5 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(174, 190, 224, 0.62);
  margin-bottom: 16px;
}

.site-footer .footer-grid a {
  font-size: 13.5px;
  line-height: 2.1;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.site-footer .footer-grid a:hover {
  color: #fff;
  transform: translateX(2px);
}

.site-footer .brand {
  font-size: 19px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   9. 动效基础设施
   -------------------------------------------------------------------------- */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--rv-delay, 0ms);
  will-change: opacity, transform;
}

.rv.is-in {
  opacity: 1;
  transform: none;
}

/* 滚动进度条 */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #2f6bff, #7c4df0 55%, #f0b8ff);
  z-index: 120;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(124, 77, 240, 0.6);
}

@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero::before {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   10. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 96px;
    padding-bottom: 72px;
  }
  .hero-panel {
    max-width: 560px;
  }
  .section {
    padding: 76px 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
  .section {
    padding: 60px 0;
  }
  .site-header .wrap {
    height: 62px;
  }
  body.has-dark-hero .hero {
    margin-top: -62px;
  }
  .hero .wrap {
    padding-top: 88px;
    padding-bottom: 56px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .hero-stat b {
    font-size: 22px;
  }
  .section-head {
    margin-bottom: 28px;
  }
}
