.footer {
    background: #3C3333;
    color: #fff;
    padding: 40px 20px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-bottom: 30px;
}

.footer-category {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-category h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.about-content,
.footer-company {
    max-width: 1200px;
    margin: 0 auto 30px;
    text-align: center;
    padding: 0 20px;
}

.about-content h3,
.footer-company h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.about-content p,
.footer-company p {
    color: #eee !important;
    font-size: 15px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
    border-left: 3px solid rgba(238, 82, 83, 0.1);
}

.about-content p:hover,
.footer-company p:hover {
    border-left-color: #ee5253;
    background: linear-gradient(to right, rgba(238, 82, 83, 0.05), transparent);
    transition: all 0.3s ease;
}


.about-content p+p,
.footer-company p+p {
    margin-top: 15px;
}

.about-content p strong,
.footer-company p strong {
    color: #444;
    font-weight: 600;
}

.about-content p a,
.footer-company p a {
    color: #ee5253;
    text-decoration: none;
    border-bottom: 1px dashed #ee5253;
    transition: all 0.3s ease;
}

.about-content p a:hover,
.footer-company p a:hover {
    color: #ff6b6b;
    border-bottom-style: solid;
}

.nav-links,
.category-links {
    display: flex;
    gap: 15px;
    white-space: nowrap;
}

.nav-links a,
.category-links a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.category-links a:hover {
    color: #FFFFFF;
}

.footer-nav {
    border: none;
    padding: 0;
    margin: 0;
}

.divider {
    color: #666666;
}

.footer-contact {
    text-align: center;
    color: #CCCCCC;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-copyright {
    text-align: center;
    color: #999999;
    font-size: 12px;
    padding-top: 20px;
    border-top: 1px solid #4A4A4A;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer-category {
        width: 100%;
    }

    .nav-links,
    .category-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .divider {
        display: none;
    }

    .nav-links a,
    .category-links a {
        padding: 5px 10px;
    }

    .footer {
        padding: 30px 15px;
    }

    .about-content p,
    .footer-company p {
        font-size: 14px;
        line-height: 1.6;
        padding-left: 12px;
    }

    .about-content p:first-of-type,
    .footer-company p:first-of-type {
        font-size: 15px;
    }
}

/* 文本选中效果 */
.about-content p::selection,
.footer-company p::selection {
    background: rgba(238, 82, 83, 0.2);
    color: #333;
}

/* 段落内的重点内容 */
.highlight {
    background: linear-gradient(transparent 60%, rgba(238, 82, 83, 0.2) 40%);
    padding: 0 2px;
}

/* 最后一段特殊样式 */
.about-content p:last-child,
.footer-company p:last-child {
    margin-bottom: 0;
    padding-bottom: 5px;
}

/* 添加响应式样式 */
@media (max-width: 768px) {
    .footer {
        padding: 20px 15px;
        /* 减小内边距 */
    }

    .about-content,
    .footer-company {
        padding: 15px;
        /* 减小内容区域内边距 */
    }

    .about-content h3,
    .footer-company h3 {
        font-size: 18px;
        /* 减小标题字体 */
        margin-bottom: 12px;
    }

    .about-content p,
    .footer-company p {
        font-size: 13px;
        /* 减小正文字体 */
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .footer-top {
        flex-direction: column;
        /* 导航链接垂直排列 */
        gap: 15px;
        margin: 20px 0;
    }

    .nav-links {
        flex-wrap: wrap;
        /* 允许链接换行 */
        justify-content: center;
        gap: 10px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .divider {
        margin: 0 8px;
    }

    .footer-copyright {
        margin-top: 20px;
        text-align: center;
    }

    .footer-copyright p {
        font-size: 12px;
    }
}

/* 更小屏幕的优化 */
@media (max-width: 480px) {
    .footer {
        padding: 15px 10px;
    }

    .nav-links {
        gap: 8px;
    }

    .divider {
        margin: 0 5px;
    }
}