:root {
	--rk-blue: #008afc;
	--rk-blue-600: #0070d6;
	--rk-indigo: #4f2bd9;
	--rk-magenta: #e718a9;
	--rk-gold: #fdc632;
	--rk-navy: #071437;
	--text: #0f172a;
	--muted: #64748b;
	--border: #e2e8f0;
	--bg: #f5f7fb;
	--card: #ffffff;
	--radius: 16px;
	--shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.04);
	--font: "Inter", "Noto Sans Arabic", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

body[dir="rtl"] {
	text-align: right;
}

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

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

.wrap {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.nav {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(16px);
	background: rgba(255, 255, 255, 0.86);
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.brand img {
	height: 36px;
	width: auto;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
}

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

.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lang {
	display: inline-flex;
	border: 1px solid var(--border);
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}

.lang button {
	border: 0;
	background: transparent;
	padding: 7px 12px;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	cursor: pointer;
}

.lang button[aria-pressed="true"] {
	background: #e6f3ff;
	color: var(--rk-blue-600);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 14px;
	border: 0;
	cursor: pointer;
}

.btn-primary {
	color: #fff;
	background: linear-gradient(135deg, var(--rk-blue) 0%, var(--rk-indigo) 100%);
	box-shadow: 0 12px 24px -10px rgba(0, 138, 252, 0.55);
}

.btn-primary:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.btn-ghost {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(155deg, #071437 0%, #1a1d6b 42%, var(--rk-indigo) 78%, var(--rk-blue) 120%);
}

.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	pointer-events: none;
}

.hero-glow.one {
	top: -120px;
	right: -80px;
	width: 380px;
	height: 380px;
	background: rgba(231, 24, 169, 0.4);
}

.hero-glow.two {
	bottom: -140px;
	left: -80px;
	width: 420px;
	height: 420px;
	background: rgba(0, 138, 252, 0.4);
}

.hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 48px;
	align-items: center;
	padding: 72px 0 88px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 13px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.86);
}

.hero h1 {
	margin: 0 0 14px;
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.hero h1 .accent {
	background: linear-gradient(90deg, var(--rk-gold), var(--rk-magenta));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lede {
	margin: 0 0 28px;
	max-width: 540px;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.hero-card {
	padding: 28px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: var(--shadow);
}

.hero-card h2 {
	margin: 0 0 18px;
	font-size: 18px;
}

.hero-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero-card li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 14px;
	color: rgba(255, 255, 255, 0.92);
}

.hero-card li:last-child {
	margin-bottom: 0;
}

.icon {
	flex: 0 0 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.16);
}

.section {
	padding: 72px 0;
}

.section h2 {
	margin: 0 0 10px;
	font-size: clamp(28px, 3vw, 36px);
	letter-spacing: -0.03em;
}

.section > .wrap > p,
.section-intro {
	margin: 0 0 36px;
	max-width: 620px;
	color: var(--muted);
}

.demo-box {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	padding: 28px;
	border-radius: 20px;
	background: var(--card);
	border: 1px solid rgba(226, 232, 240, 0.8);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.demo-box dl {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	flex: 1;
}

.demo-box dt {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
}

.demo-box dd {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	word-break: break-all;
}

.demo-box a:not(.btn) {
	color: var(--rk-blue);
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.card {
	padding: 24px;
	border-radius: var(--radius);
	background: var(--card);
	border: 1px solid rgba(226, 232, 240, 0.8);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.card h3 {
	margin: 14px 0 8px;
	font-size: 18px;
}

.card p {
	margin: 0;
	color: var(--muted);
}

.card .icon {
	background: #e6f3ff;
	border-color: transparent;
	color: var(--rk-blue-600);
}

.cta {
	margin: 0 0 72px;
}

.cta-box {
	padding: 40px;
	border-radius: 24px;
	color: #fff;
	background: linear-gradient(135deg, var(--rk-blue) 0%, var(--rk-indigo) 55%, var(--rk-magenta) 120%);
	box-shadow: var(--shadow);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cta-box h2 {
	margin: 0 0 8px;
	color: #fff;
}

.cta-box p {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
}

.footer {
	padding: 28px 0 36px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 14px;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.footer a {
	color: var(--rk-blue);
	font-weight: 600;
}

.menu-toggle {
	display: none;
	border: 1px solid var(--border);
	background: #fff;
	border-radius: 10px;
	width: 40px;
	height: 40px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.hero-inner,
	.grid-3,
	.cta-box,
	.demo-box,
	.demo-box dl {
		grid-template-columns: 1fr;
		display: block;
	}

	.hero-card,
	.cta-box .btn {
		margin-top: 28px;
	}

	.nav-links {
		display: none;
	}

	.nav-links.open {
		display: flex;
		position: absolute;
		top: 72px;
		left: 20px;
		right: 20px;
		flex-direction: column;
		align-items: flex-start;
		padding: 16px;
		background: #fff;
		border: 1px solid var(--border);
		border-radius: 14px;
		box-shadow: var(--shadow);
	}

	.menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}
