/* Rasiid public website, Rasiid 2.0 design (the same identity as the app): Rasiid blue #1688FF, Deep blue #0E4DB7, Sky #E7F2FF, Soft grey #F5F8FC,
   Ink #172033, Secondary #52627A, Gold #FFBE45 (an accent only, never body text). Inter (English) and Tajawal (Arabic), self-hosted: no third-party requests. */
@font-face { font-family: "Inter"; font-weight: 300 500; font-display: swap; src: url("fonts/inter-400.ttf") format("truetype"); }
@font-face { font-family: "Inter"; font-weight: 600 900; font-display: swap; src: url("fonts/inter-700.ttf") format("truetype"); }
@font-face { font-family: "Tajawal"; font-weight: 300 500; font-display: swap; src: url("fonts/tajawal-400.ttf") format("truetype"); }
@font-face { font-family: "Tajawal"; font-weight: 600 900; font-display: swap; src: url("fonts/tajawal-700.ttf") format("truetype"); }

:root {
  --blue: #1688ff; --deep: #0e4db7; --deep-2: #0a3c91; --sky: #e7f2ff; --soft-grey: #f5f8fc;
  --ink: #172033; --soft: #52627a; --muted: #7d8ca3; --line: #e3ebf5; --card-line: #d6e0ec; --white: #fff;
  --gold: #ffbe45; --gold-tint: rgba(255, 190, 69, .18); --radius: 20px;
  /* names the pages still use inline */
  --ivory: var(--soft-grey); --green: var(--deep);
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: var(--sans);
}
html[lang="ar"] { --sans: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 26px; margin-inline-start: 12px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--soft); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--deep); border-color: var(--blue); }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.lang { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--deep); padding: 8px 14px; border-radius: 999px; background: var(--sky); }
.lang:hover { background: #d8e9ff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 15.5px; text-decoration: none; padding: 14px 26px; border-radius: 16px; border: 0; cursor: pointer; transition: background .15s, color .15s, transform .15s; font-family: inherit; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--deep-2); }
.btn-ghost { background: var(--sky); color: var(--deep); }
.btn-ghost:hover { background: #d8e9ff; }
.btn-sm { padding: 10px 18px; font-size: 14.5px; border-radius: 12px; }
.menu-toggle { display: none; }

/* ---------- hero */
.hero { padding: 72px 0 96px; background: radial-gradient(1100px 520px at 85% -10%, rgba(22, 136, 255, .12), transparent 60%), radial-gradient(800px 420px at -5% 105%, rgba(255, 190, 69, .10), transparent 60%), var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: var(--deep); background: var(--sky); padding: 7px 14px; border-radius: 999px; margin: 0 0 22px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
h1, h2, h3 { margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 68px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
html[lang="ar"] h1 { line-height: 1.25; letter-spacing: 0; font-size: clamp(40px, 5.2vw, 62px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--soft); margin: 24px 0 34px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 26px 0 0; font-size: 14.5px; color: var(--soft); }
.hero-note span + span::before { content: "•"; margin: 0 .6em; color: var(--gold); }

/* the hero illustration: the app's own monthly summary card and two records, drawn in HTML (no screenshot) */
.hero-visual { position: relative; min-height: 460px; display: grid; align-content: center; gap: 14px; max-width: 440px; justify-self: center; width: 100%; }
.summary { position: relative; border-radius: 30px; padding: 26px 22px 18px; color: #fff; overflow: hidden;
  background: linear-gradient(118deg, #0d6fdf 0%, #0e5cdb 40%, #092e87 80%); box-shadow: 0 26px 50px -18px rgba(14, 77, 183, .45); }
.summary .period { font-size: 14px; font-weight: 700; opacity: .95; }
.summary .label { font-size: 14px; margin-top: 22px; opacity: .9; }
.summary .net { font-size: clamp(30px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .summary .net { text-align: right; }
.summary .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.summary .mini { background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; }
.summary .mini span { display: block; font-size: 12.5px; color: var(--soft); }
.summary .mini b { display: block; font-size: 17px; margin-top: 4px; direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .summary .mini b { text-align: right; }
.rec { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--card-line); border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 24px -16px rgba(14, 77, 183, .35); }
.rec .tile { width: 44px; height: 44px; border-radius: 14px; background: var(--sky); display: grid; place-items: center; flex: none; }
.rec .tile svg { width: 22px; height: 22px; stroke: var(--deep); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rec .txt { flex: 1; min-width: 0; }
.rec .txt b { display: block; font-size: 15px; }
.rec .txt span { display: block; font-size: 13px; color: var(--soft); }
.rec .amt { text-align: end; font-weight: 700; font-size: 15px; }
.rec .amt .n { direction: ltr; unicode-bidi: isolate; }
.rec .pill { display: block; width: fit-content; margin-top: 4px; margin-inline-start: auto; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.pill.ok { color: #167347; background: rgba(22, 115, 71, .09); }
.pill.check { color: #755000; background: var(--gold-tint); }
.rec.r2 { margin-inline-start: 28px; }
.hero-visual .caption { font-size: 12.5px; color: var(--muted); text-align: center; margin: 6px 0 0; }

/* phone frames (product screens) */
.phone { position: relative; border-radius: 38px; padding: 9px; background: #172033; box-shadow: 0 30px 60px -22px rgba(14, 77, 183, .4), 0 0 0 1px rgba(23, 32, 51, .1); }
.phone img { border-radius: 30px; width: 100%; height: auto; background: var(--white); }

/* ---------- sections */
section { padding: 96px 0; }
.section-white { background: var(--soft-grey); border-block: 1px solid var(--line); }
.kicker { font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); margin: 0 0 14px; }
html[lang="ar"] .kicker { letter-spacing: 0; text-transform: none; font-size: 15px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; max-width: 18em; }
html[lang="ar"] h2 { line-height: 1.3; letter-spacing: 0; }
.section-sub { color: var(--soft); font-size: 18.5px; max-width: 40em; margin: 18px 0 0; }
.center { text-align: center; }
.center h2, .center .section-sub { margin-inline: auto; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.card { background: var(--white); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 30px 28px; }
.section-white .card { background: var(--white); }
.card .ico { width: 48px; height: 48px; border-radius: 16px; background: var(--sky); display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 24px; height: 24px; stroke: var(--deep); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--soft); font-size: 16px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.step { padding: 0 22px 0 0; position: relative; }
html[dir="rtl"] .step { padding: 0 0 0 22px; }
.step .num { width: 52px; height: 52px; border-radius: 16px; background: var(--deep); color: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; margin-bottom: 22px; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 26px; inset-inline-start: 52px; inset-inline-end: 0; border-top: 2px dashed rgba(22, 136, 255, .45); }
.step:last-child::after { display: none; }
.step h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.step p { margin: 0; color: var(--soft); font-size: 16px; }

/* product gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; align-items: start; }
.shot { text-align: center; }
.shot .phone { margin: 0 auto 20px; max-width: 270px; }
.shot h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.shot p { margin: 0; color: var(--soft); font-size: 15px; }
.fine { font-size: 14px; color: var(--soft); margin-top: 28px; }

/* split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.checks li { position: relative; padding-inline-start: 38px; color: var(--ink); font-size: 17px; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 24px; height: 24px; border-radius: 8px; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E4DB7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/15px no-repeat; }
.checks strong { font-weight: 700; }
.notice { margin-top: 28px; padding: 16px 20px; border-radius: 16px; background: var(--soft-grey); border: 1px solid var(--card-line); font-size: 15px; color: var(--soft); }
.section-white .notice { background: var(--white); }
.pack { background: linear-gradient(118deg, #0d6fdf 0%, #0e5cdb 40%, #092e87 80%); color: #fff; border-radius: 28px; padding: 36px 34px; box-shadow: 0 30px 60px -24px rgba(14, 77, 183, .5); }
.pack .path { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 14.5px; direction: ltr; text-align: start; line-height: 2; }
.pack .path .dir { color: var(--gold); }
.pack .path .ind { padding-inline-start: 22px; display: block; }
.pack .cap { font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .7); margin-bottom: 14px; font-weight: 700; }
html[lang="ar"] .pack .cap { letter-spacing: 0; text-transform: none; font-size: 14.5px; }

.price-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.price { flex: 1 1 200px; background: var(--white); border: 1px solid var(--card-line); border-radius: 20px; padding: 22px 24px; }
.section-white .price { background: var(--white); }
.price b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; direction: ltr; unicode-bidi: isolate; color: var(--deep); }
html[dir="rtl"] .price b { text-align: right; }
.price span { color: var(--soft); font-size: 15px; }

/* company */
.facts { background: var(--white); border: 1px solid var(--card-line); border-radius: 22px; padding: 10px 30px; }
.fact { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact dt { color: var(--soft); font-size: 14.5px; font-weight: 700; }
.fact dd { margin: 0; font-weight: 500; }
.fact a { text-decoration-color: var(--blue); text-underline-offset: 3px; }
.ltr { direction: ltr; unicode-bidi: isolate; }

.contact { background: linear-gradient(118deg, #0d6fdf 0%, #0e5cdb 40%, #092e87 80%); color: #fff; border-radius: 30px; padding: 64px 48px; text-align: center; margin: 0 auto; }
.contact h2 { color: #fff; margin-inline: auto; }
.contact p { color: rgba(255, 255, 255, .82); max-width: 36em; margin: 18px auto 0; font-size: 18px; }
.contact .btn { margin-top: 30px; background: #fff; color: var(--deep); font-size: 18px; padding: 16px 34px; }
.contact .btn:hover { background: var(--sky); }
.contact .small { font-size: 15px; margin-top: 22px; color: rgba(255, 255, 255, .7); }

/* ---------- footer */
.site-footer { background: var(--soft-grey); border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 15px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot img { height: 44px; margin-bottom: 18px; width: auto; }
.foot h4 { margin: 0 0 14px; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
html[lang="ar"] .foot h4 { letter-spacing: 0; text-transform: none; font-size: 15px; }
.foot p { margin: 0 0 6px; color: var(--soft); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--soft); font-size: 14px; }

/* ---------- responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav.open { display: flex; position: absolute; inset-inline: 0; top: 72px; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 28px 18px; margin: 0; }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 44px; }
  section { padding: 72px 0; }
}
@media (max-width: 680px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 64px; gap: 12px; }
  .nav.open { top: 64px; padding-inline: 16px; }
  .brand img { height: 38px; }
  .header-actions .btn-primary { display: none; }
  .summary { border-radius: 26px; }
  .rec.r2 { margin-inline-start: 14px; }
  .cards { grid-template-columns: 1fr; margin-top: 36px; gap: 14px; }
  .steps { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  .step { padding: 0 0 0 72px; min-height: 56px; }
  html[dir="rtl"] .step { padding: 0 72px 0 0; }
  .step .num { position: absolute; inset-inline-start: 0; top: 0; margin: 0; }
  .step::after { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 16px; }
  .shot .phone { padding: 6px; border-radius: 26px; }
  .shot .phone img { border-radius: 20px; }
  .shot h3 { font-size: 16px; }
  .shot p { font-size: 13.5px; }
  .fact { grid-template-columns: 1fr; gap: 4px; }
  .facts { padding: 6px 20px; }
  .contact { padding: 44px 22px; border-radius: 24px; }
  .foot { grid-template-columns: 1fr; gap: 30px; }
  .pack { padding: 28px 22px; }
  .pack .path { font-size: 13px; }
  section { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
