/* Variables */
:root {
	--color-bg: #f8fbfc;
	--color-white: #ffffff;
	--color-primary: #0059ab;
	--color-primary-hover: #024b8f;
	--color-secondary: #1c2833;
	--color-light-gray: #edf2f5;
	--font-heading: "Montserrat", sans-serif;
	--font-body: "Open Sans", sans-serif;
	--transition: 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-body);
	color: var(--color-secondary);
	line-height: 1.6;
	background: var(--color-bg);
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	background: var(--color-white);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	z-index: 1000;

	.container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 1rem 0;
	}
}

.logo {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	color: var(--color-primary);
	text-decoration: none;
}

.site-nav {
	display: flex;
	gap: 3rem;
	align-items: center;

	a {
		text-decoration: none;
		color: var(--color-secondary);
		font-weight: 600;
		transition: color var(--transition);

		&:hover {
			color: var(--color-primary);
		}
	}
	.btn-primary,
	.btn-primary:hover {
		color: var(--color-white);
	}
}

/* Hamburger menu (checkbox hack) */
.menu-toggle {
	display: none;
}

.hamburger {
	display: none;
	cursor: pointer;
	width: 32px;
	height: 32px;
	flex-direction: column;
	justify-content: center;
	gap: 4px;

	span {
		display: block;
		height: 4px;
		width: 100%;
		background: var(--color-primary);
		border-radius: 4px;
		transition: 0.3s;
	}
}

@media (max-width: 767px) {
	.hamburger {
		display: flex;
	}
	.site-nav {
		position: absolute;
		top: 90px;
		left: 0;
		width: 100%;
		background: var(--color-white);
		flex-direction: column;
		align-items: center;
		gap: 1rem;
		padding: 1.5rem 0;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
		display: none;
		transition: all 0.3s;

		a {
			margin: 0.75rem 0;
			margin-left: 0;
		}
	}
	.menu-toggle:checked ~ .site-nav {
		display: flex;
	}
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 5px;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--transition);
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-white);

	&:hover {
		background: var(--color-primary-hover);
	}
}

.btn-secondary {
	background: var(--color-secondary);
	color: var(--color-white);

	&:hover {
		background: #0f1b26;
	}
}

/* Hero */
.hero {
	background: url(../images/bg.jpg) no-repeat center center;
	background-size: cover;
	background-position: center;
	text-align: center;
	padding: 6rem 0;

	h1 {
		font-family: var(--font-heading);
		font-size: 2.75rem;
		margin-bottom: 1rem;
	}

	p {
		font-size: 1.125rem;
		margin-bottom: 2rem;
	}
}

/* Section Titles */
.section {
	padding: 4rem 0;

	h2 {
		text-align: center;
		font-family: var(--font-heading);
		font-size: 2rem;
		margin-bottom: 2rem;
	}
}

/* Features */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
}

.feature-item {
	background: var(--color-white);
	padding: 2rem;
	text-align: center;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;

	&:hover {
		transform: scale(1.05);
	}

	.feature-icon {
		font-size: 2.5rem;
		color: var(--color-primary);
		margin-bottom: 1rem;
	}

	h3 {
		font-family: var(--font-heading);
		margin-bottom: 0.5rem;
	}
}

/* BENEFITS */
.benefits {
	padding: 4rem 0;
	h2 {
		text-align: center;
		margin-bottom: 2.5rem;
		color: var(--secondary);
	}
	.benefit-cards {
		display: grid;
		gap: 2rem;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

		.card {
			background: #fff;
			border: 1px solid #eaeaea;
			border-radius: 6px;
			padding: 1.5rem;
			box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
			transition: transform 0.3s ease;
			text-align: center;

			&:hover {
				transform: translateY(-5px);
			}

			i {
				font-size: 2rem;
				margin-bottom: 1rem;
				color: var(--color-secondary);
			}
			h3 {
				margin-bottom: 0.5rem;
				color: var(--color-primary);
			}
		}
	}
}

/* How It Works */
.steps-grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;

	@media (min-width: 768px) {
		flex-direction: row;
		justify-content: space-between;
	}
}

.step {
	display: flex;
	align-items: flex-start;

	.step-icon {
		font-size: 2rem;
		color: var(--color-primary);
		margin-right: 1rem;
	}

	h4 {
		margin-bottom: 0.25rem;
		font-family: var(--font-heading);
	}
}

/* Testimonials */
.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.testimonial-item {
	background: var(--color-white);
	padding: 2rem;
	text-align: center;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);

	img {
		width: 60px;
		height: 60px;
		border-radius: 50%;
		object-fit: cover;
		margin-bottom: 1rem;
	}
}

blockquote {
	font-style: italic;
	margin-bottom: 1rem;
}

cite {
	display: block;
	font-weight: 600;
}

/* FAQ */
.faq-list {
	details {
		background: var(--color-white);
		padding: 1rem 1.5rem;
		margin-bottom: 1rem;
		border-radius: 5px;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
	}

	summary {
		font-weight: 600;
		cursor: pointer;
		list-style: none;
	}

	p {
		padding: 0.5rem 1.5rem;
		line-height: 1.5;
	}
}

/* Final CTA */
.final-cta {
	background: var(--color-white);
	text-align: center;
}

.download-buttons {
	margin-top: 1.5rem;

	.btn {
		margin: 0.5rem;
	}
}

/* Footer */
.site-footer {
	background: var(--color-secondary);
	color: var(--color-white);
	text-align: center;
	padding: 3rem 0;
	font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;

	a {
		color: #bbb;
		margin: 0 1rem;
		text-decoration: none;
		font-size: 0.9rem;
		&:hover {
			color: var(--color-white);
		}
	}
}
