.lsi-nlp-container { max-width: 900px; margin: 20px auto; font-family: 'Inter', sans-serif; }
.tool-header { text-align: center; margin-bottom: 25px; }
.input-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); position: relative; border: 1px solid #eee; }

.input-row { display: flex; gap: 10px; }
#main-keyword { flex: 1; padding: 15px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 16px; outline: none; }
#gen-btn { background: #6366f1; color: white; border: none; padding: 0 25px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; }

/* Loader Styles */
#lsi-loader { position: absolute; top:0; left:0; width:100%; height:100%; background:rgba(255,255,255,0.98); display:flex; flex-direction:column; align-items:center; justify-content:center; border-radius:12px; z-index:10; }
.lsi-spinner { width: 40px; height: 40px; border: 4px solid #f3f3f3; border-top: 4px solid #6366f1; border-radius: 50%; animation: lsi-spin 1s linear infinite; }
@keyframes lsi-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.lsi-progress { width: 60%; height: 6px; background: #eee; border-radius: 10px; margin-top: 15px; overflow: hidden; }
#lsi-bar { height: 100%; width: 0%; background: #6366f1; transition: width 0.3s; }

/* Results Grid */
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }
.res-card { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #eef2f6; }
.res-card h3 { margin-top: 0; color: #1e293b; font-size: 18px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.tag { background: #f1f5f9; color: #475569; padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid #e2e8f0; cursor: copy; }
.tag:hover { background: #e2e8f0; }

@media (max-width: 600px) { .results-grid { grid-template-columns: 1fr; } .input-row { flex-direction: column; } }