/* 首页样式 - 基于Figma职位招聘网站设计 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
}

/* 页面容器 */
.zh_page_wrapper {
    width: 100%;
    overflow-x: hidden;
}

.zh_page_container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero区域 */
.zh_hero_area {
    padding: 80px 0 100px;
    position: relative;
}

.zh_hero_layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.zh_hero_text_section {
    padding-right: 40px;
}

.zh_hero_tag {
    display: inline-block;
    background: #d3cfff;
    border-radius: 100px;
    padding: 12px 30px;
    margin-bottom: 30px;
}

.zh_hero_tag span {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.9;
}

.zh_hero_main_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.15;
    color: #000;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.zh_hero_desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 35px;
}

.zh_hero_actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.zh_hero_btn_primary {
    background: #695ded;
    color: #fff;
    padding: 18px 40px;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.zh_hero_btn_primary:hover {
    background: #5a4bc4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(105, 93, 237, 0.3);
}

.zh_hero_btn_secondary {
    background: #fff;
    color: #000;
    padding: 18px 40px;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid #000;
    transition: all 0.3s ease;
    display: inline-block;
}

.zh_hero_btn_secondary:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.zh_hero_image_section {
    position: relative;
}

.zh_hero_img {
    width: 100%;
    height: auto;
    border-radius: 0 0 215px 215px;
    object-fit: cover;
    max-height: 720px;
}

/* 统计卡片 */
.zh_stats_cards_wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: -40px;
}

.zh_stat_card_item {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0px 4px 80px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.zh_stat_card_item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 100px 20px rgba(0, 0, 0, 0.08);
}

.zh_stat_icon {
    width: 69px;
    height: 69px;
    background: rgba(105, 93, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zh_stat_icon i {
    font-size: 32px;
    color: #695ded;
}

.zh_stat_content {
    flex: 1;
}

.zh_stat_label {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.9;
    margin-bottom: 5px;
}

.zh_stat_number {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #695ded;
    line-height: 1.9;
}

/* 分类区域 */
.zh_category_section {
    padding: 80px 0;
}

.zh_category_header {
    text-align: center;
    margin-bottom: 60px;
}

.zh_category_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.zh_category_subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* 商品网格 */
.zh_product_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.zh_product_item {
    transition: transform 0.3s ease;
}

.zh_product_item:hover {
    transform: translateY(-5px);
}

.zh_product_card_link {
    text-decoration: none;
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.zh_product_card_link:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.zh_product_img_box {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.zh_product_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_product_card_link:hover .zh_product_img {
    transform: scale(1.05);
}

.zh_promo_badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #695ded;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.zh_product_details {
    padding: 20px;
}

.zh_product_name {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 44px;
}

.zh_product_store {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
}

.zh_price_box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zh_current_price {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #695ded;
}

.zh_original_price {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.4);
    text-decoration: line-through;
}

/* 内容展示区块 */
.zh_showcase_section {
    padding: 100px 0;
    background: rgba(105, 93, 237, 0.03);
}

.zh_showcase_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.zh_showcase_image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.zh_showcase_text {
    padding-left: 20px;
}

.zh_showcase_title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.2;
}

.zh_showcase_desc {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.zh_showcase_btn {
    display: inline-block;
    background: #695ded;
    color: #fff;
    padding: 16px 35px;
    border-radius: 20px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.zh_showcase_btn:hover {
    background: #5a4bc4;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(105, 93, 237, 0.3);
}

.zh_showcase_btn i {
    margin-left: 8px;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .zh_hero_main_title {
        font-size: 60px;
    }

    .zh_category_title {
        font-size: 42px;
    }

    .zh_showcase_title {
        font-size: 42px;
    }
}

@media (max-width: 1200px) {
    .zh_hero_layout {
        gap: 40px;
    }

    .zh_stats_cards_wrapper {
        gap: 25px;
    }

    .zh_showcase_grid {
        gap: 60px;
    }
}

@media (max-width: 991px) {
    .zh_hero_layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .zh_hero_text_section {
        padding-right: 0;
        text-align: center;
    }

    .zh_hero_main_title {
        font-size: 48px;
    }

    .zh_hero_actions {
        justify-content: center;
    }

    .zh_stats_cards_wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .zh_showcase_grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .zh_showcase_text {
        padding-left: 0;
        text-align: center;
    }

    .zh_category_title {
        font-size: 36px;
    }

    .zh_showcase_title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .zh_hero_area {
        padding: 50px 0 60px;
    }

    .zh_hero_main_title {
        font-size: 36px;
    }

    .zh_hero_desc {
        font-size: 15px;
    }

    .zh_hero_actions {
        flex-direction: column;
        gap: 15px;
    }

    .zh_hero_btn_primary,
    .zh_hero_btn_secondary {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
    }

    .zh_category_section {
        padding: 50px 0;
    }

    .zh_category_header {
        margin-bottom: 40px;
    }

    .zh_category_title {
        font-size: 32px;
    }

    .zh_category_subtitle {
        font-size: 14px;
    }

    .zh_product_grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .zh_product_img_box {
        height: 220px;
    }

    .zh_showcase_section {
        padding: 60px 0;
    }

    .zh_showcase_title {
        font-size: 28px;
    }

    .zh_showcase_desc {
        font-size: 15px;
    }

    .zh_stat_card_item {
        padding: 20px;
    }

    .zh_stat_icon {
        width: 50px;
        height: 50px;
    }

    .zh_stat_icon i {
        font-size: 24px;
    }

    .zh_stat_number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .zh_hero_main_title {
        font-size: 28px;
    }

    .zh_category_title {
        font-size: 28px;
    }

    .zh_product_grid {
        grid-template-columns: 1fr;
    }

    .zh_showcase_title {
        font-size: 24px;
    }
}

/* 动画效果 */
@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zh_product_item {
    animation: zh_fadeInUp 0.6s ease-out;
}

/* 加载效果 */
.zh_product_img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
}

@keyframes zh_shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
