/* 页脚样式 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    padding: 0.3rem 0;
    color: #bdc3c7;
}

.footer-section ul li i {
    margin-right: 0.5rem;
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

.footer-copyright {
    margin-bottom: 1rem;
}

.footer-beian {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.beian-item {
    margin: 0.5rem 0;
}

.beian-item a {
    color: #5dade2;
    text-decoration: underline;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    background-color: rgba(52, 152, 219, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.beian-item a i {
    color: #3498db;
}

.beian-item a img {
    width: 14px;
    height: 14px;
    margin-right: 0.2rem;
}

.beian-item a:hover {
    color: #2c3e50;
    background-color: rgba(52, 152, 219, 0.2);
    border-color: #3498db;
    text-decoration: underline;
    font-weight: 500;
}

/* 手机端备案号样式调整 */
@media (max-width: 768px) {
    .footer-beian {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .beian-item a {
        font-size: 0.85rem;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .tech-animation {
        height: 200px;
    }

    .floating-icon {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .philosophy-item {
        padding: 1.5rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}