/**
 * Benefits Intro - "What Makes Us Different" comparison table
 *
 * @package NexioEducation
 */

.benefits-intro {
	background: #010d18;
	padding: 160px 142px;
	max-width: 100%;
}

.benefits-intro-title {
	font-family: 'Manrope', sans-serif;
	font-size: 48px;
	font-weight: 800;
	line-height: 58px;
	color: #fffefa;
	margin: 0 0 120px;
}

/* Table container */
.benefits-intro-table {
	position: relative;
	max-width: 1156px;
}

/* Header row */
.benefits-intro-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0;
}

.benefits-intro-header-label {
	font-family: 'Manrope', sans-serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 28px;
	color: #fffefa;
	margin: 0;
}

.benefits-intro-header-columns {
	display: flex;
	align-items: center;
	gap: 165px;
}

.benefits-intro-header-nexio {
	display: flex;
	align-items: center;
	gap: 8px;
}

.benefits-intro-logo-icon {
	width: 36px;
	height: 45px;
	flex-shrink: 0;
	display: block;
}

.benefits-intro-header-nexio-text {
	font-family: 'Apris Trial', serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 28px;
	color: #fffefa;
	margin: 0;
}

.benefits-intro-header-other {
	font-family: 'Apris Trial', serif;
	font-size: 24px;
	font-weight: 300;
	line-height: 28px;
	color: #fffefa;
	margin: 0;
}

/* Separator line */
.benefits-intro-separator {
	border: none;
	border-top: 1px dashed rgba(255, 254, 250, 0.1);
	margin: 36px 0;
	opacity: 1;
}

/* Rows container - holds the highlight column pseudo-element */
.benefits-intro-rows {
	display: flex;
	flex-direction: column;
	gap: 24px;
	position: relative;
}

/* Highlighted column behind Nexio values */
.benefits-intro-table::before {
	content: '';
	position: absolute;
	left: calc(100% - 675px);
	top: -54px;
	width: 353px;
	bottom: -39px;
	background: rgba(255, 254, 250, 0.05);
	border: 1px solid rgba(255, 254, 250, 0.15);
	border-radius: 16px;
	z-index: 0;
	pointer-events: none;
}

/* Individual row */
.benefits-intro-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 36px 0;
	border-bottom: 1px dashed rgba(255, 254, 250, 0.1);
	position: relative;
	z-index: 1;
}

.benefits-intro-row:last-child {
	border-bottom: 1px dashed rgba(255, 254, 250, 0.1);
}

/* Row label (left column) */
.benefits-intro-row-label {
	font-family: 'Apris Trial', serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	color: #fffefa;
	margin: 0;
	flex-shrink: 0;
}

/* Row values container (right side) */
.benefits-intro-row-values {
	display: flex;
	align-items: flex-start;
	width: 611px;
	flex-shrink: 0;
	gap: 116px;
}

/* Nexio value (center column - bold) */
.benefits-intro-row-nexio {
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	color: #fffefa;
	margin: 0;
	width: 255px;
	flex-shrink: 0;
}

/* Other services value (right column - lighter) */
.benefits-intro-row-other {
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 18px;
	color: rgba(255, 254, 250, 0.75);
	margin: 0;
	width: 213px;
	flex-shrink: 0;
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
	.benefits-intro {
		padding: 120px 80px;
	}

	.benefits-intro-table::before {
		left: calc(100% - 590px);
		width: 300px;
	}

	.benefits-intro-header-columns {
		gap: 100px;
	}

	.benefits-intro-row-values {
		width: 520px;
	}

	.benefits-intro-row-nexio {
		width: 220px;
	}

	.benefits-intro-row-other {
		width: 190px;
	}
}

@media (max-width: 900px) {
	.benefits-intro {
		padding: 80px 24px;
	}

	.benefits-intro-title {
		font-size: 32px;
		line-height: 40px;
		margin-bottom: 40px;
	}

	.benefits-intro-table::before {
		display: none;
	}

	/* Separator hidden on mobile */
	.benefits-intro-separator {
		display: none !important;
	}

	/* Header as compact legend */
	.benefits-intro-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		margin-bottom: 24px;
		padding-bottom: 24px;
		border-bottom: 1px dashed rgba(255, 254, 250, 0.1);
	}

	.benefits-intro-header-label {
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 1.5px;
		text-transform: uppercase;
		color: rgba(255, 254, 250, 0.4);
		margin-bottom: 12px;
	}

	.benefits-intro-header-columns {
		flex-direction: row;
		gap: 24px;
		align-items: center;
	}

	.benefits-intro-header-nexio {
		gap: 6px;
	}

	.benefits-intro-logo-icon {
		width: 24px;
		height: 30px;
	}

	.benefits-intro-header-nexio-text {
		font-size: 16px;
		line-height: 20px;
	}

	.benefits-intro-header-other {
		font-size: 14px;
		line-height: 18px;
		color: rgba(255, 254, 250, 0.4);
	}

	/* Divider between header columns */
	.benefits-intro-header-nexio::after {
		content: "vs";
		font-family: 'Apris Trial', serif;
		font-size: 13px;
		font-style: italic;
		color: rgba(255, 254, 250, 0.25);
		margin-left: 18px;
	}

	/* Rows become stacked cards */
	.benefits-intro-rows {
		gap: 16px;
	}

	.benefits-intro-row {
		flex-direction: column;
		gap: 0;
		padding: 0;
		border-bottom: none;
		background: rgba(255, 254, 250, 0.04);
		border-radius: 12px;
		overflow: hidden;
	}

	.benefits-intro-row:last-child {
		border-bottom: none;
	}

	/* Row label as small uppercase tag */
	.benefits-intro-row-label {
		font-family: 'Manrope', sans-serif;
		font-size: 11px;
		font-weight: 700;
		line-height: 14px;
		letter-spacing: 1.5px;
		text-transform: uppercase;
		color: rgba(255, 254, 250, 0.4);
		padding: 16px;
		margin: 0;
	}

	/* Values stack vertically inside card */
	.benefits-intro-row-values {
		width: 100%;
		flex-direction: column;
		gap: 0;
	}

	/* Nexio value - hero with left accent */
	.benefits-intro-row-nexio {
		width: 100%;
		font-size: 15px;
		font-weight: 700;
		line-height: 20px;
		color: #fffefa;
		padding: 10px 16px 14px;
		border-left: 3px solid #fffefa;
		margin: 0 12px;
		box-sizing: border-box;
		width: calc(100% - 24px);
	}

	/* Other value - dimmed with "vs." prefix */
	.benefits-intro-row-other {
		width: 100%;
		font-size: 13px;
		font-weight: 400;
		line-height: 17px;
		color: rgba(255, 254, 250, 0.35);
		font-style: italic;
		padding: 0 16px 16px;
	}

	.benefits-intro-row-other::before {
		content: "vs. ";
		font-style: normal;
		color: rgba(255, 254, 250, 0.25);
	}
}
