/* 大型设备 (大于等于1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* 中型设备 (992px-1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.25rem;
    }
}

/* 小型设备 (768px-991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .workflow-container {
        flex-direction: column;
    }
    
    .workflow-image {
        position: static;
        margin-top: var(--spacing-lg);
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 超小型设备 (小于768px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }
    
    .mobile-menu-btn span {
        height: 2px;
        width: 100%;
        background-color: var(--text-primary);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.125rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step.left, .step.right {
        padding-left: 0;
        padding-right: 0;
    }
    
    .scenarios-grid {
        grid-template-columns: 1fr;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* 极小型设备 (小于576px) */
@media (max-width: 575px) {
    .container {
        width: 100%;
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
}