* {
	box-sizing: border-box;
}

:root {
	--primary: #46abb6;
	--text: #062543;
	--shadow: 0 3px 0 #226468;
	--shadow-hover: 0 5px 0 #226468;
	--shadow-active: 0 2px 0 #226468;
}

body {
	margin: 0;
	font-family: 'Inter', sans-serif;
	color: var(--text);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	text-wrap: pretty;
}

p {
	margin: 0;
	padding: 0;
	text-wrap: pretty;
}

.landing {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 1 0 auto;
	padding: 0;
	flex-direction: column;
}

.container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding: 0 1rem;
	max-width: 1600px;
	margin: 0 auto;
	width: 100%;
}

.content-section {
	min-width: 623px;
	width: 100%;
	flex: 1 1 45%;
	max-width: 800px;
	order: 1;
	padding: 0 20px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

h2 .heading {
	min-height: 80px;
}

.heading {
	font-size: clamp(32px, 7vw, 58px);
	display: flex;
	align-items: start;
	flex-wrap: wrap;
	text-wrap: nowrap;
	text-align: center;
	margin-bottom: 0rem;
	gap: 10px;
}

.logo {
	width: clamp(120px, 25vw, 253px);
}

.subheading {
	font-size: clamp(20px, 4vw, 28px);
	font-weight: 600;
	margin-top: -0.5rem;
	margin-bottom: 0;
}

.text {
	font-size: clamp(18px, 3.5vw, 22px);
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 0.625rem;
}

.link {
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
}

.features-heading {
	font-size: clamp(20px, 4vw, 28px);
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 15px;
}

.feature {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	text-align: left;
	height: 48px;
}

.feature img {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
	object-fit: contain;
	display: block;
}

.feature p {
	font-size: clamp(18px, 3.5vw, 22px);
	line-height: 1.4;
	font-weight: 600;
	margin: 0;
}

.image-section {
	position: relative;
	width: min(100%, 650px);
	aspect-ratio: 4/3;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 45%;
	order: 1;
	margin-left: auto;
}

.image-section img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	border-radius: 12px;
}

.image-section img.active {
	opacity: 1;
	position: relative;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: clamp(0.875rem, 2vw, 1rem);
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	border: none;
	margin-top: 0rem;
	font-size: 18px;
	padding: 15px 80px;
	border-radius: 8px;
	margin-bottom: 2rem;
	width: 70%;
	outline: none;
}

.btn-primary {
	background-color: #3da6ac;
	color: #fff;
	box-shadow: var(--shadow);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-hover);
}

.btn-primary:active {
	transform: translateY(1px);
	box-shadow: var(--shadow-active);
}

.toast {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background: #062543;
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0.75rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transform: translateY(20px);
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
	font-size: clamp(16px, 3vw, 22px);
	z-index: 9999;
}

.toast.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.popup-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.popup {
	background: #fff;
	border-radius: 12px;
	padding: 2rem;
	max-width: 550px;
	text-align: start;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
	position: relative;
	animation: fadeInUp 0.3s ease-out;
	margin: 1rem;
}

.popup-title {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 1rem;
	color: #062543;
}

.popup-text {
	font-size: 20px;
	margin-bottom: 1.5rem;
	line-height: 1.5;
}

.popup-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	margin-bottom: 2rem;
}

.popup-feature {
	display: flex;
	align-items: center;
	justify-content: start;
	gap: 0.75rem;
	margin-bottom: 0.25rem;
	text-align: start;
}

.popup-feature img {
	width: 34px;
	height: 34px;
	object-fit: contain;
}

.popup-feature span {
	font-size: 22px;
	display: flex;
	align-items: start;
	gap: 0.5rem;
	justify-content: start;
	font-weight: 600;
}

.popup-btn {
	width: 50%;
	font-size: 18px;
	padding: 0.8rem 0;
	border-radius: 8px;
	display: block;
	margin: 0 auto;
	margin-top: 1rem;
}

.popup-close {
	position: absolute;
	top: 12px;
	right: 12px;
	border: none;
	background: #f0f0f0;
	font-size: 20px;
	cursor: pointer;
	color: var(--text);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.25s ease;
}

.popup-close:hover {
	background: #e0e0e0;
	transform: scale(1.1);
}

.footer {
	text-align: center;
	padding: 1rem;
	background-color: #f9f9f9;
	border-top: 1px solid #ddd;
	flex-shrink: 0;
}

.footer p {
	margin: 0;
	font-size: 0.9rem;
}

.footer a {
	color: #46abb6;
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1100px) {
	.container {
		flex-direction: column;
		justify-content: start;
		align-items: start;
		text-align: start;
		gap: 2rem;
	}

	.content-section {
		flex: 1 1 100%;
		max-width: 100%;
		order: 1;
		padding: 20px;
	}

	.image-section {
		flex: 1 1 100%;
		max-width: 600px;
		order: 1;
		margin: 0 auto;
	}
}

/* Small tablets */
@media (max-width: 900px) and (min-width: 701px) {
	.landing {
		padding: 3rem 2rem;
	}

	.image-section {
		width: min(100%, 500px);
	}

	.content-section {
		padding: 20px;
	}
}

/* Mobile */
@media (max-width: 700px) {
	.landing {
		padding: 0rem;
	}

	.container {
		gap: 2rem;
		padding: 0;
	}
	.popup-features {
		grid-template-columns: 1fr;
		margin-bottom: 0;
	}

	.image-section {
		width: min(100%, 400px);
		aspect-ratio: 4/3;
	}

	.btn {
		width: 100%;
		padding: 15px 0;
	}

	.popup {
		width: 90%;
	}

	.popup-btn {
		width: 100%;
	}

	.content-section {
		flex: 1 1 100%;
		max-width: 100%;
		order: 1;
		padding: 20px;
		min-width: 0;
	}

	.toast {
		right: 1rem;
		left: 1rem;
		bottom: 1rem;
		text-align: center;
	}
}

/* Very small mobile */
@media (max-width: 400px) {
	.container {
		gap: 1.5rem;
	}

	.popup-features {
		grid-template-columns: 1fr;
		margin-bottom: 0;
	}

	.popup-btn {
		width: 100%;
	}

	.popup {
		background: #fff;
		border-radius: 12px;
		padding: 2rem;
		width: 80%;
	}
}

/* Desktop */
@media (min-width: 1101px) {
	.image-section {
		flex: 0 1 50%;
		max-width: 46%;
		margin: 0;
		width: min(100%, 700px);
		aspect-ratio: 1/1;
		align-self: stretch;
	}
}
