/* ---------- fonts ---------- */
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: Plex; font-weight: 400; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2013-2044; }
@font-face { font-family: Plex; font-weight: 500; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2013-2044; }
@font-face { font-family: Plex; font-weight: 600; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2013-2044; }
@font-face { font-family: Plex; font-weight: 700; font-display: swap; src: url(fonts/ibm-plex-sans-arabic-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2013-2044; }

/* ---------- base ---------- */
:root {
  --ink: #0a1c48;
  --muted: #4a5578;
  --line: rgb(79 98 165 / 0.18);
  --surface: rgb(79 98 165 / 0.07);
  --accent: #067a80;
  --bg: #f4f7fe;
  --grad: linear-gradient(100deg, #067a80, #0a5fd8);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: Plex, "Segoe UI", system-ui, sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { line-height: 1.35; }
:focus-visible { outline: 2px solid #0a5fd8; outline-offset: 2px; }
.page {
  min-height: 100vh; display: flex; flex-direction: column; position: relative; isolation: isolate; overflow: clip;
  background: radial-gradient(60rem 32rem at 85% -8%, rgb(59 130 246 / 0.22), transparent 62%), radial-gradient(48rem 28rem at 5% 8%, rgb(34 211 238 / 0.2), transparent 62%), var(--bg);
}
.page::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 44rem; z-index: -1;
  background-image: linear-gradient(rgb(79 98 165 / 0.08) 1px, transparent 1px), linear-gradient(90deg, rgb(79 98 165 / 0.08) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: linear-gradient(to bottom, #000 10%, transparent); mask-image: linear-gradient(to bottom, #000 10%, transparent);
}
.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
.narrow { max-width: 56rem; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- header and footer ---------- */
header.site { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; padding-block: 0.7rem; }
.brand { display: flex; align-items: center; }
.brand img { display: block; width: auto; height: 2.5rem; }
.brand.small img { height: 2rem; }
.about-logo { display: block; width: min(20rem, 75%); height: auto; margin: 0 auto 1.25rem; }
nav { display: flex; gap: 0.25rem; font-size: 0.92rem; }
nav a { padding: 0.35rem 0.75rem; border-radius: 0.5rem; color: var(--muted); }
nav a:hover { background: var(--surface); color: var(--ink); }
.langs { margin-inline-start: auto; }
.langs a[aria-current] { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; }
main { flex: 1; padding-block: 2.5rem; }
footer.site { border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 2rem; font-size: 0.9rem; color: var(--muted); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* ---------- building blocks ---------- */
.glass { background: linear-gradient(160deg, rgb(255 255 255 / 0.96), rgb(255 255 255 / 0.74)); border: 1px solid var(--line); box-shadow: 0 8px 28px -20px rgb(37 52 120 / 0.45); border-radius: 1rem; }
.tile { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: linear-gradient(145deg, #e0f7fd, #e3eeff); border: 1px solid rgb(10 95 216 / 0.18); color: #083f91; }
.tile svg { width: 1.5rem; height: 1.5rem; }
.tile.big { width: 4rem; height: 4rem; border-radius: 1rem; }
.tile.big svg { width: 2rem; height: 2rem; }
.tile.small { width: 2.25rem; height: 2.25rem; font: 600 0.85rem ui-monospace, monospace; }
.check { width: 1rem; height: 1rem; flex: none; color: var(--accent); }
.button { display: inline-block; border: 0; border-radius: 0.75rem; padding: 0.7rem 1.5rem; background: var(--grad); color: #fff; font: 600 1rem Plex, "Segoe UI", sans-serif; cursor: pointer; }
.pill { display: inline-flex; align-items: center; gap: 0.5rem; border: 1px solid var(--line); border-radius: 99px; padding: 0.35rem 1rem; font-size: 0.9rem; }
.pill svg { width: 1rem; height: 1rem; }
.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .two, .three, .five { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .three { grid-template-columns: repeat(3, 1fr); } .five { grid-template-columns: repeat(5, 1fr); } }
.card { display: flex; flex-direction: column; height: 100%; padding: 1.25rem; }
.card h3 { margin-top: 1rem; font-size: 1.1rem; }
.card .alt { font-size: 0.75rem; color: var(--muted); }
.card .line { flex: 1; margin-top: 0.75rem; font-size: 0.92rem; color: var(--muted); }
.card .more { margin-top: 1rem; font-size: 0.92rem; font-weight: 500; color: var(--accent); }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }

/* ---------- home ---------- */
.hero { text-align: center; padding-block: 2.5rem 3rem; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.7rem); font-weight: 700; }
.hero .word { display: block; min-height: 1.6em; }
.hero p { margin: 1.25rem auto 0; max-width: 42rem; font-size: 1.12rem; color: var(--muted); }
.search { display: flex; gap: 0.5rem; max-width: 42rem; margin: 2.25rem auto 0; padding: 0.5rem; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0.5rem 1rem; font: inherit; color: var(--ink); }
.section-title { font-size: 1.5rem; font-weight: 700; }
.mt1 { margin-top: 1.25rem; }
.mt2 { margin-top: 2.5rem; }
.mt3 { margin-top: 4rem; }

/* ---------- apps list ---------- */
.filter { width: 100%; padding: 0.9rem 1.25rem; font: inherit; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1rem 1.5rem; }
.chips button { border: 1px solid var(--line); border-radius: 99px; background: transparent; padding: 0.35rem 1rem; font: 0.9rem Plex, "Segoe UI", sans-serif; color: var(--muted); cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.empty { padding: 2.5rem; text-align: center; color: var(--muted); }
[hidden] { display: none !important; }

/* ---------- app page ---------- */
.app-head { margin-top: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 1.5rem; }
.app-head .who { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem; }
.app-head .titles { flex: 1 1 13rem; min-width: 0; }
.app-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.3rem); overflow-wrap: anywhere; }
.app-head .tagline { margin-top: 1.75rem; font-size: 1.45rem; font-weight: 600; }
.block { margin-top: 3rem; }
.block > h2 { margin-bottom: 1rem; font-size: 1.5rem; }
.lead { font-size: 1.12rem; line-height: 2.1; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tags li { border-radius: 99px; padding: 0.45rem 1rem; font-size: 0.92rem; }
.area { padding: 1.5rem; }
.area h3 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.12rem; }
.area ul, .plan ul { margin-top: 1rem; display: grid; gap: 0.6rem; color: var(--muted); }
.area li, .plan li, .simple li { display: flex; align-items: flex-start; gap: 0.6rem; }
.area .check, .plan .check, .simple .check { margin-top: 0.4rem; }
.simple li { align-items: center; padding: 1rem; }
.why { padding: 1.25rem; }
.why .num { font: 700 1.5rem ui-monospace, monospace; }
.why h3 { margin-top: 0.5rem; font-size: 1.05rem; }
.why p { margin-top: 0.25rem; color: var(--muted); }
.plan { padding: 1.5rem; }
.center { text-align: center; margin-top: 2.5rem; }

/* ---------- motion ---------- */
.aurora { position: absolute; inset: 0 0 auto 0; height: 40rem; overflow: hidden; z-index: -1; pointer-events: none; }
.aurora i { position: absolute; width: 28rem; height: 28rem; border-radius: 50%; filter: blur(70px); opacity: 0.4; animation: drift 16s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: #67e8f9; top: -10rem; left: 4%; }
.aurora i:nth-child(2) { background: #93c5fd; top: -6rem; right: 8%; animation-delay: -7s; }
.aurora i:nth-child(3) { background: #99f6e4; top: 10rem; left: 38%; animation-delay: -12s; animation-duration: 22s; }
@keyframes drift { to { transform: translate3d(9rem, 5rem, 0) scale(1.25); } }
.rise, .word-in { animation: rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.gradient-text { background-image: linear-gradient(100deg, #067a80, #0b4fb3 30%, #0877e0 50%, #0b4fb3 70%, #067a80); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 9s linear infinite; }
.word-in.gradient-text { display: inline-block; padding-bottom: 0.1em; animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) backwards, shimmer 9s linear infinite; }
@keyframes shimmer { to { background-position: 250% 0; } }
.lift { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.lift::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(16rem circle at var(--mx, 50%) var(--my, 0%), rgb(99 102 241 / 0.16), transparent 65%); opacity: 0; transition: opacity 0.25s ease; }
.lift:hover, .lift:focus-visible { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px); border-color: rgb(8 145 178 / 0.55); box-shadow: 0 20px 40px -22px rgb(59 80 190 / 0.5); }
.lift:hover::after { opacity: 1; }
.lift .tile { transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.lift:hover .tile { transform: scale(1.14) rotate(-6deg); }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }
.button { transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.button:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgb(10 95 216 / 0.7); }
.marquee { overflow: hidden; padding-block: 0.75rem; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee li { padding-right: 0.75rem; }
.marquee a { display: block; border-radius: 99px; padding: 0.45rem 1.25rem; font-size: 0.9rem; white-space: nowrap; }
.marquee a:hover { color: var(--accent); }
.marquee:hover ul, .marquee:focus-within ul { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::after { animation: none !important; transition: none !important; }
  .lift, .lift:hover { transform: none; }
  .marquee { overflow-x: auto; }
}
@media print {
  header.site, footer.site, .aurora, .marquee, .button { display: none; }
  .page { background: #fff; }
  .page::before { display: none; }
}

/* ---------- contact ---------- */
.hero.small { padding-block: 0.5rem 2rem; }
.hero.small h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; height: 100%; }
.channel-icon { display: grid; place-items: center; flex: none; width: 3.25rem; height: 3.25rem; border-radius: 1rem; color: #fff; background: var(--grad); transition: transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.channel-icon svg { width: 1.75rem; height: 1.75rem; }
.channel:not(.off):hover .channel-icon { transform: scale(1.12) rotate(-6deg); }
.channel-text { flex: 1; min-width: 0; display: grid; }
.channel-text small { color: var(--muted); overflow-wrap: anywhere; text-align: left; }
html[dir="rtl"] .channel-text small { text-align: right; }
.channel-go { flex: none; border: 1px solid var(--line); border-radius: 99px; padding: 0.2rem 0.85rem; font-size: 0.82rem; font-weight: 600; color: var(--accent); }
.channel.off .channel-go { color: var(--muted); font-weight: 400; }
.channel.off .channel-icon { opacity: 0.65; }
.whatsapp .channel-icon { background: #128c4b; }
.facebook .channel-icon { background: #1866d9; }
.instagram .channel-icon { background: linear-gradient(45deg, #d9701a, #d62976 45%, #8134af); }
.tiktok .channel-icon { background: #111; }
.email .channel-icon { background: var(--grad); }
.contact-form { display: grid; gap: 1rem; padding: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-form { grid-template-columns: 1fr 1fr; } }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 0.7rem; background: #fff; padding: 0.65rem 0.85rem; font: inherit; font-weight: 400; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.actions .button, .fab { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.actions svg, .fab svg { width: 1.25rem; height: 1.25rem; }
.button.green { background: #128c4b; }
.button:disabled { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; filter: none; }
.note { font-size: 0.85rem; }
.social { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); }
.social svg { width: 1.15rem; height: 1.15rem; }
.social:hover { background: var(--grad); color: #fff; }
footer.site .links { align-items: center; }
footer.site .wrap { padding-bottom: 5.5rem; }
.fab { position: fixed; z-index: 30; inset-inline-end: 1.25rem; bottom: 1.25rem; border-radius: 99px; box-shadow: 0 14px 30px -12px rgb(37 52 120 / 0.65); }
@media print { .fab { display: none; } }

/* ---------- interface images ---------- */
article.narrow { max-width: 66rem; }
.shot { margin-top: 2rem; }
.shot-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 1.25rem; overflow: hidden; background: #fff; cursor: zoom-in; box-shadow: 0 34px 60px -34px rgb(37 52 120 / 0.55); transition: transform 0.35s ease, box-shadow 0.35s ease; }
.shot-open:hover { transform: translateY(-6px) scale(1.008); box-shadow: 0 44px 70px -32px rgb(59 80 190 / 0.65); }
.shot-open img, .mockup { display: block; width: 100%; height: auto; }
.mockup { font-family: Plex, "Segoe UI", sans-serif; user-select: none; }
.shot figcaption { margin-top: 0.6rem; text-align: center; font-size: 0.82rem; color: var(--muted); }
.lightbox { margin: auto; width: min(96vw, 1500px); max-height: 94vh; padding: 0.75rem; border: 0; border-radius: 1.25rem; background: #fff; }
.lightbox::backdrop { background: rgb(10 16 40 / 0.78); backdrop-filter: blur(4px); }
.lightbox > .button { margin-bottom: 0.6rem; padding: 0.4rem 1.1rem; }
.lightbox-picture { overflow: auto; }
.lightbox-picture > * { min-width: 700px; width: 100%; height: auto; }

/* ---------- detail sections ---------- */
.flow { padding: 1.5rem; margin-bottom: 1rem; }
.flow ol { margin-top: 1.25rem; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.flow li { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--line); border-radius: 0.9rem; background: #fff; padding: 0.7rem 0.9rem; font-weight: 500; }
.step { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 99px; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.9rem; }
.step.big { width: 3rem; height: 3rem; font-size: 1.2rem; }
.module { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem; font-weight: 600; }
.module .dot { flex: none; width: 0.7rem; height: 0.7rem; border-radius: 99px; background: var(--grad); }
.cta { text-align: center; padding: 3rem 1.5rem; border-radius: 1.75rem; color: #fff; background: radial-gradient(30rem 14rem at 80% 0%, rgb(255 255 255 / 0.22), transparent 70%), var(--grad); box-shadow: 0 30px 55px -30px rgb(10 95 216 / 0.8); }
.cta h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); }
.cta p { margin-top: 0.75rem; opacity: 0.92; }
.cta .button { margin-top: 1.5rem; }
.button.light { background: #fff; color: #083f91; }
.about-hero h1 { margin-top: 1.25rem; font-size: clamp(1.8rem, 4.8vw, 3rem); max-width: 52rem; margin-inline: auto; }
.narrow > .lead + .lead { margin-top: 1rem; }
.vision { padding: 2rem; text-align: center; }
.vision h2 { font-size: 1.5rem; }
.vision p { margin-top: 0.75rem; font-size: 1.12rem; color: var(--muted); line-height: 2; }
.center-title { text-align: center; font-size: 1.7rem; }
.center.tight { margin-top: 0.4rem; }
.method h3 { margin-top: 1rem; }
