/* ============================================
   home.css - 首页专属样式
   配色: 蓝橙双色（Logo + Banner）
   ============================================ */

/* --- ① Hero Banner --- */
.zh_hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--zh-dark-blue);
}
.zh_hero_bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}
.zh_hero_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13,31,60,0.88) 0%, rgba(13,31,60,0.72) 40%, rgba(21,53,96,0.40) 100%);
}
.zh_hero_pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 60px 60px;
}
.zh_hero_content {
    position: relative;
    z-index: 2;
    text-align: left;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
.zh_hero_title {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
    max-width: 500px;
}
.zh_hero_desc {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 480px;
}
.zh_hero_search {
    display: flex;
    max-width: 520px;
    margin: 0 0 35px;
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.zh_hero_search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 24px;
    font-size: 15px;
    height: 50px;
    color: var(--zh-text);
}
.zh_hero_search input::placeholder {
    color: #94A3B8;
}
.zh_hero_search button {
    background: var(--zh-accent);
    color: #fff;
    border: none;
    padding: 0 28px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}
.zh_hero_search button:hover {
    background: var(--zh-accent-dark, #C96510);
}
.zh_hero_stats {
    display: flex;
    justify-content: flex-start;
    gap: 50px;
}
.zh_hero_stat_num {
    font-size: 32px;
    font-weight: 700;
    color: var(--zh-accent);
    line-height: 1.2;
}
.zh_hero_stat_label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* --- ② 信息分类导航 --- */
.zh_category_nav {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding: 0 0 30px;
}
.zh_category_nav_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    background: #fff;
    border-radius: var(--zh-radius-lg);
    padding: 30px;
    box-shadow: var(--zh-shadow-md);
}
.zh_category_nav_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    border-radius: var(--zh-radius-md);
    text-decoration: none;
    color: var(--zh-text);
    transition: all 0.3s;
    border: 1px solid transparent;
}
.zh_category_nav_card:hover {
    color: var(--zh-primary);
    transform: translateY(-4px);
    border-color: var(--zh-accent);
    border-top: 3px solid var(--zh-accent);
    box-shadow: var(--zh-shadow-sm);
}
.zh_category_nav_icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--zh-primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--zh-primary);
    transition: all 0.3s;
}
.zh_category_nav_card:hover .zh_category_nav_icon {
    background: var(--zh-accent);
    color: #fff;
}
.zh_category_nav_name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.zh_category_nav_count {
    font-size: 12px;
    color: var(--zh-text-muted);
}

/* --- ③ 精选推荐 — 左大图焦点 + 右列表 --- */
.zh_featured {
    padding: 60px 0;
    background: var(--zh-bg-light);
}
.zh_featured_layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

/* 左侧大图焦点 */
.zh_spotlight {
    display: block;
    position: relative;
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 420px;
    background: #0D1F3C;
    box-shadow: var(--zh-shadow-md);
    transition: all 0.3s;
}
.zh_spotlight:hover {
    box-shadow: var(--zh-shadow-lg);
    transform: translateY(-2px);
    color: inherit;
}
.zh_spotlight_img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F4F8;
}
.zh_spotlight_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.zh_spotlight_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 28px;
    background: linear-gradient(to top, rgba(13,31,60,0.92) 0%, rgba(13,31,60,0.6) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.zh_spotlight_badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--zh-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 10px;
    width: fit-content;
}
.zh_spotlight_tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    width: fit-content;
}
.zh_spotlight_title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_spotlight_desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_spotlight_meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.zh_spotlight_meta i {
    margin-right: 4px;
}

/* 右侧竖向列表 */
.zh_featured_list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: var(--zh-radius-lg);
    overflow: hidden;
    box-shadow: var(--zh-shadow);
}
.zh_featured_list_item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
    border-bottom: 1px solid var(--zh-border);
}
.zh_featured_list_item:last-child {
    border-bottom: none;
}
.zh_featured_list_item:hover {
    background: var(--zh-primary-bg);
    color: inherit;
}
.zh_featured_list_rank {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--zh-bg-light);
    color: var(--zh-text-muted);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh_featured_list_item:nth-child(1) .zh_featured_list_rank {
    background: var(--zh-accent);
    color: #fff;
}
.zh_featured_list_item:nth-child(2) .zh_featured_list_rank {
    background: var(--zh-primary);
    color: #fff;
}
.zh_featured_list_item:nth-child(3) .zh_featured_list_rank {
    background: var(--zh-primary-light);
    color: #fff;
}
.zh_featured_list_thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    background: #F0F4F8;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh_featured_list_thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.zh_featured_list_thumb .zh_info_thumb_placeholder {
    font-size: 20px;
}
.zh_featured_list_body {
    flex: 1;
    min-width: 0;
}
.zh_featured_list_title {
    font-size: 14px;
    font-weight: 600;
    color: var(--zh-text);
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_featured_list_item:hover .zh_featured_list_title {
    color: var(--zh-primary);
}
.zh_featured_list_meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--zh-text-muted);
}
.zh_featured_list_cat {
    padding: 1px 8px;
    background: var(--zh-primary-bg);
    color: var(--zh-primary);
    border-radius: 3px;
    font-size: 11px;
}
.zh_featured_list_meta i {
    margin-right: 3px;
}

/* --- ④ 各分类信息展示 --- */
.zh_category_section {
    padding: 60px 0;
}
.zh_bg_white {
    background: #fff;
}
.zh_bg_light {
    background: var(--zh-bg-light);
}
.zh_category_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.zh_category_header_left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zh_category_header_bar {
    display: block;
    width: 4px;
    height: 24px;
    background: var(--zh-primary);
    border-radius: 2px;
}
.zh_category_header_title {
    font-size: 20px;
    font-weight: 700;
    color: var(--zh-dark-blue);
    margin: 0;
}
.zh_category_header_more {
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-accent);
    text-decoration: none;
    transition: all 0.3s;
}
.zh_category_header_more:hover {
    color: var(--zh-accent-dark, #C96510);
}
.zh_category_header_more i {
    margin-left: 4px;
    transition: transform 0.3s;
}
.zh_category_header_more:hover i {
    transform: translateX(4px);
}
.zh_category_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* --- ⑤ 平台优势（深色背景） --- */
.zh_advantages {
    padding: 70px 0;
    background: var(--zh-gradient-hero);
}
.zh_title_white {
    color: #fff !important;
}
.zh_subtitle_white {
    color: rgba(255,255,255,0.7) !important;
}
.zh_advantage_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.zh_advantage_card {
    text-align: center;
    padding: 35px 20px;
    border-radius: var(--zh-radius-lg);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    transition: all 0.3s;
}
.zh_advantage_card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.15);
}
.zh_advantage_icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--zh-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s;
}
.zh_advantage_card:hover .zh_advantage_icon {
    transform: scale(1.1);
}
.zh_advantage_title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}
.zh_advantage_desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

/* --- ⑥ 入驻流程 --- */
.zh_process {
    padding: 60px 0;
    background: #fff;
}
.zh_process_steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.zh_process_step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 15px;
}
.zh_process_step_num {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--zh-accent);
    margin-bottom: 12px;
}
.zh_process_step_icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--zh-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--zh-primary);
    font-size: 30px;
    transition: all 0.3s;
}
.zh_process_step:hover .zh_process_step_icon {
    background: var(--zh-accent);
    border-color: var(--zh-accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(232,122,32,0.3);
}
.zh_process_step_title {
    font-size: 17px;
    font-weight: 600;
    color: var(--zh-dark-blue);
    margin-bottom: 6px;
}
.zh_process_step_desc {
    font-size: 13px;
    color: var(--zh-text-secondary);
    line-height: 1.5;
}
/* 步骤之间连接线 */
.zh_process_step::after {
    content: '';
    position: absolute;
    top: 60px;
    left: calc(50% + 50px);
    width: calc(100% - 100px);
    height: 2px;
    border-top: 2px dashed var(--zh-border);
}
.zh_process_step:last-child::after {
    display: none;
}

/* --- ⑦ 优质服务商 --- */
.zh_merchants_section {
    padding: 60px 0;
    background: var(--zh-bg-light);
}
.zh_merchant_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.zh_merchant_card {
    background: #fff;
    border-radius: var(--zh-radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--zh-shadow);
    transition: all 0.3s;
}
.zh_merchant_card:hover {
    transform: translateY(-4px);
    box-shadow: var(--zh-shadow-hover);
}
.zh_merchant_avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    background: var(--zh-primary-bg);
}
.zh_merchant_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zh_merchant_avatar_placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zh-gradient);
}
.zh_merchant_name {
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-text);
    margin-bottom: 8px;
}
.zh_merchant_name a {
    color: inherit;
}
.zh_merchant_name a:hover {
    color: var(--zh-primary);
}
.zh_merchant_verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--zh-primary);
    background: var(--zh-primary-bg);
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.zh_merchant_count {
    font-size: 13px;
    color: var(--zh-text-secondary);
    margin-bottom: 12px;
}
.zh_merchant_desc {
    font-size: 13px;
    color: var(--zh-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}
.zh_merchant_card .zh_btn_outline {
    font-size: 13px;
    padding: 8px 20px;
}

/* --- ⑧ CTA --- */
.zh_cta {
    position: relative;
    padding: 70px 0;
    background: var(--zh-gradient);
    overflow: hidden;
    text-align: center;
}
.zh_cta_pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px);
    background-size: 50px 50px;
}
.zh_cta_content {
    position: relative;
    z-index: 2;
}
.zh_cta_title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.zh_cta_desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}
.zh_cta_btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.zh_cta_btn_accent {
    display: inline-block;
    padding: 14px 36px;
    background: var(--zh-accent);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}
.zh_cta_btn_accent:hover {
    background: var(--zh-accent-dark, #C96510);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,122,32,0.4);
    color: #fff;
}

/* 查看全部链接 */
.zh_view_all {
    text-align: center;
    margin-top: 35px;
}
.zh_view_all a {
    color: var(--zh-accent);
    font-size: 15px;
    font-weight: 500;
}
.zh_view_all a i {
    margin-left: 4px;
    transition: transform 0.3s;
}
.zh_view_all a:hover i {
    transform: translateX(4px);
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 991px) {
    .zh_hero { height: 400px; }
    .zh_hero_title { font-size: 30px; max-width: none; }
    .zh_hero_desc { font-size: 16px; max-width: none; }
    .zh_hero_content { text-align: center; }
    .zh_hero_search { margin: 0 auto 30px; max-width: 480px; }
    .zh_hero_stats { justify-content: center; gap: 30px; }
    .zh_hero_stat_num { font-size: 26px; }
    .zh_hero_overlay { background: linear-gradient(135deg, rgba(13,31,60,0.85), rgba(21,53,96,0.85)); }
    .zh_category_nav { margin-top: -30px; }
    .zh_category_nav_grid { grid-template-columns: repeat(3, 1fr); padding: 20px; }
    .zh_featured_layout { grid-template-columns: 1fr; }
    .zh_spotlight { min-height: 320px; }
    .zh_category_grid { grid-template-columns: repeat(3, 1fr); }
    .zh_process_steps { flex-wrap: wrap; gap: 30px; }
    .zh_process_step::after { display: none; }
    .zh_process_step { flex: 0 0 calc(50% - 15px); }
    .zh_merchant_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_advantage_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .zh_hero { height: 320px; }
    .zh_hero_title { font-size: 24px; }
    .zh_hero_desc { font-size: 15px; margin-bottom: 20px; }
    .zh_hero_search { border-radius: 8px; }
    .zh_hero_search input { padding: 0 15px; font-size: 14px; height: 46px; }
    .zh_hero_search button { padding: 0 18px; font-size: 14px; }
    .zh_hero_stats { gap: 20px; }
    .zh_hero_stat_num { font-size: 22px; }
    .zh_hero_stat_label { font-size: 12px; }
    .zh_category_nav { margin-top: -20px; }
    .zh_category_nav_grid { grid-template-columns: repeat(2, 1fr); padding: 16px; gap: 10px; }
    .zh_category_nav_card { padding: 16px 10px; }
    .zh_featured, .zh_process,
    .zh_merchants_section, .zh_advantages, .zh_cta,
    .zh_category_section {
        padding: 40px 0;
    }
    .zh_spotlight { min-height: 260px; }
    .zh_featured_list_thumb { width: 60px; height: 45px; }
    .zh_category_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_process_step { flex: 0 0 100%; }
    .zh_merchant_grid { grid-template-columns: 1fr; }
    .zh_advantage_grid { grid-template-columns: 1fr; }
    .zh_cta_title { font-size: 22px; }
    .zh_cta_btns { flex-direction: column; align-items: center; }
    .zh_section_header { margin-bottom: 25px; }
}
