/* Sekcja 7 – Program afiliacyjny (ciemny pasek) */

/* RESET wewnątrz sekcji – własne marginesy / typografia */
.profilio-affiliate h1,
.profilio-affiliate h2,
.profilio-affiliate h3,
.profilio-affiliate h4,
.profilio-affiliate h5,
.profilio-affiliate h6,
.profilio-affiliate p,
.profilio-affiliate label {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
}

/* ROOT */

.profilio-affiliate {
	position: relative;
	padding: 80px 16px 88px;
	background: radial-gradient(
			140% 220% at 0% 0%,
			#022c22,
			transparent 55%
		),
		radial-gradient(
			120% 240% at 100% 0%,
			#1e293b,
			transparent 60%
		),
		#020617;
	color: #e5e7eb;
	overflow: hidden;
}

.profilio-affiliate::before,
.profilio-affiliate::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	filter: blur(60px);
	opacity: 0.7;
	pointer-events: none;
}

.profilio-affiliate::before {
	width: 340px;
	height: 340px;
	top: -120px;
	left: -80px;
	background: rgba(16, 185, 129, 0.25);
}

.profilio-affiliate::after {
	width: 260px;
	height: 260px;
	bottom: -120px;
	right: -60px;
	background: rgba(56, 189, 248, 0.25);
}

.profilio-affiliate__inner {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
	z-index: 1;
}

/* GRID */

.profilio-affiliate__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.25fr);
	gap: 40px;
	align-items: flex-start;
}

/* HEADER LEWEJ KOLUMNY */

.profilio-affiliate__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(45, 212, 191, 0.5);
	background: rgba(15, 23, 42, 0.7);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	margin-bottom: 12px;
}

.profilio-affiliate__badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: radial-gradient(circle at 30% 30%, #a7f3d0, #22c55e);
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.profilio-affiliate__badge-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #a7f3d0;
}

.profilio-affiliate__title {
	font-size: clamp(24px, 3.4vw, 30px);
	line-height: 1.3;
	font-weight: 600;
	color: #f9fafb;
	margin-bottom: 10px;
}

.profilio-affiliate__lead {
	font-size: 14px;
	line-height: 1.7;
	color: #9ca3af;
	max-width: 520px;
}

/* STEPS / TIMELINE */

.profilio-affiliate__steps {
	list-style: none;
	padding: 0;
	margin: 26px 0 24px;
	position: relative;
}

.profilio-affiliate__steps::before {
	content: "";
	position: absolute;
	left: 14px;
	top: 4px;
	bottom: 4px;
	width: 1px;
	background: linear-gradient(
		to bottom,
		rgba(45, 212, 191, 0.2),
		rgba(56, 189, 248, 0.08)
	);
}

.profilio-affiliate__step {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding-bottom: 18px;
}

.profilio-affiliate__step:last-child {
	padding-bottom: 0;
}

.profilio-affiliate__step-marker {
	position: relative;
	z-index: 1;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(
			circle at 30% 30%,
			rgba(52, 211, 153, 0.8),
			rgba(6, 95, 70, 0.9)
		),
		#022c22;
	box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.24);
}

.profilio-affiliate__icon {
	width: 15px;
	height: 15px;
	border-radius: 4px;
	border: 1.4px solid #ecfdf5;
	position: relative;
}

/* proste pseudo-ikony */

.profilio-affiliate__icon--link::before,
.profilio-affiliate__icon--link::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	border: 1.4px solid #ecfdf5;
}

.profilio-affiliate__icon--link::before {
	width: 7px;
	height: 7px;
	top: -3px;
	left: -3px;
}

.profilio-affiliate__icon--link::after {
	width: 7px;
	height: 7px;
	right: -3px;
	bottom: -3px;
}

.profilio-affiliate__icon--network::before,
.profilio-affiliate__icon--network::after {
	content: "";
	position: absolute;
	width: 3px;
	height: 3px;
	border-radius: 999px;
	background: #ecfdf5;
}

.profilio-affiliate__icon--network::before {
	top: 3px;
	left: 3px;
}

.profilio-affiliate__icon--network::after {
	right: 3px;
	bottom: 3px;
}

.profilio-affiliate__icon--chart::before,
.profilio-affiliate__icon--chart::after {
	content: "";
	position: absolute;
	bottom: 2px;
	width: 2px;
	background: #ecfdf5;
	border-radius: 999px;
}

.profilio-affiliate__icon--chart::before {
	left: 3px;
	height: 5px;
}

.profilio-affiliate__icon--chart::after {
	right: 3px;
	height: 9px;
}

.profilio-affiliate__step-body {
	flex: 1 1 auto;
}

.profilio-affiliate__step-title {
	font-size: 14px;
	font-weight: 500;
	color: #e5e7eb;
	margin-bottom: 3px;
}

.profilio-affiliate__step-text {
	font-size: 13px;
	line-height: 1.65;
	color: #9ca3af;
}

/* TESTIMONIAL */

.profilio-affiliate__testimonial {
	margin-top: 18px;
	padding: 14px 18px 16px;
	border-radius: 18px;
	border: 1px solid rgba(52, 211, 153, 0.5);
	background: radial-gradient(
			130% 190% at 0% 0%,
			rgba(34, 197, 94, 0.16),
			transparent 60%
		),
		rgba(15, 23, 42, 0.96);
}

.profilio-affiliate__testimonial-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}

.profilio-affiliate__quote-icon {
	width: 20px;
	height: 20px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(34, 197, 94, 0.1);
	color: #bbf7d0;
	font-size: 16px;
	line-height: 1;
}

.profilio-affiliate__testimonial-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #86efac;
}

.profilio-affiliate__testimonial-text {
	font-size: 13px;
	line-height: 1.8;
	color: #e5e7eb;
	margin-bottom: 6px;
}

.profilio-affiliate__testimonial-meta {
	font-size: 12px;
	line-height: 1.6;
	color: #a5f3fc;
}

/* PRAWA KOLUMNA – PROCENTY */

.profilio-affiliate__percent-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.profilio-affiliate__percent-pill {
	min-width: 0;
	flex: 1 1 0;
	padding: 10px 12px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.4);
	background: radial-gradient(
			140% 260% at 0% 0%,
			rgba(148, 163, 184, 0.15),
			transparent 60%
		),
		rgba(15, 23, 42, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-align: center;
}

.profilio-affiliate__percent-value {
	font-size: 16px;
	font-weight: 600;
	color: #f9fafb;
}

.profilio-affiliate__percent-caption {
	font-size: 11px;
	line-height: 1.5;
	color: #9ca3af;
}

/* PANEL DOCHODU */

.profilio-affiliate__panel {
	margin-top: 4px;
	border-radius: 24px;
	border: 1px solid rgba(148, 163, 184, 0.45);
	background: radial-gradient(
			150% 260% at 0% 0%,
			rgba(45, 212, 191, 0.23),
			transparent 65%
		),
		rgba(15, 23, 42, 0.96);
	box-shadow: 0 24px 65px rgba(15, 23, 42, 0.9);
	padding: 18px 20px 18px;
}

.profilio-affiliate__panel-header {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

.profilio-affiliate__panel-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px 4px 6px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid rgba(45, 212, 191, 0.5);
	color: #a7f3d0;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.profilio-affiliate__icon--wallet {
	width: 16px;
	height: 16px;
	border-radius: 5px;
	border: 1.4px solid #a7f3d0;
	position: relative;
}

.profilio-affiliate__icon--wallet::before {
	content: "";
	position: absolute;
	left: 2px;
	right: 2px;
	top: 5px;
	height: 1px;
	background: #a7f3d0;
}

.profilio-affiliate__panel-intro {
	font-size: 12px;
	line-height: 1.6;
	color: #9ca3af;
}

/* SEGMENTY */

.profilio-affiliate__panel-segments {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 16px;
	margin-top: 6px;
	justify-content: center;
	padding: 10px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.9);
	border: 1px solid rgba(30, 64, 175, 0.5);
}

.profilio-affiliate__segment-pill {
	border: none;
	background: transparent;
	color: #cbd5f5;
	font-size: 11px;
	padding: 5px 10px;
	border-radius: 999px;
	cursor: pointer;
	transition:
		background-color 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease;
}

.profilio-affiliate__segment-pill:hover {
	background: rgba(30, 64, 175, 0.7);
	color: #e5e7eb;
}

.profilio-affiliate__segment-pill--active {
	background: linear-gradient(to right, #22c55e, #0ea5e9);
	color: #022c22;
	box-shadow: 0 8px 18px rgba(16, 185, 129, 0.5);
}

/* PANEL BODY */

.profilio-affiliate__panel-body {
	border-radius: 18px;
	padding: 10px 10px 4px;
	background: radial-gradient(
			130% 240% at 0% 0%,
			rgba(15, 23, 42, 0.3),
			transparent 60%
		);
}

.profilio-affiliate__panel-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	color: #9ca3af;
	margin-bottom: 4px;
}

.profilio-affiliate__panel-amount {
	font-size: 24px;
	font-weight: 600;
	color: #bbf7d0;
	margin-bottom: 6px;
}

.profilio-affiliate__panel-note {
	font-size: 12px;
	line-height: 1.7;
	color: #cbd5f5;
	margin-bottom: 4px;
}

.profilio-affiliate__panel-note--muted {
	color: #9ca3af;
}

/* SOCIAL PROOF */

.profilio-affiliate__social-proof {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
}

.profilio-affiliate__avatars {
	display: flex;
	align-items: center;
}

.profilio-affiliate__avatar {
	width: 30px;
	height: 30px;
	border-radius: 999px;
	border: 1px solid rgba(52, 211, 153, 0.8);
	background: radial-gradient(
			circle at 30% 30%,
			rgba(52, 211, 153, 0.9),
			rgba(22, 101, 52, 1)
		);
	color: #ecfdf5;
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.95);
}

.profilio-affiliate__avatar + .profilio-affiliate__avatar {
	margin-left: -10px;
}

.profilio-affiliate__social-text {
	font-size: 12px;
	line-height: 1.7;
	color: #cbd5f5;
}

/* CTA FOOTER */

.profilio-affiliate__cta {
	margin-top: 36px;
	padding: 18px 20px 18px;
	border-radius: 24px;
	border: 1px solid rgba(45, 212, 191, 0.6);
	background: radial-gradient(
			160% 260% at 0% 0%,
			rgba(16, 185, 129, 0.25),
			transparent 60%
		),
		rgba(15, 23, 42, 0.96);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.profilio-affiliate__cta-left {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.profilio-affiliate__cta-icon {
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.13);
	display: flex;
	align-items: center;
	justify-content: center;
}

.profilio-affiliate__cta-check {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	border: 2px solid #bbf7d0;
	position: relative;
}

.profilio-affiliate__cta-check::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 2px;
	width: 6px;
	height: 3px;
	border-left: 2px solid #bbf7d0;
	border-bottom: 2px solid #bbf7d0;
	transform: rotate(-45deg);
}

.profilio-affiliate__cta-text {
	flex: 1 1 auto;
}

.profilio-affiliate__cta-title {
	font-size: 15px;
	font-weight: 600;
	color: #ecfdf5;
	margin-bottom: 4px;
}

.profilio-affiliate__cta-desc {
	font-size: 13px;
	line-height: 1.7;
	color: #d1fae5;
	margin-bottom: 4px;
}

.profilio-affiliate__cta-note {
	font-size: 12px;
	line-height: 1.6;
	color: #a5f3fc;
}

.profilio-affiliate__cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.profilio-affiliate__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid transparent;
	transition:
		background-color 0.18s ease,
		color 0.18s ease,
		box-shadow 0.18s ease,
		border-color 0.18s ease;
}

.profilio-affiliate__btn--primary {
	background: #f9fafb;
	color: #064e3b;
	border-color: #a7f3d0;
	box-shadow: 0 12px 30px rgba(16, 185, 129, 0.45);
}

.profilio-affiliate__btn--primary:hover {
	background: #ecfdf5;
	box-shadow: 0 14px 34px rgba(16, 185, 129, 0.65);
}

.profilio-affiliate__btn--ghost {
	background: transparent;
	color: #e5e7eb;
	border-color: rgba(148, 163, 184, 0.7);
}

.profilio-affiliate__btn--ghost:hover {
	background: rgba(15, 23, 42, 0.9);
	border-color: #e5e7eb;
}

/* RESPONSYWNE */

@media (min-width: 768px) {
	.profilio-affiliate {
		padding: 88px 24px 96px;
	}

	.profilio-affiliate__cta {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (max-width: 900px) {
	.profilio-affiliate__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.profilio-affiliate__panel {
		padding: 16px 14px 14px;
	}

	.profilio-affiliate__cta {
		padding: 16px 14px 16px;
	}

	.profilio-affiliate__cta-actions {
		width: 100%;
	}

	.profilio-affiliate__btn {
		flex: 1 1 100%;
		justify-content: center;
	}
}
