/* Shared by every page: colours, nav, buttons, footer */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--green: #85bf38;
	--green-dark: #5e8a28;
	--green-dim: rgba(133, 191, 56, 0.12);
	--bg: #060d18;
	--surface: #0d1a2e;
	--surface2: #122038;
	--border: rgba(255, 255, 255, 0.09);
	--border-bright: rgba(133, 191, 56, 0.3);
	--text: #e8eef8;
	--muted: #7a8aaa;
	--bad: #ff8a8a;
	--font: "DM Sans", sans-serif;
	--mono: "DM Mono", monospace;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	min-height: 100vh;
	overflow-x: hidden;
}

/* PARTICLES */
#cvs {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

/* NAV */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 2.5rem;
	height: 60px;
	background: rgba(6, 13, 24, 0.88);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
}

.nav-links a {
	font-size: 14px;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s;
}

.nav-links a:hover {
	color: var(--text);
}

.nav-cta {
	background: var(--green) !important;
	color: #ffffff !important;
	padding: 7px 16px;
	border-radius: 7px;
	font-weight: 500;
	font-size: 14px !important;
	transition: opacity 0.2s !important;
}

.nav-cta:hover {
	opacity: 0.88;
}

/* HAMBURGER */
.nav-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 4px;
}

.nav-hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: all 0.2s;
}

.nav-dropdown {
	display: none;
	position: absolute;
	top: 60px;
	right: 1.25rem;
	background: var(--surface2);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0.5rem;
	min-width: 160px;
	z-index: 200;
}

.nav-dropdown a {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	color: var(--muted);
	text-decoration: none;
	border-radius: 7px;
	transition:
		background 0.2s,
		color 0.2s;
}

.nav-dropdown a:hover {
	background: var(--surface);
	color: var(--text);
}

.nav-dropdown a.nav-cta {
	color: #ffffff !important;
	background: var(--green);
	margin-top: 4px;
}

/* HERO */
.hero {
	padding: 100px 2.5rem 0px;
	margin: 0 auto;
	text-align: center;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--green-dim);
	border: 1px solid var(--border-bright);
	color: var(--green);
	font-size: 12px;
	font-weight: 500;
	padding: 5px 12px;
	border-radius: 100px;
	margin-bottom: 2rem;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.3;
	}
}

h1 {
	font-size: clamp(2.8rem, 8vw, 5.5rem);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -1.5px;
	margin-bottom: 1.25rem;
}

h1 em {
	font-style: normal;
	color: var(--green);
}

.hero-sub {
	font-size: 1.1rem;
	color: var(--muted);
	max-width: 800px;
	margin: 0 auto 2.5rem;
	line-height: 1.7;
}

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

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--green);
	color: #ffffff;
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	padding: 13px 24px;
	border-radius: 10px;
	border: 0;
	cursor: pointer;
	text-decoration: none;
	transition:
		opacity 0.2s,
		transform 0.15s;
}

.btn-primary:hover {
	opacity: 0.88;
	transform: translateY(-1px);
}

.btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: transparent;
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	font-weight: 500;
	padding: 12px 22px;
	border-radius: 10px;
	border: 1px solid var(--border);
	text-decoration: none;
	transition:
		border-color 0.2s,
		background 0.2s;
}

.btn-secondary:hover {
	border-color: var(--border-bright);
	background: var(--green-dim);
}

/* FEATURES */
.features {
	padding: 40px 2.5rem;
	max-width: 1100px;
	margin: 0 auto;
}

.section-label {
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--green);
	margin-bottom: 0.75rem;
}

.section-title {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 600;
	letter-spacing: -0.8px;
	margin-bottom: 3.5rem;
	max-width: 800px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5px;
	background: var(--surface2);
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--border);
}

.feature-card {
	background: var(--surface);
	padding: 2rem;
	transition: background 0.2s;
}

.feature-card:hover {
	background: var(--surface2);
}

.feature-icon {
	width: 40px;
	height: 40px;
	background: var(--green-dim);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.feature-icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--green);
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.feature-card h3 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 0.5rem;
	letter-spacing: -0.2px;
}

.feature-card p {
	font-size: 14px;
	color: var(--muted);
	line-height: 1.6;
}

/* FOOTER */
footer {
	border-top: 1px solid var(--border);
	padding: 2rem 2.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

footer p {
	font-size: 13px;
	color: var(--muted);
}

footer a {
	color: var(--muted);
	text-decoration: none;
	font-size: 13px;
}

footer a:hover {
	color: var(--text);
}

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

@media (max-width: 640px) {
	nav {
		padding: 0 1.25rem;
	}
	.nav-links {
		display: none;
	}
	.nav-hamburger {
		display: flex;
	}
	footer {
		padding: 1.5rem 1.25rem;
	}
}
