/* 页脚 */
.footer {
    background: var(--dark);
    color: white;
    padding: 4rem 5% 2rem;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-red);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-red);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.7);
    align-items: flex-start;
}

.contact-info i {
    color: var(--accent-red);
    margin-right: 15px;
    min-width: 20px;
    font-size: 1.1rem;
    margin-top: 4px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-red);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .solution {
        flex-direction: column;
    }

    .solution:nth-child(even) {
        flex-direction: column;
    }

    .solution-img {
        margin-bottom: 2rem;
        max-width: 600px;
    }

    .solution-content {
        padding: 0;
    }

    .admin-container {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
}

.mobile-menu-btn {
    display: none;
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}