/* ==========================================================================
   BCM CRM Marketing — public landing page & content pages
   Brand: Blue #0175FE · Royal #0032E3 · Night #050A26 · Font: Alexandria
   ========================================================================== */

:root {
	--brand: #0175FE;
	--brand-2: #0032E3;
	--sky: #5BA8FF;
	--night: #050A26;
	--ink: #0B1230;
	--muted: #5A6587;
	--line: #E2EAFB;
	--mist: #F3F7FF;
	--paper: #fff;
	--grad: linear-gradient(118deg, var(--brand) 0%, var(--brand-2) 100%);
	--grad-night: linear-gradient(165deg, var(--night) 0%, #0A1240 70%, #061059 100%);
	--radius: 20px;
	--shadow: 0 1px 2px rgba(11, 18, 48, .04), 0 12px 32px rgba(11, 18, 48, .08);
	--font: "Alexandria", "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ld-body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.8; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 .5em; color: inherit; }
.bc-i { flex-shrink: 0; }
[dir="rtl"] .ld-btn .bc-i, [dir="rtl"] .ld-link .bc-i { transform: scaleX(-1); }
:focus-visible { outline: 3px solid rgba(91, 168, 255, .7); outline-offset: 3px; border-radius: 6px; }
.ld-wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.ld-skip { position: absolute; inset-inline-start: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.ld-skip:focus { inset-inline-start: 8px; }

/* Buttons */
.ld-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.3; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .25s, background .25s, color .25s, border-color .25s; white-space: nowrap; }
.ld-btn:hover { transform: translateY(-2px); }
.ld-btn--primary { background: var(--grad); color: #fff; box-shadow: 0 12px 28px rgba(1, 117, 254, .35); }
.ld-btn--primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(1, 117, 254, .45); }
.ld-btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.ld-btn--ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.ld-btn--ghost-dark { border-color: var(--line); color: var(--ink); background: #fff; }
.ld-btn--light { background: #fff; color: var(--brand-2); }
.ld-btn--light:hover { color: var(--brand); }
.ld-btn--sm { padding: 9px 18px; font-size: 14px; }
.ld-btn--lg { padding: 15px 30px; font-size: 16px; }
.ld-btn--block { width: 100%; }
.ld-btn.is-loading { opacity: .7; pointer-events: none; }
.ld-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }

/* Header */
.ld-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, padding .3s; padding: 14px 0; }
.ld-header__inner { display: flex; align-items: center; gap: 24px; }
.ld-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.ld-logo img { height: 44px; width: auto; display: block; }
.ld-logo__color { display: none !important; }
.ld-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.ld-nav a { color: rgba(255, 255, 255, .82); font-weight: 500; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.ld-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ld-header__actions { display: flex; align-items: center; gap: 10px; }
.ld-lang { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }
.ld-lang:hover { color: #fff; border-color: rgba(255, 255, 255, .45); }
.ld-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.ld-burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.ld-header.is-scrolled, .is-inner .ld-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(11, 18, 48, .06); padding: 8px 0; }
.ld-header.is-scrolled .ld-logo__light, .is-inner .ld-header .ld-logo__light { display: none !important; }
.ld-header.is-scrolled .ld-logo__color, .is-inner .ld-header .ld-logo__color { display: block !important; }
.ld-header.is-scrolled .ld-nav a, .is-inner .ld-header .ld-nav a { color: var(--muted); }
.ld-header.is-scrolled .ld-nav a:hover, .is-inner .ld-header .ld-nav a:hover { color: var(--brand); background: var(--mist); }
.ld-header.is-scrolled .ld-lang, .is-inner .ld-header .ld-lang { color: var(--ink); border-color: var(--line); }
.ld-header.is-scrolled .ld-burger, .is-inner .ld-header .ld-burger { border-color: var(--line); }
.ld-header.is-scrolled .ld-burger span, .is-inner .ld-header .ld-burger span { background: var(--ink); }

/* Hero */
.ld-hero { position: relative; overflow: hidden; background: var(--grad-night); color: #fff; padding: 150px 0 110px; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.ld-hero > .ld-wrap { flex: 1; }
.ld-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); z-index: -1; }
.ld-hero__orb { position: absolute; border-radius: 50%; filter: blur(10px); z-index: -1; }
.ld-hero__orb--1 { width: 520px; height: 520px; inset-inline-end: -120px; top: -160px; background: radial-gradient(circle at 32% 28%, rgba(91, 168, 255, .55), rgba(1, 117, 254, .35) 45%, rgba(0, 50, 227, 0) 70%); }
.ld-hero__orb--2 { width: 420px; height: 420px; inset-inline-start: -160px; bottom: -200px; background: radial-gradient(circle, rgba(0, 50, 227, .55), rgba(0, 50, 227, 0) 70%); }
.ld-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.ld-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; color: var(--sky); margin-bottom: 22px; }
.ld-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 20px; }
[dir="rtl"] .ld-hero h1 { letter-spacing: 0; line-height: 1.35; }
.ld-lead { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 580px; margin: 0 0 32px; }
.ld-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ld-stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 36px; flex-wrap: wrap; }
.ld-stats li { display: grid; gap: 2px; }
.ld-stats strong { font-size: 28px; font-weight: 800; background: linear-gradient(120deg, #fff, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ld-stats span { font-size: 13px; color: rgba(255, 255, 255, .65); }

/* Hero mock */
.ld-mock { position: relative; border-radius: 24px; padding: 20px; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); animation: ld-float 7s ease-in-out infinite; }
[dir="rtl"] .ld-mock { transform: perspective(1200px) rotateY(8deg) rotateX(4deg); }
@keyframes ld-float { 50% { translate: 0 -10px; } }
.ld-mock__top { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.ld-mock__top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.ld-mock__top span:first-child { background: #FF5F57; }
.ld-mock__top span:nth-child(2) { background: #FEBC2E; }
.ld-mock__top span:nth-child(3) { background: #28C840; }
.ld-mock__top em { margin-inline-start: auto; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .6); }
.ld-mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.ld-mock__kpis div { background: rgba(5, 10, 38, .45); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 12px; display: grid; gap: 2px; }
.ld-mock__kpis small { font-size: 11px; color: rgba(255, 255, 255, .6); }
.ld-mock__kpis b { font-size: 20px; font-weight: 800; }
.ld-mock__kpis i { font-style: normal; font-size: 11px; color: #4ADE80; font-weight: 600; }
.ld-mock__chart { height: 130px; display: flex; align-items: flex-end; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(5, 10, 38, .45); border: 1px solid rgba(255, 255, 255, .08); margin-bottom: 14px; }
.ld-mock__chart span { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--grad); opacity: .9; transform-origin: bottom; animation: ld-grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.ld-mock__chart span:nth-child(even) { background: linear-gradient(180deg, var(--sky), var(--brand)); }
@keyframes ld-grow { from { transform: scaleY(0); } }
.ld-mock__rows { display: grid; gap: 8px; }
.ld-mock__rows p { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.ld-mock__rows b { width: 8px; height: 8px; border-radius: 50%; }
.ld-mock__rows em { margin-inline-start: auto; font-style: normal; font-size: 11px; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.t-green { background: #22C55E; }
.t-blue { background: var(--sky); }

/* Sections */
.ld-section { padding: 100px 0; scroll-margin-top: 70px; }
.ld-section--mist { background: var(--mist); }
.ld-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.ld-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.ld-head p { color: var(--muted); margin: 0; }
.ld-kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); background: rgba(1, 117, 254, .08); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.ld-kicker--light { color: var(--sky); background: rgba(91, 168, 255, .12); }

/* Services */
.ld-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.ld-service { --c: var(--brand); position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.ld-service::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--c); opacity: .85; }
.ld-service:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(11, 18, 48, .12); border-color: color-mix(in srgb, var(--c) 35%, var(--line)); }
.ld-service__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 8px; }
.ld-service h3 { font-size: 18px; margin: 0; }
.ld-service p { color: var(--muted); font-size: 14.5px; margin: 0; flex: 1; }
.ld-service footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.ld-service__price { font-size: 13px; color: var(--muted); }
.ld-service__price b { color: var(--ink); font-size: 17px; }

/* Steps */
.ld-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.ld-steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.ld-steps__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 16px; box-shadow: 0 10px 22px rgba(1, 117, 254, .3); }
.ld-steps h3 { font-size: 17px; }
.ld-steps p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Portal band */
.ld-portal { background: var(--grad-night); color: #fff; position: relative; overflow: hidden; }
.ld-portal::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; inset-inline-start: -200px; top: -260px; background: radial-gradient(circle, rgba(1, 117, 254, .35), transparent 65%); }
.ld-portal__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ld-portal h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.ld-portal p { color: rgba(255, 255, 255, .75); margin-bottom: 28px; }
.ld-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ld-features li { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ld-features li > span { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); }
.ld-features h3 { font-size: 16px; margin-bottom: 4px; }
.ld-features p { margin: 0; font-size: 14px; }

/* Request form */
.ld-request { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.ld-request__intro h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.ld-request__intro p { color: var(--muted); }
.ld-checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ld-checks li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.ld-checks .bc-i { color: #fff; background: var(--grad); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.ld-form { position: relative; display: grid; gap: 16px; padding: 32px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(11, 18, 48, .1); }
.ld-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ld-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.ld-form input, .ld-form select, .ld-form textarea { width: 100%; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s; }
.ld-form textarea { resize: vertical; }
.ld-form input:focus, .ld-form select:focus, .ld-form textarea:focus { outline: 0; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(1, 117, 254, .12); }
.ld-form input[dir="ltr"] { text-align: start; }
[dir="rtl"] .ld-form input[dir="ltr"] { text-align: right; }
.ld-form .is-invalid { border-color: #E02424; box-shadow: 0 0 0 4px rgba(224, 36, 36, .1); }
.ld-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ld-form__note { margin: 0; min-height: 1em; font-size: 14px; color: #E02424; text-align: center; }
.ld-form__success { position: absolute; inset: 0; border-radius: 24px; background: #fff; display: grid; place-content: center; text-align: center; padding: 32px; gap: 6px; animation: ld-pop .4s ease both; }
.ld-form__success[hidden] { display: none; }
.ld-form__success > span { margin: 0 auto 10px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #22C55E, #0E9F6E); box-shadow: 0 16px 36px rgba(14, 159, 110, .35); }
.ld-form__success p { color: var(--muted); margin: 0; }
@keyframes ld-pop { from { opacity: 0; transform: scale(.96); } }

/* Footer */
.ld-footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 56px 0 24px; }
.ld-footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ld-footer__brand img { height: 40px; width: auto; }
.ld-footer__brand p { max-width: 420px; margin: 14px 0 0; font-size: 14px; }
.ld-footer__contact { display: grid; gap: 10px; align-content: start; }
.ld-footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); font-size: 14px; }
.ld-footer__contact a:hover { color: #fff; }
.ld-footer__bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 13px; flex-wrap: wrap; }
.ld-footer__bottom a { color: rgba(255, 255, 255, .7); }

/* Content pages */
.ld-page { padding: 130px 0 80px; background: var(--mist); min-height: 70vh; }
.ld-page__inner { max-width: 860px; }
.ld-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; margin-bottom: 20px; box-shadow: var(--shadow); }
.ld-article__title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; }
.ld-article__title a { color: var(--ink); }
.ld-article__meta { color: var(--muted); font-size: 14px; }
.ld-article__content { color: #2A3355; }

/* No-access page */
.ld-center { min-height: 100vh; display: grid; place-items: center; background: var(--grad-night) !important; padding: 24px; }
.ld-denied { width: 100%; max-width: 460px; text-align: center; }
.ld-denied__logo { height: 48px; width: auto; margin-bottom: 26px; }
.ld-denied__card { background: #fff; border-radius: 24px; padding: 36px 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.ld-denied__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(1, 117, 254, .1); color: var(--brand); margin-bottom: 14px; }
.ld-denied h1 { font-size: 22px; }
.ld-denied p { color: var(--muted); }
.ld-denied__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* Responsive */
@media (max-width: 1024px) {
	.ld-hero__grid, .ld-portal__grid, .ld-request { grid-template-columns: 1fr; }
	.ld-hero__visual { max-width: 560px; }
	.ld-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.ld-nav { position: absolute; top: 100%; inset-inline: 12px; flex-direction: column; background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 24px 60px rgba(11, 18, 48, .2); display: none; }
	.ld-nav a { color: var(--ink) !important; padding: 12px 16px; }
	.ld-header.is-open .ld-nav { display: flex; }
	.ld-burger { display: flex; }
	.ld-lang span { display: none; }
	.ld-header__actions { margin-inline-start: auto; }
}
@media (max-width: 640px) {
	.ld-wrap { padding: 0 16px; }
	.ld-hero { padding: 120px 0 80px; }
	.ld-section { padding: 70px 0; }
	.ld-steps, .ld-features, .ld-form__row { grid-template-columns: 1fr; }
	.ld-form { padding: 22px; }
	.ld-stats { gap: 24px; }
	.ld-header__actions .ld-btn span { display: none; }
	.ld-header__actions .ld-btn { padding: 10px; width: 42px; height: 42px; }
	.ld-logo img { height: 36px; }
	.ld-article { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
