/* متاجرة Motajrh — the 2026 identity (Brand Guidelines, phase 1) over site.css: orange is the voice, ink the text,
   cream and white the room. The logo's own parts carry the pages — the smile under headings, the M edge under the
   hero, the bag frame behind the product shot. No confetti pattern any more. */
:root {
  --ink: #14111F; --ink-2: #2A2636; --muted: #66646D; --line: #EDE3DF; --mist: #FFF5F2; --paper: #ffffff; --soft: #FFF5F2;
  --brand: #FF4F01; --brand-dark: #D94000; --peach: #FFE5D9; --cloud: #F2F2F4; --sun: #FFC72C; --teal: #00BF6F; --mint: #00BF6F;
  --on-ink: #C9C6D1; --radius: 22px; --shadow: 0 18px 40px -22px rgba(20, 17, 31, .28);
  --font: "Alexandria", "Montserrat", "Shamel", system-ui, sans-serif;
}
body { line-height: 1.8; }
h1, h2, h3 { text-wrap: balance; }
.num, .stat b, .number b, .plan .price { font-family: "Montserrat", var(--font); font-variant-numeric: tabular-nums; }
.btn { border-radius: 999px; }
.btn-primary { box-shadow: none; }
.btn-ghost { border-color: var(--line); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }

/* header: a floating pill */
.site-header { background: var(--paper); border-bottom: 0; backdrop-filter: none; padding: 12px 0; }
.site-header .container { height: 62px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding-inline: 20px 10px; box-shadow: var(--shadow); }
.brand-logo { height: 38px; }
.nav > a[aria-current="page"] { background: var(--soft); }
@media (max-width: 900px) { .site-header.open .nav { top: 78px; inset-inline: 16px; border: 1px solid var(--line); border-radius: 26px; } }
@media (max-width: 560px) { .site-header .container { padding-inline: 14px 8px; } .brand-logo { height: 32px; } }

/* section heads: the smile closes the heading */
.eyebrow::before { display: none; }
.section-head h2::after, .page-head h1::after { content: ""; display: block; width: 64px; height: 22px; margin: 12px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 22'%3E%3Cpath d='M5 5q27 26 54 0' fill='none' stroke='%23FF4F01' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.bg-soft { background: var(--soft); }
.bg-ink { background: var(--ink); }
.page-head { background: var(--soft); }
.page-head::before { display: none; }

/* hero: cream, the product shot in the bag frame, the M edge below */
.hero { background: var(--soft); padding: 56px 0 104px; }
.hero::before { display: none; }
.hero h1 { font-weight: 800; line-height: 1.3; }
.hero .lead { color: var(--muted); }
.hero-note { color: var(--ink-2); font-weight: 600; }
.hero-note span::before { color: var(--mint); }
.hero-edge { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 46px; color: var(--paper); display: block; max-width: none; }
.mock { padding: 54px 26px 30px; }
.mock-bag { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--peach); max-width: none; }
.mock-window { position: relative; box-shadow: var(--shadow); }
.mock-bar { background: #fff; }
.mock-bar .url { background: var(--cloud); border-radius: 999px; }
.mock-banner { background: var(--ink); position: relative; overflow: hidden; }
.mock-banner svg { position: absolute; inset-inline-end: -10px; bottom: -18px; width: 120px; color: var(--brand); }
.mock-card .ph.c-sun { background: var(--sun); } .mock-card .ph.c-teal { background: var(--mint); } .mock-card .ph.c-violet { background: var(--peach); }
.mock-float .dot.c-brand { background: var(--brand); } .mock-float .dot.c-blue { background: var(--mint); }
.mock-float.f1 { bottom: 6px; inset-inline-start: -6px; } .mock-float.f2 { top: 34%; inset-inline-end: -4px; }
@media (prefers-reduced-motion: no-preference) { .mock-float { animation: mt-bob 5s ease-in-out infinite; } .mock-float.f2 { animation-delay: -2.5s; } }
@keyframes mt-bob { 50% { transform: translateY(-7px); } }

/* stats: four cards, each figure with its icon; the first one speaks */
.stats-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 22px; }
.stats-top h2 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.stats-top p { color: var(--muted); margin: 0; }
.stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { position: relative; border: 0; border-radius: 28px; padding: 22px 22px 24px; background: var(--soft); box-shadow: none; display: grid; gap: 14px; align-content: start; overflow: hidden; min-width: 0; text-align: start; }
.stat:hover { transform: none; box-shadow: none; }
.stat .stat__ic { width: 54px; height: 54px; border-radius: 16px; background: #fff; color: var(--brand); display: grid; place-items: center; box-shadow: 0 8px 18px -12px rgba(20, 17, 31, .35); position: relative; }
.stat .stat__ic svg { width: 28px; height: 28px; }
.stat b { font-size: 2.5rem; line-height: 1.1; color: var(--ink); background: none; -webkit-text-fill-color: currentColor; position: relative; }
.stat .stat__l { color: var(--muted); font-weight: 600; position: relative; }
.stat .stat__ghost { position: absolute; inset-inline-end: -18px; bottom: -22px; width: 120px; height: 120px; color: var(--peach); pointer-events: none; max-width: none; }
.stat--0 { background: var(--brand); }
.stat--0 b, .stat--0 .stat__l { color: #fff; }
.stat--0 .stat__ghost { color: #FF6A26; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }
.trust-strip span { border-color: var(--line); color: var(--ink-2); }

/* features: a bento of six */
.bento { grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento .card { grid-column: span 3; border: 0; border-radius: 28px; background: var(--soft); padding: 26px; }
.bento .card:hover { box-shadow: none; transform: none; }
.bento .card:nth-child(1) { grid-column: span 8; background: var(--ink); color: #fff; }
.bento .card:nth-child(1) p { color: var(--on-ink); }
.bento .card:nth-child(2) { grid-column: span 4; background: var(--brand); color: #fff; }
.bento .card:nth-child(2) p { color: #FFE9DF; }
.bento .card:nth-child(4n + 4) { background: var(--peach); }
.bento .tile { background: var(--brand) !important; color: #fff; border-radius: 14px; width: 48px; height: 48px; }
.bento .tile svg, .bento .tile svg * { stroke: #fff; }
.bento .card:nth-child(2) .tile { background: #fff !important; }
.bento .card:nth-child(2) .tile svg, .bento .card:nth-child(2) .tile svg * { stroke: var(--brand); }
.bento .card:nth-child(n + 7) { grid-column: span 4; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento .card, .bento .card:nth-child(n) { grid-column: span 1; } .bento .card:nth-child(1), .bento .card:nth-child(2) { grid-column: span 2; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .card:nth-child(n) { grid-column: span 1; } }

/* «مميزات متاجرة» */
.idea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.idea-grid.all { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.idea { border: 1px solid var(--line); border-radius: 28px; padding: 24px; display: grid; gap: 10px; align-content: start; background: #fff; min-width: 0; }
.idea .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--peach); color: var(--brand); display: grid; place-items: center; }
.idea .ic svg { width: 26px; height: 26px; }
.idea h3 { font-size: 1.12rem; font-weight: 800; margin: 0; }
.idea p { color: var(--muted); font-size: .95rem; margin: 0; }
.idea-grid:not(.all) .idea:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.idea-grid:not(.all) .idea:first-child p { color: var(--on-ink); }
.idea-grid:not(.all) .idea:first-child .ic { background: var(--brand); color: #fff; }
@media (max-width: 1000px) { .idea-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .idea-grid { grid-template-columns: 1fr; } }
.more-row { text-align: center; margin: 36px 0 0; }

/* journey, numbers, steps */
.journey { background: var(--soft); }
.journey-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 18px 18px 22px; }
.journey-media { border-radius: 18px; background: var(--peach) !important; }
.journey-ic { width: 72px; height: 72px; border-radius: 50%; box-shadow: none; }
.journey-ic svg, .journey-ic svg * { stroke: var(--brand); }
.journey-dot { display: none; }
.journey-card p { color: var(--muted); }
.numbers-box { background: none; border: 0; padding: 0; display: block; }
.numbers-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.numbers-head h2::after { content: ""; display: block; width: 64px; height: 22px; margin: 12px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 22'%3E%3Cpath d='M5 5q27 26 54 0' fill='none' stroke='%23FF4F01' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.numbers-grid { grid-template-columns: repeat(4, 1fr); }
.number { border: 0; border-radius: 28px; background: var(--cloud); padding: 28px 20px; text-align: center; }
.number b { justify-content: center; }
.number:last-child { background: var(--brand); }
.number:last-child b, .number:last-child > span { color: #fff; }
@media (max-width: 720px) { .numbers-grid { grid-template-columns: 1fr 1fr; } }
.step { background: #1B1728; border-color: #322D40; border-radius: 28px; }
.step::before { border-radius: 50%; width: 46px; height: 46px; font-family: "Montserrat", var(--font); }
.step p { color: var(--on-ink); }

/* themes: a moving strip of the real captures, the sectors, then the gallery */
.theme-strip { overflow: hidden; padding-block: 6px 26px; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.theme-strip__run { display: flex; gap: 18px; width: max-content; animation: mt-slide 60s linear infinite; }
.theme-strip:hover .theme-strip__run { animation-play-state: paused; }
@keyframes mt-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .theme-strip { overflow-x: auto; } .theme-strip__run { animation: none; } }
.theme-shot { width: 300px; flex: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow); direction: rtl; display: block; aspect-ratio: auto; padding: 0; }
.theme-shot .bar { display: flex; align-items: center; gap: 5px; padding: 8px 12px; border-bottom: 1px solid var(--line); font-family: "Montserrat", var(--font); font-size: .7rem; color: var(--muted); direction: ltr; }
.theme-shot .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--cloud); display: block; }
.theme-shot .bar span { margin-inline-start: 6px; }
.theme-shot .pic { height: 330px; overflow: hidden; background: var(--cloud); display: block; }
.theme-shot .pic img { width: 100%; display: block; }
.theme-shot .cap { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 800; }
.theme-shot .cap small { font-weight: 600; color: var(--muted); font-size: .78rem; }
.theme-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.theme-chips a { font-size: .88rem; font-weight: 700; border: 1px solid var(--line); border-radius: 999px; padding: .35em 1.1em; background: #fff; color: var(--ink-2); }
.theme-chips a:hover { border-color: var(--brand); color: var(--brand); }
.theme-card { border-radius: 28px; }
.theme-frame__bar { background: #fff; }
.theme-frame__bar i, .theme-frame__bar i:first-child, .theme-frame__bar i:nth-child(2), .theme-frame__bar i:nth-child(3) { background: var(--cloud); }
.theme-for--products, .theme-for--services, .theme-cat { background: var(--cloud); color: var(--ink-2); }
.pill.premium { background: var(--sun); color: var(--ink); }
.theme-feats li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); top: .65em; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* app store + partners: real logos on white tiles */
.lg-tile { width: 56px; height: 56px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; font-weight: 800; color: #fff; font-size: .95rem; }
.lg-tile img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }
.app-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.app-tile { border: 1px solid var(--line); border-radius: 18px; padding: 18px 12px; display: grid; gap: 10px; justify-items: center; text-align: center; background: #fff; min-width: 0; }
.app-tile:hover { border-color: var(--brand); }
.app-tile b { font-size: .9rem; font-weight: 700; line-height: 1.5; }
.app-tile small { color: var(--muted); font-size: .78rem; }
@media (max-width: 1000px) { .app-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 420px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
.app-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.app-row { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.app-row[hidden] { display: none; }
.app-row > span:last-child { min-width: 0; display: grid; gap: 4px; }
.app-row b { font-weight: 800; line-height: 1.5; }
.app-row p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin: 0; }
.app-row i { font-style: normal; font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .1em .8em; background: var(--cloud); color: var(--ink-2); justify-self: start; }
.app-row i.soon { background: var(--sun); color: var(--ink); }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.pill-tabs.start { justify-content: flex-start; }
.pill-tabs button { font: inherit; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .5em 1.3em; cursor: pointer; color: var(--ink-2); }
.pill-tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-tabs button span { font-family: "Montserrat", var(--font); font-size: .8rem; opacity: .7; margin-inline-start: 4px; }
.partner-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.partner-mini[hidden] { display: none; }
.partner-mini > div { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-width: 0; }
.partner-mini b { display: block; font-size: .92rem; font-weight: 700; line-height: 1.5; }
.partner-mini small { color: var(--muted); font-size: .8rem; }
.partner-mini > div > span:last-child { min-width: 0; }
.partner-card { border-radius: 22px; }

/* plans, FAQ, the closing call */
.plan { border-radius: 28px; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.plan.featured .tagline, .plan.featured .price small, .plan.featured .price span, .plan.featured li.off { color: var(--on-ink); }
.plan.featured .btn-ghost { background: var(--brand); border-color: var(--brand); color: #fff; }
.plan li::before { background-color: var(--mint); border-radius: 50%; }
.faq details { border-radius: 18px; }
.cta-band { background: var(--brand) !important; border-radius: 36px; position: relative; overflow: hidden; }
.cta-band p { color: #FFE9DF; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-ghost, .cta-band .btn-light { background: var(--ink); color: #fff; border-color: var(--ink); }

/* footer: real flags, marks under the description */
.site-footer { background: var(--ink); color: var(--on-ink); }
.palette-dots { display: none !important; }
.social-icons a { background: #262233; }
.footer-countries ul { gap: 10px; }
.footer-countries li { border: 1px solid #322D40; border-radius: 999px; padding: .2em .9em; color: #fff; }
.footer-countries li.is-soon { opacity: 1; color: var(--on-ink); }
.footer-countries img { width: 22px; height: 16px; border-radius: 3px; box-shadow: none; }
.footer-countries small { background: none; color: var(--sun); padding: 0; }
.footer-bottom .heart { color: var(--brand); }
