/**
 * GEP Stay Informed – Premium Newsletter product card
 * Larger card, feature blocks, entrance + hover animations.
 */

.gep-stay-informed-wrap {
	width: 100%;
	padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 2.5rem);
	background: linear-gradient(180deg, #f5fff5 0%, #f5f9f6 50%, #f5fff5 100%);
	box-sizing: border-box;
}

.gep-stay-informed {
	--gep-si-primary: #4db37c;
	--gep-si-primary-light: #6dd99a;
	--gep-si-dark: #1d7445;
	--gep-si-text: #1a1a1a;
	--gep-si-muted: #5a6570;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: clamp(2.25rem, 5vw, 3.5rem) clamp(2rem, 5vw, 3rem);
	background: #fff;
	border-radius: 20px;
	box-shadow:
		0 4px 6px rgba(0, 0, 0, 0.04),
		0 12px 32px rgba(0, 0, 0, 0.08),
		0 0 0 1px rgba(77, 179, 124, 0.06);
	box-sizing: border-box;
	animation: gep-si-card-in 0.6s ease-out forwards;
}

@keyframes gep-si-card-in {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ----- Header ----- */
.gep-stay-informed-header {
	display: inline-flex;
	align-items: center;
	gap: 0.875rem;
	text-decoration: none;
	color: var(--gep-si-text);
	font-weight: 700;
	font-size: clamp(1.5rem, 2.5vw, 1.875rem);
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
	transition: color 0.25s ease, transform 0.2s ease;
}

.gep-stay-informed-header:hover {
	color: var(--gep-si-dark);
}

.gep-stay-informed-header:hover .gep-stay-informed-header-icon {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(29, 116, 69, 0.35);
}

.gep-stay-informed-header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: linear-gradient(145deg, var(--gep-si-primary), var(--gep-si-dark));
	border-radius: 12px;
	flex-shrink: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 4px 12px rgba(29, 116, 69, 0.25);
}

.gep-stay-informed-header-icon .gep-stay-informed-check {
	width: 22px;
	height: 22px;
	color: #fff;
}

/* ----- Description ----- */
.gep-stay-informed-desc {
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.65;
	color: var(--gep-si-muted);
	margin: 0 0 2rem;
	width: 100%;
	max-width: 100%;
	padding-bottom: 1.75rem;
	border-bottom: 1px solid rgba(77, 179, 124, 0.12);
}

/* ----- Features grid: larger rows as mini-cards ----- */
.gep-stay-informed-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.75rem;
}

.gep-stay-informed-feature {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 72px;
	padding: 1rem 1.25rem;
	background: linear-gradient(135deg, #fafdfb 0%, #f6fbf8 100%);
	border: 1px solid rgba(77, 179, 124, 0.1);
	border-radius: 14px;
	font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
	font-weight: 600;
	color: var(--gep-si-text);
	line-height: 1.4;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
	animation: gep-si-feature-in 0.5s ease-out backwards;
}

.gep-stay-informed-feature:nth-child(1) { animation-delay: 0.1s; }
.gep-stay-informed-feature:nth-child(2) { animation-delay: 0.15s; }
.gep-stay-informed-feature:nth-child(3) { animation-delay: 0.2s; }
.gep-stay-informed-feature:nth-child(4) { animation-delay: 0.25s; }
.gep-stay-informed-feature:nth-child(5) { animation-delay: 0.3s; }

@keyframes gep-si-feature-in {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.gep-stay-informed-feature:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(29, 116, 69, 0.12);
	border-color: rgba(77, 179, 124, 0.25);
	background: #fff;
}

.gep-stay-informed-feature:hover .gep-stay-informed-feature-icon {
	background: linear-gradient(145deg, rgba(77, 179, 124, 0.2), rgba(29, 116, 69, 0.15));
	color: var(--gep-si-dark);
	transform: scale(1.08);
}

/* Last row: full width + price badge */
.gep-stay-informed-feature:last-child {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 1rem 1.5rem;
	min-height: 76px;
	padding: 1.125rem 1.5rem;
}

.gep-stay-informed-feature:last-child .gep-stay-informed-feature-text {
	flex: 1;
}

/* Feature icon */
.gep-stay-informed-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	background: rgba(77, 179, 124, 0.12);
	border-radius: 10px;
	flex-shrink: 0;
	color: var(--gep-si-dark);
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.gep-stay-informed-feature-icon-svg {
	width: 22px;
	height: 22px;
}

.gep-stay-informed-feature-text {
	flex: 1;
	min-width: 0;
}

.gep-stay-informed-feature-text br {
	display: block;
	content: "";
	margin-top: 0.12em;
}

/* Price badge */
.gep-stay-informed-feature-price {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 1rem;
	background: linear-gradient(135deg, var(--gep-si-primary), var(--gep-si-dark));
	color: #fff !important;
	font-weight: 700;
	font-size: 1rem;
	white-space: nowrap;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(29, 116, 69, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gep-stay-informed-feature:last-child:hover .gep-stay-informed-feature-price {
	transform: scale(1.03);
	box-shadow: 0 6px 16px rgba(29, 116, 69, 0.4);
}

/* ----- Separator + CTA ----- */
.gep-stay-informed-cta-wrap {
	margin-top: 2rem;
	padding-top: 1.75rem;
	border-top: 1px solid #e8ece9;
	animation: gep-si-cta-in 0.5s ease-out 0.35s backwards;
}

@keyframes gep-si-cta-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.gep-stay-informed-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2.25rem;
	background: linear-gradient(180deg, var(--gep-si-dark) 0%, var(--gep-si-primary) 100%);
	color: #fff !important;
	font-weight: 700;
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	border-radius: 12px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
	box-shadow: 0 4px 16px rgba(29, 116, 69, 0.35);
}

.gep-stay-informed-cta:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 28px rgba(29, 116, 69, 0.45);
	color: #fff;
}

.gep-stay-informed-cta:active {
	transform: translateY(-1px);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
	.gep-stay-informed {
		padding: 2rem 1.5rem;
		border-radius: 16px;
	}

	.gep-stay-informed-features {
		grid-template-columns: 1fr;
		gap: 0.875rem;
	}

	.gep-stay-informed-feature {
		min-height: auto;
		padding: 1rem 1.125rem;
	}

	.gep-stay-informed-feature:last-child {
		grid-column: 1;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
		gap: 0.75rem;
	}

	.gep-stay-informed-feature:last-child .gep-stay-informed-feature-price {
		justify-self: start;
		margin-left: 0;
	}

	.gep-stay-informed-cta {
		width: 100%;
		padding: 1rem 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gep-stay-informed,
	.gep-stay-informed-feature,
	.gep-stay-informed-cta-wrap {
		animation: none;
	}

	.gep-stay-informed-feature,
	.gep-stay-informed-header-icon,
	.gep-stay-informed-feature-icon,
	.gep-stay-informed-cta,
	.gep-stay-informed-feature-price {
		transition-duration: 0.01ms;
	}
}
