/* ============================================
   TrustiWP - Responsive Styles
   ============================================ */

@media (max-width: 1200px) {
    .hero-stats {
        gap: var(--space-8);
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }

    .main-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .feature-row:nth-child(even) .feature-content {
        order: 1;
    }

    .feature-row:nth-child(even) .feature-image {
        order: 2;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .footer-brand {
        max-width: none;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    :root {
        --space-24: 4rem;
        --space-20: 3.5rem;
        --space-16: 3rem;
    }

    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-xl); }

    .container {
        padding: 0 var(--space-4);
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-8));
        padding-bottom: var(--space-12);
    }

    .hero-content {
        padding: var(--space-8) 0;
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, var(--text-5xl));
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-6);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .trust-bar-inner {
        flex-direction: column;
        gap: var(--space-6);
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }

    .section-header {
        margin-bottom: var(--space-10);
    }

    .section-header h2 {
        font-size: var(--text-2xl);
    }

    .page-hero {
        padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-10);
    }

    .page-hero h1 {
        font-size: var(--text-3xl);
    }

    .pricing-toggle {
        flex-wrap: wrap;
    }

    .faq-question {
        padding: var(--space-4) var(--space-5);
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }

    .plugin-card {
        padding: var(--space-6);
    }

    .pricing-card-header,
    .pricing-card-body {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }

    .hero-label {
        font-size: var(--text-xs);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
