/* 杭州危安行科技有限公司 首页样式 */

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
    overflow-x: hidden;
}

.zh_body_wrapper {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(40, 40, 40, 0.95) 100%);
    min-height: 100vh;
}

/* 容器样式 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 英雄区域样式 */
.zh_hero_section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.zh_hero_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(89, 255, 133, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(89, 255, 133, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(40, 40, 40, 0.95) 100%);
    z-index: -1;
}

.zh_hero_background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.zh_hero_content {
    text-align: center;
    z-index: 2;
    margin-bottom: 60px;
}

.zh_hero_title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(89, 255, 133, 0.3);
}

.zh_hero_subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

.zh_hero_description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.zh_hero_buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.zh_btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.zh_btn_primary {
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    color: #000;
    box-shadow: 0 10px 30px rgba(89, 255, 133, 0.3);
}

.zh_btn_primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(89, 255, 133, 0.4);
}

.zh_btn_secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.zh_btn_secondary:hover {
    background: rgba(89, 255, 133, 0.1);
    border-color: #59ff85;
    color: #59ff85;
    transform: translateY(-3px);
}

.zh_hero_stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.zh_stat_item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.zh_stat_icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
}

.zh_stat_number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #59ff85;
}

.zh_stat_label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.zh_hero_features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.zh_feature_card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.zh_feature_card:hover {
    transform: translateY(-10px);
    background: rgba(89, 255, 133, 0.08);
    border-color: rgba(89, 255, 133, 0.3);
}

.zh_feature_icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #000;
    margin: 0 auto 20px;
}

.zh_feature_card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.zh_feature_card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 通用区域样式 */
.zh_section_header {
    text-align: center;
    margin-bottom: 60px;
}

.zh_section_title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zh_section_subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 产品分类区域 */
.zh_categories_section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.zh_categories_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.zh_category_card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.zh_category_card:hover {
    transform: translateY(-10px);
    background: rgba(89, 255, 133, 0.08);
    border-color: rgba(89, 255, 133, 0.3);
}

.zh_category_image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.zh_category_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_category_card:hover .zh_category_image img {
    transform: scale(1.1);
}

.zh_category_content {
    padding: 30px;
}

.zh_category_icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
    margin-bottom: 20px;
}

.zh_category_content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.zh_category_content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.zh_category_link {
    color: #59ff85;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.zh_category_link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* 产品区域 */
.zh_products_section, .zh_new_products_section {
    padding: 100px 0;
}

.zh_new_products_section {
    background: rgba(255, 255, 255, 0.02);
}

.zh_products_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.zh_product_card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.zh_product_card:hover {
    transform: translateY(-10px);
    background: rgba(89, 255, 133, 0.08);
    border-color: rgba(89, 255, 133, 0.3);
}

.zh_product_image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.zh_product_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_product_card:hover .zh_product_image img {
    transform: scale(1.1);
}

.zh_product_badge {
    position: absolute;
    top: 15px;
    right: 15px;

    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.zh_new_badge {
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    color: #000;
}

.zh_product_content {
    padding: 25px;
}

.zh_product_title {
    margin-bottom: 15px;
}

.zh_product_title a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_product_title a:hover {
    color: #59ff85;
}

.zh_product_price {
    margin-bottom: 10px;
}

.zh_current_price {
    color: #59ff85;
    font-size: 1.3rem;
    font-weight: 700;
    margin-right: 10px;
}

.zh_original_price {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    text-decoration: line-through;
}

.zh_product_meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* 服务优势区域 */
.zh_advantages_section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.zh_advantages_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.zh_advantage_card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.zh_advantage_card:hover {
    transform: translateY(-10px);
    background: rgba(89, 255, 133, 0.08);
    border-color: rgba(89, 255, 133, 0.3);
}

.zh_advantage_icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #000;
    margin: 0 auto 25px;
}

.zh_advantage_card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.zh_advantage_card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_hero_title {
        font-size: 3rem;
    }
    
    .zh_hero_subtitle {
        font-size: 1.5rem;
    }
    
    .zh_hero_description {
        font-size: 1rem;
    }
    
    .zh_hero_buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .zh_hero_stats {
        flex-direction: column;
        align-items: center;
    }
    
    .zh_hero_features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zh_categories_grid {
        grid-template-columns: 1fr;
    }
    
    .zh_products_grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .zh_advantages_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zh_section_title {
        font-size: 2rem;
    }
    
    .zh_categories_section,
    .zh_products_section,
    .zh_new_products_section,
    .zh_advantages_section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .zh_hero_title {
        font-size: 2.5rem;
    }
    
    .zh_hero_subtitle {
        font-size: 1.2rem;
    }
    
    .zh_feature_card,
    .zh_product_card,
    .zh_advantage_card,
    .zh_category_card {
        padding: 20px;
    }
    
    .zh_products_grid {
        grid-template-columns: 1fr;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #59ff85 0%, #40cc6a 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #40cc6a 0%, #59ff85 100%);
}

/* 动画增强 */
.zh_product_card,
.zh_feature_card,
.zh_advantage_card,
.zh_category_card {
    position: relative;
    overflow: hidden;
}

.zh_product_card::before,
.zh_feature_card::before,
.zh_advantage_card::before,
.zh_category_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(89, 255, 133, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.zh_product_card:hover::before,
.zh_feature_card:hover::before,
.zh_advantage_card:hover::before,
.zh_category_card:hover::before {
    left: 100%;
}

/* 选择效果 */
::selection {
    background: rgba(89, 255, 133, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(89, 255, 133, 0.3);
    color: #fff;
}