/* assets/css/responsive.css */
@media (max-width: 1200px) {
    .container { max-width: 100%; }
}

@media (max-width: 900px) {
    .header-inner { height: 64px; }
    
    .main-nav {
        position: absolute;
        top: 64px; left: 0; width: 100%;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-color);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: var(--shadow-md);
    }
    .main-nav.is-open { max-height: 500px; padding: 1rem 0; }
    .main-nav .nav-list { flex-direction: column; gap: 0; }
    .main-nav a { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-color); }
    .main-nav li:last-child a { border-bottom: none; }
    
    .mobile-menu-btn { display: flex; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 640px) {
    .editor-workspace { padding: 1.5rem 1rem; }
    .sample-paper { padding: 2rem 1.5rem; }
    h1 { font-size: 2rem; }
    .editor-actions { padding: 1rem; }
    .editor-actions .btn { width: 100%; margin-bottom: 0.5rem; }
    #btn-reset { margin-left: 0 !important; }
}