/* =========================================================
   iithz 首页样式（framer 式，v6）
   - 作用域：.fr-home / body.site-iithz，不污染 site.css（beyond 共用）
   - 由 index.html 通过 {% block head %} 引入
   - 设计基准：Playwright 实测 framer.com（容器 1200、H1 54px/600、演示卡 r18）
   - CSP：无 inline style，进度条宽度用 nth-child 控制
   ========================================================= */

/* ---------- 设计 token ---------- */
.fr-home {
  --fr-bg: #000000;
  --fr-bg-alt: #0a0a0a;
  --fr-card: #0b0b0b;
  --fr-ink: #ffffff;
  --fr-ink-2: #a8a8a8;
  --fr-ink-3: #7a7a7a;
  --fr-line: #1f1f1f;
  --fr-brand: #6366F1;
  --fr-brand-2: #8B5CF6;
  --fr-r: 16px;
  --fr-r-lg: 18px;
  background: var(--fr-bg);
  color: var(--fr-ink);
}

[data-theme="light"] .fr-home {
  --fr-bg: #ffffff;
  --fr-bg-alt: #fafafa;
  --fr-card: #ffffff;
  --fr-ink: #0a0a0a;
  --fr-ink-2: #525252;
  --fr-ink-3: #737373;
  --fr-line: #e8e8e8;
}

/* ---------- 容器 / 分节 ---------- */
.fr-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.fr-sec { padding: 120px 0; }
.fr-sec--alt { background: var(--fr-bg-alt); }

/* ---------- 通用标题 ---------- */
.fr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fr-ink-3);
}

.fr-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fr-brand);
  flex: none;
}

.fr-sec-head { margin-bottom: 48px; max-width: 820px; }

.fr-sec-head h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--fr-ink);
}

.fr-sec-head p {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--fr-ink-2);
  max-width: 640px;
}

.fr-sec-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.fr-sec-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fr-ink-2);
  white-space: nowrap;
  transition: color .2s;
}

.fr-sec-link:hover { color: var(--fr-ink); }

/* ---------- 按钮 ---------- */
.fr-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s;
}

.fr-btn--solid { background: #fff; color: #000; }

[data-theme="light"] .fr-btn--solid { background: #0a0a0a; color: #fff; }

.fr-btn--solid:hover { background: #ececec; }
[data-theme="light"] .fr-btn--solid:hover { background: #262626; }

.fr-btn--ghost {
  background: #151515;
  color: #fff;
  border: 1px solid #262626;
}

[data-theme="light"] .fr-btn--ghost {
  background: #fff;
  color: #0a0a0a;
  border-color: #e0e0e0;
}

.fr-btn--ghost:hover { background: #1e1e1e; }
[data-theme="light"] .fr-btn--ghost:hover { background: #f2f2f2; }

/* =========================================================
   Hero
   ========================================================= */
.fr-hero { padding: 164px 0 0; }

.fr-hero h1 {
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 600;
  max-width: 820px;
  color: var(--fr-ink);
}

.fr-hero-sub {
  margin-top: 20px;
  max-width: 620px;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--fr-ink-2);
}

.fr-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.fr-hero-aside {
  margin-left: auto;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fr-ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.fr-hero-aside b { font-weight: 600; color: var(--fr-ink); }
.fr-hero-aside:hover { color: var(--fr-ink); }

/* ---------- 全宽产品演示卡 ---------- */
.fr-demo { margin-top: 52px; }

.fr-demo-shell {
  border-radius: var(--fr-r-lg);
  border: 1px solid #232323;
  overflow: hidden;
  background: linear-gradient(180deg, #0b0b0d 0%, #08080a 100%);
  box-shadow: 0 0 90px rgba(99, 102, 241, .10), 0 30px 80px rgba(0, 0, 0, .6);
}

[data-theme="light"] .fr-demo-shell {
  border-color: #e4e4e4;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .06);
}

.fr-demo-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid #1c1c1c;
  background: #0a0a0c;
}

[data-theme="light"] .fr-demo-bar {
  border-color: #ececec;
  background: #f7f7f7;
}

.fr-dots3 { display: flex; gap: 6px; }

.fr-dots3 i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #2a2a2a;
}

[data-theme="light"] .fr-dots3 i { background: #d4d4d4; }

.fr-demo-title { font-size: 12.5px; color: var(--fr-ink-3); margin-left: 6px; }

.fr-demo-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(34, 197, 94, .1);
  padding: 3px 9px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fr-demo-badge::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
}

.fr-demo-body { display: flex; height: 470px; }

/* 侧边栏 */
.fr-demo-side {
  width: 196px;
  flex: none;
  border-right: 1px solid #1a1a1a;
  padding: 14px 10px;
  background: #09090b;
}

[data-theme="light"] .fr-demo-side {
  border-color: #ececec;
  background: #fbfbfb;
}

.fr-ds-h {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  color: #5a5a5a;
  padding: 0 10px;
  margin: 10px 0 6px;
}

.fr-ds-i {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12.5px;
  color: #8a8a8a;
}

[data-theme="light"] .fr-ds-i { color: #666; }

.fr-ds-i.is-on { background: #16161a; color: #fff; }

[data-theme="light"] .fr-ds-i.is-on { background: #eeeeee; color: #0a0a0a; }

.fr-ds-i .fr-d {
  width: 6px; height: 6px;
  border-radius: 2px;
  background: #3a3a3a;
  flex: none;
}

.fr-ds-i.is-on .fr-d { background: var(--fr-brand); }

/* 主区 */
.fr-demo-main {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.fr-demo-top { display: flex; align-items: center; gap: 10px; }

.fr-demo-search {
  flex: 1;
  height: 30px;
  border-radius: 7px;
  background: #111114;
  border: 1px solid #1e1e22;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11.5px;
  color: #5f5f5f;
}

[data-theme="light"] .fr-demo-search {
  background: #fff;
  border-color: #e6e6e6;
  color: #9a9a9a;
}

.fr-demo-chip {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  background: #111114;
  border: 1px solid #1e1e22;
  font-size: 11.5px;
  color: #8a8a8a;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

[data-theme="light"] .fr-demo-chip {
  background: #fff;
  border-color: #e6e6e6;
  color: #666;
}

.fr-demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.fr-demo-card {
  background: #0e0e11;
  border: 1px solid #1c1c20;
  border-radius: 10px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  overflow: hidden;
}

[data-theme="light"] .fr-demo-card {
  background: #fff;
  border-color: #ececec;
}

.fr-demo-card-t {
  font-size: 11px;
  font-weight: 600;
  color: #d4d4d4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="light"] .fr-demo-card-t { color: #333; }

.fr-demo-card-v {
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--fr-ink);
}

.fr-demo-card-v em {
  font-size: 10.5px;
  font-weight: 400;
  color: #6a6a6a;
  font-style: normal;
  margin-left: 1px;
}

.fr-demo-track {
  height: 3px;
  border-radius: 2px;
  background: #1d1d22;
  overflow: hidden;
  margin-top: auto;
}

[data-theme="light"] .fr-demo-track { background: #ececec; }

.fr-demo-track i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fr-brand), var(--fr-brand-2));
}

/* 进度条宽度（CSP 安全：不用 inline style） */
.fr-demo-card:nth-child(1) .fr-demo-track i { width: 94%; }
.fr-demo-card:nth-child(2) .fr-demo-track i { width: 91%; }
.fr-demo-card:nth-child(3) .fr-demo-track i { width: 88%; }
.fr-demo-card:nth-child(4) .fr-demo-track i { width: 96%; }
.fr-demo-card:nth-child(5) .fr-demo-track i { width: 83%; }
.fr-demo-card:nth-child(6) .fr-demo-track i { width: 99%; }
.fr-demo-card:nth-child(7) .fr-demo-track i { width: 90%; }
.fr-demo-card:nth-child(8) .fr-demo-track i { width: 0%; }

.fr-demo-state {
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: flex-start;
}

.fr-st-ok { background: rgba(34, 197, 94, .12); color: #4ade80; }
.fr-st-warn { background: rgba(245, 158, 11, .12); color: #fbbf24; }
.fr-st-off { background: rgba(120, 120, 120, .14); color: #8a8a8a; }

/* ---------- 信任条 ---------- */
.fr-trust {
  border-top: 1px solid var(--fr-line);
  border-bottom: 1px solid var(--fr-line);
}

.fr-trust-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 34px;
}

.fr-trust-item {
  font-size: 12.5px;
  color: var(--fr-ink-3);
  font-weight: 500;
}

/* ---------- 客户 logo 滚动 ---------- */
.fr-logos {
  padding: 30px 0;
  border-bottom: 1px solid var(--fr-line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.fr-logos-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: fr-marquee 46s linear infinite;
}

@keyframes fr-marquee { to { transform: translateX(-50%); } }

.fr-logos-track span {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #6f6f6f;
  white-space: nowrap;
}

[data-theme="light"] .fr-logos-track span { color: #c0c0c0; }

/* =========================================================
   核心产品（左文 + 右列表）
   ========================================================= */
.fr-prod-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.fr-prod-intro h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800;
}

.fr-prod-intro p {
  margin-top: 16px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--fr-ink-2);
  max-width: 380px;
}

.fr-prod-list { border-top: 1px solid var(--fr-line); }

.fr-prod-row {
  display: grid;
  grid-template-columns: 38px 1fr 22px;
  gap: 16px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--fr-line);
  transition: padding .2s, background .2s;
}

.fr-prod-row:hover {
  padding-left: 14px;
  padding-right: 14px;
  background: var(--fr-bg-alt);
}

.fr-prod-no {
  font-size: 11px;
  font-weight: 750;
  color: var(--fr-brand);
  letter-spacing: .05em;
}

.fr-prod-name {
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -.01em;
  color: var(--fr-ink);
}

.fr-prod-desc {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fr-ink-3);
}

.fr-prod-arrow {
  font-size: 14px;
  color: #4a4a4a;
  text-align: right;
  transition: transform .2s, color .2s;
}

.fr-prod-row:hover .fr-prod-arrow {
  transform: translateX(3px);
  color: var(--fr-brand);
}

/* =========================================================
   左右交错
   ========================================================= */
.fr-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.fr-split + .fr-split { margin-top: 96px; }
.fr-split--rev .fr-split-media { order: -1; }

.fr-split-media {
  border-radius: var(--fr-r-lg);
  overflow: hidden;
  border: 1px solid var(--fr-line);
  aspect-ratio: 16 / 10;
  background: var(--fr-card);
}

.fr-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fr-split-no {
  font-size: 11px;
  font-weight: 750;
  color: var(--fr-brand);
  letter-spacing: .06em;
}

.fr-split h3 {
  margin-top: 12px;
  font-size: clamp(22px, 2.3vw, 31px);
  line-height: 1.2;
  letter-spacing: -.025em;
  font-weight: 800;
  color: var(--fr-ink);
}

.fr-split p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--fr-ink-2);
}

.fr-split ul { margin-top: 16px; list-style: none; }

.fr-split li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--fr-ink-3);
}

.fr-split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #4a4a4a;
}

.fr-split-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--fr-ink);
  transition: gap .2s;
}

.fr-split-link:hover { gap: 10px; }

/* =========================================================
   行业方案（4 列硬边框）
   ========================================================= */
.fr-ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--fr-line);
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-r-lg);
  overflow: hidden;
}

.fr-ind {
  padding: 30px 24px;
  background: var(--fr-card);
  transition: background .22s;
}

.fr-ind:hover { background: var(--fr-bg-alt); }

.fr-ind-ico {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(99, 102, 241, .09);
  border: 1px solid rgba(99, 102, 241, .18);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.fr-ind h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 9px;
  letter-spacing: -.01em;
  color: var(--fr-ink);
}

.fr-ind p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--fr-ink-3);
}

/* =========================================================
   客户案例
   ========================================================= */
.fr-case-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.fr-case-tab {
  padding: 7px 15px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fr-ink-2);
  border: 1px solid #242424;
  background: transparent;
  cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
  font-family: inherit;
}

[data-theme="light"] .fr-case-tab { border-color: #e0e0e0; }

.fr-case-tab:hover { border-color: #3a3a3a; }
[data-theme="light"] .fr-case-tab:hover { border-color: #c0c0c0; }

.fr-case-tab.is-on {
  background: #fff;
  color: #000;
  border-color: #fff;
}

[data-theme="light"] .fr-case-tab.is-on {
  background: #0a0a0a;
  color: #fff;
  border-color: #0a0a0a;
}

.fr-case-tab em {
  font-style: normal;
  opacity: .5;
  margin-left: 4px;
  font-size: 11px;
}

.fr-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--fr-line);
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-r-lg);
  overflow: hidden;
}

.fr-case {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 172px;
  padding: 26px 24px;
  background: var(--fr-card);
  transition: background .2s;
}

.fr-case:hover { background: var(--fr-bg-alt); }

.fr-case--img {
  padding: 0;
  min-height: 0;
  justify-content: flex-start;
}

.fr-case-ph {
  height: 124px;
  overflow: hidden;
  position: relative;
}

.fr-case-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fr-case-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, var(--fr-card) 97%);
  pointer-events: none;
}

.fr-case-body { padding: 16px 24px 22px; }

.fr-case-cat {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .07em;
  color: var(--fr-brand);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.fr-case h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--fr-ink);
}

.fr-case-ind {
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--fr-ink-3);
}

.fr-case p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--fr-ink-2);
}

.fr-case-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  font-size: 13px;
  color: #454545;
  transition: transform .2s, color .2s;
}

.fr-case:hover .fr-case-arrow {
  transform: translateX(3px);
  color: var(--fr-brand);
}

.fr-case-more { margin-top: 32px; }

/* =========================================================
   技术优势
   ========================================================= */
.fr-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--fr-line);
  border: 1px solid var(--fr-line);
  border-radius: var(--fr-r-lg);
  overflow: hidden;
}

.fr-adv {
  padding: 38px 30px;
  background: var(--fr-card);
}

.fr-adv-no {
  font-size: 11px;
  font-weight: 750;
  color: var(--fr-brand);
  letter-spacing: .06em;
}

.fr-adv h3 {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
  color: var(--fr-ink);
}

.fr-adv p {
  margin-top: 11px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--fr-ink-3);
}

/* =========================================================
   服务体系
   ========================================================= */
.fr-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.fr-svc-ico {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(99, 102, 241, .1);
  border: 1px solid rgba(99, 102, 241, .2);
  display: grid;
  place-items: center;
  font-size: 15px;
  margin-bottom: 16px;
}

.fr-svc h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fr-ink);
}

.fr-svc p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--fr-ink-3);
}

/* =========================================================
   发展轨迹
   ========================================================= */
.fr-tl-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 36px;
  padding: 22px 0;
  border-top: 1px solid var(--fr-line);
}

.fr-tl-row:last-child { border-bottom: 1px solid var(--fr-line); }

.fr-tl-y {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--fr-ink);
}

.fr-tl-y em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--fr-ink-3);
}

.fr-tl-c {
  padding-top: 2px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--fr-ink-2);
}

.fr-tl-c b { color: var(--fr-ink); font-weight: 600; }

/* =========================================================
   关于我们
   ========================================================= */
.fr-about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: start;
}

.fr-about h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--fr-ink);
}

.fr-about p {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--fr-ink-2);
}

.fr-subs {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--fr-line);
  border: 1px solid var(--fr-line);
  border-radius: 14px;
  overflow: hidden;
}

.fr-sub { padding: 20px 22px; background: var(--fr-card); }

.fr-sub h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--fr-ink);
}

.fr-sub span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--fr-ink-3);
}

/* =========================================================
   CTA
   ========================================================= */
.fr-cta-wrap { padding: 0 0 120px; }
.fr-cta-wrap--tight { padding-top: 80px; }

/* 案例详情 */
.fr-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fr-ink-3);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: color .2s;
}
.fr-cv-head .fr-eyebrow { margin-bottom: 20px; }
.fr-cv-head .fr-case-cat { margin-bottom: 10px; }
.fr-cv-head h1 { margin-top: 0; }
.fr-cases-tabs-wrap { padding-top: 8px; }
.fr-back:hover { color: var(--fr-brand); }
.fr-cv-head { padding-top: 120px; padding-bottom: 40px; }
.fr-cv-cover {
  margin-top: 40px;
  border-radius: var(--fr-r-lg);
  overflow: hidden;
  border: 1px solid var(--fr-line);
  max-height: 460px;
}
.fr-cv-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fr-cv-body { padding: 56px 0 0; max-width: 780px; }
.fr-cv-body p { font-size: 15px; line-height: 1.85; color: var(--fr-ink-2); margin-bottom: 16px; }
.fr-cv-body h2, .fr-cv-body h3 { color: var(--fr-ink); margin: 28px 0 12px; letter-spacing: -.02em; }
.fr-cv-body ul, .fr-cv-body ol { margin: 0 0 16px 22px; color: var(--fr-ink-2); line-height: 1.9; font-size: 15px; }
.fr-cv-body img { border-radius: 12px; margin: 20px 0; }
.fr-cv-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fr-cv-tag {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 6px;
  color: var(--fr-ink-2); background: rgba(255,255,255,.04); border: 1px solid var(--fr-line);
}
[data-theme="light"] .fr-cv-tag { background: #f5f5f5; }

.fr-cta-box {
  padding: 88px 48px;
  border-radius: var(--fr-r-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d14, #131022, #0d0d14);
  border: 1px solid rgba(99, 102, 241, .15);
}

.fr-cta-box::before {
  content: "";
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, .12), transparent 70%);
  pointer-events: none;
}

.fr-cta-box h2 {
  position: relative;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 800;
  color: #fff;
}

.fr-cta-box p {
  position: relative;
  margin: 18px auto 0;
  max-width: 500px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .62);
}

.fr-cta-box .fr-btn {
  position: relative;
  margin-top: 32px;
}

/* 空状态 */
.fr-empty {
  padding: 48px 0;
  text-align: center;
  font-size: 14px;
  color: var(--fr-ink-3);
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1100px) {
  .fr-prod-wrap { grid-template-columns: 1fr; gap: 36px; }
  .fr-ind-grid { grid-template-columns: repeat(2, 1fr); }
  .fr-svc-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .fr-adv-grid { grid-template-columns: 1fr; }
  .fr-case-grid { grid-template-columns: repeat(2, 1fr); }
  .fr-split { grid-template-columns: 1fr; gap: 28px; }
  .fr-split--rev .fr-split-media { order: 0; }
  .fr-about { grid-template-columns: 1fr; gap: 32px; }
  .fr-demo-side { display: none; }
  .fr-demo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 矮屏：进一步压缩，保证首屏可见信任条 */
@media (max-height: 940px) and (min-width: 641px) {
  .fr-hero { padding-top: 128px; }
  .fr-hero h1 { font-size: clamp(32px, 3.2vw, 48px); }
  .fr-hero-sub { margin-top: 16px; font-size: 15.5px; }
  .fr-hero-actions { margin-top: 22px; }
  .fr-btn { height: 38px; }
  .fr-demo { margin-top: 36px; }
  .fr-demo-body { height: 380px; }
  .fr-demo-side { width: 170px; }
}

@media (max-width: 640px) {
  .fr-wrap { padding: 0 20px; }
  .fr-sec { padding: 80px 0; }
  .fr-hero { padding: 112px 0 0; }
  .fr-hero h1 { font-size: 32px; }
  .fr-hero-aside { margin-left: 0; margin-top: 4px; width: 100%; }
  .fr-ind-grid,
  .fr-svc-grid,
  .fr-case-grid { grid-template-columns: 1fr; }
  .fr-demo-body { height: 300px; }
  .fr-demo-grid { grid-template-columns: repeat(2, 1fr); }
  .fr-tl-row { grid-template-columns: 1fr; gap: 8px; }
  .fr-split-media { aspect-ratio: 4 / 3; }
}

/* 无障碍：尊重系统减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .fr-logos-track { animation: none; }
  .fr-home * { transition-duration: .01ms !important; }
}
