/* ===========================================
   JOURNEY LANDING PAGES CSS
   =========================================== */

.journey-page {
	background: #f8fafc;
	min-height: 100vh;
	padding-bottom: 60px;
}

/* Account for fixed header */
.header + .journey-page {
	margin-top: var(--header-offset, 126px);
}

/* Breadcrumb */
.journey-breadcrumb {
	padding: 20px 0;
	font-size: 0.9rem;
	color: #64748b;
}

.journey-breadcrumb a {
	color: #3b82f6;
	text-decoration: none;
}

.journey-breadcrumb a:hover {
	text-decoration: underline;
}

.journey-breadcrumb span {
	margin: 0 8px;
}

/* Header */
.journey-header {
	background: linear-gradient(135deg, var(--journey-color) 0%, color-mix(in srgb, var(--journey-color) 70%, #000) 100%);
	border-radius: 20px;
	padding: 50px;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 40px;
	margin-bottom: 50px;
}

.journey-header__content {
	flex: 1;
}

.journey-header__title {
	font-size: 2.2rem;
	font-weight: 800;
	margin: 0 0 16px;
	line-height: 1.2;
}

.journey-header__desc {
	font-size: 1.15rem;
	opacity: 0.9;
	margin: 0 0 24px;
	line-height: 1.6;
}

.journey-header__stats {
	display: flex;
	gap: 24px;
	margin-bottom: 28px;
}

.journey-header__stat {
	font-size: 0.95rem;
	opacity: 0.85;
}

.journey-header__stat strong {
	font-weight: 700;
	opacity: 1;
}

.journey-header__cta {
	display: inline-block;
	background: white;
	color: var(--journey-color);
	padding: 14px 32px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1rem;
	transition: all 0.2s ease;
}

.journey-header__cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Progress visual */
.journey-header__visual {
	flex-shrink: 0;
}

.journey-header__progress {
	position: relative;
	width: 140px;
	height: 140px;
}

.journey-header__ring {
	width: 100%;
	height: 100%;
}

.journey-header__progress-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.8rem;
	font-weight: 700;
}

/* Steps Section */
.journey-steps {
	background: white;
	border-radius: 16px;
	padding: 40px;
	margin-bottom: 40px;
}

.journey-steps__title {
	font-size: 1.6rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px;
}

.journey-steps__subtitle {
	font-size: 1rem;
	color: #64748b;
	margin: 0 0 32px;
	line-height: 1.5;
}

.journey-steps__list {
	display: flex;
	flex-direction: column;
}

/* Individual Step */
.journey-step {
	display: flex;
	gap: 24px;
	text-decoration: none;
	padding: 20px;
	border-radius: 12px;
	transition: all 0.2s ease;
}

.journey-step:hover {
	background: #f8fafc;
}

.journey-step--disabled {
	pointer-events: none;
	opacity: 0.6;
}

.journey-step__number {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
}

.journey-step__index {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #3b82f6;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
	flex-shrink: 0;
}

.journey-step__line {
	width: 3px;
	flex: 1;
	background: linear-gradient(to bottom, #3b82f6, #e2e8f0);
	margin-top: 8px;
	border-radius: 2px;
	min-height: 40px;
}

.journey-step__line--last {
	display: none;
}

.journey-step__content {
	flex: 1;
	padding-bottom: 24px;
}

.journey-step__title {
	font-size: 1.2rem;
	font-weight: 600;
	color: #0f172a;
	margin: 0 0 8px;
}

.journey-step:hover .journey-step__title {
	color: #3b82f6;
}

.journey-step__excerpt {
	font-size: 0.95rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0 0 12px;
}

.journey-step__excerpt--unavailable {
	font-style: italic;
	color: #94a3b8;
}

.journey-step__meta {
	display: flex;
	gap: 12px;
	align-items: center;
}

.journey-step__difficulty {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 4px;
	text-transform: capitalize;
}

.journey-step__time {
	font-size: 0.85rem;
	color: #94a3b8;
}

/* Footer */
.journey-footer {
	display: flex;
	justify-content: center;
	gap: 24px;
}

.journey-footer__link {
	color: #3b82f6;
	text-decoration: none;
	font-weight: 500;
	padding: 12px 24px;
	border: 1px solid #3b82f6;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.journey-footer__link:hover {
	background: #3b82f6;
	color: white;
}

/* Responsive */
@media (max-width: 768px) {
	.journey-header {
		flex-direction: column;
		padding: 30px;
		text-align: center;
	}

	.journey-header__title {
		font-size: 1.6rem;
	}

	.journey-header__stats {
		justify-content: center;
		flex-wrap: wrap;
	}

	.journey-header__progress {
		width: 100px;
		height: 100px;
	}

	.journey-header__progress-text {
		font-size: 1.4rem;
	}

	.journey-steps {
		padding: 24px;
	}

	.journey-step {
		gap: 16px;
		padding: 12px;
	}

	.journey-step__index {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.journey-step__title {
		font-size: 1.05rem;
	}

	.journey-footer {
		flex-direction: column;
		align-items: center;
	}
}
