/* Ultra-Professional Premium Design System for Setup Wizard */
.ssgs-welcome-screen {
	padding: 50px 20px;
	background: #f8fafc;
	min-height: calc(100vh - 120px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ssgs-welcome-header {
	max-width: 700px;
	margin-bottom: 40px;
	text-align: center;
}

.ssgs-title {
	font-size: 32px;
	color: #0f172a !important;
	margin: 0 0 12px 0 !important;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.ssgs-subtitle {
	font-size: 17px;
	color: #64748b;
	line-height: 1.6;
	margin: 0;
}

.ssgs-cards-row {
	display: flex;
	gap: 30px;
	max-width: 940px;
	width: 100%;
	margin: 0 auto;
	justify-content: center;
}

.ssgs-welcome-card {
	flex: 1;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 40px 40px 50px 40px;
	/* Increased bottom padding */
	text-align: left;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

.ssgs-welcome-card::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: transparent;
	transition: background 0.3s;
}

.ssgs-welcome-card.main-setup:hover::after {
	background: #005ae0;
}

.ssgs-welcome-card.support-call:hover::after {
	background: #20A5A5;
}

.ssgs-welcome-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
	border-color: #cbd5e1;
}

.ssgs-card-icon {
	margin-bottom: 30px;
}

.ssgs-icon-wrapper {
	width: 64px;
	height: 64px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.ssgs-icon-wrapper.blue {
	background: linear-gradient(135deg, #005ae0 0%, #3b82f6 100%);
	color: #fff;
}

.ssgs-icon-wrapper.teal {
	background: linear-gradient(135deg, #20A5A5 0%, #2dd4bf 100%);
	color: #fff;
}

.ssgs-card-title-line {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.ssgs-card-title-line h3,
.ssgs-welcome-card h3 {
	margin: 0 !important;
	font-size: 22px !important;
	color: #0f172a !important;
	font-weight: 800 !important;
	/* Made bolder for premium feel */
}

.ssgs-tutorial-pill {
	display: inline-flex;
	align-items: center;
	padding: 5px 14px;
	background: #f1f5f9;
	border-radius: 100px;
	font-size: 11px;
	color: #475569;
	text-decoration: none;
	border: 1px solid #e2e8f0;
	font-weight: 700;
	transition: all 0.2s;
}

.ssgs-tutorial-pill:hover {
	background: #e2e8f0;
	color: #005ae0;
	transform: translateX(3px);
}

.ssgs-tutorial-pill .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	margin-right: 6px;
}

.ssgs-welcome-card p {
	font-size: 15px !important;
	color: #64748b !important;
	line-height: 1.7 !important;
	margin: 0 0 35px 0 !important;
	min-height: 48px;
	flex-grow: 1;
}

.ssgs-welcome-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 16px 24px;
	/* Balanced horizontal padding */
	border-radius: 16px;
	font-size: 16px;
	font-weight: 800;
	/* Standardized bold weight */
	text-decoration: none !important;
	cursor: pointer;
	transition: all 0.3s;
	gap: 12px;
	/* Consistent gap between icons and text */
	border: none;
	line-height: 1;
	text-align: center;
	box-sizing: border-box;
	/* Ensure padding is included in width */
}

.ssgs-welcome-btn.primary {
	background: linear-gradient(135deg, #005ae0 0%, #1e40af 100%);
	color: #fff !important;
	box-shadow: 0 8px 20px -5px rgba(0, 90, 224, 0.4);
}

.ssgs-welcome-btn.primary:hover {
	transform: scale(1.02);
	box-shadow: 0 12px 25px -5px rgba(0, 90, 224, 0.5);
}

.ssgs-welcome-btn.secondary {
	background: #fff;
	border: 2px solid #20A5A5;
	color: #20A5A5 !important;
}

.ssgs-welcome-btn.secondary:hover {
	background: #20A5A5;
	color: #fff !important;
	box-shadow: 0 8px 20px -5px rgba(32, 165, 165, 0.4);
	transform: scale(1.02);
}

.ssgs-welcome-footer {
	margin-top: 50px;
	padding: 20px 40px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.ssgs-footer-content {
	font-size: 15px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 12px;
}

.ssgs-footer-link {
	color: #005ae0;
	text-decoration: none;
	font-weight: 700;
}

.ssgs-footer-link:hover {
	text-decoration: underline;
}

.ssgs-emoji {
	font-size: 22px;
}

.ssgs-fade-in {
	animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

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

@media (max-width: 850px) {
	.ssgs-cards-row {
		flex-direction: column;
		padding: 0 20px;
	}

	.ssgs-title {
		font-size: 26px;
	}
}