/* 公共样式文件 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* Header */
.header {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav a:hover { 
    color: #000; 
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover { 
    background: #333;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    text-align: center;
    background: #fafafa;
    margin-top: 60px;
}

.footer p {
    font-size: 0.9rem;
    color: #888;
}

.footer a {
    color: #555;
    text-decoration: none;
}

.footer a:hover {
    color: #1890ff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav {
        margin-top: 16px;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .container {
        padding: 0 16px;
    }
}
