/**
 * Storefront: High-Velocity Automation Showcase Stylesheet
 *
 * Dedicated styling for AI Campaign Intelligence and 50-Creator Bulk Invite Engine:
 * Tool cards, hover elevations, gradient badge pills, checkmark feature lists,
 * and interactive simulation micro-previews (AI prompt/response and live bulk queue bar).
 *
 * @package Influenzic
 */

/* ==========================================================================
   1. AUTOMATION TOOLS CONTAINER & GRID
   ========================================================================== */
.inzc-sf-automation-section {
	padding: 80px 0 72px;
	background-color: var(--inzc-sf-bg);
	border-top: 1px solid var(--inzc-sf-card-border);
	position: relative;
}

.inzc-sf-automation-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 48px;
}

.inzc-sf-automation-header .inzc-sf-section-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 9999px;
	background: rgba(99, 102, 241, 0.1);
	color: var(--inzc-primary, #6366f1);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 12px;
	border: 1px solid rgba(99, 102, 241, 0.2);
}

.inzc-sf-automation-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px;
}

/* ==========================================================================
   2. TOOL CARDS & ELEVATIONS
   ========================================================================== */
.inzc-sf-tool-card {
	background: var(--inzc-sf-card-bg);
	border: 1px solid var(--inzc-sf-card-border);
	border-radius: 20px;
	padding: 36px 32px 32px;
	box-shadow: var(--inzc-sf-card-shadow);
	transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.inzc-sf-tool-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
	border-color: rgba(99, 102, 241, 0.35);
}

[data-inzc-theme="dark"] .inzc-sf-tool-card:hover {
	box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.65);
	border-color: rgba(99, 102, 241, 0.45);
}

.inzc-sf-tool-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 9999px;
	align-self: flex-start;
	margin-bottom: 18px;
}

.inzc-sf-tool-badge-pill--ai {
	background: rgba(124, 58, 237, 0.1);
	color: #7c3aed;
	border: 1px solid rgba(124, 58, 237, 0.2);
}

.inzc-sf-tool-badge-pill--bulk {
	background: rgba(234, 88, 12, 0.1);
	color: #ea580c;
	border: 1px solid rgba(234, 88, 12, 0.2);
}

.inzc-sf-tool-title {
	font-family: var(--inzc-sf-font-heading);
	font-size: 22px;
	font-weight: 800;
	color: var(--inzc-sf-title-color);
	margin: 0 0 10px;
	line-height: 1.25;
}

.inzc-sf-tool-desc {
	font-size: 14.5px;
	color: var(--inzc-sf-muted-color);
	line-height: 1.6;
	margin: 0 0 20px;
}

/* Feature Checklist */
.inzc-sf-tool-features {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.inzc-sf-tool-feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	color: var(--inzc-sf-body-color);
}

.inzc-sf-tool-feature-check {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 900;
}

.inzc-sf-tool-card--ai .inzc-sf-tool-feature-check {
	background: rgba(124, 58, 237, 0.12);
	color: #7c3aed;
}

.inzc-sf-tool-card--bulk .inzc-sf-tool-feature-check {
	background: rgba(234, 88, 12, 0.12);
	color: #ea580c;
}

/* ==========================================================================
   3. INTERACTIVE SIMULATION MICRO-PREVIEWS & LIVING MOCKUP WINDOWS
   ========================================================================== */
.inzc-sf-tool-preview {
	margin-top: auto;
	background: var(--inzc-sf-bg-alt);
	border: 1px solid var(--inzc-sf-card-border);
	border-radius: 14px;
	padding: 16px;
}

.inzc-sf-tool-preview--image {
	padding: 0;
	background: none;
	border: none;
	overflow: hidden;
	border-radius: 14px;
}

.inzc-sf-tool-custom-img {
	width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: cover;
	display: block;
	border-radius: 14px;
	border: 1px solid var(--inzc-sf-card-border);
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* ── Living Mockup Window ────────────────────────────────────────────────── */
.inzc-sf-mockup-window {
	background: var(--inzc-sf-card-bg);
	border: 1px solid var(--inzc-sf-card-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.inzc-sf-mockup-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px;
	background: var(--inzc-sf-bg-alt);
	border-bottom: 1px solid var(--inzc-sf-card-border);
}

.inzc-sf-mockup-dots {
	display: flex;
	align-items: center;
	gap: 6px;
}

.inzc-sf-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.inzc-sf-dot--red { background: #ef4444; }
.inzc-sf-dot--yellow { background: #f59e0b; }
.inzc-sf-dot--green { background: #10b981; }

.inzc-sf-mockup-title {
	font-size: 11px;
	font-weight: 700;
	color: var(--inzc-sf-title-color);
	font-family: var(--inzc-sf-font-heading);
}

.inzc-sf-mockup-pill {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 9999px;
}

.inzc-sf-mockup-pill--ai {
	background: rgba(124, 58, 237, 0.12);
	color: #7c3aed;
}

.inzc-sf-mockup-pill--bulk {
	background: rgba(234, 88, 12, 0.12);
	color: #ea580c;
}

.inzc-sf-mockup-body {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* AI Prompt & Generative Chips */
.inzc-sf-ai-prompt-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--inzc-sf-bg-alt);
	border: 1px solid var(--inzc-sf-card-border);
	font-size: 11.5px;
	color: var(--inzc-sf-muted-color);
}

.inzc-sf-ai-sparkle {
	color: #7c3aed;
	font-weight: 900;
	flex-shrink: 0;
}

.inzc-sf-ai-prompt-text {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.inzc-sf-ai-result-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	border-radius: 8px;
	background: rgba(124, 58, 237, 0.04);
	border: 1px solid rgba(124, 58, 237, 0.15);
}

.inzc-sf-ai-result-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.inzc-sf-ai-result-badge {
	font-size: 11px;
	font-weight: 700;
	color: #7c3aed;
}

.inzc-sf-ai-match-rate {
	font-size: 10.5px;
	font-weight: 700;
	color: #10b981;
}

.inzc-sf-ai-chips-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.inzc-sf-ai-chip {
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--inzc-sf-card-bg);
	border: 1px solid var(--inzc-sf-card-border);
	color: var(--inzc-sf-title-color);
}

.inzc-sf-ai-chip--highlight {
	background: rgba(124, 58, 237, 0.1);
	border-color: rgba(124, 58, 237, 0.25);
	color: #7c3aed;
	font-weight: 700;
}

.inzc-sf-ai-action-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 4px;
}

.inzc-sf-ai-target-tag {
	font-size: 10px;
	color: var(--inzc-sf-muted-color);
}

.inzc-sf-ai-apply-btn {
	font-size: 11px;
	font-weight: 700;
	color: #7c3aed;
	cursor: default;
}

/* Bulk Outreach Queue Mockup */
.inzc-sf-bulk-creators-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.inzc-sf-bulk-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 10px;
	border-radius: 8px;
	background: var(--inzc-sf-bg-alt);
	border: 1px solid var(--inzc-sf-card-border);
}

.inzc-sf-bulk-creator-cell {
	display: flex;
	align-items: center;
	gap: 8px;
}

.inzc-sf-bulk-check {
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: #10b981;
	color: #ffffff;
	font-size: 9px;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
}

.inzc-sf-bulk-avatar {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	color: #ffffff;
	font-size: 10px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.inzc-sf-bulk-info {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.inzc-sf-bulk-info strong {
	font-size: 12px;
	color: var(--inzc-sf-title-color);
}

.inzc-sf-bulk-info small {
	font-size: 10px;
	color: var(--inzc-sf-muted-color);
}

.inzc-sf-bulk-price {
	font-size: 12px;
	font-weight: 700;
	color: var(--inzc-sf-title-color);
}

.inzc-sf-bulk-summary-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 8px;
	border-top: 1px dashed var(--inzc-sf-card-border);
}

.inzc-sf-bulk-total {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.inzc-sf-bulk-total small {
	font-size: 10px;
	color: var(--inzc-sf-muted-color);
}

.inzc-sf-bulk-total strong {
	font-size: 14px;
	color: var(--inzc-sf-title-color);
}

.inzc-sf-bulk-dispatch-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 11.5px;
	font-weight: 700;
	color: #ffffff;
	background: #ea580c;
	padding: 6px 12px;
	border-radius: 6px;
	cursor: default;
	box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);
}

/* ==========================================================================
   4. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
	.inzc-sf-automation-grid {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 85%;
		gap: 20px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 12px;
		scrollbar-width: thin;
		scrollbar-color: rgba(var(--inzc-primary-rgb), 0.35) transparent;
	}

	.inzc-sf-automation-grid > * {
		scroll-snap-align: start;
		min-width: 280px;
	}

	.inzc-sf-automation-grid::-webkit-scrollbar {
		height: 4px;
	}

	.inzc-sf-automation-grid::-webkit-scrollbar-track {
		background: var(--inzc-gray-200, #e5e7eb);
		border-radius: 4px;
	}

	.inzc-sf-automation-grid::-webkit-scrollbar-thumb {
		background: rgba(var(--inzc-primary-rgb), 0.45);
		border-radius: 4px;
	}

	.inzc-sf-auto-card {
		padding: 24px 20px;
	}
}

@media (max-width: 640px) {
	.inzc-sf-automation-grid {
		gap: 16px;
	}
}