/* 营销知识 - 资源下载区块样式 */
#mk-resources {
    background-color: #ffffff;
    padding: 100px 0;
    position: relative;
}

/* 背景装饰 */
#mk-resources::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(24, 119, 242, 0.1) 0%, rgba(24, 119, 242, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

#mk-resources::after {
    content: '';
    position: absolute;
    bottom: 100px;
    left: 100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.1) 0%, rgba(255, 87, 34, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* 区块标题样式 */
#mk-resources .mk-section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

#mk-resources .mk-section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

#mk-resources .mk-section-header h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff5722, #f44336);
    border-radius: 2px;
}

#mk-resources .mk-section-header p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* 标签导航样式 */
.mk-resources-tabs {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.mk-tabs-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.mk-tab-btn {
    background: none;
    border: none;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.mk-tab-btn:after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 0;
    height: 3px;
    background: #ff5722;
    transition: all 0.3s ease;
}

.mk-tab-btn:hover {
    color: #ff5722;
}

.mk-tab-btn.active {
    color: #ff5722;
    font-weight: 600;
}

.mk-tab-btn.active:after {
    width: 100%;
}

/* 标签内容样式 */
.mk-tab-content {
    display: none;
}

.mk-tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 资源网格布局 */
.mk-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 资源卡片样式 */
.mk-resource-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 30px;
    display: flex;
    position: relative;
    overflow: hidden;
}

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

/* 资源图标样式 */
.mk-resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.mk-resource-icon i {
    font-size: 24px;
    color: white;
}

/* 资源信息样式 */
.mk-resource-info {
    flex: 1;
}

.mk-resource-type {
    display: inline-block;
    background: rgba(255, 87, 34, 0.1);
    color: #ff5722;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.mk-resource-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.3;
}

.mk-resource-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.mk-resource-meta {
    display: flex;
    gap: 15px;
}

.mk-resource-meta span {
    font-size: 13px;
    color: #777;
    display: flex;
    align-items: center;
}

.mk-resource-meta span i {
    margin-right: 5px;
}

/* 下载按钮样式 */
.mk-resource-action {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

.mk-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.2);
}

.mk-download-btn:hover {
    box-shadow: 0 6px 15px rgba(255, 87, 34, 0.3);
    transform: translateY(-2px);
}

/* 注册区块样式 */
.mk-resource-signup {
    margin-top: 80px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 60px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.mk-resource-signup::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.mk-resource-signup::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
}

.mk-signup-content {
    flex: 1;
    padding-right: 50px;
    position: relative;
    z-index: 2;
}

.mk-signup-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.mk-signup-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 500px;
}

.mk-signup-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin-bottom: 15px;
}

.mk-signup-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mk-signup-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.mk-signup-btn {
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mk-signup-btn:hover {
    background: linear-gradient(135deg, #ff7043, #ffb74d);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.mk-signup-privacy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
}

.mk-signup-privacy i {
    margin-right: 8px;
}

.mk-signup-image {
    width: 40%;
    position: relative;
    z-index: 2;
}

.mk-signup-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .mk-resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .mk-resource-signup {
        flex-direction: column;
        padding: 40px;
    }
    
    .mk-signup-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .mk-signup-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    #mk-resources {
        padding: 70px 0;
    }
    
    .mk-resources-grid {
        grid-template-columns: 1fr;
    }
    
    .mk-tab-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .mk-signup-form {
        flex-direction: column;
    }
    
    .mk-signup-btn {
        width: 100%;
    }
    
    .mk-section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .mk-resource-card {
        flex-direction: column;
    }
    
    .mk-resource-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .mk-resource-action {
        position: static;
        margin-top: 20px;
    }
    
    .mk-download-btn {
        width: 100%;
    }
    
    .mk-resource-signup {
        padding: 30px 20px;
    }
} 