/* 值得买主样式文件 */

/* 重置和通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}


/* 主容器样式 */
.smzdm-container {
    width: 100%;
    margin: 0 auto;
    overflow-x: hidden;
}

/* 通用标题样式 - 统一风格 */
.smzdm-title-zh,
.smzdm-title-en,
.smzdm-statistics-zh,
.smzdm-statistics-en,
.smzdm-stat-title-zh,
.smzdm-stat-title-en {
    display: block;
    text-align: center;
    font-family: 'PingFang SC', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

.smzdm-title-zh,
.smzdm-statistics-zh {
    font-size: 32px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
}

.smzdm-title-en,
.smzdm-statistics-en {
    font-size: 24px;
    font-weight: 600;
    color: #666666;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 通用子标题样式 */
.smzdm-subtitle-zh,
.smzdm-subtitle-en {
    display: block;
    text-align: center;
}

.smzdm-subtitle-zh {
    font-size: 18px;
    color: #666666;
    margin-bottom: 5px;
}

.smzdm-subtitle-en {
    font-size: 16px;
    color: #888888;
    letter-spacing: 0.5px;
}

/* 通用区块样式 */
.smzdm-section {
    padding: 80px 0;
    position: relative;
    background-color: #ffffff;
}

.smzdm-section:nth-child(even) {
    background-color: #f8f9fa;
}

.smzdm-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.smzdm-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.smzdm-section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 20px;
}

.smzdm-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 通用按钮样式 */
.smzdm-btn {
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.smzdm-btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 20px rgba(224, 32, 32, 0.2);
}

.smzdm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(224, 32, 32, 0.3);
}

.smzdm-btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.smzdm-btn-secondary:hover {
    background-color: rgba(224, 32, 32, 0.05);
    transform: translateY(-3px);
}

/* 图标样式修复 */
.fa, .fas, .far, .fab {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* 数字动画样式 - 防止跳动 */
.smzdm-stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    height: 60px; /* 固定高度防止跳动 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.smzdm-stat-number span {
    font-size: 28px;
    margin-left: 2px;
}

/* 动画效果 */
.smzdm-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.smzdm-animated {
    opacity: 1;
    transform: translateY(0);
}

/* 返回顶部按钮 */
.smzdm-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smzdm-back-to-top.smzdm-show {
    opacity: 1;
    visibility: visible;
}

.smzdm-back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .smzdm-section-container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .smzdm-title-zh,
    .smzdm-statistics-zh {
        font-size: 28px;
    }
    
    .smzdm-title-en,
    .smzdm-statistics-en {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .smzdm-section {
        padding: 60px 0;
    }
    
    .smzdm-title-zh,
    .smzdm-statistics-zh {
        font-size: 26px;
    }
    
    .smzdm-title-en,
    .smzdm-statistics-en {
        font-size: 18px;
    }
    
    .smzdm-section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .smzdm-section {
        padding: 50px 0;
    }
    
    .smzdm-title-zh,
    .smzdm-statistics-zh {
        font-size: 24px;
    }
    
    .smzdm-title-en,
    .smzdm-statistics-en {
        font-size: 16px;
    }
    
    .smzdm-section-header {
        margin-bottom: 30px;
    }
} 