/* ============================================
   home.css - 首页样式
   2.5D 冰蓝科技风 / 深蓝+橙色配色
   ============================================ */

/* ① Hero Banner */
.zh_hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.zh_hero_bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.zh_hero_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}
.zh_hero_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(15,35,64,0.92) 0%, rgba(26,63,111,0.75) 45%, rgba(26,63,111,0.3) 100%);
    z-index: 1;
}
/* 装饰浮岛 */
.zh_hero_deco {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
}
.zh_hero_deco1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(74,159,229,0.12) 0%, transparent 70%);
    top: -80px; right: 10%;
}
.zh_hero_deco2 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(232,114,42,0.1) 0%, transparent 70%);
    bottom: 60px; left: 5%;
}
.zh_hero_deco3 {
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(94,194,106,0.1) 0%, transparent 70%);
    top: 40%; right: 25%;
}
.zh_hero_inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 100px;
}
.zh_hero_content {
    max-width: 600px;
}
.zh_hero_title {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.zh_hero_title span {
    background: var(--zh-gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.zh_hero_desc {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 520px;
}
/* 搜索框 */
.zh_hero_search {
    margin-bottom: 28px;
}
.zh_hero_search_inner {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--zh-radius-xl);
    padding: 6px 6px 6px 22px;
    max-width: 520px;
}
.zh_hero_search_inner > i {
    color: rgba(255,255,255,0.5);
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}
.zh_hero_search_inner input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 15px;
    padding: 12px 0;
    min-width: 0;
}
.zh_hero_search_inner input::placeholder {
    color: rgba(255,255,255,0.45);
}
.zh_hero_search_inner button {
    background: var(--zh-gradient-orange);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--zh-radius-xl);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.zh_hero_search_inner button:hover {
    box-shadow: var(--zh-shadow-orange);
    transform: translateY(-1px);
}
.zh_hero_btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
/* 波浪过渡 */
.zh_hero_wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 4;
    line-height: 0;
}
.zh_hero_wave svg {
    width: 100%;
    height: 80px;
}

/* ② 分类入口 */
.zh_categories {
    background: var(--zh-bg-light);
    padding: 50px 0 60px;
}
.zh_cat_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.zh_cat_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 16px;
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    border: 1px solid rgba(226,232,240,0.5);
    box-shadow: var(--zh-shadow-sm);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    text-decoration: none;
}
.zh_cat_item:hover {
    transform: translateY(-8px);
    box-shadow: var(--zh-shadow-md);
    border-color: transparent;
}
.zh_cat_icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.zh_cat_item:hover .zh_cat_icon {
    transform: translateY(-4px) scale(1.08);
}
.zh_25d_icon { width: 80px; height: 80px; filter: drop-shadow(0 4px 8px rgba(26,63,111,0.12)); }
.zh_cat_name {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-text);
}

/* ③ 信息展示区 */
.zh_infos_section {
    padding: 70px 0 60px;
    background: var(--zh-white);
}
.zh_infos_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}
.zh_infos_header_left {}
.zh_infos_tabs {
    display: flex;
    gap: 4px;
    background: var(--zh-bg-light);
    padding: 4px;
    border-radius: var(--zh-radius-sm);
}
.zh_tab_btn {
    padding: 8px 22px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-text-secondary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}
.zh_tab_btn.active {
    background: var(--zh-white);
    color: var(--zh-blue);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.zh_tab_btn:hover:not(.active) {
    color: var(--zh-text);
}
/* 大图+列表混排 */
.zh_infos_mix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}
.zh_info_big_card {
    display: block;
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    overflow: hidden;
    border: 1px solid rgba(226,232,240,0.6);
    box-shadow: var(--zh-shadow);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.zh_info_big_card:hover {
    transform: translateY(-6px);
    box-shadow: var(--zh-shadow-hover);
    border-color: transparent;
}
.zh_info_big_img {
    height: 240px;
    background: var(--zh-bg-light);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh_info_big_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.zh_info_big_card:hover .zh_info_big_img img {
    transform: scale(1.05);
}
.zh_info_big_badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--zh-gradient);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.zh_info_big_body {
    padding: 20px;
}
.zh_info_big_body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--zh-text);
    margin: 8px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_info_big_body p {
    font-size: 14px;
    color: var(--zh-text-secondary);
    line-height: 1.6;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_info_big_meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--zh-text-muted);
}
.zh_info_big_meta i { margin-right: 4px; }

/* 右侧列表 */
.zh_info_side_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zh_info_row {
    display: flex;
    gap: 16px;
    padding: 14px;
    background: var(--zh-white);
    border-radius: var(--zh-radius-sm);
    border: 1px solid rgba(226,232,240,0.6);
    transition: all 0.3s;
    align-items: center;
}
.zh_info_row:hover {
    background: var(--zh-bg-ice);
    border-color: var(--zh-sky);
    transform: translateX(4px);
    box-shadow: var(--zh-shadow-sm);
}
.zh_info_row_thumb {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--zh-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh_info_row_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zh_info_row_body {
    flex: 1;
    min-width: 0;
}
.zh_info_row_body h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-text);
    margin: 4px 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_info_row_meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--zh-text-muted);
}
.zh_info_row_meta i { margin-right: 3px; }

/* 卡片网格 */
.zh_infos_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 10px;
}

/* 跑马灯 */
.zh_marquee {
    display: flex;
    align-items: center;
    background: var(--zh-bg-light);
    border-radius: var(--zh-radius-sm);
    padding: 12px 20px;
    margin-bottom: 10px;
    overflow: hidden;
}
.zh_marquee_label {
    font-size: 13px;
    font-weight: 600;
    color: var(--zh-orange);
    white-space: nowrap;
    margin-right: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.zh_marquee_wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.zh_marquee_track {
    display: flex;
    gap: 32px;
    animation: zh_marquee_scroll 30s linear infinite;
    white-space: nowrap;
}
.zh_marquee_item {
    font-size: 13px;
    color: var(--zh-text-secondary);
    white-space: nowrap;
    transition: color 0.3s;
}
.zh_marquee_item:hover { color: var(--zh-blue); }
@keyframes zh_marquee_scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ④ 数据看板 */
.zh_stats_section {
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}
.zh_stats_bg {
    position: absolute;
    inset: 0;
    background: var(--zh-gradient);
    z-index: 0;
}
.zh_stats_bg::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.zh_stats_bg::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 10%;
    width: 180px;
    height: 180px;
    background: rgba(232,114,42,0.08);
    border-radius: 50%;
}
.zh_stats_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.zh_stats_item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--zh-radius);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}
.zh_stats_item:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}
.zh_stats_icon {
    font-size: 28px;
    color: var(--zh-orange-light);
    margin-bottom: 12px;
}
.zh_stats_num {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -1px;
}
.zh_stats_label {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

/* ⑤ 服务商展示 */
.zh_merchants_showcase {
    padding: 70px 0;
    background: var(--zh-bg-light);
}
.zh_merchant_scroll {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}
.zh_merchant_card {
    background: var(--zh-white);
    border-radius: var(--zh-radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid rgba(226,232,240,0.5);
    box-shadow: var(--zh-shadow-sm);
    transition: all 0.35s;
}
.zh_merchant_card:hover {
    transform: translateY(-6px);
    box-shadow: var(--zh-shadow-md);
    border-color: transparent;
}
.zh_merchant_card_top {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
}
.zh_merchant_avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--zh-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--zh-bg-light);
    margin: 0 auto;
}
.zh_merchant_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zh_merchant_avatar_text {
    font-size: 24px;
    font-weight: 700;
    color: var(--zh-blue);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh_merchant_verified_badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    color: var(--zh-green);
    font-size: 18px;
    background: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh_merchant_card_name {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-text);
    margin: 0 0 8px;
}
.zh_merchant_card_meta {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 12px;
    color: var(--zh-text-muted);
    margin-bottom: 10px;
}
.zh_merchant_card_meta i {
    margin-right: 3px;
    color: var(--zh-green);
}
.zh_merchant_card_desc {
    font-size: 13px;
    color: var(--zh-text-secondary);
    line-height: 1.5;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zh_merchant_card_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--zh-sky);
    font-weight: 500;
    transition: all 0.3s;
}
.zh_merchant_card_btn:hover {
    color: var(--zh-orange);
}
.zh_merchant_card_btn i { font-size: 11px; transition: transform 0.3s; }
.zh_merchant_card_btn:hover i { transform: translateX(4px); }

/* ⑥ 平台优势 */
.zh_advantages {
    padding: 70px 0;
    background: var(--zh-white);
}
.zh_adv_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.zh_adv_card {
    padding: 36px 32px;
    background: var(--zh-gradient-card);
    border-radius: var(--zh-radius-lg);
    border: 1px solid rgba(226,232,240,0.5);
    box-shadow: var(--zh-shadow-sm);
    transition: all 0.35s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.zh_adv_card:hover {
    transform: translateY(-6px);
    box-shadow: var(--zh-shadow-md);
    border-color: transparent;
}
.zh_adv_icon { margin-bottom: 18px; }
.zh_adv_card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--zh-blue);
    margin: 0 0 10px;
}
.zh_adv_card p {
    font-size: 14px;
    color: var(--zh-text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ⑦ 使用流程 */
.zh_process {
    padding: 70px 0;
    background: var(--zh-bg-light);
}
.zh_process_timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}
.zh_process_line {
    position: absolute;
    top: 36px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--zh-sky), var(--zh-orange), var(--zh-green), var(--zh-blue));
    border-radius: 2px;
    opacity: 0.3;
}
.zh_process_step {
    text-align: center;
    position: relative;
}
.zh_process_node {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--zh-white);
    box-shadow: var(--zh-shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.zh_process_step:hover .zh_process_node {
    transform: scale(1.1);
    box-shadow: var(--zh-shadow-lg);
}
.zh_process_icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--zh-gradient);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zh_process_step:nth-child(3) .zh_process_icon { background: var(--zh-gradient-orange); }
.zh_process_step:nth-child(4) .zh_process_icon { background: linear-gradient(135deg, #5EC26A, #38A169); }
.zh_process_step:nth-child(5) .zh_process_icon { background: var(--zh-gradient); }
.zh_process_num {
    font-size: 13px;
    font-weight: 700;
    color: var(--zh-orange);
    margin-bottom: 6px;
}
.zh_process_step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-text);
    margin: 0 0 6px;
}
.zh_process_step p {
    font-size: 13px;
    color: var(--zh-text-secondary);
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

/* ⑧ CTA */
.zh_cta {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.zh_cta_bg {
    position: absolute;
    inset: 0;
    background: var(--zh-gradient);
}
.zh_cta_bg::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: rgba(232,114,42,0.1);
    border-radius: 50%;
}
.zh_cta_bg::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.zh_cta_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.zh_cta_card {
    padding: 48px 40px;
    border-radius: var(--zh-radius-lg);
    text-align: center;
    transition: all 0.3s;
}
.zh_cta_card:hover { transform: translateY(-4px); }
.zh_cta_card_user {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}
.zh_cta_card_merchant {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}
.zh_cta_card_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #fff;
}
.zh_cta_card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}
.zh_cta_card p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 24px;
    line-height: 1.6;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1100px) {
    .zh_infos_grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .zh_hero { min-height: 520px; }
    .zh_hero_title { font-size: 34px; }
    .zh_cat_grid { grid-template-columns: repeat(3, 1fr); }
    .zh_infos_mix { grid-template-columns: 1fr; }
    .zh_info_big_img { height: 200px; }
    .zh_infos_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_stats_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_adv_grid { grid-template-columns: 1fr; }
    .zh_process_timeline { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .zh_process_line { display: none; }
    .zh_cta_grid { grid-template-columns: 1fr; }
    .zh_infos_header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 767px) {
    .zh_hero { min-height: 480px; }
    .zh_hero_inner { padding-top: 80px; padding-bottom: 80px; }
    .zh_hero_title { font-size: 28px; }
    .zh_hero_desc { font-size: 14px; margin-bottom: 24px; }
    .zh_hero_search_inner { padding: 4px 4px 4px 16px; }
    .zh_hero_search_inner button { padding: 10px 20px; font-size: 14px; }
    .zh_hero_wave svg { height: 50px; }
    .zh_hero_btns .zh_btn { padding: 10px 22px; font-size: 14px; }
    .zh_categories { padding: 35px 0 40px; }
    .zh_cat_grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .zh_cat_item { padding: 18px 10px; }
    .zh_cat_icon { width: 56px; height: 56px; }
    .zh_25d_icon { width: 56px; height: 56px; }
    .zh_cat_name { font-size: 13px; }
    .zh_infos_section { padding: 40px 0; }
    .zh_infos_grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .zh_info_thumb { height: 130px; }
    .zh_info_row_thumb { width: 72px; height: 56px; }
    .zh_stats_section { padding: 50px 0; }
    .zh_stats_num { font-size: 32px; }
    .zh_stats_item { padding: 24px 14px; }
    .zh_merchants_showcase { padding: 50px 0; }
    .zh_merchant_scroll { grid-template-columns: repeat(2, 1fr); }
    .zh_advantages { padding: 50px 0; }
    .zh_process { padding: 50px 0; }
    .zh_process_timeline { grid-template-columns: 1fr 1fr; }
    .zh_cta { padding: 50px 0; }
    .zh_cta_card { padding: 32px 24px; }
}
@media (max-width: 480px) {
    .zh_cat_grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .zh_infos_grid { grid-template-columns: 1fr; }
    .zh_stats_grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .zh_merchant_scroll { grid-template-columns: 1fr 1fr; gap: 14px; }
}
