/* 风了一样 - 简洁风格样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    color: #333;
    background: #f7f8fa;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 顶部导航 */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.site-name {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

.site-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.site-nav a {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 15px;
    color: #555;
    transition: all 0.2s;
}

.site-nav a:hover {
    background: #f0f2f5;
    color: #2c3e50;
}

.site-nav a.active {
    background: #2c3e50;
    color: #fff;
}

/* 首屏 */
.hero {
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.hero h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-sub {
    margin-top: 14px;
    font-size: 17px;
    opacity: 0.95;
}

.hero-small {
    padding: 44px 0;
}

.hero-small h1 {
    font-size: 30px;
}

/* 主体 */
.main {
    padding: 44px 20px 60px;
    min-height: 40vh;
}

.intro h2 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 16px;
}

.intro p,
.page-content p {
    margin-bottom: 14px;
    font-size: 16px;
    color: #444;
}

/* 卡片 */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 34px;
}

.card {
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    padding: 22px;
    transition: all 0.25s;
    display: block;
}

.card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    border-color: #dbe3ec;
}

.card h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: #777;
}

/* 内容页 */
.page-content h2 {
    font-size: 24px;
    color: #2c3e50;
    margin: 8px 0 16px;
}

.note {
    margin-bottom: 34px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e0e4e8;
}

.note:last-child {
    border-bottom: none;
}

.note h2 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
}

.contact-list {
    list-style: none;
    margin: 18px 0;
}

.contact-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

/* 底部 */
.site-footer {
    background: #2c3e50;
    color: #bbb;
    text-align: center;
    padding: 26px 0;
}

.site-footer p {
    font-size: 14px;
    margin: 4px 0;
}

.site-footer .beian a {
    color: #8fb4d8;
    font-size: 13px;
}

.site-footer .beian a:hover {
    color: #fff;
}

/* 移动端 */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 30px;
    }
    .hero-sub {
        font-size: 15px;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
}