/* ============================================================
   宙序科技 · 信息发布平台 — 首页样式 v5.0
   风格：浅色通透 + 蓝色渐变（靛蓝 → 天青）
   依赖 layouts/app.blade.php 的 :root 变量与通用组件
   类名前缀：zh_
   ============================================================ */

/* ===== 通用：区块标题行（左标题 + 右"查看全部"） ===== */
.zh_section_head_row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.zh_section_head_row .zh_section_title { margin-bottom: 8px; }
.zh_section_desc_sm {
    font-size: 14px;
    color: var(--zh-text-muted);
    margin: 0;
}
.zh_section_more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-primary);
    padding: 9px 18px;
    border-radius: var(--zh-radius-pill);
    background: var(--zh-primary-soft);
    border: 1px solid rgba(30, 107, 230, .16);
    transition: all .25s ease;
    flex-shrink: 0;
}
.zh_section_more:hover {
    color: #fff;
    background: var(--zh-gradient-primary);
    border-color: transparent;
    transform: translateX(3px);
}
.zh_section_more i { font-size: 12px; }

/* ============================================================
   板块 1：分栏 Hero
   ============================================================ */
.zh_hero {
    position: relative;
    /* banner 原生 1200x400(3:1)。用 auto 100% 让图按高度铺满、宽度保持比例不被横向放大；
       右侧插画靠右,左侧空缺用与 banner 留白同色的浅底补齐,保持清晰不模糊 */
    background-color: #EAF2FF;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right center;
    border-bottom: 1px solid var(--zh-border);
    overflow: hidden;
    isolation: isolate;
}
/* 左侧留白处的可读性蒙版（左实右透,文字压在 banner 留白区） */
.zh_hero_mask {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(244, 248, 255, .97) 0%,
        rgba(244, 248, 255, .92) 28%,
        rgba(244, 248, 255, .55) 52%,
        rgba(244, 248, 255, .12) 70%,
        rgba(244, 248, 255, 0) 84%);
}

.zh_hero_inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding: 56px 28px;
}
.zh_hero_text { max-width: 600px; }
.zh_hero_badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--zh-primary);
    background: #fff;
    border: 1px solid var(--zh-border);
    box-shadow: var(--zh-shadow-soft);
    padding: 8px 18px;
    border-radius: var(--zh-radius-pill);
    margin-bottom: 22px;
}
.zh_hero_badge i { color: var(--zh-accent); }
.zh_hero_title {
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 900;
    line-height: 1.18;
    color: var(--zh-text-primary);
    margin: 0 0 20px;
    letter-spacing: -.5px;
}
.zh_hero_title .zh_text_grad { display: block; margin-top: 6px; }
.zh_hero_desc {
    font-size: 16px;
    line-height: 1.9;
    color: var(--zh-text-body);
    margin: 0 0 32px;
    max-width: 540px;
}
.zh_hero_cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}
.zh_hero_trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--zh-text-body);
}
.zh_hero_trust span { display: inline-flex; align-items: center; gap: 7px; }
.zh_hero_trust i { color: var(--zh-primary); }
.zh_hero_trust_dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--zh-border-strong);
}

/* ============================================================
   板块 2：数据条带（悬浮卡片）
   ============================================================ */
.zh_stats_band {
    position: relative;
    margin-top: -42px;
    z-index: 5;
}
.zh_stats_card {
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-xl);
    box-shadow: var(--zh-shadow-card);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}
.zh_stat_item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 28px;
    border-right: 1px solid var(--zh-border);
}
.zh_stat_item:last-child { border-right: none; }
.zh_stat_icon {
    width: 54px; height: 54px;
    flex-shrink: 0;
    border-radius: var(--zh-radius-md);
    background: var(--zh-primary-soft);
    color: var(--zh-primary);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 22px;
}
.zh_stat_body strong {
    display: block;
    font-size: 30px;
    font-weight: 800;
    color: var(--zh-text-primary);
    line-height: 1.1;
}
.zh_stat_body strong em {
    font-style: normal;
    font-size: 15px;
    font-weight: 700;
    color: var(--zh-accent);
    margin-left: 3px;
}
.zh_stat_body span {
    font-size: 13.5px;
    color: var(--zh-text-muted);
}

/* ============================================================
   板块 3：两大栏目入口
   ============================================================ */
.zh_entry_section .zh_section_head { margin-top: 18px; }
.zh_entry_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}
.zh_entry_card {
    position: relative;
    display: flex;
    gap: 22px;
    padding: 34px;
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-xl);
    box-shadow: var(--zh-shadow-card);
    overflow: hidden;
    transition: all .35s ease;
}
.zh_entry_card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--zh-gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.zh_entry_card:hover {
    border-color: rgba(30, 107, 230, .3);
    box-shadow: var(--zh-shadow-card-hover);
    transform: translateY(-5px);
}
.zh_entry_card:hover::before { transform: scaleX(1); }
.zh_entry_icon {
    width: 70px; height: 70px;
    flex-shrink: 0;
    border-radius: var(--zh-radius-lg);
    background: var(--zh-gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 30px;
    box-shadow: var(--zh-shadow-btn);
    transition: transform .35s ease;
}
.zh_entry_card:hover .zh_entry_icon { transform: scale(1.06) rotate(-4deg); }
.zh_entry_body { flex: 1; min-width: 0; }
.zh_entry_label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--zh-accent);
    text-transform: uppercase;
}
.zh_entry_body h3 {
    font-size: 23px;
    font-weight: 800;
    color: var(--zh-text-primary);
    margin: 8px 0 10px;
}
.zh_entry_body p {
    font-size: 14px;
    color: var(--zh-text-body);
    line-height: 1.75;
    margin: 0 0 18px;
}
.zh_entry_meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--zh-border);
}
.zh_entry_meta > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--zh-text-muted);
    font-weight: 600;
}
.zh_entry_meta i { color: var(--zh-accent); }
.zh_entry_go { color: var(--zh-primary) !important; }
.zh_entry_card:hover .zh_entry_go i { transform: translateX(4px); }
.zh_entry_go i { transition: transform .25s ease; }

/* ============================================================
   板块 4：图文介绍（关于平台）
   ============================================================ */
.zh_about_inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 56px;
}
.zh_about_image { position: relative; }
.zh_about_image_frame {
    position: relative;
    border-radius: var(--zh-radius-xl);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--zh-border);
    box-shadow: var(--zh-shadow-card);
    padding: 18px;
}
.zh_about_image_frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--zh-radius-lg);
}
.zh_about_badge {
    position: absolute;
    bottom: -22px; right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    box-shadow: var(--zh-shadow-card-hover);
}
.zh_about_badge > i {
    width: 40px; height: 40px;
    border-radius: var(--zh-radius-md);
    background: var(--zh-gradient-primary);
    color: #fff;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 17px;
}
.zh_about_badge strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--zh-text-primary);
}
.zh_about_badge span {
    font-size: 12px;
    color: var(--zh-text-muted);
}
.zh_about_text { max-width: 580px; }
.zh_about_title {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 800;
    line-height: 1.32;
    color: var(--zh-text-primary);
    margin: 14px 0 18px;
    letter-spacing: -.5px;
}
.zh_about_desc {
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--zh-text-body);
    margin: 0 0 22px;
}
.zh_about_list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 13px;
}
.zh_about_list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    color: var(--zh-text-body);
    line-height: 1.6;
}
.zh_about_list li i {
    color: var(--zh-accent);
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}
.zh_about_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ============================================================
   信息卡片网格（板块 5 / 7）
   ============================================================ */
.zh_info_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.zh_info_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    box-shadow: var(--zh-shadow-card);
    transition: all .32s ease;
}
.zh_info_card:hover {
    transform: translateY(-6px);
    box-shadow: var(--zh-shadow-card-hover);
    border-color: rgba(30, 107, 230, .28);
}
.zh_info_thumb {
    position: relative;
    height: 180px;
    background: var(--zh-bg-tint);
    overflow: hidden;
}
.zh_info_thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}
.zh_info_card:hover .zh_info_thumb img { transform: scale(1.05); }
.zh_info_thumb_placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 46px;
    color: var(--zh-primary);
    background: var(--zh-primary-soft);
}
.zh_info_cat {
    position: absolute;
    top: 12px; left: 12px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(30, 107, 230, .92);
    border-radius: var(--zh-radius-pill);
    backdrop-filter: blur(4px);
}
.zh_info_hot {
    position: absolute;
    top: 12px; right: 12px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--zh-gradient-cyan);
    border-radius: var(--zh-radius-pill);
}
.zh_info_body {
    padding: 18px 18px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.zh_info_body h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--zh-text-primary);
    margin: 0 0 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
}
.zh_info_card:hover .zh_info_body h4 { color: var(--zh-primary); }
.zh_info_meta {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}
.zh_info_meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--zh-text-body);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zh_info_meta i { color: var(--zh-accent); width: 14px; flex-shrink: 0; }
.zh_info_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 13px;
    border-top: 1px solid var(--zh-border);
    font-size: 12.5px;
    color: var(--zh-text-muted);
}
.zh_info_footer span { display: inline-flex; align-items: center; gap: 6px; }
.zh_info_footer i { color: var(--zh-text-muted); }

/* ============================================================
   板块 6：平台优势
   ============================================================ */
.zh_advantage_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.zh_advantage_item {
    position: relative;
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    padding: 32px 26px;
    box-shadow: var(--zh-shadow-card);
    overflow: hidden;
    transition: all .32s ease;
}
.zh_advantage_item:hover {
    transform: translateY(-6px);
    box-shadow: var(--zh-shadow-card-hover);
    border-color: rgba(30, 107, 230, .26);
}
.zh_advantage_icon {
    position: relative;
    z-index: 1;
    width: 60px; height: 60px;
    border-radius: var(--zh-radius-lg);
    background: var(--zh-primary-soft);
    color: var(--zh-primary);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 25px;
    margin-bottom: 20px;
    transition: all .32s ease;
}
.zh_advantage_item:hover .zh_advantage_icon {
    background: var(--zh-gradient-primary);
    color: #fff;
    box-shadow: var(--zh-shadow-btn);
}
.zh_advantage_item h4 {
    position: relative;
    z-index: 1;
    font-size: 17px;
    font-weight: 800;
    color: var(--zh-text-primary);
    margin: 0 0 10px;
}
.zh_advantage_item p {
    position: relative;
    z-index: 1;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--zh-text-body);
    margin: 0;
}
.zh_advantage_num {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    color: var(--zh-primary-soft);
    z-index: 0;
}

/* ============================================================
   板块 8：入驻服务商
   ============================================================ */
.zh_merchant_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.zh_merchant_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 16px 20px;
    background: #fff;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    box-shadow: var(--zh-shadow-card);
    transition: all .3s ease;
}
.zh_merchant_card:hover {
    transform: translateY(-5px);
    box-shadow: var(--zh-shadow-card-hover);
    border-color: rgba(30, 107, 230, .26);
}
.zh_merchant_logo {
    width: 64px; height: 64px;
    margin-bottom: 14px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--zh-border);
    background: var(--zh-bg-tint);
}
.zh_merchant_logo img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.zh_merchant_logo_placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 26px;
    color: var(--zh-primary);
    background: var(--zh-primary-soft);
}
.zh_merchant_name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--zh-text-primary);
    margin-bottom: 5px;
}
.zh_merchant_card:hover .zh_merchant_name { color: var(--zh-primary); }
.zh_merchant_count {
    font-size: 12.5px;
    color: var(--zh-text-muted);
    margin-bottom: 12px;
}
.zh_merchant_badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--zh-primary);
    background: var(--zh-primary-soft);
    padding: 4px 12px;
    border-radius: var(--zh-radius-pill);
}
.zh_merchant_badge i { color: var(--zh-accent); }

/* ============================================================
   板块 9：入驻流程（横向时间轴）
   ============================================================ */
.zh_timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.zh_timeline_line {
    position: absolute;
    top: 76px; left: 12%; right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--zh-primary-soft), var(--zh-accent), var(--zh-primary-soft));
    z-index: 0;
}
.zh_timeline_item {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 14px;
}
.zh_timeline_step {
    font-size: 13px;
    font-weight: 800;
    color: var(--zh-accent);
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.zh_timeline_dot {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--zh-primary-soft);
    color: var(--zh-primary);
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 25px;
    box-shadow: var(--zh-shadow-card);
    transition: all .32s ease;
}
.zh_timeline_item:hover .zh_timeline_dot {
    background: var(--zh-gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--zh-shadow-btn);
    transform: translateY(-4px);
}
.zh_timeline_item h4 {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--zh-text-primary);
    margin: 0 0 8px;
}
.zh_timeline_item p {
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--zh-text-body);
    margin: 0;
}

/* ============================================================
   板块 10：底部 CTA（蓝色渐变）
   ============================================================ */
.zh_section_cta { padding: 0 0 88px; }
.zh_cta_card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    flex-wrap: wrap;
    padding: 56px 60px;
    border-radius: var(--zh-radius-xl);
    background: var(--zh-gradient-deep);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(27, 60, 143, .32);
}
.zh_cta_glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.zh_cta_glow_1 {
    width: 320px; height: 320px;
    top: -120px; right: -40px;
    background: radial-gradient(circle, rgba(25, 181, 242, .45) 0%, transparent 70%);
}
.zh_cta_glow_2 {
    width: 280px; height: 280px;
    bottom: -140px; left: 10%;
    background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, transparent 70%);
}
.zh_cta_text { position: relative; z-index: 2; max-width: 620px; }
.zh_cta_badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.3);
    padding: 6px 16px;
    border-radius: var(--zh-radius-pill);
    margin-bottom: 18px;
}
.zh_cta_badge i { color: #7FE3FF; }
.zh_cta_text h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}
.zh_cta_text p {
    font-size: 15px;
    color: rgba(231, 238, 251, .9);
    margin: 0;
    line-height: 1.7;
}
.zh_cta_actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
    .zh_info_grid { grid-template-columns: repeat(3, 1fr); }
    .zh_merchant_grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .zh_hero { background-position: 72% center; }
    .zh_hero_mask {
        background: linear-gradient(90deg,
            rgba(244, 248, 255, .97) 0%,
            rgba(244, 248, 255, .9) 40%,
            rgba(244, 248, 255, .6) 70%,
            rgba(244, 248, 255, .35) 100%);
    }
    .zh_hero_inner { min-height: 400px; padding: 56px 28px; }
    .zh_about_inner { grid-template-columns: 1fr; gap: 48px; }
    .zh_about_image { max-width: 540px; margin: 0 auto; }
    .zh_about_text { max-width: 100%; }
    .zh_entry_grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .zh_stats_card { grid-template-columns: repeat(2, 1fr); }
    .zh_stat_item:nth-child(2) { border-right: none; }
    .zh_stat_item:nth-child(1), .zh_stat_item:nth-child(2) { border-bottom: 1px solid var(--zh-border); }
    .zh_info_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_advantage_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_merchant_grid { grid-template-columns: repeat(3, 1fr); }
    .zh_timeline { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
    .zh_timeline_line { display: none; }
    .zh_cta_card { padding: 40px 32px; }
}
@media (max-width: 560px) {
    .zh_hero { background-position: left center; }
    .zh_hero_mask {
        background: linear-gradient(180deg,
            rgba(244, 248, 255, .9) 0%,
            rgba(244, 248, 255, .82) 100%);
    }
    .zh_hero_inner { min-height: 340px; padding: 48px 18px; }
    .zh_hero_title { font-size: 30px; }
    .zh_hero_cta .zh_btn { width: 100%; }
    .zh_stats_band { margin-top: -28px; }
    .zh_stat_item { padding: 20px 18px; gap: 12px; }
    .zh_stat_icon { width: 46px; height: 46px; font-size: 18px; }
    .zh_stat_body strong { font-size: 24px; }
    .zh_info_grid { grid-template-columns: 1fr; }
    .zh_advantage_grid { grid-template-columns: 1fr; }
    .zh_merchant_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_entry_card { flex-direction: column; gap: 18px; padding: 26px 22px; }
    .zh_about_badge { right: 16px; padding: 12px 16px; }
    .zh_cta_card { flex-direction: column; align-items: flex-start; padding: 34px 24px; }
    .zh_cta_actions .zh_btn { width: 100%; }
}
