/**
 * Storefront Block: About Story Stylesheet
 *
 * Mission narrative split, visual trust guarantee card, custom image override,
 * and V2 collage, timeline, and pullquote layout.
 *
 * @package Influenzic
 */

.inzc-sf-about-story-section {
	padding: 40px 0 80px;
	background: var(--inzc-sf-bg, #ffffff);
	position: relative;
}

.inzc-sf-about-split {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 60px;
	align-items: center;
}

.inzc-sf-about-split--no-visual {
	grid-template-columns: 1fr;
	max-width: 820px;
	margin: 0 auto;
}

.inzc-sf-about-badge {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #0ea5e9;
	background: rgba(14, 165, 233, 0.08);
	border: 1px solid rgba(14, 165, 233, 0.2);
	padding: 4px 12px;
	border-radius: 6px;
	margin-bottom: 14px;
}

.inzc-sf-about-narrative-title {
	font-size: clamp(1.6rem, 2.2vw, 2.1rem);
	font-weight: 800;
	line-height: 1.22;
	color: var(--inzc-sf-title-color, #0f172a);
	margin: 0 0 18px;
	letter-spacing: -0.02em;
}

.inzc-sf-about-p {
	font-size: 15.5px;
	line-height: 1.7;
	color: var(--inzc-sf-body-color, #475569);
	margin: 0 0 16px;
}

.inzc-sf-about-p:last-of-type {
	margin-bottom: 0;
}

.inzc-sf-about-custom-img-wrap {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
	border: 1px solid #e2e8f0;
}

.inzc-sf-about-custom-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}

.inzc-sf-about-guarantee-card {
	background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 20px 45px -18px rgba(15, 23, 42, 0.09), 0 1px 3px rgba(0, 0, 0, 0.02);
	position: relative;
}

.inzc-sf-about-gc-header {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 20px;
}

.inzc-sf-about-gc-shield {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(99, 102, 241, 0.1);
	color: var(--inzc-primary, #6366f1);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.inzc-sf-about-gc-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
}

.inzc-sf-about-gc-sub {
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
}

.inzc-sf-about-gc-status-pill {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 700;
	color: #059669;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	padding: 4px 10px;
	border-radius: 9999px;
	white-space: nowrap;
}

.inzc-sf-about-pulse-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #10b981;
	animation: inzcAboutPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes inzcAboutPulse {

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

	50% {
		opacity: 0.4;
		transform: scale(0.85);
	}
}

.inzc-sf-about-gc-flow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 22px;
}

.inzc-sf-about-gc-step {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 600;
	color: #64748b;
}

.inzc-sf-about-gc-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #cbd5e1;
}

.inzc-sf-about-gc-step--done {
	color: #0f172a;
}

.inzc-sf-about-gc-step--done .inzc-sf-about-gc-dot {
	background: #10b981;
}

.inzc-sf-about-gc-step--active {
	color: var(--inzc-primary, #6366f1);
	font-weight: 700;
}

.inzc-sf-about-gc-step--active .inzc-sf-about-gc-dot {
	background: var(--inzc-primary, #6366f1);
	box-shadow: 0 0 6px rgba(99, 102, 241, 0.5);
}

.inzc-sf-about-gc-line {
	flex: 1;
	height: 2px;
	background: #e2e8f0;
	margin: 0 10px;
}

.inzc-sf-about-gc-line--done {
	background: #10b981;
}

.inzc-sf-about-gc-body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
}

.inzc-sf-about-gc-feature {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.inzc-sf-about-gc-icon-check {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.12);
	color: #059669;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.inzc-sf-about-gc-ftext strong {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.3;
}

.inzc-sf-about-gc-ftext span {
	display: block;
	font-size: 12.5px;
	color: #64748b;
	line-height: 1.45;
	margin-top: 2px;
}

.inzc-sf-about-gc-footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	border-top: 1px solid #f1f5f9;
	background: rgba(248, 250, 252, 0.6);
	margin: 0 -32px -32px;
	padding: 18px 32px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}

.inzc-sf-about-gc-stat {
	display: flex;
	flex-direction: column;
}

.inzc-sf-about-gc-stat-val {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.1;
}

.inzc-sf-about-gc-stat-lbl {
	font-size: 11.5px;
	color: #64748b;
	margin-top: 3px;
	font-weight: 500;
}

[data-inzc-theme="dark"] .inzc-sf-about-story-section,
[data-theme="dark"] .inzc-sf-about-story-section {
	background: #0b0f19;
}

[data-inzc-theme="dark"] .inzc-sf-about-narrative-title,
[data-theme="dark"] .inzc-sf-about-narrative-title,
[data-inzc-theme="dark"] .inzc-sf-about-gc-title,
[data-theme="dark"] .inzc-sf-about-gc-title,
[data-inzc-theme="dark"] .inzc-sf-about-gc-stat-val,
[data-theme="dark"] .inzc-sf-about-gc-stat-val {
	color: #f8fafc;
}

[data-inzc-theme="dark"] .inzc-sf-about-p,
[data-theme="dark"] .inzc-sf-about-p,
[data-inzc-theme="dark"] .inzc-sf-about-gc-sub,
[data-theme="dark"] .inzc-sf-about-gc-sub,
[data-inzc-theme="dark"] .inzc-sf-about-gc-ftext span,
[data-theme="dark"] .inzc-sf-about-gc-ftext span,
[data-inzc-theme="dark"] .inzc-sf-about-gc-stat-lbl,
[data-theme="dark"] .inzc-sf-about-gc-stat-lbl {
	color: #94a3b8;
}

[data-inzc-theme="dark"] .inzc-sf-about-gc-ftext strong,
[data-theme="dark"] .inzc-sf-about-gc-ftext strong {
	color: #e2e8f0;
}

[data-inzc-theme="dark"] .inzc-sf-about-guarantee-card,
[data-theme="dark"] .inzc-sf-about-guarantee-card {
	background: #1e293b;
	border-color: #334155;
	box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.45);
}

[data-inzc-theme="dark"] .inzc-sf-about-gc-header,
[data-theme="dark"] .inzc-sf-about-gc-header {
	border-color: #334155;
}

[data-inzc-theme="dark"] .inzc-sf-about-gc-flow,
[data-theme="dark"] .inzc-sf-about-gc-flow {
	background: #0f172a;
	border-color: #334155;
}

[data-inzc-theme="dark"] .inzc-sf-about-gc-step--done,
[data-theme="dark"] .inzc-sf-about-gc-step--done {
	color: #f1f5f9;
}

[data-inzc-theme="dark"] .inzc-sf-about-gc-footer,
[data-theme="dark"] .inzc-sf-about-gc-footer {
	background: #0f172a;
	border-color: #334155;
}

[data-inzc-theme="dark"] .inzc-sf-about-badge,
[data-theme="dark"] .inzc-sf-about-badge {
	background: rgba(14, 165, 233, 0.18);
	border-color: rgba(14, 165, 233, 0.35);
	color: #38bdf8;
}

@media (max-width: 992px) {
	.inzc-sf-about-split {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* V2 About Story: Collage, Timeline & Pullquote */
.inzc-sf-v2-about-collage {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	align-items: end;
}

.inzc-sf-v2-collage-img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.inzc-sf-v2-collage-note {
	position: absolute;
	right: -8px;
	top: -12px;
	padding: 8px 14px;
	border-radius: 12px;
	background: var(--inzc-sf-card-bg, #ffffff);
	border: 1px solid var(--inzc-sf-card-border);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
	font-size: 11.5px;
	display: flex;
	flex-direction: column;
	color: var(--inzc-sf-muted);
}

.inzc-sf-v2-collage-note strong {
	color: var(--inzc-primary, #4361ee);
}

.inzc-sf-v2-story-sub {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--inzc-sf-muted);
}

.inzc-sf-v2-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 28px;
}

.inzc-sf-v2-timeline::before {
	content: '';
	position: absolute;
	top: 20px;
	left: 24px;
	right: 24px;
	height: 2px;
	background: var(--inzc-sf-card-border);
	z-index: 0;
}

.inzc-sf-v2-timeline-item {
	position: relative;
	z-index: 1;
}

.inzc-sf-v2-timeline-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	height: 40px;
	padding: 0 12px;
	border-radius: 9999px;
	font-size: 12.5px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 12px;
}

.inzc-sf-v2-timeline-badge--blue {
	background: var(--inzc-primary, #4361ee);
}

.inzc-sf-v2-timeline-badge--indigo {
	background: #6366f1;
}

.inzc-sf-v2-timeline-badge--purple {
	background: #7c3aed;
}

.inzc-sf-v2-timeline-badge--emerald {
	background: #059669;
}

.inzc-sf-v2-timeline-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: var(--inzc-sf-heading);
}

.inzc-sf-v2-timeline-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--inzc-sf-muted);
}

.inzc-sf-v2-pullquote {
	margin: 0;
	padding: 34px 40px;
	border-radius: 16px;
	background: rgba(var(--inzc-primary-rgb, 67, 97, 238), 0.05);
	border: 1px solid var(--inzc-sf-card-border);
	text-align: center;
	font-size: clamp(17px, 2vw, 22px);
	font-weight: 700;
	line-height: 1.45;
	color: var(--inzc-sf-heading);
}

@media (max-width: 992px) {
	.inzc-sf-v2-timeline {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.inzc-sf-v2-timeline::before {
		display: none;
	}
}

@media (max-width: 640px) {
	.inzc-sf-v2-timeline {
		grid-template-columns: 1fr;
	}
}