/* ============================================================
 * 北京尧图网络科技有限公司 · 内页扩展样式 v2.0
 * 列表页、详情页、行业/方案页专属组件
 * ============================================================ */

/* ========== 内页 Banner ========== */
.page-banner {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-dark);
    color: var(--light-white);
    overflow: hidden;
    padding: 150px 0 70px;
}
.page-banner-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.24;
}
.page-banner .banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(19,19,24,0.92) 0%, rgba(19,19,24,0.55) 60%, rgba(230,57,70,0.2) 100%);
}
.page-banner-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 24px; }
.page-banner-title { font-size: 48px; font-weight: 800; margin-bottom: 14px; letter-spacing: 1px; line-height: 1.2; }
.page-banner-crumb { font-size: 14px; opacity: 0.85; }
.page-banner-crumb a { color: var(--red-light); }
.page-banner-crumb a:hover { text-decoration: underline; }
.page-banner-crumb span { margin: 0 10px; opacity: 0.6; }
.page-banner-sub { font-size: 17px; opacity: 0.8; margin-top: 14px; line-height: 1.8; }

/* ========== 筛选 & 列表 ========== */
.filter-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; flex-wrap: wrap; gap: 18px; }
.filter-tabs { display: flex; gap: 12px; flex-wrap: wrap; }
.filter-tab {
    padding: 9px 24px;
    background: var(--light-white);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid transparent;
}
.filter-tab:hover, .filter-tab.active { background: var(--gradient-red); color: #fff; box-shadow: 0 8px 24px rgba(230,57,70,0.3); }
.sort-select {
    padding: 10px 20px;
    background: var(--light-white);
    border: 1px solid var(--line-gray);
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    color: var(--deep-black);
}

.grid-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.grid-item {
    background: var(--light-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: block;
}
.grid-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-mid); }
.grid-item-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.grid-item-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition-smooth); }
.grid-item:hover .grid-item-img img { transform: scale(1.07); }
.grid-item-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--gradient-red);
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}
.grid-item-content { padding: 24px; }
.grid-item-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.grid-item-desc { font-size: 14px; color: var(--medium-gray); line-height: 1.8; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.grid-item-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line-gray); font-size: 13px; color: var(--medium-gray); }
.grid-item-meta .read { color: var(--primary-red); font-weight: 600; }

/* ========== 分页 ========== */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 56px; }
.pagination a, .pagination span {
    min-width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--light-white);
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    transition: var(--transition-smooth);
}
.pagination .cur { background: var(--gradient-red); color: #fff; }
.pagination a:hover { transform: translateY(-2px); color: var(--primary-red); }

/* ========== 详情页 ========== */
.detail-wrap { max-width: 920px; margin: 0 auto; background: var(--light-white); border-radius: var(--radius-lg); padding: 52px; box-shadow: var(--shadow-soft); }
.detail-title { font-size: 34px; font-weight: 800; margin-bottom: 20px; line-height: 1.4; }
.detail-meta { display: flex; gap: 28px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line-gray); margin-bottom: 30px; }
.detail-meta span { font-size: 14px; color: var(--medium-gray); }
.detail-cover { width: 100%; border-radius: var(--radius-md); margin-bottom: 36px; aspect-ratio: 16/8; object-fit: cover; }
.detail-content { font-size: 16px; line-height: 2; color: #333; }
.detail-content p { margin-bottom: 22px; }
.detail-content img { max-width: 100%; border-radius: var(--radius-md); margin: 24px 0; }
.detail-content h2 { font-size: 26px; font-weight: 700; margin: 36px 0 18px; color: var(--deep-black); }
.detail-content h3 { font-size: 21px; font-weight: 700; margin: 28px 0 14px; color: var(--deep-black); }
.detail-content ul, .detail-content ol { margin: 18px 0; padding-left: 26px; }
.detail-content li { margin-bottom: 10px; }
.detail-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line-gray); }
.tag-item { padding: 8px 18px; background: rgba(230,57,70,0.08); color: var(--primary-red); border-radius: 20px; font-size: 13px; font-weight: 500; }

/* ========== 案例详情 ========== */
.case-hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin: 40px 0; }
.case-hero-stat { background: var(--light-white); border-radius: var(--radius-md); padding: 26px; text-align: center; box-shadow: var(--shadow-soft); }
.case-hero-stat .n { font-size: 36px; font-weight: 800; color: var(--primary-red); }
.case-hero-stat .l { font-size: 13px; color: var(--medium-gray); margin-top: 6px; }

/* 行业解决方案双栏特性 */
.industry-float { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.industry-item { background: var(--light-white); border-radius: var(--radius-md); padding: 26px 24px; box-shadow: var(--shadow-soft); border-left: 4px solid var(--primary-red); transition: var(--transition-smooth); }
.industry-item:hover { transform: translateX(6px); box-shadow: var(--shadow-mid); }
.industry-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.industry-item p { font-size: 13.5px; color: var(--medium-gray); line-height: 1.8; }

/* 流程横向步骤条 */
.flow-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; position: relative; }
.flow-step { text-align: center; padding: 20px 14px; position: relative; }
.flow-step .dot {
    width: 60px; height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--gradient-red);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 26px rgba(230,57,70,0.35);
    position: relative;
    z-index: 2;
}
.flow-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--medium-gray); line-height: 1.7; }

/* 场景化大图 */
.scene-block { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.scene-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene-block .scene-text {
    position: relative;
    z-index: 2;
    padding: 44px;
    width: 100%;
    background: linear-gradient(to top, rgba(19,19,24,0.9), transparent);
    color: #fff;
}
.scene-block .scene-text h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.scene-block .scene-text p { font-size: 15px; opacity: 0.85; max-width: 620px; line-height: 1.9; }

/* 技术规格表 */
.spec-table { width: 100%; border-collapse: collapse; background: var(--light-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.spec-table th, .spec-table td { padding: 16px 22px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--line-gray); }
.spec-table th { background: var(--gradient-dark); color: #fff; font-weight: 600; }
.spec-table tr:hover td { background: rgba(230,57,70,0.03); }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag-cloud a { padding: 10px 22px; background: var(--light-white); border-radius: 30px; font-size: 14px; box-shadow: var(--shadow-soft); transition: var(--transition-smooth); }
.tag-cloud a:hover { background: var(--gradient-red); color: #fff; transform: translateY(-3px); }

/* 数据可视化页专用 */
.kpi-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.kpi-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 30px; text-align: center; }
.kpi-box .k { font-size: 40px; font-weight: 800; color: var(--red-light); }
.kpi-box .t { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* 通用列表符号 */
.check-list li { padding: 8px 0; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.check-list li::before { content: '✓'; color: var(--primary-red); font-weight: 800; }

/* 时间轴 */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 30px; }.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary-red), rgba(230,57,70,0.1)); }
.tl-item { position: relative; padding: 0 0 36px 30px; }
.tl-item::before {
    content: '';
    position: absolute;
    left: -26px; top: 4px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--gradient-red);
    border: 3px solid var(--light-white);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.25);
}
.tl-item h4 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.tl-item .tl-date { font-size: 13px; color: var(--primary-red); font-weight: 600; margin-bottom: 6px; }
.tl-item p { font-size: 14.5px; color: var(--medium-gray); line-height: 1.85; }

/* 联系网格（左信息卡 + 右表单） */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: stretch; }
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* 通用响应式 */
@media (max-width: 768px) {
    .page-banner { min-height: 300px; padding: 120px 0 50px; }
    .page-banner-title { font-size: 30px; }
    .detail-wrap { padding: 24px 20px; }
    .detail-title { font-size: 26px; }
    .grid-list { grid-template-columns: 1fr; }
}
