/* Benefits页面样式 */
/* 配色方案 */
/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 防止横向滚动条 */
html, body {
    overflow-x: hidden;
    width: 100%;
}
  


:root {
    --zh-primary-color: #000000;
    --zh-bg-color: #FFFFFF;
    --zh-accent-color: #ED0D1E;
    --zh-neutral-color: #9D9D9D;
    --zh-light-blue: #A4BAD7;
    --zh-light-gray: #F3F3F3;
    --zh-transparent-red: #ED0D1E80;
    --zh-gold: #D49F36;
}

/* 基础样式重置 */
.zh_benefits-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--zh-primary-color);
    background-color: var(--zh-bg-color);
}

/* Hero横幅区域 */
.zh_hero-section {
    background: linear-gradient(rgba(164, 186, 215, 0.3), rgba(122, 156, 198, 0.3)), url('/static/image/benefits-community.jpg') no-repeat center;
    background-size: cover;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.zh_hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.zh_hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 容器和布局 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.zh_benefits-wrapper {
    padding: 80px 0;
    background: var(--zh-bg-color);
}

/* 网格布局 */
.zh_benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 80px;
    margin-top: 60px;
}

/* 单个benefit卡片 */
.zh_benefit-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: var(--zh-bg-color);
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 100%;
    position: relative;
    will-change: transform;
}

.zh_benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* 交替布局 */
.zh_benefit-card:nth-child(even) .zh_benefit-content {
    order: 2;
}

.zh_benefit-card:nth-child(even) .zh_benefit-image {
    order: 1;
}

/* benefit内容区域 */
.zh_benefit-content {
    padding: 20px 0;
}

.zh_benefit-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--zh-primary-color);
    margin-bottom: 30px;
    position: relative;
}

.zh_benefit-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--zh-accent-color), var(--zh-gold));
    border-radius: 2px;
}

.zh_benefit-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--zh-neutral-color);
    margin-bottom: 30px;
}

/* 图片区域 */
.zh_benefit-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.zh_benefit-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    display: block;
}

.zh_benefit-card:hover .zh_benefit-image img {
    transform: scale(1.03);
}

/* 图标装饰 */
.zh_benefit-icon {
    font-size: 3rem;
    color: var(--zh-accent-color);
    margin-bottom: 20px;
    display: inline-block;
}

/* 特色标签 */
.zh_benefit-tag {
    display: inline-block;
    background: var(--zh-transparent-red);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 不同benefit的配色主题 */
.zh_benefit-card.zh_tas-theme {
    background: linear-gradient(135deg, #f8f9ff 0%, var(--zh-light-gray) 100%);
}

.zh_benefit-card.zh_tas-theme .zh_benefit-title {
    color: var(--zh-accent-color);
}

.zh_benefit-card.zh_community-theme {
    background: linear-gradient(135deg, var(--zh-light-gray) 0%, #f0f8ff 100%);
}

.zh_benefit-card.zh_community-theme .zh_benefit-title {
    color: var(--zh-gold);
}

.zh_benefit-card.zh_economy-theme {
    background: linear-gradient(135deg, #fff8f0 0%, var(--zh-light-gray) 100%);
}

.zh_benefit-card.zh_economy-theme .zh_benefit-title {
    color: var(--zh-light-blue);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .zh_benefits-grid {
        gap: 60px;
    }
    
    .zh_benefit-card {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .zh_benefit-card:nth-child(even) .zh_benefit-content,
    .zh_benefit-card:nth-child(even) .zh_benefit-image {
        order: initial;
    }
    
    .zh_hero-title {
        font-size: 3rem;
    }
    
    .zh_benefit-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .zh_hero-section {
        padding: 80px 0 60px;
    }
    
    .zh_hero-title {
        font-size: 2.5rem;
    }
    
    .zh_hero-subtitle {
        font-size: 1.1rem;
    }
    
    .zh_benefits-wrapper {
        padding: 60px 0;
    }
    
    .zh_benefits-grid {
        gap: 40px;
        margin-top: 40px;
    }
    
    .zh_benefit-card {
        padding: 30px 20px;
        gap: 30px;
    }
    
    .zh_benefit-title {
        font-size: 1.8rem;
    }
    
    .zh_benefit-description {
        font-size: 1rem;
    }
    
    .zh_benefit-image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_hero-title {
        font-size: 2rem;
    }
    
    .zh_benefit-title {
        font-size: 1.5rem;
    }
    
    .zh_benefit-card {
        padding: 25px 15px;
        border-radius: 15px;
    }
    
    .zh_benefit-image img {
        height: 250px;
    }
}

/* 动画增强 */
.zh_benefit-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zh_benefit-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* 加载动画 */
@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zh_animated {
    animation: zh_fadeInUp 0.8s ease-out;
}

/* 鼠标悬停效果增强 - 移除可能导致滚动条的效果 */
.zh_benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.zh_benefit-card:hover::before {
    opacity: 1;
}

/* 内容区域相对定位 */
.zh_benefit-content,
.zh_benefit-image {
    position: relative;
    z-index: 2;
}

/* 性能优化 */
.zh_benefit-card,
.zh_benefit-image img {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

/* 防止图片闪烁 */
.zh_benefit-image img {
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* 改进滚动性能 */
.zh_benefits-page {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* 确保没有意外的水平滚动 */
.zh_benefits-grid,
.zh_benefit-card,
.zh_container {
    box-sizing: border-box;
    min-width: 0;
}
