 /* 基础样式 */
 * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 头部样式 - 电脑端 */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
    transition: all 0.3s ease;
}

header .logo-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

header .logo {
    background-color: #fff;
    padding: 2px;
    border-radius: 3px;
    width: 80px;
    height: auto;
}

header .title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    transition: font-size 0.3s ease;
}

header .slogan1 {
    font-size: 1.75rem;
    opacity: 0.9;
    padding: 5px;
    transition: font-size 0.3s ease;
}

header .slogan2, header .slogan3 {
    font-size: 1.25rem;
    opacity: 0.9;
    transition: font-size 0.3s ease;
}

/* 主内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    width: 100%;
}

.content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

/* 页脚 */
.footer-hid {
    height: 60px;
}

footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 1rem;
    margin-top: auto;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 响应式设计 - 平板设备 */
@media screen and (max-width: 1024px) {
    header .title {
        font-size: 2.8rem;
    }
    
    header .slogan1 {
        font-size: 1.5rem;
    }
    
    header .slogan2, header .slogan3 {
        font-size: 1.1rem;
    }
    
    .content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* 响应式设计 - 手机设备 */
@media screen and (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    /* header .logo-box {
        flex-direction: column;
        gap: 15px;
    } */
    
    header .title {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }
    
    header .slogan1 {
        font-size: 1.3rem;
        padding: 3px;
    }
    
    header .slogan2, header .slogan3 {
        font-size: 1rem;
    }
    
    /* .container {
        padding: 15px;
    } */
    
    .content {
        grid-template-columns: 1fr;
    }
    
    footer {
        padding: 5px;
        font-size: 1rem;
        position: relative;
    }
    
    .footer-hid {
        height: 0;
    }
}

/* 响应式设计 - 小屏手机 */
@media screen and (max-width: 480px) {
    header .title {
        font-size: 1.8rem;
    }
    
    header .slogan1 {
        font-size: 1.1rem;
    }
    
    header .slogan2, header .slogan3 {
        font-size: 0.9rem;
    }
    
    .card {
        padding: 15px;
    }
    
    footer {
        font-size: 0.9rem;
    }
}