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

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

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

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

.dma-hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

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

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

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

.dma-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;
}

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

/* ── Objection Block ─────────────────────────────────────── */
.dma-objection,
.dma-objection * {
  text-align: left !important;
}

.dma-objection {
  background: linear-gradient(140deg, #1f1f1f 0%, #181818 100%);
  border: 1px solid rgba(253, 101, 36, 0.18);
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 36px 36px 30px;
  margin: 44px 0 40px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.42), 0 1px 0 rgba(255,255,255,0.04) inset;
  position: relative;
  overflow: hidden;
}

.dma-objection::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at top right, rgba(253, 101, 36, 0.08), transparent 70%);
  pointer-events: none;
}

.dma-objection-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  background: rgba(253, 101, 36, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.dma-objection-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: -0.3px;
}

.dma-objection-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 14px;
}

.dma-objection-intro em {
  color: var(--accent);
  font-style: italic;
  font-weight: 600;
}

.dma-objection-lede {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0 0 22px;
}

.dma-objection-list {
  list-style: none !important;
  counter-reset: dma-obj;
  padding: 0 !important;
  margin: 0 0 24px;
}

.dma-objection-list li {
  counter-increment: dma-obj;
  position: relative;
  padding: 18px 0 18px 52px;
  border-top: 1px solid rgba(255,255,255,0.06);
  list-style: none !important;
}

.dma-objection-list li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dma-objection-list li::before {
  content: counter(dma-obj);
  position: absolute;
  left: 0;
  top: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(253, 101, 36, 0.35);
}

.dma-objection-list li strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}

.dma-objection-list li span {
  display: block;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.dma-objection-kicker {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  padding: 20px 22px;
  background: rgba(253, 101, 36, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
}

.dma-objection-kicker strong {
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}

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

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

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

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

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

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

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

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

.dma-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%;
}

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

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

/* Back button */
.dma-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;
}

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

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

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

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

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

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

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

.dma-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 */
.dma-chart {
  margin-bottom: 36px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.dma-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;
}

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

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

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

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

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

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

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

/* Next-step CTAs (cross-link to other assessments) */
.dma-next-steps {
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.dma-next-steps h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}

.dma-next-steps-sub {
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.55;
}

.dma-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dma-cta-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s, transform 0.15s;
}

.dma-cta-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  text-decoration: none;
}

.dma-cta-card .dma-cta-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
}

.dma-cta-card .dma-cta-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.dma-cta-card .dma-cta-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Video Section ───────────────────────────────────────── */
.dma-video-section {
  display: block;
  padding: 24px 24px 96px;
  max-width: 1040px;
  margin: 0 auto;
  box-sizing: border-box;
}

.dma-video-wrap {
  position: relative;
  background: linear-gradient(180deg, rgba(253, 101, 36, 0.06) 0%, rgba(22, 22, 22, 0) 60%), #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 40px 40px 44px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(253, 101, 36, 0.04) inset;
  overflow: hidden;
}

.dma-video-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #fd6524 50%, transparent 100%);
  opacity: 0.6;
}

.dma-video-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fd6524;
  background: rgba(253, 101, 36, 0.1);
  border: 1px solid rgba(253, 101, 36, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.dma-video-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: #fff;
}

.dma-video-sub {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 28px;
  max-width: 640px;
}

.dma-video-header {
  text-align: center;
  margin-bottom: 28px;
}

.dma-video-header .dma-video-sub {
  margin-left: auto;
  margin-right: auto;
}

.dma-video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dma-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 720px) {
  .dma-video-section { padding: 16px 16px 64px; }
  .dma-video-wrap { padding: 28px 20px 30px; border-radius: 14px; }
  .dma-video-title { font-size: 22px; }
  .dma-video-sub { font-size: 14px; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .dma-hero h1 { font-size: 30px; }
  .dma-chart-row { grid-template-columns: 1fr; gap: 4px; }
  .dma-chart-label { text-align: left; font-size: 12px; }
  .dma-chart-val { display: none; }
  .dma-insights { grid-template-columns: 1fr; }
  .dma-share-row { flex-direction: column; }
  .dma-cta-grid { grid-template-columns: 1fr; }
  .dma-score-num { font-size: 56px; }
  .dma-objection { padding: 22px 18px 18px; }
  .dma-objection-title { font-size: 20px; }
  .dma-objection-list li { padding-left: 38px; }
  .dma-objection-list li::before { width: 26px; height: 26px; font-size: 13px; }
}
