/* CONSAI Agro OS public CRM showcase additions.
   Scoped only to new showcase blocks. Existing template styling is not reset. */

.consai-crm-showcase,
.consai-crm-trace,
.consai-platform-deep-dive {
	position: relative;
	overflow: hidden;
}

.consai-crm-showcase .common-title h2,
.consai-platform-deep-dive .common-title h2,
.consai-crm-trace .common-title h2 {
	margin-bottom: 0;
}

.consai-crm-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.consai-crm-module-card {
	height: 100%;
	padding: 26px 24px;
	border: 1px solid rgba(17, 72, 55, 0.12);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 18px 45px rgba(20, 52, 42, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.consai-crm-module-card:hover {
	transform: translateY(-4px);
	border-color: rgba(234, 196, 92, 0.45);
	box-shadow: 0 22px 60px rgba(20, 52, 42, 0.13);
}

.consai-crm-module-card .icon {
	width: 52px;
	height: 52px;
	margin-bottom: 18px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f7dc75;
	color: #113f31;
	font-size: 20px;
}

.consai-crm-module-card h3 {
	font-size: 20px;
	line-height: 1.25;
	margin-bottom: 10px;
	color: #17382d;
}

.consai-crm-module-card p {
	margin: 0;
	color: #5f6f69;
	font-size: 15px;
	line-height: 1.65;
}

.consai-crm-visual-stack {
	display: grid;
	grid-template-columns: 1.25fr 0.85fr;
	gap: 26px;
	align-items: stretch;
}

.consai-crm-browser-frame {
	border-radius: 28px;
	background: #102f26;
	padding: 12px;
	box-shadow: 0 28px 80px rgba(8, 40, 31, 0.2);
}

.consai-crm-browser-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px 16px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
}

.consai-crm-browser-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
}

.consai-crm-browser-screen {
	border-radius: 20px;
	background: linear-gradient(145deg, #f8f4e9 0%, #ffffff 62%, #eef6ef 100%);
	padding: 22px;
	min-height: 370px;
}

.consai-crm-screen-head {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 20px;
}

.consai-crm-screen-head span {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 999px;
	background: #113f31;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.consai-crm-screen-head h3 {
	margin: 8px 0 4px;
	color: #14382d;
	font-size: 26px;
}

.consai-crm-screen-head p {
	margin: 0;
	color: #67746f;
}

.consai-crm-kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 18px;
}

.consai-crm-kpi {
	border-radius: 16px;
	padding: 16px;
	background: #fff;
	border: 1px solid rgba(17, 72, 55, 0.08);
}

.consai-crm-kpi strong {
	display: block;
	color: #113f31;
	font-size: 25px;
	line-height: 1;
}

.consai-crm-kpi span {
	display: block;
	margin-top: 8px;
	color: #6f7c77;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.consai-crm-preview-list {
	display: grid;
	gap: 10px;
}

.consai-crm-preview-row {
	display: grid;
	grid-template-columns: 38px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(17, 72, 55, 0.08);
}

.consai-crm-preview-row i {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f7dc75;
	color: #113f31;
}

.consai-crm-preview-row h4 {
	margin: 0;
	color: #16392e;
	font-size: 15px;
}

.consai-crm-preview-row p {
	margin: 2px 0 0;
	color: #718079;
	font-size: 13px;
}

.consai-crm-preview-row b {
	color: #113f31;
	font-size: 13px;
}

.consai-crm-side-panel {
	display: grid;
	gap: 16px;
}

.consai-crm-mini-panel {
	border-radius: 24px;
	padding: 24px;
	background: #113f31;
	color: #fff;
	box-shadow: 0 18px 50px rgba(17, 63, 49, 0.18);
}

.consai-crm-mini-panel.is-light {
	background: #fff;
	color: #17382d;
	border: 1px solid rgba(17, 72, 55, 0.12);
	box-shadow: 0 18px 45px rgba(20, 52, 42, 0.08);
}

.consai-crm-mini-panel .label {
	display: inline-flex;
	margin-bottom: 12px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(247, 220, 117, 0.18);
	color: #f7dc75;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.consai-crm-mini-panel.is-light .label {
	background: #f7dc75;
	color: #113f31;
}

.consai-crm-mini-panel h3 {
	margin-bottom: 8px;
	color: inherit;
	font-size: 22px;
}

.consai-crm-mini-panel p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.65;
}

.consai-crm-mini-panel.is-light p {
	color: #66756f;
}

.consai-crm-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	align-items: center;
}

.consai-crm-flow {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.consai-crm-flow-step {
	padding: 24px 20px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid rgba(17, 72, 55, 0.1);
	height: 100%;
}

.consai-crm-flow-step span {
	display: inline-flex;
	width: 38px;
	height: 38px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	margin-bottom: 14px;
	background: #113f31;
	color: #f7dc75;
	font-weight: 800;
}

.consai-crm-flow-step h3 {
	font-size: 18px;
	margin-bottom: 8px;
	color: #17382d;
}

.consai-crm-flow-step p {
	margin: 0;
	color: #64736d;
	font-size: 14px;
	line-height: 1.6;
}

.consai-crm-trace-card {
	border-radius: 30px;
	padding: 42px;
	background:
		linear-gradient(135deg, rgba(17, 63, 49, 0.95), rgba(16, 47, 38, 0.92)),
		url('../img/consai-agroos/backgrounds/fields-lush.webp') center/cover no-repeat;
	color: #fff;
	box-shadow: 0 30px 90px rgba(17, 63, 49, 0.25);
}

.consai-crm-trace-card .common-subtitle span,
.consai-crm-trace-card h2 {
	color: #fff;
}

.consai-crm-trace-card p {
	color: rgba(255, 255, 255, 0.78);
}

.consai-trace-points {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin-top: 28px;
}

.consai-trace-point {
	border-radius: 18px;
	padding: 18px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.consai-trace-point i {
	color: #f7dc75;
	margin-bottom: 10px;
	font-size: 20px;
}

.consai-trace-point h4 {
	margin: 0 0 5px;
	color: #fff;
	font-size: 16px;
}

.consai-trace-point span {
	color: rgba(255, 255, 255, 0.68);
	font-size: 13px;
}

.consai-footer-access {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.consai-footer-access h4 {
	color: #fff;
	font-size: 16px;
	margin-bottom: 10px;
}

.consai-footer-access a {
	display: inline-flex;
	margin: 0 10px 8px 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
}

@media (max-width: 1199px) {
	.consai-crm-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.consai-crm-flow {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.consai-crm-grid,
	.consai-crm-visual-stack,
	.consai-trace-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.consai-crm-grid,
	.consai-crm-visual-stack,
	.consai-crm-kpis,
	.consai-crm-flow,
	.consai-trace-points {
		grid-template-columns: 1fr;
	}

	.consai-crm-browser-screen,
	.consai-crm-trace-card {
		padding: 24px;
	}

	.consai-crm-screen-head {
		display: block;
	}

	.consai-crm-preview-row {
		grid-template-columns: 38px 1fr;
	}

	.consai-crm-preview-row b {
		grid-column: 2;
	}
}
