/* ============================================================
   智派科技官网 · 质感提升 v4（2026-09-30 第二批）
   ① CTA 纹理加强（40% → 可见）
   ② 打破「4 列卡片行」重复：
      · 适用场景 → 3+1 非对称
      · 产品界面 → 图文左右并排（大图 + 说明）
   ③ 数字层级再修（01-04）
   ④ 首屏产品卡进一步放大
   ⑤ 深色区数据条视觉强化
   ============================================================ */

/* ===== ① CTA 纹理加强 ===== */
.cta::before {
  background-image:
    linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  mask-image: radial-gradient(ellipse 78% 88% at 50% 50%, #000 42%, transparent 82%) !important;
  -webkit-mask-image: radial-gradient(ellipse 78% 88% at 50% 50%, #000 42%, transparent 82%) !important;
}
/* CTA 加一圈内发光，更有层次 */
.cta::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== ② 打破 4 列重复 ===== */

/* --- ②-1 适用场景：3 + 1 非对称（前 3 个等宽，第 4 个横跨）--- */
.sec-scene .grid4 {
  grid-template-columns: repeat(3, 1fr) !important;
}
.sec-scene .aud-card:nth-child(4) {
  grid-column: 1 / -1;                 /* 第 4 个横跨整行 */
  display: flex; align-items: center; gap: 22px;
  padding: 26px 32px;
}
.sec-scene .aud-card:nth-child(4) .aud-ic {
  margin-bottom: 0; flex: none;
}
.sec-scene .aud-card:nth-child(4) > div:last-child { flex: 1; }
.sec-scene .aud-card:nth-child(4) .aud-who { margin-bottom: 6px; }

/* --- ②-2 产品界面：大图左（span 4）+ 右 4 行说明 --- */
.sec-ui .shot-grid-plus {
  display: grid !important;
  grid-template-columns: 1.55fr 1fr !important;
  grid-template-rows: repeat(4, auto) !important;
  gap: 18px 26px !important;
  align-items: stretch;
}
.sec-ui .shot-grid-plus .shot-item-main {
  grid-column: 1 !important;
  grid-row: 1 / span 4 !important;
  margin-bottom: 0 !important;
  display: flex; flex-direction: column;
}
.sec-ui .shot-grid-plus .shot-item {
  grid-column: 2 !important;
  display: flex !important; align-items: center; gap: 14px;
  padding: 10px !important;
  border-top: 3px solid var(--c-ui-ln) !important;
}
.sec-ui .shot-grid-plus .shot-item img {
  width: 108px !important; flex: none;
  aspect-ratio: 4 / 3 !important; object-fit: cover; object-position: top;
  border-radius: 7px !important;
}
.sec-ui .shot-grid-plus .shot-item .shot-cap { padding: 0 !important; }
.sec-ui .shot-grid-plus .shot-item .shot-cap b { font-size: 13.5px !important; margin-bottom: 3px !important; }
.sec-ui .shot-grid-plus .shot-item .shot-cap span {
  font-size: 12px !important; line-height: 1.6 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* 主图窗口感 */
.sec-ui .shot-item-main {
  position: relative;
  border: 1px solid #dbe3ef !important;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(2,132,199,.16), 0 6px 16px rgba(16,24,40,.08) !important;
  background: #fff;
}
.sec-ui .shot-item-main::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 32px;
  background: linear-gradient(180deg, #f7f9fc, #eef2f8);
  border-bottom: 1px solid #e3e8f0;
  z-index: 1;
}
.sec-ui .shot-item-main::after {
  content: '● ● ●';
  position: absolute; top: 8px; left: 15px;
  font-size: 9px; letter-spacing: 4px; color: #c3cbd8;
  z-index: 2;
}
.sec-ui .shot-item-main > img {
  width: 100%; display: block; padding-top: 32px;
  aspect-ratio: 16 / 11; object-fit: cover; object-position: top;
}
.sec-ui .shot-item-main .shot-cap {
  padding: 14px 18px 16px !important;
  border-top: 1px solid #eef2f8;
}
.sec-ui .shot-item-main .shot-cap b { font-size: 15px !important; }
.sec-ui .shot-item-main .shot-cap span { font-size: 12.5px !important; line-height: 1.75; }

/* ===== ③ 数字层级（01-04 缩小，标题主导）===== */
.feat-n {
  font-size: 15px !important;
  padding: 3px 10px !important;
  letter-spacing: .5px !important;
  margin-bottom: 12px !important;
}
.feat h4 { font-size: 17px !important; margin-bottom: 10px !important; }

/* ===== ④ 首屏产品卡再放大 ===== */
.hero-in { grid-template-columns: 1.05fr .95fr !important; gap: 48px !important; }
.hv-card { transform: scale(1.02); }
.hero-visual::before {
  background: radial-gradient(circle at 58% 45%, rgba(59,130,246,.22) 0%, transparent 66%) !important;
  filter: blur(44px) !important;
}

/* ===== ⑤ 深色数据条强化 ===== */
.stat-strip {
  background:
    radial-gradient(600px 240px at 18% 0%, rgba(99,102,241,.20) 0%, transparent 62%),
    radial-gradient(560px 220px at 88% 100%, rgba(96,165,250,.16) 0%, transparent 64%),
    linear-gradient(135deg, #1a2338 0%, #202c47 100%) !important;
  position: relative;
}
.stat-strip::before {
  content: '';
  position: absolute; inset: 0;
  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: 36px 36px;
  pointer-events: none;
}
.stat-strip .wrap { position: relative; z-index: 1; }
.stat-item .n {
  background: linear-gradient(135deg, #93c5fd, #c4b5fd) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none;
}
.stat-item .l { color: #a5b4cd !important; }

/* ===== ⑥ 卡片 hover 微交互（专业感）===== */
.card, .feat, .aud-card, .value-card, .tf-item, .shot-item {
  transition: transform .25s cubic-bezier(.34,1.2,.64,1),
              box-shadow .25s ease, border-color .25s ease !important;
}
.shot-item img { transition: transform .38s cubic-bezier(.34,1.2,.64,1); }

/* ===== ⑦ 版块标题：加"装饰点"提升精致度 ===== */
.sec-hd .kicker i { box-shadow: 0 2px 6px rgba(0,0,0,.14); }

/* ===== ⑧ 表格行 hover 更明显 ===== */
.sec-stack .prod-table tbody tr { transition: background .16s; }
.sec-stack .prod-table tbody tr:hover { background: #f6f9ff !important; }
.sec-stack .prod-table td:first-child { font-weight: 700; }

/* ===== 响应式：非对称布局在窄屏回退 ===== */
@media (max-width: 900px) {
  .sec-scene .grid4 { grid-template-columns: 1fr !important; }
  .sec-scene .aud-card:nth-child(4) {
    grid-column: auto; display: block; padding: 24px 20px;
  }
  .sec-scene .aud-card:nth-child(4) .aud-ic { margin-bottom: 16px; }
  .sec-ui .shot-grid-plus { grid-template-columns: 1fr !important; grid-template-rows: auto !important; }
  .sec-ui .shot-grid-plus .shot-item-main { grid-column: 1 !important; grid-row: auto !important; }
  .sec-ui .shot-grid-plus .shot-item { grid-column: 1 !important; }
  .sec-ui .shot-grid-plus .shot-item img { width: 96px !important; }
  .hero-in { grid-template-columns: 1fr !important; }
  .hv-card { transform: none; }
}


/* ===== 产品界面：小图 4 行时压缩高度 ===== */
.sec-ui .shot-item:nth-child(n+2) {
  padding: 10px !important;
  min-height: 0 !important;
}
.sec-ui .shot-item:nth-child(n+2) img {
  width: 104px !important;
  aspect-ratio: 4 / 3 !important;
  border-radius: 7px !important;
}
.sec-ui .shot-item:nth-child(n+2) .shot-cap { padding: 0 !important; }
.sec-ui .shot-item:nth-child(n+2) .shot-cap b { font-size: 13.5px !important; margin-bottom: 3px !important; }
.sec-ui .shot-item:nth-child(n+2) .shot-cap span {
  font-size: 12px !important; line-height: 1.6 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ===== 关键：给产品截图加"窗口感"（深色顶栏 + 边框 + 强阴影）===== */
/* 解决"白底浅色截图缩略后像空白"的问题 */
.shot-main img, .sec-ui .shot-item:nth-child(n+2) img {
  border-radius: 8px !important;
  box-shadow: 0 1px 3px rgba(16,24,40,.10), 0 1px 2px rgba(16,24,40,.06);
  border: 1px solid #e3e8f0;
  background: #fff;
}
/* 主图外框加强 + 顶部加"浏览器条"视觉 */
.sec-ui .shot-main {
  position: relative;
  border: 1px solid #dbe3ef !important;
  box-shadow: 0 22px 56px rgba(2,132,199,.16), 0 6px 16px rgba(16,24,40,.08) !important;
}
.sec-ui .shot-main::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 34px;
  background: linear-gradient(180deg, #f7f9fc, #eef2f8);
  border-bottom: 1px solid #e3e8f0;
  border-radius: 16px 16px 0 0;
  z-index: 1;
}
.sec-ui .shot-main::after {
  content: '● ● ●';
  position: absolute; top: 9px; left: 16px;
  font-size: 9px; letter-spacing: 4px; color: #c3cbd8;
  z-index: 2;
}
.sec-ui .shot-main > img { padding-top: 34px; }
