* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  color: #94a3b8;
  font-size: 1.1rem;
}

main {
  display: grid;
  gap: 2rem;
}

section {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

section h2 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.75rem;
}

/* Controls */
.control-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.control-group label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.control-group input,
.control-group select {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* Maturity Grid */
.maturity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.maturity-item {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.maturity-label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.maturity-score {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fbbf24;
}

.maturity-select {
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 0.875rem;
}

.overall-score {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.score-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #8b5cf6;
}

.btn-generate {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s;
}

.btn-generate:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* Roadmap Timeline */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.phase {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid #6366f1;
}

.phase-year {
  font-size: 1.25rem;
  font-weight: bold;
  color: #8b5cf6;
  margin-bottom: 1rem;
}

.phase-tasks {
  list-style: none;
  padding-left: 0;
}

.phase-tasks li {
  padding: 0.5rem 0;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.phase-tasks li:last-child {
  border-bottom: none;
}

/* ROI Grid */
.roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.roi-input {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.roi-input label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.roi-input input {
  padding: 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.roi-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.roi-card {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.roi-label {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.roi-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: #4ade80;
}

/* AI Section */
.ai-section {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.05));
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.ai-insight {
  color: #cbd5e1;
}

.ai-insight strong {
  color: #8b5cf6;
}

/* Actions */
.actions-section {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: none;
  background: #6366f1;
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 0.2s;
}

.btn:hover {
  background: #4f46e5;
}

/* 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;
}