/**
 * 营销知识页面 - 主样式
 * 
 * 包含全局样式和公共组件，其他样式在各区块文件中单独定义
 */

/* 全局样式 */
.mk-main {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #1e293b;
    line-height: 1.5;
}

/* 通用容器 */
.mk-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

/* 区块标题样式 */
.mk-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.mk-section-title {
    margin-bottom: 20px;
}

.mk-section-title .mk-title-en {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 10px;
}

.mk-section-title .mk-title-zh {
    display: block;
    font-size: 28px;
    font-weight: 600;
    color: #475569;
}

.mk-section-subtitle {
    font-size: 18px;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 通用按钮样式 */
.mk-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(90deg, #3E7BFA 0%, #6048FF 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(62, 123, 250, 0.3);
}

.mk-primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(62, 123, 250, 0.4);
}

.mk-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: transparent;
    color: #3E7BFA;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(62, 123, 250, 0.3);
}

.mk-secondary-btn:hover {
    background: rgba(62, 123, 250, 0.05);
    border-color: rgba(62, 123, 250, 0.5);
}

.mk-btn-icon {
    margin-left: 8px;
}

/* 通用卡片样式 */
.mk-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mk-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .mk-section-title .mk-title-en {
        font-size: 36px;
    }
    
    .mk-section-title .mk-title-zh {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .mk-section-header {
        margin-bottom: 40px;
    }
    
    .mk-section-title .mk-title-en {
        font-size: 32px;
    }
    
    .mk-section-title .mk-title-zh {
        font-size: 22px;
    }
    
    .mk-section-subtitle {
        font-size: 16px;
    }
    
    .mk-primary-btn, .mk-secondary-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .mk-container {
        padding: 0 20px;
    }
    
    .mk-section-title .mk-title-en {
        font-size: 28px;
    }
    
    .mk-section-title .mk-title-zh {
        font-size: 20px;
    }
}

/* 动画效果样式 */
[data-aos].aos-animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transform: none !important;
} 

/* 图标样式修复 */
.fas, .far, .fab, .fa {
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    font-weight: 900;
}

/* 图片和图标卡片样式 */
.mk-image-card {
    background-color: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 0;
    padding-bottom: 75%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mk-image-card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #3E7BFA;
    z-index: 2;
}

.mk-image-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #eef2ff, #f1f5f9);
    z-index: 1;
}

/* 图标大小类 */
.mk-icon-sm {
    font-size: 1rem;
}

.mk-icon-md {
    font-size: 1.5rem;
}

.mk-icon-lg {
    font-size: 2rem;
}

.mk-icon-xl {
    font-size: 3rem;
}

/* 图标容器通用样式 */
.mk-icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(62, 123, 250, 0.1);
    color: #3E7BFA;
}

/* 图标颜色 */
.mk-icon-primary {
    color: #3E7BFA;
}

.mk-icon-secondary {
    color: #64748b;
}

.mk-icon-success {
    color: #10b981;
}

.mk-icon-warning {
    color: #f59e0b;
}

.mk-icon-danger {
    color: #ef4444;
}

/* 替代方案：数据卡片 */
.mk-data-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mk-data-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mk-data-card-value {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #3E7BFA, #6048FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mk-data-card-label {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
} 