/**
 * 自媒体创作者工具箱样式文件
 */

/* 工具箱全局容器 */
.toolkit-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 左侧菜单固定 */
.toolkit-sidebar {
    transition: all 0.3s ease;
}

.toolkit-menu a {
    position: relative;
}

.toolkit-menu a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #07C160;
}

/* 右侧内容区动画 */
.toolkit-content {
    animation: fadeIn 0.3s ease;
}

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

/* 合规提示框增强 */
.toolkit-notice {
    box-shadow: 0 2px 8px rgba(255,77,79,0.1);
}

/* 功能卡片悬停效果优化 */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::after {
    left: 100%;
}

/* 统计卡片数字动画 */
.stat-number {
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .toolkit-container {
        padding: 0 10px;
    }
    
    .toolkit-content {
        padding: 20px 15px;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-section .stat-card {
        margin-bottom: 15px;
    }
}

/* 打印样式 */
@media print {
    .toolkit-sidebar,
    .toolkit-notice,
    .feature-cards {
        display: none;
    }
}
