/**
 * ViewCounter — Features Page styles
 */

.features-page {
	background: #fff;
	overflow: hidden;
}

.features-hero {
	padding: 150px 0 86px;
	background: linear-gradient(135deg, var(--slate-900), var(--purple-950));
	color: #fff;
	position: relative;
}

.features-hero::before {
	content: '';
	position: absolute;
	inset: auto -160px -220px auto;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,47,198,0.28), transparent 70%);
}

.features-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
	gap: 56px;
	align-items: center;
}

.features-hero .section-label {
	color: var(--purple-300);
}

.features-hero h1 {
	font-family: 'Fraunces', serif;
	font-size: clamp(42px, 5vw, 62px);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -1.8px;
	color: #fff;
	margin: 14px 0 20px;
}

.features-hero p {
	max-width: 540px;
	font-size: 18px;
	line-height: 1.75;
	font-weight: 300;
	color: var(--purple-100);
	margin: 0 0 32px;
}

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

.features-map {
	position: relative;
	min-height: 420px;
}

.features-node {
	position: absolute;
	width: 220px;
	background: #fff;
	color: var(--slate-800);
	border: 1px solid rgba(255,255,255,0.72);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 22px 60px rgba(0,0,0,0.22);
}

.features-node:nth-child(1) { top: 0; left: 32px; }
.features-node:nth-child(2) { top: 104px; right: 0; }
.features-node:nth-child(3) { bottom: 48px; left: 0; }
.features-node:nth-child(4) { bottom: 0; right: 64px; }

.features-node h2,
.features-plan-card h2 {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.3px;
	color: var(--slate-900);
	margin: 12px 0 7px;
}

.features-node p,
.features-plan-card p {
	font-size: 13px;
	line-height: 1.6;
	color: var(--slate-500);
	margin: 0;
}

.features-plan-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	white-space: nowrap;
}

.features-plan-badge.free {
	background: var(--slate-100);
	color: var(--slate-600);
}

.features-plan-badge.single {
	background: var(--purple-100);
	color: var(--purple-700);
}

.features-plan-badge.multi {
	background: #ecfdf5;
	color: #047857;
}

.features-plan-badge.agency {
	background: #fff7ed;
	color: #c2410c;
}

.features-plans {
	padding: 64px 0 32px;
	background: #fff;
}

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

.features-plan-card {
	border: 1px solid var(--slate-200);
	border-radius: 16px;
	background: var(--slate-50);
	padding: 24px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.features-plan-card:hover {
	transform: translateY(-3px);
	border-color: var(--purple-200);
	box-shadow: 0 14px 42px rgba(15,23,42,0.07);
}

.features-sections,
.features-comparison {
	padding: 72px 0;
	background: #fff;
}

.features-comparison {
	background: linear-gradient(180deg, #fff 0%, var(--slate-50) 100%);
}

.features-section-header {
	text-align: center;
	max-width: 650px;
	margin: 0 auto 42px;
}

.features-section-header .section-title {
	margin-bottom: 12px;
}

.features-band-stack {
	display: grid;
	gap: 18px;
	max-width: 1040px;
	margin: 0 auto;
}

.features-band {
	background: #fff;
	border: 1px solid var(--slate-200);
	border-radius: 18px;
	padding: 30px;
	box-shadow: 0 12px 40px rgba(15,23,42,0.04);
}

.features-band-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 20px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--slate-200);
}

.features-band-header h3 {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.5px;
	color: var(--slate-900);
	margin: 0;
}

.features-mini-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.features-mini-card {
	background: var(--slate-50);
	border: 1px solid var(--slate-200);
	border-radius: 12px;
	padding: 18px;
}

.features-mini-card h4 {
	font-size: 14px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--slate-900);
	margin: 0 0 7px;
}

.features-mini-card p {
	font-size: 13px;
	line-height: 1.55;
	color: var(--slate-500);
	margin: 0;
}

.features-table-wrap {
	max-width: 1100px;
	margin: 0 auto;
	overflow-x: auto;
	border: 1px solid var(--slate-200);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 52px rgba(15,23,42,0.06);
}

.features-table {
	width: 100%;
	min-width: 820px;
	border-collapse: collapse;
}

.features-table th,
.features-table td {
	text-align: left;
	padding: 16px 18px;
	border-right: 1px solid var(--slate-200);
	border-bottom: 1px solid var(--slate-200);
	font-size: 13px;
	color: var(--slate-600);
}

.features-table th:last-child,
.features-table td:last-child {
	border-right: 0;
}

.features-table tr:last-child td {
	border-bottom: 0;
}

.features-table thead th {
	background: var(--slate-900);
	color: #fff;
	font-weight: 800;
}

.features-table thead th:first-child,
.features-table tbody td:first-child {
	width: 40%;
}

.features-table tbody td:first-child {
	font-weight: 700;
	color: var(--slate-800);
}

.features-table-section td {
	background: var(--purple-50);
	color: var(--purple-700) !important;
	font-size: 12px;
	font-weight: 900 !important;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.features-tick {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--purple-600);
	font-weight: 900;
}

.features-tick::before {
	content: '';
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--purple-100);
	box-shadow: inset 0 0 0 4px var(--purple-600);
}

.features-dash {
	color: var(--slate-300);
	font-weight: 900;
}

@media (max-width: 980px) {
	.features-hero-grid {
		grid-template-columns: 1fr;
	}

	.features-map {
		min-height: 380px;
	}

	.features-plan-grid,
	.features-mini-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.features-hero {
		padding: 120px 0 56px;
	}

	.features-hero h1 {
		font-size: 40px;
		letter-spacing: -1px;
	}

	.features-map {
		display: grid;
		gap: 14px;
		min-height: 0;
	}

	.features-node {
		position: static;
		width: auto;
		box-shadow: 0 14px 38px rgba(0,0,0,0.16);
	}

	.features-plan-grid,
	.features-mini-grid {
		grid-template-columns: 1fr;
	}

	.features-band {
		padding: 24px;
	}

	.features-band-header {
		flex-direction: column;
		gap: 12px;
	}
}
