/* ============================================
   Offer: Header Block — Frontend Styles
   ============================================ */

:root {
	--taskipfb-offer-font: 'IBM Plex Sans', sans-serif;
}

.taskipfb-oh {
	width: 100%;
	overflow: hidden;
	background: linear-gradient( 135deg, #d1fae5 0%, #f0fdf9 40%, #ecfdf5 70%, #d1fae5 100% );
	font-family: var( --taskipfb-offer-font );
}

.taskipfb-oh-container {
	margin: 0 auto;
	padding: 0 32px;
	width: 100%;
	box-sizing: border-box;
}

/* ── Hero section ── */
.taskipfb-oh-hero {
	text-align: center;
	padding-bottom: 56px;
}

/* Badge */
.taskipfb-oh-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 20px;
	border: 1px solid rgba( 0, 0, 0, 0.1 );
	border-radius: 100px;
	background: rgba( 255, 255, 255, 0.75 );
	backdrop-filter: blur( 4px );
	font-size: 14px;
	font-weight: 500;
	color: #374151;
	margin-bottom: 28px;
	line-height: 1.4;
}

.taskipfb-oh-badge-icon {
	font-size: 15px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
}

.taskipfb-oh-badge-icon-img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	display: block;
}

/* Heading */
.taskipfb-oh-heading {
	font-size: clamp( 30px, 5vw, 62px );
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: #111827;
	margin: 0 auto 20px;
	max-width: 820px;
}

/* Description */
.taskipfb-oh-description {
	font-size: 16px;
	line-height: 1.65;
	color: #6b7280;
	max-width: 580px;
	margin: 0 auto 32px;
}

/* ── Countdown ── */
.taskipfb-oh-countdown {
	margin-bottom: 36px;
}

.taskipfb-oh-countdown-label {
	font-size: 15px;
	font-weight: 600;
	color: #374151;
	margin: 0 0 14px;
}

.taskipfb-oh-timer {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
}

.taskipfb-oh-timer-unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.taskipfb-oh-timer-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 72px;
	background-color: #111827;
	color: #ffffff;
	font-size: 30px;
	font-weight: 700;
	border-radius: 10px;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
	padding: 0 8px;
	box-sizing: border-box;
}

.taskipfb-oh-timer-text {
	font-size: 14px;
	font-weight: 400;
	color: #6b7280;
	text-transform: capitalize;
}

/* ── Buttons ── */
.taskipfb-oh-buttons {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
}

.taskipfb-oh-btn-primary,
.taskipfb-oh-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	border-radius: 10px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
	border: 2px solid transparent;
	line-height: 1;
}

.taskipfb-oh-btn-primary {
	background-color: #10b981;
	color: #ffffff;
}

.taskipfb-oh-btn-secondary {
	background-color: #ffffff;
	color: #111827;
	border-color: #e5e7eb;
	box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.08 );
}

.taskipfb-oh-btn-primary:hover {
	opacity: 0.88;
	transform: translateY( -1px );
}

.taskipfb-oh-btn-secondary:hover {
	border-color: #d1d5db;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.1 );
	transform: translateY( -1px );
}

/* ── Cards Grid ── */
.taskipfb-oh-cards {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	gap: 20px;
	align-items: stretch;
}

.taskipfb-oh-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 20px rgba( 0, 0, 0, 0.06 );
}

/* Card 1 – Trust */
.taskipfb-oh-card--trust {
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.taskipfb-oh-trust-label {
	font-size: 16px;
	font-weight: 500;
	color: #374151;
	margin: 0 0 14px;
}

/* Background image wrapper for avatars + count */
.taskipfb-oh-trust-visual {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 24px 16px;
	border-radius: 12px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin-bottom: 16px;
	box-sizing: border-box;
}

/* Avatars row */
.taskipfb-oh-avatars {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.taskipfb-oh-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #ffffff;
	margin-left: -10px;
	position: relative;
}

.taskipfb-oh-avatar:first-child {
	margin-left: 0;
}

.taskipfb-oh-avatar-plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background-color: #10b981;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	margin-left: -10px;
	border: 2px solid #ffffff;
	position: relative;
}

.taskipfb-oh-trust-count {
	font-size: 52px;
	font-weight: 700;
	color: #111827;
	line-height: 1;
	margin-bottom: 8px;
}

.taskipfb-oh-trust-desc {
	font-size: 16px;
	font-weight: 400;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

/* Card 2 – Screenshot */
.taskipfb-oh-card--screenshot {
	padding: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 280px;
}

.taskipfb-oh-screenshot {
	width: 100%;
	height: auto;
	border-radius: 8px;
	display: block;
}

/* Card 3 – Features */
.taskipfb-oh-card--features {
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.taskipfb-oh-card3-image {
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 20px;
	display: block;
}

.taskipfb-oh-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.taskipfb-oh-feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 400;
	color: #111827;
	line-height: 1.4;
}

.taskipfb-oh-check-icon {
	display: inline-flex;
	flex-shrink: 0;
	line-height: 1;
}

/* ── Tablet ── */
@media ( max-width: 1024px ) {
	.taskipfb-oh-container {
		padding: 0 24px;
	}

	.taskipfb-oh-cards {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
	}

	.taskipfb-oh-card--screenshot {
		grid-column: 1 / -1;
		order: -1;
	}
}

/* ── Mobile ── */
@media ( max-width: 768px ) {
	.taskipfb-oh-hero {
		padding-bottom: 40px;
	}

	.taskipfb-oh-cards {
		grid-template-columns: 1fr;
	}

	.taskipfb-oh-card--screenshot {
		grid-column: auto;
		order: 0;
		min-height: 200px;
	}

	.taskipfb-oh-timer {
		gap: 8px;
	}

	.taskipfb-oh-timer-num {
		min-width: 58px;
		height: 58px;
		font-size: 24px;
		border-radius: 8px;
	}

	.taskipfb-oh-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.taskipfb-oh-btn-primary,
	.taskipfb-oh-btn-secondary {
		text-align: center;
	}

	.taskipfb-oh-trust-count {
		font-size: 40px;
	}

	.taskipfb-oh-trust-visual {
		padding: 20px 12px;
	}

	.taskipfb-oh-heading {
		font-size: clamp( 26px, 6vw, 42px );
	}

	.taskipfb-oh-description {
		font-size: 15px;
	}

	.taskipfb-oh-badge {
		font-size: 13px;
		padding: 6px 16px;
	}
}

@media ( max-width: 480px ) {
	.taskipfb-oh-container {
		padding: 0 16px;
	}

	.taskipfb-oh-timer-num {
		min-width: 50px;
		height: 50px;
		font-size: 20px;
	}

	.taskipfb-oh-timer {
		gap: 6px;
	}

	.taskipfb-oh-trust-count {
		font-size: 34px;
	}

	.taskipfb-oh-avatar {
		width: 34px;
		height: 34px;
	}

	.taskipfb-oh-avatar-plus {
		width: 28px;
		height: 28px;
		font-size: 14px;
	}

	.taskipfb-oh-btn-primary,
	.taskipfb-oh-btn-secondary {
		padding: 12px 20px;
		font-size: 15px;
	}
}
