/* ==========================================================================
   Why Partner With Us Widget Styles
   Prefix: .mtw-
   ========================================================================== */

.mtw-why-wrapper {
	width: 100%;
	background-color: var(--bg-body, #F5F3FA);
	padding: 80px 40px;
	box-sizing: border-box;
	font-family: var(--font-body, 'Inter', sans-serif);
	transition: background-color 0.35s ease, color 0.35s ease;
}

.mtw-why-container {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.mtw-why-left {
	flex: 1 1 55%;
	max-width: 620px;
}

.mtw-why-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 18px;
	background-color: var(--bg-surface-elevated, rgba(141, 52, 151, 0.1));
	border: 1px solid var(--border-color, rgba(141, 52, 151, 0.2));
	border-radius: var(--radius-full, 50px);
	color: var(--primary-color, #8D3497);
	font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.5px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.mtw-why-title {
	font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
	font-weight: 800;
	font-size: 44px;
	color: var(--text-heading, #0F0926);
	margin: 0 0 18px 0;
	line-height: 1.15;
	letter-spacing: -1px;
}

.mtw-why-subtitle {
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-body, #4A4660);
	margin: 0 0 36px 0;
}

.mtw-why-features {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.mtw-why-feature-item {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 12px;
	border-radius: var(--radius-lg, 18px);
	transition: all 0.3s ease;
	cursor: pointer;
}

.mtw-why-feature-item:hover {
	background-color: var(--bg-surface, #FFFFFF);
	box-shadow: var(--shadow-md);
}

.mtw-why-icon-tile {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md, 14px);
	background: var(--gradient-primary, linear-gradient(135deg, #8D3497 0%, #1F10BF 100%));
	color: #FFFFFF;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: var(--shadow-glow-primary, 0 8px 20px rgba(141, 52, 151, 0.25));
	transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mtw-why-icon-tile i,
.mtw-why-icon-tile svg {
	width: 1em;
	height: 1em;
	font-size: 20px;
	color: inherit;
	fill: currentColor;
	stroke: currentColor;
	display: inline-block;
	vertical-align: middle;
	line-height: 1;
	transition: transform 0.3s ease;
}

.mtw-why-feature-item:hover .mtw-why-icon-tile {
	transform: scale(1.12) rotate(-4deg);
	box-shadow: var(--shadow-xl);
}

.mtw-why-feature-title {
	font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
	font-weight: 700;
	font-size: 18px;
	color: var(--text-heading, #0F0926);
	margin: 0 0 6px 0;
	transition: color 0.25s ease;
}

.mtw-why-feature-item:hover .mtw-why-feature-title {
	color: var(--primary-color, #8D3497);
}

.mtw-why-feature-desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-body, #4A4660);
	margin: 0;
}

/* Right Column: Analytics Card */
.mtw-why-right {
	flex: 1 1 45%;
	max-width: 480px;
}

.mtw-why-card {
	background-color: var(--bg-surface, #FFFFFF);
	border-radius: var(--radius-xl, 28px);
	padding: 40px;
	box-shadow: var(--shadow-xl);
	border: 1px solid var(--border-color, #E6E1F3);
	box-sizing: border-box;
}

.mtw-card-header-title {
	font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
	font-weight: 800;
	font-size: 22px;
	color: var(--text-heading, #0F0926);
	margin: 0 0 24px 0;
}

.mtw-why-stats-row {
	display: flex;
	gap: 16px;
	margin-bottom: 32px;
}

.mtw-why-stat-box {
	flex: 1;
	background-color: var(--bg-surface-elevated, #FAFAFD);
	border: 1px solid var(--border-color, #F0EEF8);
	border-radius: var(--radius-md, 18px);
	padding: 20px 16px;
	text-align: center;
}

.mtw-why-stat-val {
	font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
	font-weight: 800;
	font-size: 32px;
	color: var(--primary-color, #8D3497);
	line-height: 1.1;
	margin-bottom: 4px;
}

.mtw-why-stat-lbl {
	font-size: 12px;
	color: var(--text-body, #4A4660);
	font-weight: 600;
}

/* 5-Bar Graph */
.mtw-why-chart {
	height: 170px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding-top: 20px;
	border-top: 1px dashed var(--border-color, #E2E2EC);
}

.mtw-chart-bar {
	flex: 1;
	height: var(--height, 50%);
	border-radius: 8px 8px 0 0;
	position: relative;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mtw-chart-bar:hover {
	transform: translateY(-4px);
	filter: brightness(1.1);
}

.mtw-chart-bar:nth-child(1) { background: linear-gradient(180deg, #A855F7 0%, #7E22CE 100%); }
.mtw-chart-bar:nth-child(2) { background: linear-gradient(180deg, #6366F1 0%, #4338CA 100%); }
.mtw-chart-bar:nth-child(3) { background: linear-gradient(180deg, #3B82F6 0%, #1D4ED8 100%); }
.mtw-chart-bar:nth-child(4) { background: var(--gradient-primary, linear-gradient(180deg, #8D3497 0%, #1F10BF 100%)); }
.mtw-chart-bar:nth-child(5) { background: linear-gradient(180deg, #EC4899 0%, #BE185D 100%); }

.mtw-chart-bar span {
	position: absolute;
	bottom: -26px;
	font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
	font-size: 11px;
	font-weight: 700;
	color: var(--text-body, #4A4660);
}

/* Dark Theme Overrides */
[data-theme="dark"] .mtw-why-wrapper {
	background-color: var(--bg-body, #090616);
}

[data-theme="dark"] .mtw-why-card {
	background-color: var(--bg-surface, #120D28);
	border-color: var(--border-color, #271E4B);
}

[data-theme="dark"] .mtw-why-title,
[data-theme="dark"] .mtw-why-feature-title,
[data-theme="dark"] .mtw-card-header-title {
	color: var(--text-heading, #F5F3FF);
}

[data-theme="dark"] .mtw-why-subtitle,
[data-theme="dark"] .mtw-why-feature-desc,
[data-theme="dark"] .mtw-why-stat-lbl,
[data-theme="dark"] .mtw-chart-bar span {
	color: var(--text-body, #B9B4D6);
}

/* Responsive */
@media (max-width: 991px) {
	.mtw-why-container {
		flex-direction: column;
	}

	.mtw-why-left, .mtw-why-right {
		max-width: 100%;
		width: 100%;
	}
}
