/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    .hero-text p {
        max-width: 100%;
    }
    .hero-image {
        order: -1;
        margin-bottom: 1rem;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle-btn {
        width: 44px;
        height: 44px;
        top: 12px;
        right: 12px;
    }

    .nav-toggle-btn i {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(30, 60, 114, 0.98) 0%, rgba(42, 82, 152, 0.98) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-right {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links-container {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding: 0.875rem;
        border-radius: 20px;
    }

    .mini-nav {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        border-radius: 20px;
        width: 100%;
        text-align: center;
    }

    .language-dropdown-content {
        right: -50px;
        left: auto;
        min-width: 120px;
    }

    .language-dropdown-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .language-dropdown-btn i {
        font-size: 0.875rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        justify-content: center;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .modal-content {
        margin: 10% 5%;
        padding: 2rem;
        border-radius: 20px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tool-card {
        padding: 1.5rem 1rem;
    }

    .tool-icon {
        width: 56px;
        height: 56px;
        font-size: 2rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .sites-grid {
        grid-template-columns: 1fr;
    }

    .profile-section {
        padding: 120px 0 100px;
    }

    .profile-card {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 2rem;
    }

    .hero-placeholder,
    .image-placeholder {
        width: 100%;
        max-width: 300px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        padding: 1.75rem 1.25rem;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .nav-logo h2 {
        font-size: 1.25rem;
    }
}
