/**
 * Phytest Timeline Styles
 * Pixel-perfect timeline design
 */

/* Wrapper */
.phytest-timeline-wrapper {
	width: 100%;
	padding: 40px 20px;
}

/* Container */
.phytest-timeline-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	max-width: 1200px;
	margin: 0 auto;
	gap: 0;
	position: relative;
}

/* Individual Step */
.phytest-timeline-step {
	flex: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/* Number Box */
.phytest-timeline-number-box {
	width: 80px;
	height: 80px;
	background: #f3f0ff;
	background: linear-gradient(135deg, #f3f0ff 0%, #e9e4ff 100%);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(147, 112, 219, 0.15);
	position: relative;
	z-index: 2;
	margin-bottom: 24px;
	transition: all 0.3s ease;
}

.phytest-timeline-number-box:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(147, 112, 219, 0.25);
}

/* Number */
.phytest-timeline-number {
	font-size: 42px;
	font-weight: 700;
	color: #6b4fbb;
	line-height: 1;
}

/* Connector Line */
.phytest-timeline-connector {
	position: absolute;
	top: 40px;
	left: 50%;
	width: calc(100%);
	height: 6px;
	transform: translateY(-50%);
	z-index: 1;
	border-radius: 3px;
}

.phytest-timeline-connector-active {
	background: #6b4fbb;
	background: linear-gradient(90deg, #6b4fbb 0%, #8b6fd9 100%);
}

.phytest-timeline-connector-inactive {
	background: #6b4fbb;
	background: linear-gradient(90deg, #6b4fbb 0%, #8b6fd9 100%);
}

/* Content */
.phytest-timeline-content {
	max-width: 340px;
	width: 100%;
	padding: 0 15px;
}

/* Title */
.phytest-timeline-title {
	font-size: 22px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.4;
	margin: 0 0 16px 0;
	padding: 0;
	white-space: pre-line;
}

/* Description */
.phytest-timeline-description {
	font-size: 15px;
	font-weight: 400;
	color: #4a4a4a;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.phytest-timeline-container {
		gap: 20px;
	}
	
	.phytest-timeline-content {
		max-width: 300px;
	}
	
	.phytest-timeline-title {
		font-size: 20px;
	}
	
	.phytest-timeline-description {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.phytest-timeline-container {
		flex-direction: column;
		align-items: center;
		gap: 40px;
	}
	
	.phytest-timeline-step {
		width: 100%;
		max-width: 500px;
	}
	
	.phytest-timeline-connector {
		display: none;
	}
	
	/* Vertical connector for mobile */
	.phytest-timeline-step:not(:last-child)::after {
		content: '';
		position: absolute;
		top: 80px;
		left: 50%;
		transform: translateX(-50%);
		width: 6px;
		height: 60px;
		background: #d1d1d1;
		border-radius: 3px;
		z-index: 1;
	}
	
	.phytest-timeline-step:first-child::after {
		background: #6b4fbb;
		background: linear-gradient(180deg, #6b4fbb 0%, #8b6fd9 100%);
	}
	
	.phytest-timeline-content {
		max-width: 100%;
	}
	
	.phytest-timeline-number-box {
		width: 70px;
		height: 70px;
	}
	
	.phytest-timeline-number {
		font-size: 36px;
	}
}

@media (max-width: 480px) {
	.phytest-timeline-wrapper {
		padding: 30px 15px;
	}
	
	.phytest-timeline-title {
		font-size: 18px;
		margin-bottom: 12px;
	}
	
	.phytest-timeline-description {
		font-size: 13px;
	}
	
	.phytest-timeline-number-box {
		width: 60px;
		height: 60px;
		border-radius: 12px;
	}
	
	.phytest-timeline-number {
		font-size: 32px;
	}
	
	.phytest-timeline-step:not(:last-child)::after {
		height: 50px;
	}
}

