/* Get Started Wizard (Apple-Style Full-Width Centered Layout) */

.eark-gs-page,
.eark-gs-page *,
.eark-gs-page *::before,
.eark-gs-page *::after {
	box-sizing: border-box;
}

.site-main.eark-gs-page {
	width: 100%;
	max-width: none;
	min-height: calc(100vh - 64px);
	background: #ffffff;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

.site-main.eark-gs-page + .site-footer {
	margin-top: 0;
}

.eark-gs-wizard {
	width: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Full-Width Sticky Progress Header */
.eark-gs-header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	height: 68px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: saturate(180%) blur(20px);
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid rgba(15, 23, 42, 0.07);
	z-index: 90;
}

.eark-gs-header-inner {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 24px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.eark-gs-back,
.eark-gs-placeholder {
	width: 96px;
}

.eark-gs-back {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: #64748b;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s;
}
.eark-gs-back:hover {
	color: #1d2129;
}

/* Progress Nav */
.eark-gs-steps-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	transition: opacity 0.3s ease;
}

.eark-gs-step-dot {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.eark-gs-step-dot.is-active {
	background: var(--eark-primary, #0066ff);
	color: #ffffff;
	box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.14);
}

.eark-gs-step-dot.is-completed {
	background: var(--eark-primary, #0066ff);
	color: #ffffff;
}

.eark-gs-step-line {
	width: 36px;
	height: 2px;
	background: #e2e8f0;
	border-radius: 1px;
	transition: background 0.3s ease;
}
.eark-gs-step-line.is-completed {
	background: var(--eark-primary, #0066ff);
}

/* Full-Viewport Centered Step Stage */
.eark-gs-step {
	width: 100%;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 56px 24px 84px;
	min-height: calc(100vh - 132px);
}
.eark-gs-step[hidden] {
	display: none !important;
}

/* Intro Animation */
.eark-gs-intro-text {
	width: 100%;
	text-align: center;
	max-width: 740px;
	margin: 0 auto;
}
.eark-gs-intro-text h1 {
	font-size: 54px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.12;
	color: #1d2129;
	margin: 0 0 16px;
}
.eark-gs-intro-text p {
	font-size: 21px;
	line-height: 1.55;
	color: #64748b;
	margin: 0;
}

.fade-in-up {
	opacity: 0;
	transform: translateY(26px);
	animation: earkGsFadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 {
	animation-delay: 0.32s;
}

@keyframes earkGsFadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes earkGsFadeOutUp {
	to {
		opacity: 0;
		transform: translateY(-24px);
	}
}
.is-fading-out {
	animation: earkGsFadeOutUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Centered Content Container */
.eark-gs-container {
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
}

.eark-gs-kicker {
	display: inline-block;
	margin-bottom: 10px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--eark-primary, #0066ff);
}
.eark-gs-kicker-success {
	color: #00a870;
}

.eark-gs-step-content h2 {
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: #1d2129;
	margin: 0 0 14px;
}
.eark-gs-desc {
	font-size: 17px;
	line-height: 1.65;
	color: #4e5969;
	margin: 0 0 32px;
}

/* Hybrid Two-Stage Sub-Step Bar (Step 3A -> Step 3B) */
.eark-gs-substeps {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	padding: 8px 12px;
	margin-bottom: 24px;
	background: #f7f9fc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}
.eark-gs-substeps[hidden] {
	display: none !important;
}
.eark-gs-substep-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border: 1px solid transparent;
	border-radius: 7px;
	background: transparent;
	color: #64748b;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.18s ease;
}
.eark-gs-substep-pill:hover {
	color: #1d2129;
}
.eark-gs-substep-pill.is-active {
	background: #ffffff;
	color: var(--eark-primary, #0066ff);
	border-color: #d6e4ff;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}
.eark-gs-substep-pill.is-done {
	color: #00a870;
}
.eark-gs-subpill-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 2px 6px;
	font-size: 11px;
	font-weight: 700;
	background: #eef5ff;
	color: inherit;
	border-radius: 4px;
}
.eark-gs-substep-sep {
	color: #94a3b8;
	font-size: 14px;
}

/* Forms & Inputs */
.eark-gs-form {
	width: 100%;
}
.eark-gs-textarea {
	width: 100%;
	padding: 18px 20px;
	font-size: 16px;
	line-height: 1.6;
	color: #1d2129;
	background: #f7f9fc;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	resize: vertical;
	min-height: 136px;
	transition: all 0.2s;
	font-family: inherit;
}
.eark-gs-textarea:focus {
	background: #ffffff;
	border-color: var(--eark-primary, #0066ff);
	box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
	outline: none;
}

.eark-gs-input-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 28px;
}
.eark-gs-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.eark-gs-field-full {
	grid-column: 1 / -1;
}
.eark-gs-field label {
	font-size: 14px;
	font-weight: 600;
	color: #1d2129;
}
.eark-gs-field label .required {
	color: #f53f3f;
}
.eark-gs-field input,
.eark-gs-field textarea {
	width: 100%;
	padding: 13px 16px;
	font-size: 15px;
	color: #1d2129;
	background: #f7f9fc;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	transition: all 0.2s;
	font-family: inherit;
}
.eark-gs-field input:focus,
.eark-gs-field textarea:focus {
	background: #ffffff;
	border-color: var(--eark-primary, #0066ff);
	box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
	outline: none;
}

/* Actions */
.eark-gs-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}
.eark-gs-actions-center {
	justify-content: center;
}
.eark-gs-page .eark-btn-large {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0 26px;
	height: 48px;
	line-height: 48px;
	font-size: 15px;
}

/* Loading */
.eark-gs-loading {
	text-align: center;
	padding: 40px 0;
}
.eark-spinner {
	width: 32px;
	height: 32px;
	border: 3px solid #f1f5f9;
	border-top-color: var(--eark-primary, #0066ff);
	border-radius: 50%;
	animation: earkGsSpin 0.8s linear infinite;
	margin: 0 auto 16px;
}
@keyframes earkGsSpin {
	100% {
		transform: rotate(360deg);
	}
}
.eark-gs-loading p {
	color: #64748b;
	font-size: 15px;
}

/* Products Grid (Step 2) */
.eark-gs-products-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	margin-bottom: 32px;
}
.eark-gs-product-card {
	position: relative;
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	text-align: left;
	display: flex;
	flex-direction: column;
}
.eark-gs-product-card:hover {
	border-color: #94bfff;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 102, 255, 0.08);
}
.eark-gs-product-card input[type="checkbox"] {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	accent-color: var(--eark-primary, #0066ff);
}
.eark-gs-product-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	padding-right: 32px;
}
.eark-gs-product-card strong {
	display: block;
	font-size: 17px;
	color: #1d2129;
	line-height: 1.35;
}
.eark-gs-learn-more {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--eark-primary, #0066ff);
	text-decoration: none;
	white-space: nowrap;
	margin-top: 2px;
	transition: color 0.15s ease;
}
.eark-gs-learn-more:hover {
	color: var(--eark-primary-dark, #0044cc);
	text-decoration: underline;
}
.eark-gs-product-card p {
	font-size: 14px;
	line-height: 1.55;
	color: #64748b;
	margin: 0 0 14px;
	flex: 1;
}
.eark-gs-product-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
}
.eark-gs-product-price {
	font-size: 15px;
	font-weight: 700;
	color: #1d2129;
}
.eark-gs-type-badge {
	display: inline-block;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 600;
	border-radius: 4px;
	background: #eef5ff;
	color: #0066ff;
}
.eark-gs-type-badge.is-self {
	background: #e8faf8;
	color: #008f83;
}
.eark-gs-product-card.is-selected {
	border-color: var(--eark-primary, #0066ff);
	background: #f4f8ff;
}

/* No Match / Sales Branch */
.eark-gs-no-match,
.eark-gs-success-msg {
	text-align: center;
	padding: 44px 28px;
	background: #f7f9fc;
	border-radius: 12px;
	margin-bottom: 32px;
}
.eark-gs-no-match-icon {
	color: #94a3b8;
	margin-bottom: 14px;
}
.eark-gs-no-match h3 {
	font-size: 20px;
	color: #1d2129;
	margin: 0 0 8px;
}
.eark-gs-no-match p {
	color: #64748b;
	margin: 0;
	font-size: 15px;
}

/* Self-Service Diagram */
.eark-gs-flow-diagram {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin: 0 0 32px;
}
.eark-gs-flow-step {
	background: #f7f9fc;
	padding: 22px 18px;
	border-radius: 12px;
	text-align: center;
}
.eark-gs-flow-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #eef5ff;
	color: var(--eark-primary, #0066ff);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	font-weight: 700;
	margin: 0 auto 14px;
}
.eark-gs-flow-content strong {
	display: block;
	font-size: 16px;
	color: #1d2129;
	margin-bottom: 6px;
}
.eark-gs-flow-content span {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

.eark-gs-selected-summary {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 28px;
}
.eark-gs-selected-summary h4 {
	margin: 0 0 12px;
	font-size: 12.5px;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}
.eark-gs-summary-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #f1f5f9;
}
.eark-gs-summary-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.eark-gs-summary-item strong {
	font-size: 15.5px;
	color: #1d2129;
}
.eark-gs-summary-item span {
	font-size: 14.5px;
	color: #4e5969;
}

/* Success Message */
.eark-gs-success-icon {
	color: #00a870;
	margin-bottom: 18px;
}
.eark-gs-success-msg h3 {
	font-size: 28px;
	margin: 0 0 12px;
}
.eark-gs-success-msg p {
	font-size: 16px;
	color: #4e5969;
	margin: 0 0 28px;
}

@media (max-width: 768px) {
	.eark-gs-step {
		padding: 36px 18px 64px;
		min-height: calc(100vh - 120px);
	}
	.eark-gs-intro-text h1 {
		font-size: 34px;
	}
	.eark-gs-intro-text p {
		font-size: 17px;
	}
	.eark-gs-step-content h2 {
		font-size: 26px;
	}
	.eark-gs-products-grid,
	.eark-gs-input-grid,
	.eark-gs-flow-diagram {
		grid-template-columns: 1fr;
	}
	.eark-gs-summary-item {
		flex-direction: column;
		align-items: flex-start;
	}
	.eark-gs-actions {
		flex-direction: column;
		width: 100%;
	}
	.eark-gs-actions .eark-btn {
		width: 100%;
		justify-content: center;
	}
}
