/* ERPCloud AI — landing page */

:root {
	--blue: #0289f7;
	--blue-600: #0270cc;
	--orange: #f7a21b;
	--orange-600: #e08a00;
	--up: #12a150;

	--bg: #f6f8fc;
	--bg-alt: #eef3fa;
	--surface: #ffffff;
	--surface-2: #f3f6fb;
	--text: #0b1422;
	--muted: #556178;
	--border: #e2e8f1;
	--shadow: 0 1px 2px rgba(11, 20, 34, .04), 0 12px 32px -12px rgba(11, 20, 34, .14);
	--shadow-lg: 0 30px 80px -24px rgba(2, 60, 120, .35);
	--glow-a: rgba(2, 137, 247, .18);
	--glow-b: rgba(247, 162, 27, .16);
	--grad: linear-gradient(120deg, var(--blue) 0%, #38a8ff 45%, var(--orange) 100%);

	--radius: 18px;
	--radius-sm: 12px;
	--font: "Tajawal", "Inter", system-ui, sans-serif;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #060b14;
		--bg-alt: #09111e;
		--surface: #0d1626;
		--surface-2: #121d31;
		--text: #e9eef6;
		--muted: #98a5ba;
		--border: #1d2a40;
		--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
		--shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, .8);
		--glow-a: rgba(2, 137, 247, .22);
		--glow-b: rgba(247, 162, 27, .12);
		--up: #3ddc84;
		color-scheme: dark;
	}
}

:root[data-theme="dark"] {
	--bg: #060b14;
	--bg-alt: #09111e;
	--surface: #0d1626;
	--surface-2: #121d31;
	--text: #e9eef6;
	--muted: #98a5ba;
	--border: #1d2a40;
	--shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .6);
	--shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, .8);
	--glow-a: rgba(2, 137, 247, .22);
	--glow-b: rgba(247, 162, 27, .12);
	--up: #3ddc84;
	color-scheme: dark;
}

html[data-lang="en"] { --font: "Inter", "Tajawal", system-ui, sans-serif; }

/* language switching: both languages are rendered, one is hidden */
html[data-lang="ar"] [lang="en"]:not(html),
html[data-lang="en"] [lang="ar"]:not(html) { display: none !important; }

/* theme-dependent icons */
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: inline-flex; }
:root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .only-dark { display: inline-flex; }
	:root:not([data-theme="light"]) .only-light { display: none; }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background-color .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
html[data-lang="en"] h1, html[data-lang="en"] h2 { letter-spacing: -.025em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
.ico { flex: none; }
html[dir="rtl"] .icon-flip, html[dir="rtl"] .btn .ico:last-child:not(:first-child) { transform: scaleX(-1); }

.container { width: 100%; padding-inline: clamp(24px, 4vw, 64px); }
.container--narrow { max-width: 820px; margin-inline: auto; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 42px; padding-inline: 18px; border-radius: 12px; border: 1px solid transparent;
	font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer;
	transition: transform .15s, background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { height: 52px; padding-inline: 24px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -8px rgba(2, 137, 247, .7); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: var(--surface); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.icon-btn {
	width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px;
	border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-weight: 800; font-size: 14px;
	transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Nav ---------- */
.nav {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--bg) 78%, transparent);
	backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { height: 32px; width: auto; }
.brand__ai {
	font-family: "Inter", sans-serif; font-weight: 800; font-size: 13px; color: #fff;
	background: var(--grad); padding: 3px 8px; border-radius: 7px; letter-spacing: .04em;
}
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.show-sm { display: none; }

@media (max-width: 1060px) {
	.nav__links {
		position: absolute; inset-inline: 0; top: 72px; flex-direction: column; gap: 0;
		background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
		box-shadow: var(--shadow); display: none;
	}
	.nav__links.is-open { display: flex; }
	.nav__links a { padding: 12px; font-size: 16px; }
	.nav__actions { margin-inline-start: auto; }
	.show-sm { display: inline-grid; }
}
@media (max-width: 640px) {
	.hide-sm { display: none; }
	.brand img { height: 26px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero__glow {
	position: absolute; inset: -20% -10% auto; height: 720px; pointer-events: none; z-index: -1;
	background:
		radial-gradient(40% 50% at 25% 30%, var(--glow-a), transparent 70%),
		radial-gradient(35% 45% at 80% 20%, var(--glow-b), transparent 70%);
}
.hero__glow::after {
	content: ""; position: absolute; inset: 0;
	background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 48px 48px; opacity: .45;
	mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 75%);
	-webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--border); color: var(--blue); font-weight: 700; font-size: 14px;
	box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero h1 em i { font-style: normal; color: var(--orange); }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.hero__ticks li { display: inline-flex; align-items: center; gap: 6px; }
.hero__ticks .ico { color: var(--up); }

.hero__visual { position: relative; padding: 28px 12px; }
.mock {
	background: var(--surface); border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.dot:nth-child(1) { background: #ff5f57; } .dot:nth-child(2) { background: #febc2e; } .dot:nth-child(3) { background: #28c840; }
.mock__title { margin-inline-start: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
.mock__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 92%; border-radius: 16px; padding: 12px 16px; font-size: 15px; }
.msg--user { align-self: flex-end; background: var(--blue); color: #fff; border-end-end-radius: 4px; }
.msg--ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-end-start-radius: 4px; width: 92%; }
.msg__head { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; color: var(--blue); margin-bottom: 6px; }
.msg p { margin-bottom: 10px; }
.up { color: var(--up); font-weight: 800; }
.chart { width: 100%; height: auto; }
.chart__grid line { stroke: var(--border); stroke-dasharray: 3 4; }
.chart__prev rect { fill: color-mix(in srgb, var(--muted) 30%, transparent); }
.chart__now rect { fill: var(--blue); transform-origin: bottom; transform-box: fill-box; animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
.chart__now rect:nth-child(1) { fill: var(--orange); }
.chart__now rect:nth-child(2) { animation-delay: .08s; } .chart__now rect:nth-child(3) { animation-delay: .16s; }
.chart__now rect:nth-child(4) { animation-delay: .24s; } .chart__now rect:nth-child(5) { animation-delay: .32s; }
@keyframes grow { from { transform: scaleY(0); } }
.msg__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.composer { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--border); border-radius: 14px; padding-block: 10px; padding-inline: 16px 10px; background: var(--surface); }
.composer__ph { color: var(--muted); font-size: 14.5px; min-height: 1.4em; }
.composer__ph::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--blue); margin-inline-start: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer__send { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; }
html[dir="rtl"] .composer__send .ico { transform: scaleX(-1); }

.float {
	position: absolute; background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
	box-shadow: var(--shadow-lg); padding: 12px 16px; animation: bob 6s ease-in-out infinite;
}
.float small { display: block; color: var(--muted); font-size: 12.5px; }
.float strong { display: block; font-size: 15px; }
.float--kpi { top: -8px; inset-inline-end: -18px; }
.float--kpi strong { font-family: "Inter", sans-serif; font-size: 22px; font-weight: 800; }
.float--kpi .up { font-size: 13px; }
.float--alert { bottom: -22px; inset-inline-start: -18px; display: flex; gap: 10px; align-items: center; animation-delay: -3s; }
.float__icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange-600); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.strip {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 64px; padding-block: 22px;
	border-block: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: 15px;
}
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip .ico { color: var(--blue); }

@media (max-width: 960px) {
	.hero { padding-top: 40px; }
	.hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.float--kpi { inset-inline-end: 0; }
	.float--alert { inset-inline-start: 0; }
}
@media (max-width: 480px) {
	.float--alert { display: none; }
	.hero__cta .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section__head h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin: 12px 0 14px; }
.section__head p { color: var(--muted); font-size: 18px; }
.eyebrow {
	display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--blue);
	padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 10%, transparent);
}
html[data-lang="en"] .eyebrow { text-transform: uppercase; font-size: 12.5px; }
@media (max-width: 640px) { .section { padding: 72px 0; } .section__head { margin-bottom: 40px; } }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue) 35%, var(--border)); }
.card--half { grid-column: span 2; }
.card--wide { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; background:
	radial-gradient(80% 60% at 100% 0%, var(--glow-a), transparent 70%), var(--surface); }
.card__icon {
	width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
	color: var(--blue); background: color-mix(in srgb, var(--blue) 11%, transparent);
}
.card:nth-child(3n+2) .card__icon { color: var(--orange-600); background: color-mix(in srgb, var(--orange) 15%, transparent); }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card--wide h3 { font-size: 26px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card--wide p { font-size: 17px; max-width: 480px; }
.examples { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.examples span {
	align-self: flex-start; padding: 10px 16px; border-radius: 14px; font-size: 15px; font-weight: 500;
	background: var(--surface-2); border: 1px solid var(--border);
}
.examples span:nth-of-type(odd) { margin-inline-start: 24px; }
@media (max-width: 1060px) { .bento { grid-template-columns: repeat(2, 1fr); } .card--wide { grid-row: auto; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .card--wide, .card--half { grid-column: auto; grid-row: auto; } .examples span:nth-of-type(odd) { margin-inline-start: 0; } }

/* Solutions tabs */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
	display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--border); background: var(--surface); font-weight: 700; font-size: 15.5px; color: var(--muted);
	transition: all .2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.panel {
	display: none; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
	background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 40px; box-shadow: var(--shadow);
}
.panel.is-active { display: grid; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; font-weight: 500; }
.checklist--plain li { font-size: 15.5px; font-weight: 400; }
.check {
	flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; margin-top: 1px;
	color: #fff; background: var(--blue);
}
.checklist--plain .check { width: 22px; height: 22px; border-radius: 7px; background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.panel__art { display: grid; gap: 18px; justify-items: center; }
.gauge { position: relative; width: 170px; }
.gauge svg { transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 10; }
.gauge__bg { stroke: var(--surface-2); }
.gauge__fg { stroke: var(--blue); stroke-linecap: round; transition: stroke-dasharray 1s; }
.gauge strong { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Inter", sans-serif; font-size: 40px; font-weight: 800; }
.spark { width: 100%; max-width: 320px; height: 70px; }
.spark svg { width: 100%; height: 100%; }
.spark path { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@media (max-width: 800px) { .panel { grid-template-columns: 1fr; padding: 24px; } .panel__art { display: none; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.step__num {
	position: absolute; top: 18px; inset-inline-end: 20px; font-family: "Inter", sans-serif; font-weight: 800; font-size: 44px; line-height: 1;
	color: transparent; -webkit-text-stroke: 1.5px var(--border);
}
.step__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 20px; }
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Security (always dark) */
.section--dark {
	background:
		radial-gradient(50% 60% at 15% 0%, rgba(2, 137, 247, .25), transparent 70%),
		radial-gradient(40% 50% at 100% 100%, rgba(247, 162, 27, .14), transparent 70%),
		#050a13;
	color: #e9eef6;
}
.section--dark .section__head p { color: #98a5ba; }
.section--dark .eyebrow { color: #62b8ff; background: rgba(2, 137, 247, .16); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec { border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); border-radius: var(--radius); padding: 28px; transition: border-color .25s, background-color .25s; }
.sec:hover { border-color: rgba(2, 137, 247, .5); background: rgba(2, 137, 247, .06); }
.sec__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px; color: #62b8ff; background: rgba(2, 137, 247, .14); }
.sec h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.sec p { color: #98a5ba; font-size: 15.5px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

/* Mobile */
.mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mobile__copy h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; margin: 12px 0 14px; }
.mobile__copy > p { color: var(--muted); font-size: 18px; margin-bottom: 26px; }
.mobile__download { margin-top: 28px; }
.mobile__copy > .mobile__meta { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.phone {
	justify-self: center; width: 300px; height: 600px; border-radius: 48px; padding: 12px;
	background: linear-gradient(160deg, #1a2436, #0a0f1a); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .06);
}
.phone__screen {
	height: 100%; border-radius: 38px; padding: 64px 14px 14px; display: flex; flex-direction: column; gap: 10px;
	background: radial-gradient(90% 60% at 30% 10%, rgba(2, 137, 247, .55), transparent 70%), radial-gradient(70% 50% at 90% 90%, rgba(247, 162, 27, .45), transparent 70%), #0b1320;
	position: relative; overflow: hidden;
}
.phone__time { position: absolute; top: 22px; inset-inline: 0; text-align: center; color: #fff; font-family: "Inter", sans-serif; font-weight: 700; font-size: 44px; opacity: .92; }
.phone__screen .phone__time + .notif { margin-top: 70px; }
.notif {
	background: rgba(255, 255, 255, .88); color: #0b1422; border-radius: 18px; padding: 11px 14px;
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: slide .7s cubic-bezier(.2, .8, .2, 1) both;
}
.notif:nth-child(3) { animation-delay: .15s; } .notif:nth-child(4) { animation-delay: .3s; }
.notif__app { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #556178; margin-bottom: 2px; }
.notif strong { display: block; font-size: 14px; }
.notif small { display: block; font-size: 12.5px; color: #556178; }
@keyframes slide { from { opacity: 0; transform: translateY(12px); } }
@media (max-width: 900px) { .mobile { grid-template-columns: 1fr; } .phone { width: 270px; height: 540px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--blue) 45%, var(--border)); }
.faq summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; list-style: none;
	padding: 20px 0; font-weight: 700; font-size: 17.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__plus { color: var(--blue); transition: transform .25s; }
.faq details[open] .faq__plus { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; }

/* CTA / form */
.cta {
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; border-radius: 28px; padding: 56px;
	background:
		radial-gradient(60% 80% at 0% 0%, rgba(2, 137, 247, .35), transparent 70%),
		radial-gradient(50% 70% at 100% 100%, rgba(247, 162, 27, .25), transparent 70%),
		#07101d;
	color: #e9eef6; box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-bottom: 14px; }
.cta__copy > p { color: #aab6c9; font-size: 18px; }
.cta__contact { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.cta__contact li { display: flex; align-items: center; gap: 10px; color: #cfd8e6; }
.cta__contact .ico { color: var(--orange); }
.cta__contact a:hover { color: #fff; text-decoration: underline; }
.form { display: grid; gap: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 28px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: #cfd8e6; }
.form input, .form textarea {
	width: 100%; font: inherit; font-size: 16px; color: #fff; background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background-color .2s;
}
html[dir="rtl"] .form input[dir="ltr"] { text-align: right; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: rgba(2, 137, 247, .08); }
.form input[aria-invalid="true"] { border-color: #ff6b6b; }
.form textarea { resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__msg { min-height: 1.4em; font-size: 15px; font-weight: 600; text-align: center; }
.form__msg.is-ok { color: #3ddc84; } .form__msg.is-err { color: #ff8a8a; }
.form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 32px 22px; } }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } .form { padding: 20px; } }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 28px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer__brand { max-width: 380px; }
.footer__brand img { height: 30px; width: auto; margin-bottom: 12px; }
.footer__brand p { color: var(--muted); font-size: 15px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-weight: 500; }
.footer__links a:hover { color: var(--blue); }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); color: var(--muted); transition: all .2s; }
.footer__social a:hover { color: var(--blue); border-color: var(--blue); }
.footer__copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; text-align: center; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
