/* 页脚样式 */
.footer {
    background: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 15px 0;
    margin-top: 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #333;
}

.footer-divider {
    color: #ccc;
    font-size: 14px;
    margin: 0 5px;
}

.back-to-top {
    background: #e0e0e0;
    border: none;
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.back-to-top:hover {
    background: #d0d0d0;
    transform: translateY(-2px);
}

.back-to-top svg {
    color: #666;
    transition: color 0.3s;
}

.back-to-top:hover svg {
    color: #333;
}

.footer-copyright {
    text-align: center;
    padding: 10px 15px 0;
    border-top: 1px solid #e0e0e0;
    margin-top: 10px;
}

.copyright-text {
    color: #666;
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

/* 响应式优化 - 页脚 */
@media screen and (max-width: 375px) {
    .footer-content {
        padding: 0 12px;
    }

    .footer-link {
        font-size: 13px;
        padding: 5px 8px;
    }

    .back-to-top {
        width: 32px;
        height: 32px;
    }

    .back-to-top svg {
        width: 14px;
        height: 14px;
    }

    .footer-copyright {
        padding: 8px 12px 0;
    }

    .copyright-text {
        font-size: 11px;
    }
}

@media screen and (min-width: 768px) {
    .footer {
        padding: 20px 0;
    }

    .footer-content {
        padding: 0 30px;
    }

    .footer-link {
        font-size: 15px;
        padding: 8px 12px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }

    .footer-copyright {
        padding: 12px 30px 0;
    }

    .copyright-text {
        font-size: 13px;
    }
}

.breadcrumb a {
    color: #000;
    text-decoration: none;
}

.permission-link {
    color: #2196F3;
    background: none;
    border: none;
    text-decoration: none;
    font-weight: 600;
    font-size: inherit;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.permission-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.permission-modal.show {
    display: block;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.permission-modal.show .permission-modal-content {
    transform: translateY(0);
}

.permission-modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.permission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.permission-header h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.permission-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.permission-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.permission-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.permission-item h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #333;
}

.permission-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.permission-footer {
    padding: 15px 20px;
    text-align: right;
    border-top: 1px solid #eee;
}

.permission-confirm {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* 网站地图页面样式 */
.sitemap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    background: #f5f5f5;
    min-height: calc(100vh - 140px);
}

.sitemap-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sitemap-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
    position: relative;
}

.sitemap-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #2196F3;
}

.sitemap-desc {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.category-section {
    background: white;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #2196F3;
    position: relative;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.category-item {
    display: block;
    padding: 12px 16px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.category-item:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

/* 面包屑导航 */
.page-breadcrumb {
    background: #f8f9fa;
    padding: 8px 15px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-current {
    font-size: 12px;
    color: #666;
}

/* 关于我们导航 */
.page-navigation {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.nav-group:last-child {
    margin-bottom: 0;
}

.nav-button {
    flex: 1;
    padding: 8px 12px;
    text-align: center;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.nav-button:hover {
    background: #e9ecef;
}

.nav-button.active {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

/* 关于我们内容 */
.page-main-content {
    background: white;
    margin: 0 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.content-wrapper {
    padding: 20px;
}

.company-description {
    line-height: 1.8;
    color: #333;
}

.company-description p {
    margin-bottom: 20px;
    font-size: 14px;
    text-align: justify;
}

.company-description p:last-child {
    margin-bottom: 0;
}
