/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    background: #f0f2f5;
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 30px;
}

/* 头部样式 */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo {
    max-width: 140px;
    margin-bottom: 20px;
}

h1 {
    font-size: 28px;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
}

/* 工具网格布局 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    padding: 0 10px;
}

/* 工具类别卡片 */
.tool-category {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.tool-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* 类别标题 */
h2 {
    font-size: 20px;
    color: #1a202c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #edf2f7;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #3498db;
}

/* 工具列表 */
.tools-list {
    display: grid;
    gap: 15px;
}

/* 工具项 */
.tool-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #edf2f7;
}

.tool-item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

h3 {
    font-size: 16px;
    color: #2d3748;
    font-weight: 600;
}

.tool-item p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 5px 0;
}

/* 下载按钮 */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

/* 页脚 */
footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

.links {
    margin-bottom: 20px;
}

.links a {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 10px;
    color: #3498db;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.links a:hover {
    background: #f8fafc;
    color: #2980b9;
}

.icp a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    header {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 24px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
    }

    .tool-category {
        padding: 20px;
    }

    .tool-item {
        padding: 20px;
    }

    .logo {
        max-width: 120px;
    }

    .links a {
        padding: 8px 15px;
        font-size: 14px;
    }
} 