/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffc0cb;
    color: #333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
/* 头部样式 */
.site-header {
    display: flex;
    flex-direction: column; /* 改为垂直排列 */
    align-items: center; /* 水平居中对齐 */
    justify-content: center; /* 垂直居中对齐 */
    background-color: #f9a;
    padding: 10px 20px; /* 调整内边距，适配各屏幕 */
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        border-radius: 5px;
        width: 60px;
        height: 60px;
        margin-right: 10px;
    }

    .logo h1 {
        color: #000;
        font-size: 36px;
    }

.main-nav {
    width: 100%; /* 导航占满宽度便于居中 */
    text-align: center; /* 导航项居中 */
    margin-top:10px;
}

    .main-nav a {
        color: #000;
        text-decoration: none;
        padding: 5px 10px;
        border-radius: 5px;
        /* 修改为与 h2 相同的字体样式 */
        font-family: Arial, sans-serif; /* 与 h2 保持一致的字体族 */
        font-size: 18px; /* 通常 h2 比 h1 小，这里使用更适合导航的尺寸 */
        font-weight: bold; /* 与 h2 相同的字重 */
        white-space: nowrap; /* 防止导航文字换行 */
    }

        .main-nav a:hover,
        .main-nav .active {
            background-color: #000;
            color: #fff;
        }

/* 主要内容区域 */
.content {
    max-width: 900px;
    margin: 20px auto;
    padding: 0 20px;
}
    .content h2,
    .content h3 {
        font-size: 18px;
        border-radius: 5px 5px 0px 0px;
        background-color: #f9a;
        color: #000;
        padding: 5px 10px;
    }
section {
    background-color: #222;
    color: #fff;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 0px 0px 5px 5px;
}
.platform-btn {
    display: inline-block;
    background-color: #ffc000;
    color: #000;
    text-decoration: none;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 4px;
}

    .platform-btn:hover {
        opacity: 0.8;
    }

.platforms img {
    width: 200px;
    height: 200px;
    display: block;
    margin: 10px 0;
}

/* 价格公示页表格样式 */
.pricing-info table {
    width: 100%;
    border-collapse: collapse;
    background-color: #222;
    color: #fff;
    margin-bottom: 10px;
}

.pricing-info table,
.pricing-info th,
.pricing-info td {
    border: 1px solid #666;
}

.pricing-info th,
.pricing-info td {
    padding: 8px;
    text-align: left;
}

/* 反馈页表单样式 */
.feedback-form label {
    display: block;
    margin: 10px 0 5px;
}

.feedback-form select,
.feedback-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
}

.feedback-form button {
    display: inline-block;
    background-color: #ffc000;
    color: #000;
    text-decoration: none;
    padding: 8px 15px;
    margin: 5px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

    .feedback-form button:hover {
        opacity: 0.8;
    }

/* 联系我们页样式 */

.qr-group {
    display: flex;
    flex-wrap: wrap;
}

.qr-item {
    margin: 10px;
    text-align: center;
}

    .qr-item img {
        width: 200px;
        height: 200px;
        margin-bottom: 5px;
    }
