/**
 * Jetpack AI Assistant vs AgenticWP comparison post styles.
 *
 * Depends on agenticwp-vs-ai-engine.css for the shared comparison
 * components (verdict card, comparison table, audience grid,
 * decision checklist).
 *
 * @package AgenticWP
 */

.jetpack-comparison-post .custom-post-hero {
	background:
		radial-gradient(circle at 18% 26%, rgba(16, 185, 129, 0.2), transparent 32%),
		radial-gradient(circle at 80% 28%, rgba(132, 204, 22, 0.16), transparent 34%),
		linear-gradient(135deg, #090f1d 0%, #111827 58%, #062a1c 100%);
}

.jetpack-comparison-post .custom-post-hero-category,
.jetpack-comparison-post .post-section-title::before {
	border-color: rgba(16, 185, 129, 0.42);
}

.jetpack-comparison-post .post-section-title::before {
	background: rgba(16, 185, 129, 0.12);
	color: #34d399;
}

.jetpack-comparison-post .post-layout {
	padding-top: 42px;
}

.jetpack-comparison-post .verdict-card--jetpack,
.jetpack-comparison-post .post-cta-card {
	border-color: rgba(16, 185, 129, 0.3);
	background:
		linear-gradient(135deg, rgba(16, 185, 129, 0.13), rgba(132, 204, 22, 0.1)),
		#111827;
}

.jetpack-comparison-post .verdict-distinction {
	color: #6ee7b7;
}

.winner-badge--jetpack {
	background: rgba(16, 185, 129, 0.16);
	color: #059669;
}

.jetpack-comparison-post .audience-card--solo {
	margin: 32px 0;
}

/* Wall cards */

.wall-list {
	display: grid;
	gap: 14px;
	margin: 32px 0;
}

.wall-step {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 20px 22px;
	background: #111827;
}

.wall-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.16);
	color: #34d399;
	font-size: 13px;
	font-weight: 700;
}

.wall-step h3 {
	margin: 0 0 8px;
	color: var(--ink);
	font-size: 18px;
	line-height: 1.3;
}

.wall-step p {
	margin: 0 0 10px;
}

.wall-consequence {
	margin: 0;
	color: #6ee7b7;
	font-size: 15px;
	font-style: italic;
}

.wall-step .wall-consequence {
	margin-bottom: 0;
}

/* Request math callout */

.request-math {
	margin: 30px 0;
	padding: 28px;
	border: 1px solid rgba(16, 185, 129, 0.3);
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(17, 24, 39, 0.9));
}

.request-math h3 {
	margin: 0 0 10px;
	color: var(--ink);
	font-size: 17px;
	line-height: 1.3;
}

.request-math p {
	margin: 0;
}

/* Workflow demo columns */

.demo-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 32px 0;
}

.demo-column {
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 24px;
	background: #111827;
	display: flex;
	flex-direction: column;
}

.demo-column--jetpack {
	border-color: rgba(16, 185, 129, 0.3);
}

.demo-column--agenticwp {
	border-color: rgba(132, 204, 22, 0.34);
	background: linear-gradient(135deg, rgba(132, 204, 22, 0.08), rgba(17, 24, 39, 0.95));
}

.demo-column-title {
	margin: 0 0 16px;
	color: var(--ink);
	font-size: 18px;
	line-height: 1.3;
}

.demo-steps {
	margin: 0;
	padding-left: 22px;
	display: grid;
	gap: 10px;
}

.demo-steps li {
	font-size: 15px;
	line-height: 1.6;
}

.demo-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 2px 9px;
	border-radius: 20px;
	background: rgba(16, 185, 129, 0.14);
	color: #34d399;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.demo-endline {
	margin: 18px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
	font-style: italic;
}

@media (max-width: 900px) {
	.demo-grid {
		grid-template-columns: 1fr;
	}

	.jetpack-comparison-post .post-layout {
		padding-top: 34px;
	}
}

@media (max-width: 640px) {
	.wall-step {
		padding: 18px;
	}

	.request-math {
		padding: 22px;
	}

	.demo-column {
		padding: 20px;
	}
}
