@import url(https://fonts.googleapis.com/css?family=Quicksand:300,regular,500,600,700);

*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:focus {
	outline: none;
}

:root {
	font-family: "Quicksand", sans-serif;
	font-weight: 400;

	color-scheme: dark;

	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;

	--mint-glow: #74ff92;
	--graphite: #212224;
	--yale-blue: #284b63;
	--maya-blue: #7cc6fe;

	--card: rgba(255, 255, 255, 0.04);
	--card-border: rgba(255, 255, 255, 0.1);
	--card-hover: rgba(255, 255, 255, 0.07);
	--text-muted: #94a3b8;
	--text-light: #e2e8f0;
	--gradient: linear-gradient(135deg, var(--maya-blue), var(--mint-glow));
	--gradient-soft: linear-gradient(135deg, rgba(124, 198, 254, 0.2), rgba(116, 255, 146, 0.2));
	--shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.2);
	--shadow-glow: 0 0 60px rgba(116, 255, 146, 0.15);
	--transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;

	background-color: var(--graphite);
	color: white;
}

body {
	font-size: 1.6rem;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

main {
	flex-grow: 1;
}

h1 {
	font-size: 4.8rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

h2 {
	font-size: 3.2rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

h3 {
	font-size: 2rem;
	font-weight: 600;
}

h4 {
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--text-light);
}

p {
	line-height: 1.7;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	background: rgba(33, 34, 36, 0.8);
	border-bottom: 1px solid var(--card-border);
	transition: background 0.3s var(--transition-smooth);

	.container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 1.4rem 2.4rem;
		position: relative;

		@media (max-width: 768px) {
			padding: 1.2rem 1.6rem;
		}

		@media (max-width: 480px) {
			padding: 1rem 1.2rem;
		}
	}
}

.brand {
	display: flex;
	align-items: center;
	gap: 1.2rem;
}

svg.logo {
	width: 116px;
	height: auto;
	transition: filter 0.3s var(--transition-smooth);

	&:hover {
		filter: drop-shadow(0 0 6px rgba(116, 255, 146, 0.4));
	}

	@media (max-width: 480px) {
		width: 80px;
	}
}

.tag {
	color: var(--text-muted);
	font-size: 1.3rem;
	font-weight: 500;
}

.main-nav {
	ul {
		list-style: none;
		display: flex;
		align-items: center;
		gap: 1.6rem;
	}

	a {
		display: block;
		font-weight: 600;
		font-size: 1.4rem;
		padding: 0.8rem 1.2rem;
		border-radius: 8px;
		transition: all 0.2s var(--transition-smooth);

		&:hover {
			color: var(--mint-glow);
			background: rgba(116, 255, 146, 0.08);
		}
	}

	.cta {
		background: var(--mint-glow);
		color: #0f172a;
		padding: 0.8rem 1.6rem;
		border-radius: 999px;
		font-weight: 700;
		box-shadow: 0 4px 24px rgba(116, 255, 146, 0.3);

		&:hover {
			background: #5ef578;
			box-shadow: 0 8px 28px rgba(116, 255, 146, 0.4);
			color: #0b1728;
		}
	}
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: white;
	font-size: 2.4rem;
	cursor: pointer;
	padding: 0.8rem;
	transition: color 0.2s var(--transition-smooth);

	&:hover {
		color: var(--mint-glow);
	}

	i {
		pointer-events: none;
	}
}

.section {
	background-color: var(--graphite);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 1.2rem 2rem;
	border-radius: 12px;
	font-weight: 700;
	font-size: 1.5rem;
	border: 1px solid transparent;
	transition: all 0.25s var(--transition-smooth);
	cursor: pointer;
	position: relative;
	overflow: hidden;

	&.full {
		width: 100%;
	}

	&.primary {
		background: var(--mint-glow);
		color: #0f172a;
		box-shadow: 0 4px 24px rgba(116, 255, 146, 0.3);

		&:hover {
			background: #5ef578;
			box-shadow: 0 8px 32px rgba(116, 255, 146, 0.4);
		}
	}

	&.secondary {
		background: var(--maya-blue);
		color: #0b1728;
		box-shadow: 0 4px 24px rgba(124, 198, 254, 0.25);

		&:hover {
			background: #9dd5ff;
			box-shadow: 0 8px 32px rgba(124, 198, 254, 0.35);
		}
	}

	&.ghost {
		background: transparent;
		border-color: var(--card-border);
		color: white;

		&:hover {
			background: rgba(255, 255, 255, 0.1);
			border-color: var(--maya-blue);
		}
	}

	@media (max-width: 480px) {
		width: 100%;
	}
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2.4rem;
}

.site-footer {
	margin-top: auto;
	background: linear-gradient(180deg, rgba(40, 75, 99, 0.3) 0%, rgba(33, 34, 36, 0.95) 100%);
	backdrop-filter: blur(16px) saturate(180%);
	-webkit-backdrop-filter: blur(16px) saturate(180%);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 6rem 0 2rem;
	position: relative;
	overflow: hidden;

	.container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 2.4rem;
		position: relative;
		z-index: 1;
	}

	&::before {
		content: "";
		position: absolute;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		width: 100%;
		max-width: 1200px;
		height: 1px;
		background: linear-gradient(90deg, transparent, #74ff92, transparent);
		opacity: 0.3;
	}

	&::after {
		content: "";
		position: absolute;
		top: -50%;
		right: -10%;
		width: 500px;
		height: 500px;
		background: radial-gradient(circle, rgba(116, 255, 146, 0.08) 0%, transparent 70%);
		pointer-events: none;
	}
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 2fr;
	gap: 4rem;
	margin-bottom: 4rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;

	svg.logo {
		width: 160px;
		height: auto;
	}

	.tag {
		color: #94a3b8;
		font-size: 1.3rem;
		font-weight: 500;
	}

	.footer-description {
		color: #cbd5e1;
		font-size: 1.4rem;
		line-height: 1.6;
		max-width: 32ch;
		margin-top: 0.4rem;
	}
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;

	h4 {
		font-size: 1.4rem;
		font-weight: 700;
		margin-bottom: 1.4rem;
		color: #e2e8f0;
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}

	ul {
		list-style: none;
		display: flex;
		flex-direction: column;
		gap: 0.8rem;
	}

	a {
		color: #94a3b8;
		font-size: 1.4rem;
		transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;

		&:hover {
			color: #74ff92;
			transform: translateX(4px);
		}

		i {
			font-size: 1.6rem;
		}
	}
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.6rem;
	font-size: 1.3rem;
	color: #64748b;

	.footer-meta {
		display: flex;
		align-items: center;
		gap: 1.2rem;

		a {
			color: #94a3b8;
			transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1);

			&:hover {
				color: #74ff92;
			}
		}

		span {
			opacity: 0.3;
		}
	}
}

@media (max-width: 768px) {
	.site-footer {
		padding: 4rem 0 1.5rem;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}

	.footer-meta {
		gap: 0.8rem;
	}

	.brand {
		gap: 0.8rem;
	}

	svg.logo {
		width: 90px;
	}

	.main-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: rgba(33, 34, 36, 0.98);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		display: flex;
		align-items: center;
		justify-content: center;
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.3s var(--transition-smooth);
		z-index: 99;

		&.active {
			opacity: 1;
			pointer-events: all;
		}

		ul {
			flex-direction: column;
			text-align: center;
			width: 100%;
			padding: 0 2.4rem;

			li {
				width: 100%;
			}
		}

		a {
			font-size: 2rem;
			padding: 1.2rem 2.4rem;
			width: 100%;
		}

		.cta {
			padding: 1.2rem 2.4rem;
			border-radius: 8px;
			background-color: transparent;
			color: inherit;
			box-shadow: none;

			&:hover {
				background-color: rgba(116, 255, 146, 0.08);
				color: var(--mint-glow);
				box-shadow: none;
			}
		}
	}

	.menu-toggle {
		display: block;
		z-index: 100;
	}
}

@media (max-width: 480px) {
	.site-footer {
		padding: 3rem 0 1rem;
	}

	.site-footer .container {
		padding: 0 1.6rem;
	}

	.footer-links {
		grid-template-columns: 1fr;
	}
}
