/* ========================================
   📱 CODE MINIFIER - RESPONSIVE CSS
   Mobile First Adjustments
======================================== */

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .tool-wrapper {
        padding: 1.5rem;
    }

    .controls-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .language-select, .auto-detect-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .reset-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* ✅ FAQ & Article responsive */
    .faq-section, .seo-article {
        padding: 1.5rem;
    }
    
    .faq-section h2, .seo-article h2 {
        font-size: 1.3rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .back-btn {
        margin: 1rem;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    .tool-wrapper {
        padding: 1rem;
        border-radius: 12px;
    }

    .mode-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tab-btn {
        width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .paste-btn, .copy-btn, .reset-btn {
        width: 100%;
        justify-content: center;
    }

    textarea {
        min-height: 150px;
        font-size: 0.85rem;
    }

    .process-btn {
        width: 100%;
        padding: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .info-section, .features-section, .blog-cta, .faq-section, .seo-article {
        padding: 1.5rem;
    }

    .blog-cta-content h3, .faq-section h2, .seo-article h2 {
        font-size: 1.4rem;
    }
    
    .faq-section h3 {
        font-size: 1rem;
    }
    
    .seo-article p {
        font-size: 0.95rem;
    }
}