:root {
	--bg: #0b1410;
	--panel: #0f1f17;
	--muted: #8fb9a3;
	--text: #e9f5ee;
	--brand: #16a34a;
	--brand-2: #22c55e;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	--maxw: 1120px;
}

html,
body {
	margin: 0;
	padding: 0;
	background: linear-gradient(180deg, var(--bg), #092012);
	color: var(--text);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cairo, Helvetica, Arial, sans-serif;
	line-height: 1.7;
}

[dir="ltr"] body,
[dir="ltr"] .list {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
}

a {
	color: var(--brand-2);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.wrap {
	max-width: var(--maxw);
	margin-inline: auto;
	padding: 24px;
}

header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(150%) blur(8px);
	background: rgba(9, 21, 16, 0.7);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
	display: flex;
	align-items: center;
	gap: 18px;
	justify-content: space-between;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	letter-spacing: 0.4px;
}
.brand svg {
	width: 34px;
	height: 34px;
}
.menu {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}
.menu a {
	padding: 10px 14px;
	border-radius: 12px;
}
.menu a:hover {
	background: rgba(255, 255, 255, 0.06);
	text-decoration: none;
}
.btn {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 14px;
	background: var(--brand);
	color: #07130b;
	font-weight: 700;
	box-shadow: var(--shadow);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn:hover {
	transform: translateY(-1px);
	transition: 150ms ease;
	text-decoration: none;
	background: var(--brand-2);
}
.chip {
	padding: 8px 10px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.05);
	font-weight: 700;
	cursor: pointer;
}
.hero {
	padding: 56px 0;
	display: grid;
	gap: 22px;
	align-items: center;
}
.hero h1 {
	font-size: clamp(28px, 5vw, 44px);
	line-height: 1.2;
	margin: 0;
}
.hero p {
	margin: 0;
	color: var(--muted);
	font-size: clamp(15px, 2.2vw, 18px);
}
.hero-cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 8px;
}
.band {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-top: 18px;
}
.stat {
	background: linear-gradient(180deg, #10281f, #0c1d16);
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	text-align: center;
}
.stat b {
	display: block;
	font-size: 22px;
}
section {
	padding: 36px 0;
}
h2 {
	margin: 0 0 18px 0;
	font-size: clamp(22px, 3.8vw, 30px);
}
.grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}
.card {
	grid-column: span 6;
	background: var(--panel);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: var(--shadow);
}
.card h3 {
	margin: 0 0 6px 0;
	font-size: 20px;
}
.card p {
	margin: 0;
	color: var(--muted);
}
.tag {
	display: inline-block;
	font-size: 12px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.35);
	margin-bottom: 8px;
}
.cards-3 .card {
	grid-column: span 4;
}
.cards-2 .card {
	grid-column: span 6;
}
.highlight {
	border: 1px dashed rgba(255, 255, 255, 0.2);
	padding: 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.03);
}
.list {
	margin: 0;
	padding-inline-start: 18px;
}
.cta {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
	background: linear-gradient(135deg, rgba(22, 163, 74, 0.16), rgba(34, 197, 94, 0.06));
	border: 1px solid rgba(34, 197, 94, 0.35);
	padding: 20px;
	border-radius: var(--radius);
}
.footer {
	padding: 28px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #cfe7da;
}
.cols {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}
.col-4 {
	grid-column: span 4;
}
.col-6 {
	grid-column: span 6;
}
.col-8 {
	grid-column: span 8;
}
.muted {
	color: var(--muted);
}
.sep {
	height: 1px;
	background: rgba(255, 255, 255, 0.08);
	margin: 10px 0 18px;
}
@media (max-width: 900px) {
	.cards-3 .card {
		grid-column: span 6;
	}
	.band {
		grid-template-columns: repeat(2, 1fr);
	}
	.col-8,
	.col-6,
	.col-4 {
		grid-column: span 12;
	}
}
@media (max-width: 600px) {
	.cards-3 .card,
	.cards-2 .card,
	.card {
		grid-column: span 12;
	}
	.band {
		grid-template-columns: 1fr;
	}
}

/* Keep column/layout positions fixed across languages */
.grid,
.cols,
.band .menu {
	direction: ltr;
}

/* Restore text direction per page language inside the blocks */
[dir="rtl"] .grid .card,
[dir="rtl"] .cols > *,
[dir="rtl"] .band > * {
	direction: rtl;
	text-align: right;
}
[dir="rtl"] .menu a {
	direction: rtl;
	text-align: right;
}

[dir="ltr"] .grid .card,
[dir="ltr"] .cols > *,
[dir="ltr"] .band > * {
	direction: ltr;
	text-align: left;
}

/* If any two-up sections use .cards-2 / .cards-3, include them too */
.cards-2,
.cards-3 {
	direction: ltr;
}
[dir="rtl"] .cards-2 .card,
[dir="rtl"] .cards-3 .card {
	direction: rtl;
}
[dir="ltr"] .cards-2 .card,
[dir="ltr"] .cards-3 .card {
	direction: ltr;
}
