/* ============================================================
   AI Maturity Assessment — Page Styles
   Extends workshop.css variables
   ============================================================ */

/* ── Screens ─────────────────────────────────────────────── */
.ama-screen { display: none; }
.ama-screen--active { display: block; }

/* ── Start Screen ────────────────────────────────────────── */
.ama-hero {
  text-align: center;
  padding: 80px 20px 60px;
  max-width: 640px;
  margin: 0 auto;
}

.ama-hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent);
  background: rgba(79, 142, 247, 0.12);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ama-hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ama-hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.ama-hero-stats {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 32px;
}

.ama-hero-stats span {
  margin: 0 8px;
}

.ama-start-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.ama-start-btn:hover { opacity: 0.88; }

/* ── Quiz Screen ─────────────────────────────────────────── */
.ama-quiz-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 60px;
}

/* Progress */
.ama-progress {
  margin-bottom: 28px;
}

.ama-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-dim);
}

.ama-dim-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.ama-progress-bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}

.ama-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Question */
.ama-question {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}

/* Options */
.ama-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ama-option {
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  line-height: 1.5;
  width: 100%;
}

.ama-option:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.ama-option--selected {
  border-color: var(--accent);
  color: var(--text);
  background: var(--bg-3);
}

/* Back button */
.ama-back {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font);
  font-size: 13px;
  cursor: pointer;
  margin-top: 20px;
  padding: 6px 0;
  transition: color 0.15s;
}

.ama-back:hover { color: var(--text-muted); }

/* ── Results Screen ──────────────────────────────────────── */
.ama-results-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

/* Score block */
.ama-score-block {
  text-align: center;
  padding: 32px 0 24px;
}

.ama-score-num {
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.ama-score-denom {
  font-size: 20px;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.ama-level-badge {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.ama-level-tagline {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

.ama-level-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}

/* Dimension chart */
.ama-chart {
  margin-bottom: 36px;
}

.ama-chart h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ama-chart-row {
  display: grid;
  grid-template-columns: 160px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ama-chart-label {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}

.ama-bar-track {
  height: 10px;
  background: var(--bg-3);
  border-radius: 5px;
  overflow: hidden;
}

.ama-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s ease;
}

.ama-chart-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Insights (strengths/gaps) */
.ama-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
}

.ama-insight-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.ama-insight-card--strength { border-left: 3px solid #2ecc71; }
.ama-insight-card--gap      { border-left: 3px solid #f39c12; }

.ama-insight-card h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.ama-insight-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ama-insight-card li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  line-height: 1.5;
}

/* Recommendations */
.ama-recs {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 36px;
}

.ama-recs h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ama-recs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ama-recs li {
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}

.ama-recs li:last-child { border-bottom: none; }
.ama-recs li a { color: var(--accent); }

/* Action buttons */
.ama-actions {
  text-align: center;
  margin-bottom: 48px;
}

.ama-btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
}

.ama-btn--primary {
  background: var(--accent);
  color: #fff;
  margin-bottom: 16px;
}

.ama-btn--primary:hover { opacity: 0.88; text-decoration: none; }

.ama-btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.ama-btn--outline:hover { border-color: var(--accent); color: var(--text); text-decoration: none; }

.ama-btn--ghost {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
}

.ama-btn--ghost:hover { color: var(--text-muted); }

.ama-share-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}

/* Workshop links */
.ama-workshop-links {
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.ama-workshop-links h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.ama-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ama-link-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s;
}

.ama-link-card:hover { border-color: var(--accent); text-decoration: none; }

.ama-link-card span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .ama-hero h1 { font-size: 28px; }
  .ama-chart-row { grid-template-columns: 1fr; gap: 4px; }
  .ama-chart-label { text-align: left; font-size: 12px; }
  .ama-chart-val { display: none; }
  .ama-insights { grid-template-columns: 1fr; }
  .ama-share-row { flex-direction: column; }
  .ama-link-grid { grid-template-columns: 1fr; }
  .ama-score-num { font-size: 56px; }
}
