*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:2rem}.header{text-align:center;color:#fff;margin-bottom:3rem}.header h1{font-size:3rem;margin-bottom:1rem;text-shadow:2px 2px 4px rgba(0,0,0,.3)}.header p{font-size:1.2rem;opacity:.9}.demo-container{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000001a;overflow:hidden;margin-bottom:2rem}.demo-header{background:#f8f9fa;padding:1.5rem;border-bottom:1px solid #e9ecef}.demo-header h2{font-size:1.5rem;color:#333;margin-bottom:.5rem}.demo-header p{color:#6c757d}.demo-content{padding:2rem}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#495057;font-weight:500}.form-group input,.form-group textarea,.form-group select{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:4px;font-size:1rem;transition:border-color .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.form-group textarea{min-height:150px;resize:vertical}.button-group{display:flex;gap:1rem;margin-top:1.5rem}.btn{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 5px 15px #667eea4d}.btn-secondary{background:#6c757d;color:#fff}.btn-secondary:hover{background:#5a6268}.btn-danger{background:#dc3545;color:#fff}.btn-danger:hover{background:#c82333}.result-section{background:#fff;border-radius:12px;box-shadow:0 10px 30px #0000001a;padding:2rem;margin-bottom:2rem}.result-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #f8f9fa}.result-header h3{font-size:1.3rem;color:#333}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#f8f9fa;padding:1.5rem;border-radius:8px;text-align:center}.stat-label{color:#6c757d;font-size:.9rem;margin-bottom:.5rem}.stat-value{font-size:2rem;font-weight:700;color:#667eea}.search-results{margin-top:2rem}.result-item{background:#f8f9fa;padding:1.5rem;border-radius:8px;margin-bottom:1rem;border-left:4px solid #667eea}.result-score{display:inline-block;background:#28a745;color:#fff;padding:.25rem .75rem;border-radius:4px;font-size:.9rem;margin-bottom:.5rem}.result-content{color:#495057;margin:1rem 0;line-height:1.6}.result-metadata{color:#6c757d;font-size:.9rem;margin-top:1rem;padding-top:1rem;border-top:1px solid #dee2e6}.ai-answer{background:linear-gradient(135deg,#f8f9fa,#e9ecef);padding:2rem;border-radius:8px;margin-top:2rem}.ai-answer h4{color:#333;margin-bottom:1rem}.ai-answer-content{color:#495057;line-height:1.8}.loading{display:inline-block;width:20px;height:20px;border:3px solid rgba(102,126,234,.2);border-radius:50%;border-top-color:#667eea;animation:spin 1s ease-in-out infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-state{text-align:center;padding:3rem;color:#6c757d}.empty-state svg{width:100px;height:100px;margin-bottom:1rem;opacity:.3}.document-list{display:grid;gap:1rem;margin-top:1rem}.document-item{background:#f8f9fa;padding:1rem;border-radius:8px;display:flex;justify-content:space-between;align-items:center}.document-info{flex:1}.document-title{font-weight:500;color:#333;margin-bottom:.25rem}.document-meta{font-size:.9rem;color:#6c757d}.document-actions{display:flex;gap:.5rem}.icon-btn{background:transparent;border:none;color:#6c757d;cursor:pointer;padding:.5rem;border-radius:4px;transition:all .2s}.icon-btn:hover{background:#e9ecef;color:#495057}@media (max-width: 768px){.container{padding:1rem}.header h1{font-size:2rem}.button-group{flex-direction:column}.stats-grid{grid-template-columns:1fr}}
