/* Share Basket marketing site. One stylesheet for every page, both directions (logical properties). */
:root {
  --a: #14c8a0;
  --b: #0e7ae6;
  --grad: linear-gradient(135deg, var(--a), var(--b));
  --ink: #0b1f2c;
  --ink-2: #3d5566;
  --ink-3: #6b8293;
  --bg: #ffffff;
  --bg-2: #f5f8fa;
  --line: #e2e9ee;
  --navy: #0b1b2b;
  --navy-2: #12283c;
  --tint: #eaf7f4;
  --blue: #0e6fd6;
  --r: 16px;
  --shadow: 0 1px 2px rgba(11, 31, 44, .06), 0 8px 24px -12px rgba(11, 31, 44, .18);
  --wrap: 1200px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
[dir="ltr"] body { line-height: 1.6; }
/* Arabic pages use Cairo. */
[lang="ar"] body { font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--b) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

/* Announcement + header */
.announce { background: var(--navy); color: #d6e4ee; font-size: 13.5px; text-align: center; padding: 8px 16px; }
.announce a { color: #fff; font-weight: 600; margin-inline-start: 8px; text-decoration: none; }
.announce a::after { content: " →"; }
[dir="rtl"] .announce a::after { content: " ←"; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 18px; flex: none; }
.logo img { width: 36px; height: 36px; }
.logo small { display: block; font-size: 10.5px; font-weight: 500; color: var(--ink-3); letter-spacing: .12em; line-height: 1.1; }
.menu { display: flex; gap: 24px; font-size: 15px; flex: 1; }
.menu a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.lang { font-size: 14px; color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; }
.lang:hover { background: var(--bg-2); color: var(--ink); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
@media (max-width: 960px) {
  .menu { display: none; position: absolute; inset-inline: 0; top: 68px; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .burger { display: block; }
  .nav-end .btn { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; padding: 13px 22px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 122, 230, .65); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgba(14, 122, 230, .7); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: #c9d6df; }
.btn-text { color: var(--blue); padding-inline: 4px; text-decoration: none; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.btn-text::after { content: "→"; transition: transform .15s; }
[dir="rtl"] .btn-text::after { content: "←"; }
.btn-text:hover::after { transform: translateX(3px); }
[dir="rtl"] .btn-text:hover::after { transform: translateX(-3px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; box-shadow: none; }

/* Common section bits */
section { padding: 88px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow.c { color: #0b8f79; }
.head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.head p { color: var(--ink-2); font-size: 18px; margin-top: 14px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.alt { background: var(--bg-2); }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 620px; background: radial-gradient(600px 300px at 70% 30%, rgba(20, 200, 160, .14), transparent 70%), radial-gradient(520px 280px at 20% 10%, rgba(14, 122, 230, .12), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 700; margin: 4px 0 20px; letter-spacing: -.02em; }
.hero h1 span { display: block; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 32px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 14px; color: var(--ink-3); }
.trust span::before { content: "✓"; color: #12a888; font-weight: 700; margin-inline-end: 6px; }
.works { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.works b { font: 600 15px/1 inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero { padding-top: 40px; } .hero .copy { text-align: center; } .cta, .trust, .works { justify-content: center; } .hero .lead { margin-inline: auto; } }

/* Phone with the demo video */
.device { position: relative; justify-self: center; width: min(330px, 78vw); }
.device::before { content: ""; position: absolute; inset: 8% -18% 4%; background: var(--grad); filter: blur(70px); opacity: .28; border-radius: 50%; }
.phone { position: relative; aspect-ratio: 9 / 19.5; border-radius: 46px; padding: 11px; background: #0d1620; box-shadow: 0 40px 80px -30px rgba(11, 31, 44, .55), inset 0 0 0 2px #2a3a48; }
.phone video, .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 36px; background: #f4f6f8; }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; border-radius: 14px; background: #0d1620; transform: translateX(-50%); }

/* Why: split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.split > div > p { color: var(--ink-2); font-size: 18px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.ticks li i { width: 40px; height: 40px; border-radius: 12px; background: var(--tint); color: #0b8f79; display: grid; place-items: center; font-style: normal; font-weight: 700; }
.ticks b { display: block; font-size: 17px; margin-bottom: 2px; }
.ticks span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px 26px; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature cards (illustration on top, like a product grid) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11,31,44,.06), 0 18px 36px -16px rgba(11,31,44,.28); }
.card .art { height: 128px; display: grid; place-items: center; background: linear-gradient(135deg, #eefaf6, #eaf3fd); border-bottom: 1px solid var(--line); }
.card .art svg { width: 64px; height: 64px; }
.card .body { padding: 22px 22px 24px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* Dashboard showcase */
.show { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.show h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.show p { color: var(--ink-2); font-size: 18px; }
.show ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.show li { padding-inline-start: 30px; position: relative; color: var(--ink-2); }
.show li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: #12a888; font-weight: 700; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(11, 31, 44, .45); background: #fff; }
.browser .bar { height: 34px; display: flex; gap: 7px; align-items: center; padding-inline: 14px; background: #eef2f5; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d3dce3; }
.browser img { width: 100%; height: auto; }
@media (max-width: 960px) { .show { grid-template-columns: 1fr; } }

/* Dark band: platforms + pricing */
.dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.dark::before { content: ""; position: absolute; inset: -40% 10% auto; height: 520px; background: var(--grad); filter: blur(140px); opacity: .22; pointer-events: none; }
.dark .head h2 { color: #fff; }
.dark .head p { color: #a9bccb; }
.dark .eyebrow { color: #7fe3cb; }
.plats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plat { background: var(--navy-2); border: 1px solid #22394f; border-radius: var(--r); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.plat h3 { font-size: 22px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: rgba(20, 200, 160, .16); color: #6ff0cf; }
.badge.wait { background: rgba(255, 196, 77, .14); color: #ffd27a; }
.plat .price { font-size: 17px; font-weight: 600; }
.plat .trial { color: #a9bccb; font-size: 14px; }
.plat .go { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.plat .btn-text { color: #8cc8ff; }
.plat.other { background: transparent; border-style: dashed; }
.plat.other p { color: #a9bccb; font-size: 15px; }
@media (max-width: 1060px) { .plats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plats { grid-template-columns: 1fr; } }

/* Blog cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s; }
.post:hover { transform: translateY(-3px); }
.post time { font-size: 13px; color: var(--ink-3); }
.post h3 { font-size: 19px; margin: 8px 0 10px; color: var(--ink); }
.post p { color: var(--ink-2); font-size: 15px; flex: 1; }
.post .btn-text { margin-top: 16px; align-self: flex-start; }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .posts { grid-template-columns: 1fr; } }
.center { text-align: center; margin-top: 36px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--b); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* Final CTA */
.final { padding: 0 0 96px; }
.final-box { background: var(--navy); color: #fff; border-radius: 28px; padding: 64px 24px; text-align: center; position: relative; overflow: hidden; }
.final-box::before { content: ""; position: absolute; inset: -50% 20% auto; height: 340px; background: var(--grad); filter: blur(100px); opacity: .45; }
.final-box > * { position: relative; }
.final-box img { width: 64px; height: 64px; margin: 0 auto 20px; }
.final-box h2 { font-size: clamp(26px, 3.4vw, 40px); }
.final-box p { color: #b9cbd8; margin: 12px auto 28px; max-width: 520px; font-size: 18px; }

/* Inner pages */
.page-hero { padding: 64px 0 40px; text-align: center; background: linear-gradient(180deg, #f3f9f8, #fff); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 14px; }
.page-hero p { color: var(--ink-2); font-size: 19px; max-width: 680px; margin: 0 auto; }
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.choose a { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; box-shadow: var(--shadow); transition: transform .2s; }
.choose a:hover { transform: translateY(-3px); }
.choose h2 { font-size: 24px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.choose .badge.ok { background: var(--tint); color: #0b8f79; }
.choose .badge.wait { background: #fff4dc; color: #8a5a00; }
.choose p { color: var(--ink-2); }
@media (max-width: 860px) { .choose { grid-template-columns: 1fr; } }
.guide { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.guide ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: g; }
.guide ol li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.guide ol li::before { counter-increment: g; content: counter(g); width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; }
.guide h3 { font-size: 18px; margin-bottom: 4px; }
.guide li p { color: var(--ink-2); }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.box h3 { font-size: 16px; margin-bottom: 6px; }
.box p { color: var(--ink-2); font-size: 15px; }
.box .btn { width: 100%; margin-top: 14px; }
.note { background: #fff8e8; border: 1px solid #ffe2a6; color: #6b4a00; border-radius: 12px; padding: 12px 14px; font-size: 14.5px; margin-top: 12px; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .aside { position: static; } }

/* Contact form */
.form { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--b); box-shadow: 0 0 0 3px rgba(14, 122, 230, .15); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hp { position: absolute; inset-inline-start: -9999px; }
.form .row-end { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form output { font-size: 15px; }
.form output.ok { color: #0b8f79; font-weight: 600; }
.form output.err { color: #c03a2b; }
.form .alt-mail { font-size: 14px; color: var(--ink-3); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* Blog post */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { color: var(--ink-3); font-size: 14px; margin-top: 12px; }
.prose { font-size: 18px; color: #233b4b; }
.prose h2 { font-size: 28px; margin: 44px 0 14px; color: var(--ink); scroll-margin-top: 90px; }
.prose h3 { font-size: 21px; margin: 30px 0 10px; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-inline-start: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--blue); }
.prose strong { color: var(--ink); }
.post-cta { margin-top: 48px; background: var(--navy); color: #fff; border-radius: 20px; padding: 32px; text-align: center; }
.post-cta h2 { font-size: 26px; margin: 0 0 8px; color: #fff; }
.post-cta p { color: #b9cbd8; margin: 0 0 20px; }
.related { margin-top: 56px; }
.related h2 { font-size: 22px; margin-bottom: 18px; }

/* Footer */
.foot { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 14px; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .tag { color: var(--ink-2); margin-top: 12px; max-width: 300px; }
.foot .bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
