/* 平板设备 (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .nav-img {
        width: 250px;
        height: 250px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats {
        gap: 40px;
    }
}

/* 移动设备 (768px以下) */
@media screen and (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: 20px 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 {
        padding: 100px 0 80px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content {
        text-align: center;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .nav-img {
        width: 200px;
        height: 200px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .solutions-content {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 200px;
    }
}

/* 小屏移动设备 (480px以下) */
@media screen and (max-width: 480px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .nav-img {
        width: 180px;
        height: 100%;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .contact-content {
        gap: 30px;
    }
}

/* 超大屏幕 (1200px以上) */
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-container {
        max-width: 1400px;
    }
    
    .nav-img {
        width: 300px;
        height: 100%;
    }
}
