/**
 * How It Works Page Styles
 * Scoped to .hiw-page
 */

/* Three Parts */
.hiw-parts-wrapper {
	position: relative;
	z-index: 10;
}

.hiw-part {
	padding: 100px 0;
}

@media (min-width: 992px) {
	.hiw-part {
		position: sticky;
		top: 64px;
		box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.05);
	}
}

.hiw-part--superfast {
	background: #fff;
}

@media (min-width: 992px) {
	.hiw-part--superfast {
		z-index: 1;
		box-shadow: none;
	}
}

.hiw-part--superfood {
	background: #F7FAFC;
}

@media (min-width: 992px) {
	.hiw-part--superfood {
		z-index: 2;
	}
}

.hiw-part--superlife {
	background: #fff;
}

@media (min-width: 992px) {
	.hiw-part--superlife {
		z-index: 3;
	}
}

.hiw-part__content {
	max-width: 1280px;
	width: 100%;
	margin: 0 auto;
}

.hiw-part__label {
	display: inline-block;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #090909;
	background: #e8f5d0;
	padding: 6px 16px;
	border-radius: 30px;
	margin-bottom: 20px;
	transform: scale(0.5);
	opacity: 0;
	transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
	transition-delay: 0.2s;
}

/* Pop animation triggers when section scrolls into view */
.hiw-part.sfd-animated .hiw-part__label {
	transform: scale(1);
	opacity: 1;
}

.hiw-part__heading {
	font-size: 48px;
	font-weight: 900;
	line-height: 1.1;
	margin: 0 0 30px;
	color: #1A202C;
}

.hiw-part__tagline {
	display: block;
	font-size: 32px;
	font-weight: 700;
	color: #569E03;
	margin-top: 10px;
}

.hiw-part__copy {
	margin: 30px 0;
}

.hiw-part__copy p {
	font-size: 18px;
	line-height: 1.8;
	color: #2D3748;
	margin: 0 0 20px;
}

.hiw-part__details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	margin-top: 50px;
}

.hiw-part__detail {
	background: #F7FAFC;
	padding: 30px;
	border-radius: 12px;
	border: 2px solid #E2E8F0;
}

.hiw-part--superfood .hiw-part__detail,
.hiw-part--superlife .hiw-part__detail {
	background: #fff;
}

.hiw-part__detail-heading {
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 15px;
	color: #1A202C;
}

.hiw-part__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.hiw-part__list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.6;
	color: #2D3748;
}

.hiw-part__list li:before {
	content: "→";
	position: absolute;
	left: 0;
	color: #8CD933;
	font-weight: 700;
}

.hiw-part__detail p {
	font-size: 16px;
	line-height: 1.6;
	color: #2D3748;
	margin: 0;
}

/* Unbreakable */
.hiw-unbreakable {
	padding: 80px 0;
	background: linear-gradient(to right, rgba(86, 158, 3, 0.12) 0%, #ffffff 40%, #ffffff 60%, rgba(238, 114, 142, 0.12) 100%);
	color: #fff;
	text-align: center;
}

.hiw-unbreakable__heading {
	font-size: 42px;
	font-weight: 900;
	line-height: 1.2;
	margin: 0 0 30px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	/* Override inherited grey colour, this heading should be black */
	color: #181d27;
}

.hiw-unbreakable__copy {
	max-width: 700px;
	margin: 0 auto;
}

.hiw-unbreakable__copy p {
	font-size: 20px;
	line-height: 1.8;
	margin: 0 0 20px;
	color: #2D3748;
}

.hiw-unbreakable__copy strong {
	font-weight: 800;
}

/* Typical Week */
.hiw-week {
	padding: 100px 0;
	background: #F7FAFC;
}

.hiw-week__days {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 50px;
}

.hiw-week__day {
	background: #fff;
	padding: 30px;
	border-radius: 12px;
	border: 2px solid #E2E8F0;
	transition: all 0.2s ease;
}

.hiw-week__day:hover {
	border-color: #CBD5E0;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.hiw-week__day--fast {
	background: #F3FFE6;
	border-color: #8CD933;
}

.hiw-week__day-name {
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 10px;
	color: #1A202C;
}

.hiw-week__day-type {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #569E03;
	margin-left: 10px;
}

.hiw-week__day--fast .hiw-week__day-type {
	background: #8CD933;
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
}

.hiw-week__day-desc {
	font-size: 16px;
	line-height: 1.6;
	color: #4A5568;
	margin: 0;
}

/* Support */
.hiw-support {
	padding: 80px 0;
	background: #fff;
}

.hiw-support__tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	margin-top: 50px;
}

.hiw-support__tier {
	background: #F7FAFC;
	padding: 40px;
	border-radius: 12px;
	border: 2px solid #E2E8F0;
}

.hiw-support__tier--add {
	border-color: #8CD933;
	position: relative;
}

.hiw-support__add-label {
	display: inline-block;
	background: #8CD933;
	color: #fff;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	margin-left: 10px;
}

.hiw-support__tier-name {
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 15px;
	color: #1A202C;
}

.hiw-support__tier-copy {
	font-size: 16px;
	line-height: 1.6;
	color: #4A5568;
	margin: 0;
}

.hiw-support__cta {
	text-align: center;
	margin-top: 40px;
}

.hiw-support__link {
	color: #569E03;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 2px solid #8CD933;
	transition: all 0.2s ease;
}

.hiw-support__link:hover {
	color: #8CD933;
}

/* FAQ */
.hiw-faq {
	padding: 80px 0;
	background: #F7FAFC;
}

.hiw-faq__items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
	max-width: 1280px;
	margin: 50px auto 0;
}

.hiw-faq__item {
	background: #fff;
	padding: 30px;
	border-radius: 12px;
	border: 2px solid #E2E8F0;
}

.hiw-faq__question {
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 15px;
	color: #1A202C;
}

.hiw-faq__answer p {
	font-size: 16px;
	line-height: 1.7;
	color: #4A5568;
	margin: 0;
}

/* App */
.hiw-app {
	padding: 100px 0;
	background: #fff;
}

.hiw-app__intro {
	font-size: 20px;
	line-height: 1.6;
	color: #4A5568;
	text-align: center;
	max-width: 700px;
	margin: 20px auto 50px;
}

.hiw-app__mockup {
	display: flex !important;
	justify-content: center;
	align-items: center;
	position: relative;
	margin-top: 40px;
	margin-left: auto;
	margin-right: auto;
}


.hiw-app__mockup a {
	display: inline-block;
	line-height: 0;
}

.hiw-app__mockup img {
	max-width: 920px;
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 920px) {
	.hiw-app__mockup img {
		width: 100%;
		max-width: 100%;
	}
}

/* Skeptic */
.hiw-skeptic {
	padding: 80px 0;
	background: #F7FAFC;
}

.hiw-skeptic__quote {
	max-width: 900px;
	margin: 50px auto 0;
	background: #fff;
	padding: 50px;
	border-radius: 12px;
	border-left: 6px solid #8CD933;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.hiw-skeptic__quote p {
	font-size: 22px;
	line-height: 1.7;
	font-style: italic;
	color: #2D3748;
	margin: 0 0 30px;
}

.hiw-skeptic__attr {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-style: normal;
}

.hiw-skeptic__name {
	font-size: 18px;
	font-weight: 700;
	color: #569E03;
}

.hiw-skeptic__result {
	font-size: 15px;
	color: #718096;
}

/* Buttons */
.hiw-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
	padding: 30px 20px 40px;
	background: #fff;
}

.hiw-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 32px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.hiw-button--pricing {
	background: linear-gradient(135deg, #569E03 0%, #8CD933 100%);
	color: #fff;
	min-width: 140px;
}

.hiw-button--pricing:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(86, 158, 3, 0.3);
}

.hiw-button--learn-more {
	background: #fff;
	color: #569E03;
	border: 2px solid #569E03;
	min-width: 120px;
}

.hiw-button--learn-more:hover {
	background: #569E03;
	color: #fff;
}

/* Responsive */
/* Coaching link below feature columns */
.hiw-coaching-link {
	text-align: center;
	margin-top: 2rem;
	font-size: 1.125rem;
	font-weight: 700;
}

.hiw-coaching-link a {
	color: #569E03;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hiw-coaching-link a:hover {
	color: #3d7a02;
}

@media (max-width: 768px) {
	.hiw-buttons {
		flex-direction: column;
		padding: 20px 20px 30px;
	}
	
	.hiw-button {
		width: 100%;
		max-width: 280px;
	}
	
	.hiw-part__heading {
		font-size: 32px;
	}
	
	.hiw-part__tagline {
		font-size: 24px;
	}
	
	.hiw-unbreakable__heading {
		font-size: 28px;
	}
	
	.hiw-part__details {
		grid-template-columns: 1fr;
	}
	
	.hiw-week__days {
		grid-template-columns: 1fr;
	}
	
	.hiw-support__tiers {
		grid-template-columns: 1fr;
	}
	
	.hiw-skeptic__quote {
		padding: 30px;
	}

	.hiw-skeptic__quote p {
		font-size: 18px;
	}

	/* Tighten vertical padding on phones — 80–100px top/bottom feels sparse */
	.hiw-part {
		padding: 56px 0;
	}

	.hiw-unbreakable,
	.hiw-week,
	.hiw-support,
	.hiw-faq,
	.hiw-app,
	.hiw-skeptic {
		padding: 56px 0;
	}
}
