/* 首页样式 - zh_ 前缀 - 基于Figma深色科技风格 */

/* 全局样式重置 */
body {
    font-family: 'Open Sans', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(180deg, #0a0e1a 0%, #16213e 50%, #0f1624 100%);
    color: #fff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* 主容器 */
.zh_main_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 英雄横幅区域 */
.zh_hero_section {
    position: relative;
    padding: 80px 0;
    margin: 40px 0;
    overflow: hidden;
}

.zh_hero_background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(144, 0, 255, 0.1) 0%, rgba(185, 0, 255, 0.1) 100%);
    border-radius: 30px;
    border: 2px solid rgba(185, 0, 255, 0.3);
}

.zh_hero_content {
    position: relative;
    text-align: center;
    z-index: 2;
}

.zh_hero_title {
    font-size: 64px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.2;
}

.zh_hero_title_highlight {
    color: #b900ff;
    font-weight: 600;
}

.zh_hero_subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.zh_hero_tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.zh_hero_tag {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.zh_hero_tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.zh_hero_cta {
    display: inline-flex;
    gap: 15px;
    align-items: center;
}

.zh_hero_button {
    padding: 16px 40px;
    background: linear-gradient(135deg, #9000ff 0%, #b900ff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.zh_hero_button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(185, 0, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.zh_hero_button_secondary {
    padding: 16px 40px;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.zh_hero_button_secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* 分类区域 */
.zh_category_section {
    margin: 60px 0;
    padding: 40px 0;
}

.zh_category_header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.zh_category_header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #9000ff, #b900ff);
    border-radius: 2px;
}

.zh_category_title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #b900ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zh_category_subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* 产品网格 */
.zh_products_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.zh_product_card {
    background: linear-gradient(180deg, rgba(22, 33, 62, 0.6) 0%, rgba(15, 22, 36, 0.8) 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid rgba(185, 0, 255, 0.2);
    position: relative;
}

.zh_product_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(144, 0, 255, 0.1), rgba(185, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.zh_product_card:hover::before {
    opacity: 1;
}

.zh_product_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(185, 0, 255, 0.3);
    border-color: #b900ff;
}

.zh_product_link {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    z-index: 2;
}

.zh_product_image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.zh_product_card:hover .zh_product_image {
    transform: scale(1.1);
}

.zh_product_info {
    padding: 20px;
}

.zh_product_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.4;
}

.zh_product_shop {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.zh_product_price {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zh_price_current {
    font-size: 20px;
    font-weight: 700;
    color: #b900ff;
}

.zh_price_market {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

/* 统计数据区域 */
.zh_stats_section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.zh_stat_card {
    background: linear-gradient(135deg, rgba(144, 0, 255, 0.15) 0%, rgba(185, 0, 255, 0.15) 100%);
    border: 2px solid rgba(185, 0, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.zh_stat_card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(185, 0, 255, 0.3);
    border-color: #b900ff;
}

.zh_stat_value {
    font-size: 40px;
    font-weight: 700;
    color: #b900ff;
    margin-bottom: 10px;
}

.zh_stat_label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 特色展示 */
.zh_features_section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.zh_feature_card {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.6) 0%, rgba(15, 22, 36, 0.8) 100%);
    border: 2px solid rgba(185, 0, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
}

.zh_feature_card:hover {
    transform: translateY(-10px);
    border-color: #b900ff;
    box-shadow: 0 20px 40px rgba(185, 0, 255, 0.3);
}

.zh_feature_icon {
    font-size: 48px;
    color: #b900ff;
    margin-bottom: 20px;
}

.zh_feature_title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.zh_feature_description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* 加载动画 */
.zh_loading {
    animation: zh_fadeIn 0.6s ease-in-out;
}

@keyframes zh_fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .zh_hero_title {
        font-size: 48px;
    }

    .zh_category_title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .zh_hero_section {
        padding: 50px 0;
    }

    .zh_hero_title {
        font-size: 36px;
    }

    .zh_hero_subtitle {
        font-size: 16px;
    }

    .zh_category_title {
        font-size: 28px;
    }

    .zh_products_grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .zh_hero_cta {
        flex-direction: column;
    }

    .zh_hero_button,
    .zh_hero_button_secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .zh_hero_title {
        font-size: 28px;
    }

    .zh_products_grid {
        grid-template-columns: 1fr;
    }

    .zh_stat_value {
        font-size: 32px;
    }
}
