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

:root {
	--slate-lightest: #f1f5f9;
	--slate-lighter: #cbd5e1;
	--slate-light: #94a3b8;
	--slate: #64748b;
	--slate-dark: #475569;
	--slate-darker: #334155;
	--orange-lighter: #fcd9c8;
	--orange-light: #f59564;
	--orange: #F16822;
	--orange-dark: #b54e1a;
	--orange-darker: #763311;
	--white: #ffffff;
	--bg-light: #f8fafc;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--slate-darker);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	text-decoration: none;
}

/* ---- Navigation ---- */

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 2rem;
	background: var(--white);
	border-bottom: 1px solid var(--slate-lightest);
	position: sticky;
	top: 0;
	z-index: 100;
}

.nav-logo img {
	height: 2.5rem;
	display: block;
}

.nav-actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.lang-select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: none;
	padding: 0.3rem 1.4rem 0.3rem 0.2rem;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--slate);
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.2rem center;
	transition: color 0.2s ease;
	border-right: 1px solid var(--slate-lighter);
	padding-right: 1.6rem;
	margin-right: 0.25rem;
}

.lang-select:hover {
	color: var(--slate-darker);
}

.lang-select:focus {
	outline: none;
	color: var(--slate-darker);
}

/* ---- Buttons ---- */

.btn {
	display: inline-block;
	padding: 0.6rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: all 0.2s ease;
	cursor: pointer;
	border: none;
	line-height: 1.4;
}

.btn-outline {
	color: var(--slate-dark);
	border: 1.5px solid var(--slate-lighter);
	background: transparent;
}

.btn-outline:hover {
	border-color: var(--slate-dark);
	color: var(--slate-darker);
}

.btn-primary {
	background: var(--orange);
	color: var(--white);
	border: 1.5px solid var(--orange);
}

.btn-primary:hover {
	background: var(--orange-dark);
	border-color: var(--orange-dark);
}

.btn-lg {
	padding: 0.85rem 2.25rem;
	font-size: 1rem;
}

.btn-hero-secondary {
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--white);
}

.btn-hero-secondary:hover {
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--white);
}

/* ---- Hero ---- */

.hero {
	background: linear-gradient(135deg, var(--slate-darker) 0%, var(--slate-dark) 50%, var(--slate) 100%);
	color: var(--white);
	padding: 6rem 2rem;
	text-align: center;
}

.hero-content {
	max-width: 48rem;
	margin: 0 auto;
}

.hero h1 {
	font-size: 3.25rem;
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 1.5rem;
	letter-spacing: -0.02em;
}

.hero h1 .accent {
	color: var(--orange);
}

.hero p {
	font-size: 1.2rem;
	color: var(--slate-lighter);
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ---- Features ---- */

.features {
	padding: 5rem 2rem;
	background: var(--bg-light);
}

.features-inner {
	max-width: 72rem;
	margin: 0 auto;
}

.features-header {
	text-align: center;
	margin-bottom: 3.5rem;
}

.features-header h2 {
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--slate-darker);
	margin-bottom: 1rem;
	letter-spacing: -0.01em;
}

.features-header p {
	font-size: 1.1rem;
	color: var(--slate);
	max-width: 36rem;
	margin: 0 auto;
}

.features-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.75rem;
}

.feature-card {
	flex: 0 1 calc((100% - 2 * 1.75rem) / 3);
	background: var(--white);
	border-radius: 0.75rem;
	padding: 2rem;
	border: 1px solid var(--slate-lightest);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(51, 65, 85, 0.08);
}

.feature-icon {
	width: 3.75rem;
	height: 3.75rem;
	background: var(--orange-lighter);
	border-radius: 0.8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.feature-icon svg {
	width: 2.75rem;
	height: 2.75rem;
	stroke: var(--orange-dark);
	fill: none;
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.feature-icon--fill svg {
	fill: var(--orange-dark);
	stroke: none;
	width: 2.75rem;
	height: 2.75rem;
}

.feature-card h3 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--slate-darker);
	margin-bottom: 0.5rem;
}

.feature-card p {
	font-size: 0.95rem;
	color: var(--slate);
	line-height: 1.6;
}

/* ---- Footer ---- */

.footer {
	background: var(--slate-darker);
	color: var(--slate-lighter);
	padding: 2.5rem 2rem;
}

.footer-inner {
	max-width: 72rem;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.footer-brand {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--white);
	letter-spacing: -0.01em;
}

.footer-links {
	display: flex;
	gap: 2rem;
}

.footer-links a {
	color: var(--slate-light);
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--white);
}

.footer-copy {
	width: 100%;
	text-align: center;
	font-size: 0.8rem;
	color: var(--slate);
	margin-top: 1rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(148, 163, 184, 0.15);
}

/* ---- Responsive ---- */

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

	.hero h1 {
		font-size: 2.25rem;
	}

	.hero p {
		font-size: 1.05rem;
	}

	.features {
		padding: 3.5rem 1.5rem;
	}

	.feature-card {
		flex-basis: calc((100% - 1.75rem) / 2);
	}

	.footer-inner {
		flex-direction: column;
		text-align: center;
	}

	.footer-links {
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.nav {
		padding: 0.75rem 1rem;
	}

	.nav-logo img {
		height: 2rem;
	}

	.nav-actions .btn {
		display: none;
	}

	.btn {
		padding: 0.5rem 1.1rem;
		font-size: 0.85rem;
	}

	.btn-lg {
		padding: 0.75rem 1.75rem;
		font-size: 0.95rem;
	}

	.hero {
		padding: 3rem 1.25rem;
	}

	.hero h1 {
		font-size: 1.85rem;
	}

	.feature-card {
		flex-basis: 100%;
	}
}

@media (max-width: 480px) {
	.footer-links {
		gap: 1.25rem;
	}

	.footer-links a {
		font-size: 0.8rem;
	}
}
