/* 240.org Products page — block styles. Extracted from Phase 1/2 mockup. Supplements theme main.css. */

/* ===== PAGE HERO ===== */
.page-hero {
	margin-top: 72px;
	background: var(--soft-teal);
	padding: 80px 80px 72px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.page-hero::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(3, 168, 146, 0.1);
}

.page-hero::after {
	content: "";
	position: absolute;
	bottom: -80px;
	left: -60px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(243, 112, 55, 0.07);
}

.page-hero-inner {
	position: relative;
	z-index: 1;
}

.page-eyebrow {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 20px;
}

.page-title {
	font-family: "Mona Sans", sans-serif;
	font-size: clamp(38px, 5vw, 60px);
	color: var(--orange);
	line-height: 1.15;
	margin-bottom: 20px;
}

.page-subtitle {
	font-size: 18px;
	font-weight: 400;
	color: var(--dark-teal);
	max-width: 580px;
	margin: 0 auto 40px;
	line-height: 1.7;
}

/* Quick-jump pills */
.jump-pills {
	display: flex;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.jump-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	border: 2px solid transparent;
	transition: all 0.2s;
}

.pill-prep {
	background: var(--soft-orange);
	color: var(--orange);
	border-color: #f9cdb5;
}
.pill-cert {
	background: var(--soft-teal);
	color: var(--teal);
	border-color: #a8ddd7;
}
.pill-jobs {
	background: var(--soft-purple);
	color: var(--purple);
	border-color: #c9c4e8;
}
.pill-p180 {
	background: #efeefb;
	color: #5450a0;
	border-color: #cfccf2;
}

.jump-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== PRODUCT SECTIONS ===== */
.product-section {
	padding: 100px 80px;
	position: relative;
	overflow: hidden;
}

.product-section:nth-child(even) {
	background: var(--light-grey);
}
.product-section:nth-child(odd) {
	background: #fff;
}

.product-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.product-inner.reverse {
	direction: rtl;
}
.product-inner.reverse > * {
	direction: ltr;
}

/* Color bar on scroll target */
.product-section::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
}

.section-prep::before {
	background: var(--orange);
}
.section-cert::before {
	background: var(--teal);
}
.section-jobs::before {
	background: var(--purple);
}
.section-p180::before {
	background: var(--p180);
}

/* Product label / badge */
.product-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.badge-prep {
	background: var(--soft-orange);
	color: var(--orange);
}
.badge-cert {
	background: var(--teal);
	color: #fff;
}
.badge-jobs {
	background: var(--soft-purple);
	color: var(--purple);
}
.badge-p180 {
	background: var(--p180);
	color: #34195f;
}

.product-heading {
	font-family: "Mona Sans", sans-serif;
	font-size: clamp(30px, 3.5vw, 44px);
	line-height: 1.15;
	margin-bottom: 16px;
}

.heading-prep {
	color: var(--orange);
}
.heading-cert {
	color: var(--teal);
}
.heading-jobs {
	color: var(--purple);
}
.heading-p180 {
	color: #34195f;
}

.product-tagline {
	font-size: 17px;
	font-weight: 700;
	color: var(--grey);
	margin-bottom: 24px;
	line-height: 1.6;
	font-style: italic;
}

.product-body {
	font-size: 15px;
	color: #444;
	line-height: 1.8;
	margin-bottom: 32px;
	font-weight: 400;
}

/* Who it's for */
.for-list {
	margin-bottom: 32px;
}

.for-list h4 {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--grey);
	margin-bottom: 12px;
}

.for-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.for-tag {
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	background: var(--light-grey);
	color: var(--dark);
}

.section-cert .stat-card,
.section-cert .testimonial-card {
	box-shadow: 0 4px 20px rgba(3, 130, 113, 0.15);
}

.section-cert .for-tag {
	background: #fff;
	color: var(--dark-teal);
}

.section-cert .product-body,
.section-cert .features h4,
.section-cert .for-list h4 {
	color: #1a4a44;
}

.section-p180 .for-tag {
	background: #fff;
	color: #5450a0;
}

/* Features list */
.features {
	margin-bottom: 36px;
}

.features h4 {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--grey);
	margin-bottom: 14px;
}

.feature-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 14px;
	font-weight: 400;
	color: #444;
	line-height: 1.5;
}

.feature-check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 1px;
	/* Hide the ✓ text glyph — drawn in CSS below so it's font-independent. */
	font-size: 0;
	color: #fff;
}
.feature-check::after {
	content: "";
	display: block;
	width: 5px;
	height: 9px;
	margin-top: -1px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.check-prep {
	background: var(--orange);
}
.check-cert {
	background: var(--teal);
}
.check-jobs {
	background: var(--purple);
}
.check-p180 {
	background: var(--p180);
}

/* CTA button */
.product-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 32px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.2s;
	color: #fff;
}

.product-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-prep {
	background: var(--orange);
}
.cta-cert {
	background: var(--teal);
}
.cta-jobs {
	background: var(--purple);
}
.cta-p180 {
	background: var(--p180);
	color: #34195f;
}

.secondary-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s;
	margin-left: 12px;
	border: 2px solid;
}

.secondary-prep {
	color: var(--orange);
	border-color: var(--orange);
}
.secondary-prep:hover {
	background: var(--soft-orange);
}
.secondary-cert {
	color: var(--teal);
	border-color: var(--teal);
}
.secondary-cert:hover {
	background: var(--soft-teal);
}
.secondary-jobs {
	color: var(--purple);
	border-color: var(--purple);
}
.secondary-jobs:hover {
	background: var(--soft-purple);
}

/* ===== RIGHT SIDE VISUAL PANELS ===== */
.product-visual {
	position: sticky;
	top: 100px;
}

/* Stat card stack */
.stat-stack {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.stat-card {
	background: #fff;
	border-radius: 16px;
	padding: 24px 28px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
	border-left: 4px solid transparent;
	transition: transform 0.2s;
}

.stat-card:hover {
	transform: translateX(4px);
}

.stat-card.prep-card {
	border-color: var(--orange);
}
.stat-card.cert-card {
	border-color: var(--teal);
}
.stat-card.jobs-card {
	border-color: var(--purple);
}
.stat-card.p180-card {
	border-color: var(--p180);
}

.stat-number {
	font-family: "Mona Sans", sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 6px;
}

.stat-number.prep-num {
	color: var(--orange);
}
.stat-number.cert-num {
	color: var(--teal);
}
.stat-number.jobs-num {
	color: var(--purple);
}
.stat-number.p180-num {
	color: var(--p180);
}

.stat-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 4px;
}

.stat-sublabel {
	font-size: 12px;
	color: var(--grey);
	font-weight: 400;
}

/* Testimonial card */
.testimonial-card {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
	margin-top: 16px;
}

.testimonial-quote {
	font-family: "Mona Sans", sans-serif;
	font-size: 15px;
	font-style: italic;
	color: var(--dark);
	line-height: 1.7;
	margin-bottom: 16px;
}

.testimonial-quote::before {
	content: '"';
	font-size: 28px;
	color: var(--orange);
	line-height: 0;
	vertical-align: -10px;
	margin-right: 4px;
}
.section-cert .testimonial-quote::before {
	color: var(--teal);
}
.section-jobs .testimonial-quote::before {
	color: var(--purple);
}

.testimonial-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.author-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}

.avatar-prep {
	background: var(--soft-orange);
}
.avatar-cert {
	background: var(--soft-teal);
}
.avatar-jobs {
	background: var(--soft-purple);
}
.avatar-p180 {
	background: var(--p180);
}

.author-name {
	font-size: 13px;
	font-weight: 800;
	color: var(--dark);
}

.author-role {
	font-size: 12px;
	color: var(--grey);
	font-weight: 400;
}

/* Bone cards for P180 */
.bones-visual {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bone-visual-card {
	border-radius: 14px;
	padding: 20px 22px;
	border: 2px solid rgba(84, 80, 160, 0.2);
	background: #fff;
	transition: transform 0.2s;
}

.bone-visual-card:hover {
	transform: translateX(4px);
}

.bone-visual-title {
	font-family: "Mona Sans", sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #34195f;
	margin-bottom: 4px;
}

.bone-visual-sub {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #5450a0;
	margin-bottom: 8px;
}

.bone-visual-desc {
	font-size: 13px;
	color: #444;
	font-weight: 400;
	line-height: 1.6;
}

/* ===== DIVIDER ===== */
.section-divider {
	max-width: 1100px;
	margin: 0 auto;
	border: none;
	border-top: 2px solid #eee;
}

/* ===== BOTTOM CTA BANNER ===== */
.bottom-banner {
	background: var(--orange);
	padding: 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.bottom-banner::before {
	content: "";
	position: absolute;
	top: -80px;
	right: -80px;
	width: 350px;
	height: 350px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.bottom-banner::after {
	content: "";
	position: absolute;
	bottom: -60px;
	left: -60px;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
}

.bottom-banner h2 {
	font-family: "Mona Sans", sans-serif;
	font-size: clamp(28px, 4vw, 44px);
	color: #fff;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
}

.bottom-banner p {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 400;
	margin-bottom: 36px;
	position: relative;
	z-index: 1;
}

.bottom-banner a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: var(--orange);
	padding: 16px 36px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 16px;
	text-decoration: none;
	transition: all 0.2s;
	position: relative;
	z-index: 1;
}

.bottom-banner a:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
	.product-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.product-inner.reverse {
		direction: ltr;
	}
	.product-visual {
		position: static;
	}
	.page-hero {
		padding: 60px 40px;
	}
	.product-section {
		padding: 60px 40px;
	}
	.bottom-banner {
		padding: 60px 40px;
	}
	footer {
		padding: 40px 40px 24px;
	}
}

@media (max-width: 640px) {
	nav {
		padding: 0 20px;
	}
	.nav-links {
		display: none;
	}
	.page-hero {
		padding: 40px 24px;
	}
	.product-section {
		padding: 48px 24px;
	}
	.bottom-banner {
		padding: 48px 24px;
	}
	footer {
		padding: 40px 24px 24px;
	}
	.footer-top {
		grid-template-columns: 1fr 1fr;
	}
	.secondary-cta {
		margin-left: 0;
		margin-top: 12px;
		display: flex;
		width: fit-content;
	}
}

/* Block WYSIWYG normalization (body + feature text render <p>). */
.product-text .product-body > p {
	margin: 0 0 14px;
}
.product-text .product-body > p:last-child {
	margin-bottom: 0;
}
.features .feature-item > span > p {
	display: inline;
	margin: 0;
}
.product-cta-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 24px;
	border-radius: 8px;
	border: 2px solid #5450a0;
	color: #5450a0;
	font-weight: 800;
	font-size: 14px;
	text-decoration: none;
	transition: all 0.2s;
	margin-top: 12px;
}

/* Stacked CTAs (Project 180 card: primary + secondary buttons, full-width column). */
.product-cta-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
	align-items: stretch;
}
.product-cta-stack .product-cta,
.product-cta-stack .product-cta-ghost {
	justify-content: center;
	text-align: center;
	margin-top: 0;
}

/* Small "heads up" note under the body (WYSIWYG → renders its own <p>). */
.product-note {
	margin-bottom: 32px;
}
.product-note p {
	font-size: 14px;
	color: #777;
	line-height: 1.6;
	margin: 0 0 10px;
}
.product-note p:last-child {
	margin-bottom: 0;
}
.product-note a {
	font-weight: 700;
}
.section-prep .product-note a {
	color: var(--teal);
}
.section-cert .product-note a {
	color: var(--orange);
}
