/*!
 * Influenzic Gen 2 — Homepage Pick Your Industry (Business Models)
 *
 * @package influenzic
 */

.g2-wif-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 40px;
}

.g2-wif-pick {
	display: grid;
	grid-template-columns: 270px 1fr;
	gap: 30px;
	max-width: 1120px;
	margin: 0 auto;
	align-items: start;
}

.g2-wif-side,
.g2-wif-stage,
.g2-wif-pl,
.g2-wif-mock {
	min-width: 0;
}

.g2-wif-hint {
	margin: 0 0 12px 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8B8497;
}

.g2-wif-list {
	display: flex;
	flex-direction: column;
	gap: 5px;
	max-width: 100%;
}

.g2-wif-tab {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 13px 16px;
	border: 1px solid transparent;
	border-radius: var(--g2-radius-md);
	background: transparent;
	color: #17151F;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	cursor: pointer;
	transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.g2-wif-tab b {
	width: 20px;
	font-size: 12px;
	font-weight: 700;
	color: #9A917F;
	font-variant-numeric: tabular-nums;
}

.g2-wif-dot {
	margin-left: auto;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--a);
	transition: transform 0.25s, background 0.25s;
	flex-shrink: 0;
}

.g2-wif-tab:hover {
	background: #ffffff;
	transform: translateX(4px);
}

.g2-wif-tab:hover .g2-wif-dot { transform: scale(1.6); }

.g2-wif-tab.is-on {
	background: var(--a);
	color: #ffffff;
	transform: translateX(8px);
	box-shadow: 0 12px 24px -10px var(--a);
}

.g2-wif-tab.is-on b { color: rgba(255, 255, 255, 0.75); }
.g2-wif-tab.is-on .g2-wif-dot { background: #ffffff; transform: scale(1); }
.g2-wif-tab:focus-visible { outline: 3px solid #17151F; outline-offset: 2px; }

.g2-wif-pick.auto .g2-wif-tab.is-on::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 3px;
	border-radius: 0 3px 3px 0;
	background: rgba(255, 255, 255, 0.78);
	animation: g2WifBar 6s linear forwards;
}

.g2-wif-pick:not(.vis) .g2-wif-tab.is-on::before,
.g2-wif-pick.hov .g2-wif-tab.is-on::before {
	animation-play-state: paused;
}

@keyframes g2WifBar {
	from { width: 0; }
	to { width: 100%; }
}

.g2-wif-stage {
	position: relative;
	border-radius: var(--g2-radius-lg);
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 30px 60px -30px rgba(23, 21, 31, 0.4), 0 0 0 1px rgba(23, 21, 31, 0.06);
}

.g2-wif-panel {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 34px;
	align-items: center;
	padding: 46px;
	min-height: 490px;
	background: #ffffff;
}

@supports (background: color-mix(in srgb, red 10%, #fff)) {
	.g2-wif-panel {
		background: color-mix(in srgb, var(--a) 11%, #ffffff);
	}
}

.g2-wif-panel[hidden] { display: none; }

.g2-wif-pick.on .g2-wif-panel:not([hidden]) {
	animation: g2WifIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes g2WifIn {
	from { opacity: 0; transform: translateX(18px); }
	to { opacity: 1; transform: none; }
}

.g2-wif-pick.on .g2-wif-panel:not([hidden]) .g2-wif-pl > * {
	animation: g2WifUp 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.g2-wif-pl > :nth-child(2) { animation-delay: 0.05s !important; }
.g2-wif-pl > :nth-child(3) { animation-delay: 0.1s !important; }
.g2-wif-pl > :nth-child(4) { animation-delay: 0.15s !important; }

@keyframes g2WifUp {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.g2-wif-for {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--a);
}

.g2-wif-ic {
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: var(--a);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.g2-wif-ic svg { width: 22px; height: 22px; color: #ffffff; }

.g2-wif-panel h3 {
	font-size: clamp(26px, 3.2vw, 36px);
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: #17151F;
	margin: 16px 0 12px;
	font-weight: 800;
}

.g2-wif-panel p {
	font-size: 16px;
	line-height: 1.65;
	color: #4A4558;
	margin: 0 0 22px;
}

.g2-wif-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.g2-wif-chips li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	color: #17151F;
	margin: 0;
}

.g2-wif-chips li::before {
	content: "\2713";
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--a);
	color: #ffffff;
	font-size: 12px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.g2-wif-mock {
	background: #ffffff;
	border-radius: 18px;
	padding: 18px;
	box-shadow: 0 26px 44px -20px rgba(23, 21, 31, 0.4), 0 0 0 1px rgba(23, 21, 31, 0.06);
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(1.5deg);
	transition: transform 0.2s ease-out;
}

.g2-wif-mh { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.g2-wif-mh i { width: 9px; height: 9px; border-radius: 50%; background: var(--a); }
.g2-wif-mh strong { font-size: 14.5px; color: #17151F; }
.g2-wif-mh em {
	margin-left: auto;
	font-style: normal;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9A917F;
	border: 1px solid #E7E1D6;
	border-radius: 6px;
	padding: 2px 6px;
}

.g2-wif-ms { font-size: 12px; color: #8B8497; margin-bottom: 14px; }
.g2-wif-r { margin-bottom: 12px; }

.g2-wif-rl {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: #2B2736;
	margin-bottom: 5px;
}

.g2-wif-rl span { color: var(--a); font-weight: 700; }
.g2-wif-bar2 { height: 7px; border-radius: 7px; background: #e2e8f0; overflow: hidden; }
.g2-wif-bar2 b {
	display: block;
	height: 100%;
	width: var(--p);
	border-radius: 7px;
	background: var(--a);
	transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s);
}

.g2-wif-pick.on .g2-wif-bar2 b { width: 0; }
.g2-wif-pick.on .g2-wif-panel.go .g2-wif-bar2 b { width: var(--p); }

.g2-wif-mf {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed #E3DCCF;
	font-size: 12.5px;
	color: #6B6478;
}

.g2-wif-mf b {
	background: var(--a);
	color: #ffffff;
	border-radius: 999px;
	padding: 4px 10px;
	font-size: 11.5px;
	white-space: nowrap;
}

.g2-wif-big {
	position: absolute;
	right: 26px;
	bottom: -34px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 210px;
	font-weight: 700;
	line-height: 1;
	color: var(--a);
	opacity: 0.08;
	pointer-events: none;
}

@media (min-width: 901px) {
	.g2-wif-pick { align-items: stretch; }
	.g2-wif-stage { display: flex; flex-direction: column; }
	.g2-wif-panel:not([hidden]) { flex: 1 1 auto; }
}

@media (max-width: 900px) {
	.g2-wif-pick {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
		margin-top: 18px;
	}

	.g2-wif-hint { margin-top: 6px; }

	.g2-wif-panel h3,
	.g2-wif-panel p,
	.g2-wif-chips li {
		overflow-wrap: anywhere;
	}

	.g2-wif-list {
		flex-direction: row;
		overflow-x: auto;
		gap: 8px;
		padding: 4px 2px 10px;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.g2-wif-list::-webkit-scrollbar { display: none; }

	.g2-wif-tab {
		flex: none;
		width: auto;
		padding: 11px 14px;
		background: #ffffff;
		border-color: #E7E1D6;
	}

	.g2-wif-tab:hover,
	.g2-wif-tab.is-on {
		transform: none;
	}

	.g2-wif-tab.is-on { border-color: transparent; }
	.g2-wif-dot { display: none; }

	.g2-wif-panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
		padding: 30px 22px 34px;
		min-height: 0;
	}

	.g2-wif-mock { transform: none; }
	.g2-wif-big { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	#who-its-for * {
		animation: none !important;
		transition: none !important;
	}
}
