<br />
<b>Warning</b>:  mkdir(): No space left on device in <b>/www/wwwroot/NEW476A36.COM/func.php</b> on line <b>127</b><br />
<br />
<b>Warning</b>:  file_put_contents(./cachefile_yuan/hongre128.com/img/d9/05b1a/3c27a.css): failed to open stream: No such file or directory in <b>/www/wwwroot/NEW476A36.COM/func.php</b> on line <b>115</b><br />
/* =========================================
   home-v2.css — 首页改版专属样式
   ========================================= */

/* ==========================================
   产品能力矩阵 Tab Section
   ========================================== */
.home-matrix-section {
  padding: 3.75rem 0;
  background: #f8fafc;
  overflow: hidden;
}

/* Tab 导航条 */
.home-matrix-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 1.5px solid #e5e7eb;
}

.home-matrix-tab {
  position: relative;
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.home-matrix-tab::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  right: 0;
  height: 2px;
  background: #111827;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.home-matrix-tab.is-active {
  color: #111827;
  font-weight: 600;
}

.home-matrix-tab.is-active::after {
  transform: scaleX(1);
}

.home-matrix-tab:hover:not(.is-active) {
  color: #374151;
}

/* 面板容器 — 用定位叠放而非 display:none，避免 Swiper 测量失效 */
.home-matrix-panels {
  position: relative;
}

.home-matrix-panel {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 0;
  /* 高度由内容决定，绝对定位后先固定 */
  visibility: hidden;
  transition: opacity 0.25s ease;
}

/* 激活面板恢复文档流 */
.home-matrix-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  visibility: visible;
}

/* 面板头部：nav 按钮对齐右侧 */
.home-matrix-panel-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

/* ==========================================
   场景落地 Bento Grid
   ========================================== */
.home-scene-section {
  padding: 3.75rem 0;
  background: #fff;
}

.scene-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 220px;
  gap: 14px;
}

/* 左列大卡：跨 2 行 */
.scene-bento-cell--large {
  grid-column: 1;
  grid-row: 1 / 3;
}

/* 通用卡片 */
.scene-bento-cell {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0, 0, .5, 1),
              box-shadow 0.3s cubic-bezier(0, 0, .5, 1);
}

.scene-bento-cell:hover {
  transform: scale3d(1.018, 1.018, 1.018);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

/* 背景图 */
.scene-bento-cell__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.scene-bento-cell:hover .scene-bento-cell__bg {
  transform: scale(1.05);
}

/* 渐变遮罩 */
.scene-bento-cell__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.18) 52%,
    transparent 78%
  );
}

.scene-bento-cell--large .scene-bento-cell__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    transparent 80%
  );
}

/* 内容 */
.scene-bento-cell__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  color: #fff;
}

.scene-bento-cell--large .scene-bento-cell__content {
  padding: 26px 28px;
}

/* 场景 badge */
.scene-bento-cell__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
  backdrop-filter: blur(4px);
}

.scene-badge--medical   { background: rgba(52,199,89,0.2);   color: #6ee7a0; border: 1px solid rgba(110,231,160,0.4); }
.scene-badge--transport { background: rgba(0,113,227,0.2);   color: #93c5fd; border: 1px solid rgba(147,197,253,0.4); }
.scene-badge--cockpit   { background: rgba(175,82,222,0.2);  color: #d8b4fe; border: 1px solid rgba(216,180,254,0.4); }
.scene-badge--marketing { background: rgba(255,159,10,0.2);  color: #fdba74; border: 1px solid rgba(253,186,116,0.4); }
.scene-badge--iot       { background: rgba(90,200,250,0.2);  color: #7dd3fc; border: 1px solid rgba(125,211,252,0.4); }

/* 标题 */
.scene-bento-cell__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 5px;
}

.scene-bento-cell--large .scene-bento-cell__title {
  font-size: 1.625rem;
  margin-bottom: 8px;
}

/* 描述（仅大卡显示） */
.scene-bento-cell__desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}

/* 链接 */
.scene-bento-cell__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: gap 0.2s;
}

.scene-bento-cell__link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.scene-bento-cell:hover .scene-bento-cell__link {
  gap: 7px;
}

.scene-bento-cell:hover .scene-bento-cell__link svg {
  transform: translateX(2px);
}

/* ==========================================
   响应式
   ========================================== */

/* 1024px: 2列，大卡占满第一行 */
@media (max-width: 1024px) {
  .scene-bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 200px 200px;
  }

  .scene-bento-cell--large {
    grid-column: 1 / 3;
    grid-row: 1;
  }
}

/* 640px: 单列瀑布 */
@media (max-width: 640px) {
  .scene-bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 10px;
  }

  .scene-bento-cell--large {
    grid-column: 1;
    grid-row: auto;
    height: 240px;
  }

  .scene-bento-cell {
    height: 180px;
  }
}

/* 移动端 Tab 字号收缩 */
@media (max-width: 480px) {
  .home-matrix-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}
