/* BeWellthy.ai Custom Styles
   Supplements the Hypothesis template with custom section layouts */

/* ===== Hero Banner Overrides ===== */
/* Shift stock video colors from pink/orange to green tones */
#banner video {
	filter: hue-rotate(110deg) saturate(0.7);
}

#banner:after {
	background-color: rgba(240, 247, 242, 0.3) !important;
	opacity: 1 !important;
}

#banner .content.primary header h1 {
	font-size: 4rem;
	color: #0A1F14;
	font-weight: 700;
	letter-spacing: -0.03em;
	text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

.hero-logo {
	text-align: center;
	margin-bottom: 1.5rem;
}

.hero-logo img {
	width: 6rem;
	height: 6rem;
}

/* Larger logo text in header nav */
#header .logo a {
	font-size: 1.1rem;
}

/* Darken the accent1 green sections for a more premium feel */
.accent1, header.accent1,
#wrapper > .main > header.accent1 + .tabs > .titles,
#wrapper > .main > header.accent1 + .tabs > .titles:before {
	background-color: #2D8B44 !important;
}

#wrapper > .main > header.accent1 + .tabs > .titles > .title.active {
	color: #2D8B44 !important;
}

/* Center the 3 feature pillars in the hero */
#banner .features {
	justify-content: center;
}

/* ===== Stats Grid (Section #two) ===== */
.stats-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem;
	margin-bottom: 3rem;
}

.stat-card {
	flex: 1 1 calc(33.333% - 2rem);
	min-width: 200px;
	max-width: 320px;
	text-align: center;
	padding: 2rem 1.5rem;
	border: 1px solid rgba(127, 209, 146, 0.2);
	border-radius: 0.5rem;
	background: rgba(127, 209, 146, 0.05);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
	transform: translateY(-4px);
	border-color: rgba(127, 209, 146, 0.4);
}

.stat-number {
	font-size: 3rem;
	font-weight: 700;
	color: #7FD192;
	line-height: 1.1;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.stat-label {
	font-size: 0.95rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.7);
}

.stats-quote {
	text-align: center;
	font-style: italic;
	font-size: 1.15rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
	border-left: none;
	padding: 2rem 3rem;
	margin: 0;
	border-top: 1px solid rgba(127, 209, 146, 0.2);
	padding-top: 2.5rem;
}

.stats-quote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.9rem;
	font-style: normal;
	color: #7FD192;
	font-weight: 400;
}

/* ===== Problem Grid (Section #problem) ===== */
.problem-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-bottom: 3rem;
}

.problem-card {
	flex: 1 1 calc(33.333% - 2rem);
	min-width: 250px;
	padding: 2.5rem 2rem;
	border-radius: 0.5rem;
	background: #f5f7f5;
	text-align: center;
}

.problem-card .icon {
	font-size: 2.5rem;
	color: #3CAA57;
	margin-bottom: 1.5rem;
	display: block;
}

.problem-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #0A1F14;
}

.problem-card p {
	font-size: 0.95rem;
	line-height: 1.65;
}

.problem-solution {
	text-align: center;
	padding: 2.5rem 3rem;
	background: #0A1F14;
	border-radius: 0.5rem;
	color: rgba(255, 255, 255, 0.85);
}

.problem-solution h3 {
	color: #7FD192;
	font-size: 1.35rem;
	margin-bottom: 1rem;
}

.problem-solution p {
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 0;
}

.problem-solution strong {
	color: #ffffff;
}

/* ===== Email Capture (Section #email-gate) ===== */
.email-capture-split {
	display: flex;
	align-items: flex-start;
	gap: 4rem;
}

.email-capture-split > * {
	flex: 1;
}

.email-capture-text h2 {
	margin-bottom: 1rem;
}

.email-capture-text p {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

.email-capture-text ul.alt li {
	font-size: 0.95rem;
	padding-left: 1.5rem;
	position: relative;
}

.email-capture-text ul.alt li::before {
	content: '\f00c';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	left: 0;
	color: #3CAA57;
	font-size: 0.85rem;
}

.email-capture-form {
	padding: 2.5rem;
	background: #ffffff;
	border-radius: 0.5rem;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	border: 1px solid #e0e8e0;
}

.email-capture-form h3 {
	margin-bottom: 1.5rem;
	text-align: center;
	color: #0A1F14;
}

/* More space above Request Access submit button */
.email-capture-form .actions {
	margin-top: 1.5rem;
}

/* Hero "See How It Works" button — darker green for contrast on video bg */
#banner .content.primary .actions .button {
	border-color: #0A1F14;
	color: #0A1F14;
}

#banner .content.primary .actions .button:hover {
	background-color: #0A1F14;
	color: #ffffff;
}

/* ===== Timing Grid (Section #moat) ===== */
.timing-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.timing-card {
	flex: 1 1 calc(33.333% - 2rem);
	min-width: 250px;
	max-width: 360px;
	text-align: center;
	padding: 2.5rem 2rem;
}

.timing-card .icon {
	font-size: 2.5rem;
	color: #3CAA57;
	margin-bottom: 1.5rem;
	display: block;
}

.timing-card h3 {
	font-size: 1.15rem;
	margin-bottom: 1rem;
	color: #0A1F14;
}

.timing-card p {
	font-size: 0.95rem;
	line-height: 1.65;
}

/* ===== Responsive Adjustments ===== */
@media screen and (max-width: 980px) {
	.stat-card {
		flex: 1 1 calc(50% - 2rem);
	}

	.email-capture-split {
		flex-direction: column;
		gap: 2rem;
	}

	.stats-quote {
		padding: 1.5rem 1.5rem;
	}

	#banner .content.primary header h1 {
		font-size: 3rem;
	}

	.hero-logo img {
		width: 5rem;
		height: 5rem;
	}
}

@media screen and (max-width: 736px) {
	.stat-card {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.stat-number {
		font-size: 2.5rem;
	}

	.problem-card {
		flex: 1 1 100%;
	}

	.problem-solution {
		padding: 2rem 1.5rem;
	}

	.email-capture-form {
		padding: 1.5rem;
	}

	.timing-card {
		flex: 1 1 100%;
		max-width: 100%;
	}

	#banner .content.primary header h1 {
		font-size: 2.5rem;
	}

	.hero-logo img {
		width: 4rem;
		height: 4rem;
	}
}
