/**
 * Mind-X Brain - Report Styles
 * Version: 2.0.0
 *
 * Scoped to .mindx-results prefix.
 * Self-contained — no dependency on wrapper styles.
 */

/* ─── BASE ─── */
.mindx-results {
	font-family: 'Inter Tight', 'Inter', -apple-system, sans-serif;
	color: #1a1a1a;
	max-width: 900px;
	margin: 0 auto;
	box-sizing: border-box;
}
.mindx-results *, .mindx-results *::before, .mindx-results *::after {
	box-sizing: border-box;
}

/* ─── HERO ─── */
.mindx-results__hero {
	display: flex; align-items: center; justify-content: space-between;
	color: #fff; border-radius: 16px; padding: 40px 48px;
	margin: 0 0 12px; position: relative; overflow: hidden;
}
.mindx-results__hero::before {
	content: ''; position: absolute; top: -30%; right: -10%;
	width: 350px; height: 350px; background: rgba(255,255,255,.03); border-radius: 50%;
}
.mindx-results__hero-left { position: relative; z-index: 1; flex: 1; }
.mindx-results__hero-right { position: relative; z-index: 1; text-align: right; padding: 0 0 0 32px; }
.mindx-results__badge {
	display: inline-block; border: 1px solid rgba(255,255,255,.2);
	padding: 4px 14px; margin: 0 0 14px; border-radius: 5px;
	font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.mindx-results__company { font-size: 24px; font-weight: 600; color: #fff; margin: 0 0 14px; letter-spacing: -0.01em; }
.mindx-results__level-info { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.4; margin: 0; }
.mindx-results__level-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin: 0 0 4px; }
.mindx-results__date { font-size: 11px; color: rgba(255,255,255,.4); margin: 12px 0 0; }
.mindx-results__score { font-size: 88px; font-weight: 700; line-height: 1; color: #fff; letter-spacing: -0.03em; margin: 0; }
.mindx-results__score-label { font-size: 14px; color: rgba(255,255,255,.5); margin: 4px 0 0; }

/* ─── DISCLAIMER ─── */
.mindx-results__disclaimer {
	font-size: 14px; color: #4B5563; text-align: center; line-height: 1.7;
	margin: 0 0 20px; padding: 14px 24px; background: #F9FAFB; border-radius: 10px;
}

/* ─── CARDS ─── */
.mindx-results__card {
	background: #fff; border: 1px solid #E5E7EB; border-radius: 12px;
	padding: 28px; margin: 0 0 16px;
}
.mindx-results__card-title { margin: 0 0 20px; padding: 0; font-size: 18px; font-weight: 600; color: #111827; }

/* ─── RADAR ─── */
.mindx-radar-svg { width: 100%; max-width: 460px; height: auto; margin: 0 auto; display: block; }
.mindx-results__radar-legend { display: flex; justify-content: center; gap: 24px; margin: 12px 0 0; font-size: 12px; color: #4B5563; }
.mindx-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin: 0 6px 0 0; vertical-align: middle; }
.mindx-results__radar-desc {
	font-size: 12px; color: #9CA3AF; text-align: center; line-height: 1.7; font-style: italic;
	margin: 16px auto 0; padding: 0; max-width: 520px;
}

/* ─── AREAS / PILLARS ─── */
.mindx-results__area { margin: 0 0 18px; padding: 0; }
.mindx-results__area:last-child { margin-bottom: 0; }
.mindx-results__area-header { display: flex; justify-content: space-between; margin: 0 0 6px; }
.mindx-results__area-name { font-size: 14px; font-weight: 500; color: #111827; }
.mindx-results__area-pct { font-size: 14px; font-weight: 700; color: #111827; }
.mindx-results__area-bar { position: relative; height: 8px; background: #f0f0f0; border-radius: 4px; overflow: visible; margin: 0; padding: 0; }
.mindx-results__area-fill { height: 100%; border-radius: 4px; margin: 0; padding: 0; }
.mindx-results__area-avg { position: absolute; top: -4px; width: 2px; height: 16px; background: #9CA3AF; border-radius: 1px; }
.mindx-results__area-meta { display: flex; justify-content: space-between; margin: 5px 0 0; font-size: 11px; color: #bbb; }
.mindx-results__area-summary {
	margin: 20px 0 0; padding: 16px; background: #F9FAFB; border-radius: 10px;
	font-size: 13px; color: #4B5563; line-height: 1.7; font-style: italic;
}

/* ─── ROADMAP / MATURITY ─── */
.mindx-results__roadmap { padding: 0 0 0 32px; margin: 0; position: relative; }
.mindx-results__roadmap::before { content: ''; position: absolute; left: 14px; top: 20px; bottom: 20px; width: 2px; background: #eee; }
.mindx-results__rm-step { position: relative; padding: 12px 0 12px 20px; margin: 0; }
.mindx-results__rm-dot {
	position: absolute; left: -26px; top: 14px; width: 28px; height: 28px;
	border-radius: 50%; background: #f5f5f5; border: 2px solid #e0e0e0;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 600; color: #bbb; z-index: 1; margin: 0; padding: 0;
}
.mindx-results__rm-step.passed .mindx-results__rm-dot { background: #eee; border-color: #ccc; color: #999; }
.mindx-results__rm-step.current .mindx-results__rm-dot { color: #fff; box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.mindx-results__rm-step.future { opacity: .35; }
.mindx-results__rm-name { font-size: 14px; font-weight: 600; color: #111827; margin: 0 0 3px; padding: 0; }
.mindx-results__rm-badge { display: inline-block; padding: 3px 12px; margin: 0 0 4px; border-radius: 4px; font-size: 10px; font-weight: 500; color: #fff; }
.mindx-results__rm-desc { font-size: 12px; color: #9CA3AF; line-height: 1.6; margin: 0; padding: 0; }

/* ─── ACTION PLAN ─── */
.mindx-results__plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; }
.mindx-results__plan-item { padding: 20px; margin: 0; border: 1px solid #E5E7EB; border-radius: 10px; }
.mindx-results__plan-tag {
	display: inline-block; padding: 4px 12px; margin: 0 0 12px; border-radius: 5px;
	font-size: 10px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: .04em;
}
.mindx-results__plan-tag--outline { background: transparent !important; border: 1.5px solid; }
.mindx-results__plan-item p { margin: 0; padding: 0; font-size: 13px; color: #4B5563; line-height: 1.7; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
	.mindx-results__hero { flex-direction: column; text-align: center; padding: 32px 24px; }
	.mindx-results__hero-right { padding: 24px 0 0; text-align: center; }
	.mindx-results__score { font-size: 64px; }
	.mindx-results__plan { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	.mindx-results [style*="grid-template-columns:repeat(4"] { grid-template-columns: repeat(2,1fr) !important; }
	.mindx-results [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr !important; }
	.mindx-results [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
}
