* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #e6edf3;
  min-height: 100vh;
}
.container { max-width: 1000px; margin: 0 auto; padding: 2rem; }
header { margin-bottom: 2rem; }
header h1 { font-size: 2rem; color: #f44336; }
.subtitle { color: #8b949e; margin-top: 0.5rem; }

main { display: grid; gap: 2rem; }
section { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 1.5rem; }
h2 { font-size: 1.25rem; margin-bottom: 1rem; color: #fff; }
h3 { font-size: 1rem; margin-bottom: 0.5rem; color: #8b949e; }

.field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
label { font-size: 0.875rem; color: #8b949e; }
select { padding: 0.75rem; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); background: #161b22; color: #e6edf3; }

.btn-primary {
  padding: 0.75rem 2rem; border-radius: 6px; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; background: #f44336; color: #fff;
  transition: background 0.2s;
}
.btn-primary:hover { background: #da1e28; }

.results-section { margin-top: 2rem; }
.analysis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.analysis-card {
  background: rgba(255,255,255,0.03); border-radius: 8px; padding: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.analysis-card ul { padding-left: 1.25rem; }
.analysis-card li { margin-bottom: 0.25rem; }

.detection-positive { color: #f44336; font-weight: bold; }
.detection-neutral { color: #8b949e; }

/* KateelLearningDemos Attribution Marker */
body::after {
  content: "KateelLearningDemos";
  position: fixed;
  bottom: 5px;
  right: 5px;
  font-size: 8px;
  color: rgba(255,255,255,0.1);
  pointer-events: none;
  z-index: 9999;
}