/* ============================================
   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%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 80px;
}

.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;
}

/* 搜索框 */
.zh_hero_search {
    margin-bottom: 28px;
}

.zh_hero_search_inner {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    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;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    padding: 10px 0;
}

.zh_hero_search_inner input::placeholder { color: rgba(255,255,255,0.5); }

.zh_hero_search_inner button {
    padding: 10px 28px;
    background: var(--zh-gradient-orange);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.zh_hero_search_inner button:hover {
    box-shadow: 0 4px 16px rgba(232,114,42,0.4);
}

/* 按钮组 */
.zh_hero_btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* 底部统计条 */
.zh_hero_stats {
    display: flex;
    gap: 40px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.zh_hero_stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zh_hero_stat_icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    flex-shrink: 0;
}

.zh_hero_stat_num {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.zh_hero_stat_label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

/* 波浪过渡 */
.zh_hero_wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 4;
    line-height: 0;
}

.zh_hero_wave svg {
    width: 100%;
    height: 80px;
}

/* ② 精选好物混合布局 */
.zh_products_mix_section {
    padding: 70px 0 60px;
    background: #fff;
}

.zh_infos_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.zh_infos_tabs {
    display: flex;
    gap: 4px;
    background: var(--zh-bg);
    padding: 4px;
    border-radius: 8px;
}

.zh_tab_btn {
    padding: 8px 22px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-text-light);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.zh_tab_btn.active {
    background: #fff;
    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_products_mix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.zh_prod_big_card {
    display: block;
    background: #fff;
    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_prod_big_card:hover {
    transform: translateY(-6px);
    box-shadow: var(--zh-shadow-hover);
    border-color: transparent;
}

.zh_prod_big_img {
    height: 280px;
    background: #fafafa;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_prod_big_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.zh_prod_big_card:hover .zh_prod_big_img img {
    transform: scale(1.05);
}

.zh_info_big_badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--zh-gradient-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.zh_prod_big_body {
    padding: 20px;
}

.zh_prod_big_body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--zh-text);
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_prod_big_price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

/* 右侧商品列表 */
.zh_prod_side_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zh_prod_row {
    display: flex;
    gap: 16px;
    padding: 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(226,232,240,0.6);
    transition: all 0.3s;
    align-items: center;
    text-decoration: none;
}

.zh_prod_row:hover {
    background: var(--zh-bg);
    border-color: var(--zh-blue-light);
    transform: translateX(4px);
    box-shadow: var(--zh-shadow);
}

.zh_prod_row_thumb {
    width: 90px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh_prod_row_thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.zh_prod_row_info {
    flex: 1;
    min-width: 0;
}

.zh_prod_row_info h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--zh-text);
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_empty_hint {
    text-align: center;
    color: var(--zh-text-light);
    padding: 60px 0;
    font-size: 15px;
}

/* ④ 数据看板 */
.zh_stats_section {
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F2340, #1A3F6F);
}

.zh_stats_section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.zh_stats_section::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;
    position: relative;
    z-index: 1;
}

.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 {
    margin-bottom: 12px;
}

.zh_stats_icon svg {
    width: 40px;
    height: 40px;
}

.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_floor {
    padding: 56px 0;
    background: var(--zh-bg);
}

.zh_floor_alt { background: #fff; }

.zh_floor_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.zh_floor_title {
    font-size: 24px;
    font-weight: 700;
    color: var(--zh-blue);
    margin-bottom: 4px;
    position: relative;
    padding-left: 16px;
}

.zh_floor_title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: var(--zh-gradient-orange);
}

.zh_floor_sub {
    font-size: 14px;
    color: var(--zh-text-light);
    padding-left: 16px;
}

.zh_floor_more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--zh-orange);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--zh-orange);
    transition: all 0.25s ease;
}

.zh_floor_more:hover {
    background: var(--zh-orange);
    color: #fff;
}

/* 不规则布局 */
.zh_floor_featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.zh_bigcard {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--zh-radius);
    overflow: hidden;
    border: 1px solid var(--zh-border);
    transition: all 0.3s ease;
}

.zh_bigcard:hover {
    border-color: rgba(26,63,111,0.15);
    box-shadow: var(--zh-shadow-hover);
    transform: translateY(-4px);
}

.zh_bigcard_img_wrap {
    position: relative;
    flex: 1;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    padding: 20px;
    overflow: hidden;
}

.zh_bigcard_img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.zh_bigcard:hover .zh_bigcard_img { transform: scale(1.05); }

.zh_bigcard_body {
    padding: 18px 20px;
    border-top: 1px solid #f5f5f5;
}

.zh_bigcard_name {
    font-size: 16px;
    font-weight: 600;
    color: var(--zh-text);
    margin-bottom: 8px;
    line-height: 1.5;
}

.zh_bigcard_price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.zh_floor_small_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ⑥ 平台优势 */
.zh_advantages {
    padding: 70px 0;
    background: #fff;
}

.zh_adv_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.zh_adv_card {
    padding: 36px 32px;
    background: linear-gradient(135deg, #fafcff, #f0f5ff);
    border-radius: var(--zh-radius-lg, 16px);
    border: 1px solid rgba(226,232,240,0.5);
    box-shadow: var(--zh-shadow);
    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-hover);
    border-color: transparent;
}

.zh_adv_icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.zh_adv_icon svg {
    width: 36px;
    height: 36px;
}

.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-light);
    line-height: 1.7;
    margin: 0;
}

/* ⑦ 购物流程 */
.zh_process {
    padding: 70px 0;
    background: var(--zh-bg);
}

.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-blue-light), 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_icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(26,63,111,0.1);
    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_icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(26,63,111,0.15);
}

.zh_process_icon svg {
    width: 36px;
    height: 36px;
}

.zh_process_num {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    background: var(--zh-gradient-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.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-light);
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

/* ⑧ 双CTA */
.zh_cta {
    padding: 80px 0;
    background: #fff;
}

.zh_cta_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.zh_cta_card {
    padding: 56px 40px;
    border-radius: var(--zh-radius-lg, 16px);
    text-align: center;
    transition: all 0.3s;
    color: #fff;
}

.zh_cta_card:hover { transform: translateY(-4px); }

.zh_cta_card_orange {
    background: linear-gradient(135deg, #E8722A, #F5A623);
    box-shadow: 0 8px 30px rgba(232,114,42,0.25);
}

.zh_cta_card_blue {
    background: linear-gradient(135deg, #1A3F6F, #2B7BC8);
    box-shadow: 0 8px 30px rgba(26,63,111,0.25);
}

.zh_cta_card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.zh_cta_card p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin: 0 0 28px;
    line-height: 1.6;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1100px) {
    .zh_hero_title { font-size: 36px; }
}

@media (max-width: 991px) {
    .zh_hero { min-height: 520px; }
    .zh_hero_title { font-size: 34px; }

    .zh_products_mix { grid-template-columns: 1fr; }
    .zh_prod_big_img { height: 220px; }
    .zh_infos_header { flex-direction: column; align-items: flex-start; gap: 16px; }

    .zh_stats_grid { grid-template-columns: repeat(2, 1fr); }

    .zh_floor_featured { grid-template-columns: 1fr; }
    .zh_floor_small_grid { grid-template-columns: repeat(2, 1fr); }
    .zh_floor_title { font-size: 22px; }

    .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; }
}

@media (max-width: 767px) {
    .zh_hero { min-height: 480px; }
    .zh_hero_inner { padding: 80px 20px 60px; }
    .zh_hero_overlay {
        background: linear-gradient(to bottom, rgba(15,35,64,0.9) 0%, rgba(26,63,111,0.7) 100%);
    }
    .zh_hero_title { font-size: 28px; }
    .zh_hero_desc { font-size: 15px; }
    .zh_hero_stats { gap: 20px; flex-wrap: wrap; }
    .zh_hero_stat_num { font-size: 20px; }
    .zh_hero_stat_icon { width: 36px; height: 36px; font-size: 15px; border-radius: 8px; }

    .zh_products_mix_section { padding: 40px 0; }
    .zh_prod_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_floor { padding: 36px 0; }
    .zh_floor_header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
    .zh_floor_title { font-size: 20px; }
    .zh_floor_small_grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .zh_bigcard_img_wrap { min-height: 200px; }

    .zh_advantages { padding: 50px 0; }
    .zh_adv_card { padding: 28px 24px; }

    .zh_process { padding: 50px 0; }
    .zh_process_timeline { grid-template-columns: 1fr 1fr; }

    .zh_cta { padding: 50px 0; }
    .zh_cta_card { padding: 36px 24px; }
}

@media (max-width: 480px) {
    .zh_stats_grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}
