/**
 * How It Works Page Styles
 *
 * @package Together_Theme
 * @since 1.0.0
 */

.together-how-it-works-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
}

.how-it-works-container {
	width: 100%;
}

/* Intro Section */
.how-it-works-intro {
	text-align: center;
	margin-bottom: 80px;
}

.how-it-works-intro .page-title {
	font-size: 3em;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 30px;
}

.intro-content {
	max-width: 800px;
	margin: 0 auto;
}

.intro-text {
	font-size: 1.125rem;
	line-height: 1.8;
	color: #333;
	margin-bottom: 15px;
}

.intro-text strong {
	color: #1a1a1a;
	font-weight: 700;
}

.intro-points {
	margin-top: 30px;
	padding-top: 30px;
	border-top: 2px solid #e0e0e0;
}

.intro-points p {
	font-size: 1rem;
	color: #666;
	margin: 10px 0;
}

.intro-points p:last-child {
	margin-top: 15px;
}

.intro-points p:last-child strong {
	color: #447AB3;
	font-size: 1.125rem;
}

/* Section Styles */
.how-it-works-section {
	margin-bottom: 100px;
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-title {
	font-size: 2.5em;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 15px;
}

.section-subtitle {
	font-size: 1.125rem;
	color: #666;
	font-style: italic;
	margin: 0;
}

/* Process Flow */
.process-flow {
	display: flex;
	flex-direction: row;
	gap: 20px;
	margin-bottom: 50px;
	position: relative;
	overflow-x: auto;
	padding-bottom: 20px;
}

.process-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	position: relative;
	flex: 1;
	min-width: 200px;
	text-align: center;
}

.step-icon {
	width: 80px;
	height: 80px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: #f0f0f0;
}

.step-icon-green {
	background: rgba(151, 195, 84, 0.1);
}

.step-icon-blue {
	background: rgba(68, 122, 179, 0.1);
}

.step-icon svg {
	width: 48px;
	height: 48px;
}

.step-content {
	flex: 1;
	width: 100%;
}

.step-title {
	font-size: 1.5em;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 12px;
}

.step-description {
	font-size: 1rem;
	line-height: 1.7;
	color: #666;
	margin: 0;
}

.step-connector {
	position: absolute;
	right: -10px;
	top: 40px;
	width: 20px;
	height: 2px;
	background: repeating-linear-gradient(
		to right,
		#447AB3 0px,
		#447AB3 4px,
		transparent 4px,
		transparent 8px
	);
	z-index: 1;
}

.step-connector::after {
	content: '';
	position: absolute;
	right: -4px;
	top: -3px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #447AB3;
}

.process-step:last-child .step-connector {
	display: none;
}

/* Section CTAs */
.section-cta {
	text-align: center;
	margin-top: 50px;
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.section-cta .button {
	padding: 14px 32px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	display: inline-block;
}

.section-cta .button-primary {
	background: #447AB3;
	color: #fff;
	border: 2px solid #447AB3;
}

.section-cta .button-primary:hover {
	background: #3a6a9a;
	border-color: #3a6a9a;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(68, 122, 179, 0.3);
}

.section-cta .button-secondary {
	background: #fff;
	color: #447AB3;
	border: 2px solid #447AB3;
}

.section-cta .button-secondary:hover {
	background: #447AB3;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(68, 122, 179, 0.3);
}

/* Ready to Start Section */
.ready-to-start-section {
	text-align: center;
	padding: 60px 40px;
	background: linear-gradient(135deg, rgba(68, 122, 179, 0.05) 0%, rgba(151, 195, 84, 0.05) 100%);
	border-radius: 16px;
	margin-top: 80px;
}

.ready-to-start-section .section-title {
	font-size: 2.5em;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 15px;
}

.ready-to-start-section .section-description {
	font-size: 1.125rem;
	color: #666;
	margin: 0 0 40px;
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.button-large {
	padding: 16px 40px;
	font-size: 1.125rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: all 0.3s ease;
	display: inline-block;
}

.button-large.button-primary {
	background: #447AB3;
	color: #fff;
	border: 2px solid #447AB3;
}

.button-large.button-primary:hover {
	background: #3a6a9a;
	border-color: #3a6a9a;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(68, 122, 179, 0.3);
}

.button-large.button-secondary {
	background: #97C354;
	color: #fff;
	border: 2px solid #97C354;
}

.button-large.button-secondary:hover {
	background: #7aa842;
	border-color: #7aa842;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(151, 195, 84, 0.3);
}

/* Responsive Styles */
@media (max-width: 1024px) {
	.process-flow {
		flex-wrap: wrap;
		justify-content: center;
	}

	.process-step {
		flex: 0 0 calc(50% - 10px);
		min-width: 250px;
	}

	.step-connector {
		display: none;
	}
}

@media (max-width: 768px) {
	.together-how-it-works-page {
		padding: 40px 15px;
	}

	.how-it-works-intro .page-title {
		font-size: 2em;
	}

	.section-title {
		font-size: 2em;
	}

	.process-flow {
		flex-direction: column;
		gap: 30px;
	}

	.process-step {
		flex: 1;
		min-width: 100%;
	}

	.step-icon {
		width: 60px;
		height: 60px;
	}

	.step-icon svg {
		width: 36px;
		height: 36px;
	}

	.step-connector {
		display: none;
	}

	.section-cta {
		flex-direction: column;
		align-items: center;
	}

	.section-cta .button {
		width: 100%;
		max-width: 300px;
	}

	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}

	.button-large {
		width: 100%;
		max-width: 400px;
	}

	.ready-to-start-section {
		padding: 40px 20px;
	}
}

