/**
 * Gen 2 Reusable Shared Sections
 *
 * Standalone styles for demo strip, payment gateways, platform strengths, and quote strip.
 * Zero dependency on Gen 1 main.css.
 */

/* ── Demo CTA Strip ── */
.g2-demo-strip {
	position: relative;
	overflow: hidden;
	background: var(--g2-primary);
	padding: 0;
}

.g2-demo-strip .inzc-container {
	position: relative;
	z-index: 1;
}

.g2-demo-strip__deco {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.g2-demo-strip__circle {
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	animation: g2-strip-float ease-in-out infinite;
}

.g2-demo-strip__circle--1 {
	width: 180px;
	height: 180px;
	top: -70px;
	left: -50px;
	animation-duration: 6s;
}

.g2-demo-strip__circle--2 {
	width: 100px;
	height: 100px;
	top: 10px;
	left: 26%;
	background: rgba(255, 255, 255, 0.14);
	animation-duration: 7s;
	animation-delay: -2s;
}

.g2-demo-strip__circle--3 {
	width: 130px;
	height: 130px;
	bottom: -55px;
	right: 30%;
	background: rgba(255, 255, 255, 0.15);
	animation-duration: 8s;
	animation-delay: -4s;
}

.g2-demo-strip__circle--4 {
	width: 70px;
	height: 70px;
	bottom: 8px;
	right: 9%;
	background: rgba(255, 255, 255, 0.22);
	animation-duration: 5s;
	animation-delay: -1.5s;
}

@keyframes g2-strip-float {

	0%,
	100% {
		transform: translateY(0px) scale(1);
	}

	50% {
		transform: translateY(-28px) scale(1.08);
	}
}

.g2-demo-strip__ring {
	position: absolute;
	animation: g2-strip-spin linear infinite;
}

.g2-demo-strip__ring--1 {
	width: 220px;
	height: 220px;
	top: 50%;
	right: -50px;
	margin-top: -110px;
	animation-duration: 10s;
}

.g2-demo-strip__ring--2 {
	width: 130px;
	height: 130px;
	top: -35px;
	left: 42%;
	animation-duration: 7s;
	animation-direction: reverse;
}

@keyframes g2-strip-spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.g2-demo-strip__arc {
	position: absolute;
	bottom: 0;
	left: -10%;
	width: 120%;
	height: 100%;
}

.g2-demo-strip__dots {
	position: absolute;
	top: 12px;
	left: 14%;
	width: 72px;
	height: 72px;
}

.g2-demo-strip__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 20px 0;
}

.g2-demo-strip__text {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.g2-demo-strip__eyebrow {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	white-space: nowrap;
}

.g2-demo-strip__sep {
	color: rgba(255, 255, 255, 0.35);
	font-size: 0.85rem;
}

.g2-demo-strip__headline {
	font-size: 1rem;
	font-weight: 600;
	color: #ffffff;
	line-height: 1.4;
	margin: 0;
}

.g2-demo-strip__actions {
	flex-shrink: 0;
}

.g2-btn--white {
	background: #ffffff;
	color: var(--g2-primary);
	border-color: #ffffff;
}

.g2-btn--white:hover {
	background: #f8fafc;
	color: var(--g2-primary-hover);
}

/* ── Payment Gateways Section ── */
.g2-gw-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 40px;
}

.g2-gw-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-radius: var(--g2-radius-md);
	background: var(--g2-bg-white);
	border: 1.5px solid rgba(0, 0, 0, 0.09);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.g2-gw-card__main {
	display: flex;
	align-items: center;
	gap: 12px;
}

.g2-gw-card__logo {
	display: inline-flex;
	align-items: center;
	height: 26px;
	flex-shrink: 0;
}

.g2-gw-card__logo img {
	height: 26px !important;
	width: auto !important;
	display: block;
	object-fit: contain;
}

.g2-gw-card__name {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--g2-text-heading);
	margin: 0;
}

.g2-gw-card__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(22, 163, 74, 0.14);
	color: #16a34a;
	flex-shrink: 0;
}

.g2-gw-note {
	margin-top: 40px;
	padding: 20px 24px;
	background: var(--g2-bg-tint-blue);
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: var(--g2-radius-md);
	text-align: center;
}

.g2-gw-note p {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--g2-text-body);
	margin: 0;
}

.g2-gw-note a {
	color: var(--g2-text-heading);
	text-decoration: underline;
	font-weight: 600;
}

.g2-gw-note a:hover {
	color: var(--g2-primary);
}

/* ── Platform Strengths (Why Choose Influenzic) ── */
.g2-why-section {
	position: relative;
	overflow: hidden;
	background-image: url('../../../images/pattern.png');
}

.g2-why__wrap {
	position: relative;
	overflow: hidden;
	padding-bottom: 10px;
}

.g2-why__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin-top: 12px;
}

.g2-why__card {
	text-align: left;
	background-color: #ffffff;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
	padding: 30px 24px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.g2-why__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.g2-why__card-icon {
	color: var(--g2-primary);
	margin-bottom: 18px;
	width: 44px;
	height: 44px;
}

.g2-why__card-icon svg {
	width: 44px;
	height: 44px;
}

.g2-why__card-heading {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--g2-text-heading);
	margin: 0 0 10px;
}

.g2-why__card-desc {
	font-size: 0.9375rem;
	color: var(--g2-text-body);
	line-height: 1.65;
	margin: 0;
}

/* ── Custom Quote Footnote Strip ── */
.g2-quote-strip {
	position: relative;
	overflow: hidden;
	background: var(--g2-bg-dark);
	padding: 26px 0;
	text-align: center;
}

.g2-quote-strip .inzc-container {
	position: relative;
	z-index: 2;
}

.g2-quote-strip__text {
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}

.g2-quote-strip__link {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 2px;
	font-weight: 600;
	margin-left: 4px;
}

.g2-quote-strip__link:hover {
	opacity: 0.88;
	color: #ffffff;
}

/* ── Shared Highlight / Advantage Card Grid (Demo & Pricing) ── */
.g2-hl-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 48px;
}

.g2-hl-card {
	background: var(--g2-bg-white);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: var(--g2-radius-lg);
	padding: 22px 20px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.g2-hl-card__icon {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(var(--g2-primary-rgb), 0.07);
	color: var(--g2-primary);
	border-radius: var(--g2-radius-md);
	flex-shrink: 0;
}

.g2-hl-card__icon svg {
	width: 24px;
	height: 24px;
}

.g2-hl-card__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.g2-hl-card__label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--g2-text-muted);
}

.g2-hl-card__val {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--g2-text-heading);
}

.g2-hl-card__note {
	font-size: 0.75rem;
	color: var(--g2-text-muted);
	margin: 0;
}

@media (max-width: 960px) {
	.g2-hl-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.g2-hl-grid {
		grid-template-columns: 1fr;
	}
}

/* ── Reusable Quick-Start Launch Strip ── */
.inzc-quickstart {
	background: var(--g2-cta-gradient);
	padding: 22px 0;
	transition: margin-top var(--g2-transition-base);
}

.inzc-quickstart.inzc-quickstart--collapsed {
	margin-top: 0 !important;
}

.inzc-quickstart__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.inzc-quickstart__headline {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.inzc-quickstart__headline strong {
	font-size: 0.9375rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.96);
}

.inzc-quickstart__headline span {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.78);
}

.inzc-quickstart__steps {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.85);
	flex-shrink: 0;
}

.inzc-quickstart__steps svg {
	width: 20px;
	height: 8px;
	flex-shrink: 0;
	opacity: 0.6;
}

@media (max-width: 768px) {
	.inzc-quickstart {
		padding: 24px 16px !important;
	}

	.inzc-quickstart__inner {
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		gap: 16px !important;
	}

	.inzc-quickstart__headline {
		align-items: center !important;
		text-align: center !important;
		gap: 6px !important;
	}

	.inzc-quickstart__headline span {
		max-width: 340px !important;
	}

	.inzc-quickstart__steps {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		flex-wrap: wrap !important;
		gap: 8px 10px !important;
		background: rgba(255, 255, 255, 0.08) !important;
		border: 1px solid rgba(255, 255, 255, 0.16) !important;
		padding: 10px 16px !important;
		border-radius: var(--g2-radius-lg) !important;
	}
}

@media (max-width: 991px) {

	.g2-gw-grid,
	.g2-why__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.g2-demo-strip__inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 24px 0;
	}

	.g2-demo-strip__text {
		display: block;
		line-height: 1.45;
	}

	.g2-demo-strip__eyebrow,
	.g2-demo-strip__sep,
	.g2-demo-strip__headline {
		display: inline;
	}

	.g2-demo-strip__sep {
		margin: 0 6px;
	}

	.g2-gw-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575px) {
	.g2-why__grid {
		grid-template-columns: 1fr;
	}
}

/* ── Platform Preview (Dark Navy Browser Mockup Section) ── */
.g2-pd {
	background: var(--g2-bg-dark);
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

.g2-pd__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
}

.g2-pd__ring {
	position: absolute;
}

.g2-pd__ring--lg {
	width: 700px;
	height: 700px;
	top: 50%;
	left: -220px;
	transform: translateY(-50%);
}

.g2-pd__curve {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.g2-pd__blob {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.g2-pd__blob--left {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(var(--g2-primary-rgb), 0.38) 0%, rgba(var(--g2-primary-rgb), 0.10) 45%, transparent 70%);
	top: 50%;
	left: -100px;
	transform: translateY(-50%);
}

.g2-pd__blob--tr {
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(var(--g2-secondary-rgb), 0.22) 0%, rgba(var(--g2-primary-rgb), 0.08) 50%, transparent 72%);
	top: -120px;
	right: 0;
}

.g2-pd__blob--bc {
	width: 500px;
	height: 300px;
	background: radial-gradient(ellipse, rgba(var(--g2-primary-rgb), 0.12) 0%, transparent 65%);
	bottom: -120px;
	left: 50%;
	transform: translateX(-50%);
}

.g2-pd__glint {
	position: absolute;
	top: 0;
	right: 120px;
	width: 2px;
	height: 220px;
	background: linear-gradient(to bottom, rgba(var(--g2-secondary-rgb), 0.35), transparent);
	transform: rotate(18deg);
	transform-origin: top;
}

.g2-pd__dots {
	position: absolute;
	bottom: 24px;
	left: 32px;
	width: 192px;
	height: 192px;
	opacity: 0.8;
}

.g2-pd__dots--tr {
	bottom: auto;
	left: auto;
	top: 20px;
	right: 40px;
	width: 128px;
	height: 128px;
	opacity: 0.5;
}

.g2-pd__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 64px;
}

.g2-pd__text {
	flex: 0 0 360px;
	max-width: 360px;
}

.g2-pd__heading {
	color: var(--g2-text-on-dark);
	font-size: clamp(1.625rem, 2.5vw, 2rem);
	line-height: 1.2;
	margin: 0 0 18px;
}

.g2-pd__desc {
	font-size: 0.9375rem;
	color: var(--g2-text-on-dark-muted);
	line-height: 1.7;
	margin: 0 0 30px;
}

.g2-pd__mockup-wrap {
	flex: 1;
	min-width: 0;
	max-width: 56%;
	position: relative;
}

.g2-pd__browser {
	border-radius: 10px 10px 8px 8px;
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.08),
		0 30px 80px rgba(0, 0, 0, 0.55),
		0 60px 120px rgba(0, 0, 0, 0.3);
	transform: perspective(1100px) rotateY(-8deg) rotateX(3deg);
	transform-origin: left center;
	transition: transform 0.5s ease;
}

.g2-pd__mockup-wrap:hover .g2-pd__browser {
	transform: perspective(1100px) rotateY(-4deg) rotateX(1.5deg);
}

.g2-pd__chrome {
	background: #1e2540;
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.g2-pd__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.g2-pd__dot--r {
	background: #ff5f56;
}

.g2-pd__dot--y {
	background: #ffbd2e;
}

.g2-pd__dot--g {
	background: #27c93f;
}

.g2-pd__address-bar {
	flex: 1;
	background: rgba(255, 255, 255, 0.07);
	border-radius: 4px;
	padding: 4px 10px;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.g2-pd__address-bar svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}

.g2-pd__screen {
	background: #f5f7fa;
	line-height: 0;
}

.g2-pd__screen svg {
	width: 100%;
	height: auto;
	display: block;
}

.g2-pd__glow {
	position: absolute;
	bottom: -40px;
	left: 10%;
	right: 10%;
	height: 80px;
	background: radial-gradient(ellipse, rgba(var(--g2-primary-rgb), 0.22) 0%, transparent 70%);
	filter: blur(20px);
	pointer-events: none;
	z-index: 1;
}

@media (max-width: 1100px) {
	.g2-pd__text {
		flex: 0 0 290px;
		max-width: 290px;
	}

	.g2-pd__inner {
		gap: 40px;
	}
}

@media (max-width: 860px) {
	.g2-pd {
		padding: 56px 0;
	}

	.g2-pd__inner {
		flex-direction: column;
		gap: 40px;
	}

	.g2-pd__text {
		flex: none;
		max-width: 100%;
		text-align: center;
	}

	.g2-pd__mockup-wrap {
		max-width: 100%;
		width: 100%;
	}

	.g2-pd__browser {
		transform: none;
	}

	.g2-pd__ring--lg {
		left: 50%;
		transform: translate(-50%, -50%);
	}
}

/* ── Platform Preview / Showcase (split: text left, screenshot right) ── */
.g2-showcase__split {
	display: flex;
	align-items: center;
	gap: 64px;
}

.g2-showcase__text {
	flex: 0 0 420px;
	max-width: 420px;
}

.g2-showcase__subheading {
	font-size: 34px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--g2-text-heading);
	margin: 0 0 20px;
	letter-spacing: -0.02em;
}

.g2-showcase__accent {
	color: var(--g2-primary);
}

.g2-showcase__desc {
	font-size: 16px;
	color: var(--g2-text-body);
	line-height: 1.7;
	margin: 0 0 20px;
}

.g2-showcase__kicker {
	font-size: 15px;
	color: var(--g2-text-heading);
	margin: 0 0 28px;
}

.g2-showcase__media {
	flex: 1;
	min-width: 0;
}

.g2-showcase__img {
	width: 100%;
	height: auto;
	border-radius: var(--g2-radius-md);
	border: 1px solid var(--g2-border);
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
	display: block;
}

@media (max-width: 991px) {
	.g2-showcase__split {
		flex-direction: column;
		gap: 32px;
	}

	.g2-showcase__media {
		order: -1;
		width: 100%;
		max-width: 560px;
		margin-inline: auto;
	}

	.g2-showcase__text {
		flex: none;
		max-width: 100%;
		text-align: left;
	}

	.g2-showcase__subheading {
		font-size: 22px;
		line-height: 1.35;
		margin-bottom: 14px;
	}

	.g2-showcase__desc,
	.g2-showcase__kicker {
		text-align: left;
	}

	.g2-showcase__text .g2-btn {
		width: 100%;
		justify-content: center;
	}
}