:root {
  color-scheme: light dark;
  --primary: #B69A6A;
  --primary-dark: #A8865D;
  --primary-bright: #C9A87D;
  --primary-light: #F1EADF;
  --ink: #1A1A1A;
  --muted: #8A8A8A;
  --bg: #F7F6F3;
  --surface: #FFFFFF;
  --input: #FBFAF8;
  --border: #E8E4DD;
  --gold: #B69A6A;
  --gold-light: #F1EADF;
  --header-bg: rgba(247, 246, 243, .92);
  --section-tint: #F0EEE9;
  --panel: #1A1A1A;
  --footer: #0D1117;
  --shadow: 0 18px 55px rgba(44, 37, 25, .09);
  --radius: 8px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Noto Sans Arabic", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(182, 154, 106, .42); outline-offset: 3px; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 100px 0; }
.section-sm { padding: 72px 0; }
.eyebrow { color: var(--primary); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.section-heading { max-width: 690px; margin-bottom: 44px; }
.section-heading.center { margin-inline: auto; text-align: center; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 18px; letter-spacing: 0; }
h1 { font-size: clamp(2.65rem, 6vw, 5.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 780; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 20px; color: var(--muted); }
.lead { font-size: 1.16rem; max-width: 640px; }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-inline-end: auto; font-weight: 850; font-size: 1.05rem; white-space: nowrap; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: .92rem; font-weight: 650; position: relative; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: -9px; height: 2px; background: var(--primary); transform: scaleX(0); transition: transform .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.language { position: relative; }
.lang-toggle, .menu-toggle { border: 1px solid var(--border); background: var(--surface); color: var(--ink); height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; }
.lang-toggle { min-width: 86px; padding: 4px 9px 4px 5px; gap: 7px; border-radius: 22px; box-shadow: 0 5px 16px rgba(44, 37, 25, .06); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.lang-toggle:hover, .lang-toggle[aria-expanded="true"] { border-color: rgba(182, 154, 106, .58); box-shadow: 0 7px 20px rgba(182, 154, 106, .18); transform: translateY(-1px); }
.lang-globe { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: #1A1A1A; background: var(--primary); }
.lang-globe svg { width: 17px; height: 17px; }
.current-lang-code { min-width: 20px; font-size: .76rem; line-height: 1; font-weight: 850; letter-spacing: 0; }
.lang-chevron { width: 14px; height: 14px; color: var(--muted); transition: transform .2s ease; }
.lang-toggle[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }
.menu-toggle { width: 42px; }
.lang-menu { position: absolute; top: calc(100% + 12px); inset-inline-end: 0; width: 250px; padding: 8px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 22px 55px rgba(44, 37, 25, .16); border-radius: 10px; display: none; }
.lang-menu::before { content: ""; position: absolute; top: -5px; inset-inline-end: 28px; width: 10px; height: 10px; background: var(--surface); border-inline-start: 1px solid var(--border); border-top: 1px solid var(--border); transform: rotate(45deg); }
.lang-menu.open { display: grid; gap: 4px; animation: language-menu-in .18s ease both; }
.lang-menu button { position: relative; z-index: 1; width: 100%; min-height: 58px; border: 0; background: transparent; display: grid; grid-template-columns: 38px 1fr 18px; align-items: center; gap: 11px; text-align: start; padding: 8px 10px; border-radius: 7px; color: var(--ink); transition: background .18s ease, color .18s ease; }
.lang-menu button:hover { background: var(--input); }
.lang-menu button.active { background: var(--primary-light); color: var(--primary-dark); }
.lang-mark { width: 38px; height: 32px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--primary-dark); font-size: .68rem; font-weight: 900; }
.lang-copy { display: grid; gap: 2px; }
.lang-copy strong { font-size: .91rem; }
.lang-copy small { color: var(--muted); font-size: .72rem; }
.lang-menu button > svg { width: 17px; height: 17px; opacity: 0; }
.lang-menu button.active > svg { opacity: 1; }
@keyframes language-menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.menu-toggle { display: none; }
.btn { min-height: 46px; border: 1px solid transparent; border-radius: 6px; padding: 11px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 750; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #1A1A1A; background: var(--primary); box-shadow: 0 10px 24px rgba(182, 154, 106, .24); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary-dark); }

.hero { min-height: calc(100vh - 76px); display: flex; align-items: center; padding: 76px 0 64px; overflow: hidden; background: linear-gradient(120deg, var(--bg) 0%, var(--bg) 64%, var(--section-tint) 64%, var(--section-tint) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .82fr); gap: 74px; align-items: center; }
.hero h1 span { color: var(--primary); }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.trust-line { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--border); }
.trust-item { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: .88rem; font-weight: 650; }
.trust-item svg { width: 18px; color: var(--primary); }
.app-stage { position: relative; min-height: 590px; display: grid; place-items: center; }
.phone { width: min(330px, 82vw); aspect-ratio: 9/18; padding: 10px; background: #101916; border: 1px solid #30413b; border-radius: 34px; box-shadow: 0 40px 80px rgba(20, 48, 40, .2); transform: rotate(2deg); }
.phone-screen { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 25px; }
.float-note { position: absolute; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); padding: 14px 16px; border-radius: 7px; display: flex; gap: 11px; align-items: center; font-weight: 750; font-size: .9rem; }
.float-note svg { color: var(--primary); }
.float-note.one { inset-inline-start: 0; top: 23%; }
.float-note.two { inset-inline-end: 0; bottom: 20%; }

.logo-strip { border-block: 1px solid var(--border); background: var(--surface); }
.logo-strip-inner { min-height: 92px; display: flex; justify-content: center; align-items: center; gap: 16px; text-align: center; color: var(--muted); }
.logo-strip-inner img { width: 52px; height: 52px; object-fit: contain; }
.logo-strip-inner strong { color: var(--ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.visual-panel { min-height: 460px; background: var(--panel); color: #fff; border-radius: var(--radius); padding: 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.visual-panel::before { content: "PR"; position: absolute; inset-inline-end: -24px; top: -56px; font-size: 16rem; line-height: 1; font-weight: 900; color: rgba(255,255,255,.045); }
.visual-panel img { width: 125px; height: 125px; object-fit: contain; margin-bottom: auto; background: #fff; border-radius: 8px; }
.visual-panel p { color: rgba(255,255,255,.72); }
.metric-row { display: flex; gap: 12px; margin-top: 28px; }
.metric { flex: 1; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); font-size: .84rem; color: rgba(255,255,255,.7); }
.metric strong { display: block; color: #fff; font-size: 1.35rem; }

.services { background: var(--section-tint); }
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { background: var(--surface); border: 1px solid var(--border); padding: 30px; border-radius: var(--radius); min-height: 290px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--primary-bright); }
.icon-box { width: 48px; height: 48px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); border-radius: 6px; margin-bottom: 46px; }
.service-card p { font-size: .93rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.step { padding: 36px 44px 24px 0; position: relative; }
[dir="rtl"] .step { padding: 36px 0 24px 44px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 38px; inset-inline-end: 24px; width: 1px; height: calc(100% - 64px); background: var(--border); }
.step-no { color: var(--gold); font-size: .82rem; font-weight: 850; letter-spacing: .08em; margin-bottom: 26px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border: 1px solid var(--border); }
.benefit { background: var(--surface); padding: 24px; display: flex; gap: 14px; align-items: flex-start; }
.benefit svg { color: var(--primary); flex: 0 0 auto; }
.benefit strong { display: block; margin-bottom: 3px; }
.benefit span { color: var(--muted); font-size: .9rem; }

.cta-band { background: var(--panel); color: #fff; }
.cta-inner { min-height: 330px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-inner h2 { max-width: 650px; }
.cta-inner p { color: rgba(255,255,255,.72); max-width: 610px; }
.cta-actions { flex: 0 0 auto; }

.page-hero { padding: 100px 0 70px; background: var(--section-tint); border-bottom: 1px solid var(--border); }
.page-hero .container { max-width: 900px; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); }
.page-hero p { font-size: 1.14rem; max-width: 700px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { border-top: 3px solid var(--primary); background: var(--surface); padding: 28px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.contact-list { border-top: 1px solid var(--border); }
.contact-item { padding: 22px 0; border-bottom: 1px solid var(--border); display: flex; gap: 16px; }
.contact-item svg { color: var(--primary); }
.contact-item small { display: block; color: var(--muted); }
.contact-item a { font-weight: 700; word-break: break-word; }
.form-card { background: var(--surface); border: 1px solid var(--border); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 750; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; border: 1px solid var(--border); background: var(--input); color: var(--ink); padding: 13px 14px; border-radius: 5px; }
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .82rem; margin-top: 12px; }
.legal { max-width: 860px; }
.legal .updated { display: inline-block; background: var(--gold-light); color: var(--primary-dark); padding: 6px 10px; border-radius: 4px; margin-bottom: 36px; font-size: .84rem; font-weight: 700; }
.legal h2 { font-size: 1.55rem; margin-top: 42px; }
.legal ul { color: var(--muted); padding-inline-start: 22px; }

.site-footer { background: var(--footer); color: #fff; padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .7fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand img { background: #fff; }
.footer-brand p, .site-footer a { color: #aeb9b5; }
.site-footer h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; }
.footer-links { display: grid; gap: 9px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: #899690; font-size: .82rem; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #D5B690;
    --primary-dark: #A8865D;
    --primary-bright: #C9A87D;
    --primary-light: rgba(213, 182, 144, .14);
    --ink: #F5F7FA;
    --muted: #A0A7B5;
    --bg: #0D1117;
    --surface: #1B212C;
    --input: #232A35;
    --border: #2A313D;
    --gold: #D5B690;
    --gold-light: rgba(213, 182, 144, .14);
    --header-bg: rgba(13, 17, 23, .92);
    --section-tint: #151A22;
    --panel: #151A22;
    --footer: #090C10;
    --shadow: 0 18px 55px rgba(0, 0, 0, .28);
  }
  .btn-light { background: #F5F7FA; color: #0D1117; }
  .phone { background: #05070A; border-color: #2A313D; box-shadow: 0 40px 80px rgba(0, 0, 0, .42); }
  .visual-panel img, .footer-brand img { background: #FFFFFF; }
  .site-footer a, .footer-brand p { color: #A0A7B5; }
  .footer-bottom { color: #727B8B; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 980px) {
  .nav-links { position: absolute; top: 100%; inset-inline: 0; height: calc(100vh - 76px); z-index: 200; background: var(--bg); padding: 36px 24px; flex-direction: column; align-items: stretch; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
  .nav-links.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { font-size: 1.2rem; padding: 10px; }
  .menu-toggle { display: grid; }
  .nav-actions > .btn { display: none; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .hero { min-height: auto; }
  .app-stage { min-height: 520px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .hero { padding-top: 52px; background: var(--bg); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(2.55rem, 14vw, 4.1rem); }
  .hero-actions .btn { width: 100%; }
  .app-stage { min-height: 480px; }
  .phone { width: 250px; }
  .float-note { font-size: .78rem; padding: 10px 12px; }
  .float-note.one { top: 16%; }
  .float-note.two { bottom: 14%; }
  .card-grid, .steps, .benefit-grid, .value-grid { grid-template-columns: 1fr; }
  .step { padding: 28px 0; }
  .step:not(:last-child)::after { top: auto; bottom: 0; inset-inline: 0; width: 100%; height: 1px; }
  .visual-panel { min-height: 390px; padding: 30px; }
  .cta-inner { padding: 65px 0; min-height: 0; flex-direction: column; align-items: flex-start; }
  .form-card { padding: 24px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .brand span { max-width: 118px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 360px) { .nav-wrap { gap: 8px; } .brand { gap: 7px; } .brand img { width: 38px; height: 38px; } .lang-toggle { min-width: 72px; height: 38px; padding: 3px 7px 3px 4px; gap: 5px; } .lang-globe { width: 30px; height: 30px; } .menu-toggle { width: 38px; height: 38px; } .lang-menu { width: min(250px, calc(100vw - 28px)); } }
