footer {
    position: relative;
    background-color: var(--dark);
    color: var(--light);
    padding-top: 5rem;
    margin-top: 5rem;
    overflow: hidden;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(26, 86, 219, 0.15), transparent);
    z-index: 1;
}

.circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(26, 86, 219, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 86, 219, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.7;
}

.container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-section {
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-icon {
    font-size: 2rem;
    color: var(--accent);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-logo-text span {
    color: var(--accent);
}

.footer-about p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--gray-200);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.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.1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-section h3 {
    position: relative;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    color: white;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    display: flex;
    align-items: center;
    color: var(--gray-200);
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 0.7rem;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-section ul li a i {
    color: var(--accent);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover i {
    transform: rotate(90deg);
}

.footer-contact ul li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.footer-contact ul li i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.footer-contact ul li span {
    flex: 1;
    color: var(--gray-200);
    line-height: 1.6;
}

.footer-bottom {
    position: relative;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.footer-bottom p {
    color: var(--gray-300);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}