/* Creative PDF — creativepdfapp.com. Colours come from the app itself: its blue, the pastel tool tiles, the near-white screens. */
:root {
  --blue: #0a7cff;
  --blue-d: #0763d1;
  --navy: #0e1533;
  --ink: #0f1738;
  --muted: #5f6b85;
  --bg: #f5f8fe;
  --card: #ffffff;
  --line: #dde6f5;
  --red: #f04452;
  --teal: #12b5a0;
  --pink: #ee4f7c;
  --orange: #ff8a1f;
  --violet: #8b5cf6;
  --indigo: #4c5fe0;
  --green: #1fa463;
  --r: 22px;
  --ar: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --en: "Inter", "Segoe UI", system-ui, sans-serif;
  --brand: "Plus Jakarta Sans", "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.8 var(--ar); overflow-x: hidden; }
html[lang="en"] body { font-family: var(--en); line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(800px, 100% - 40px); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { border-radius: 22%; }
.brand b { font: 800 20px/1 var(--brand); letter-spacing: -.02em; color: var(--navy); white-space: nowrap; }
.brand b i { font-style: normal; color: var(--blue); }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.lang { font: 600 14px/1 var(--en); color: var(--ink); background: transparent; border: 1px solid #c4d1e8; border-radius: 999px; padding: 10px 14px; cursor: pointer; }
html[lang="en"] .lang { font-family: var(--ar); }
.lang:hover { border-color: var(--blue); color: var(--blue); }
.get { text-decoration: none; font-weight: 700; font-size: 15px; background: var(--blue); color: #fff; padding: 9px 18px; border-radius: 999px; }
.get:hover { background: var(--blue-d); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(760px 480px at 8% 0%, rgba(10, 124, 255, .16), transparent 64%),
    radial-gradient(620px 460px at 96% 100%, rgba(18, 181, 160, .13), transparent 62%),
    linear-gradient(180deg, #fff, var(--bg)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; padding-block: 64px 0; }
.hero-copy { padding-bottom: 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #0a5a38; background: #dcf5e8; border: 1px solid #a9e2c5; padding: 5px 14px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(31, 164, 99, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(31, 164, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 164, 99, 0); } }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.3; font-weight: 800; margin-top: 20px; color: var(--navy); }
html[lang="en"] .hero h1 { font-family: var(--brand); line-height: 1.1; letter-spacing: -.035em; font-size: clamp(36px, 5vw, 60px); }
.hero h1 em { font-style: normal; color: var(--blue); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); margin-top: 18px; max-width: 33em; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px 10px 18px; border-radius: 16px; text-decoration: none; min-width: 196px; }
.store svg { width: 30px; height: 30px; flex: none; }
.store span { display: grid; line-height: 1.2; text-align: start; }
.store small { font-size: 12px; opacity: .78; }
.store b { font: 700 19px/1.25 var(--en); letter-spacing: -.01em; }
.store.play { background: var(--navy); color: #fff; box-shadow: 0 16px 34px -16px rgba(14, 21, 51, .7); transition: transform .15s, box-shadow .15s; }
.store.play:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(14, 21, 51, .8); }
.store.soon { color: var(--muted); border: 1.5px dashed #b9c7e0; cursor: default; }
.store.light { background: #fff; color: var(--navy); }
.cta .store.soon { color: rgba(255, 255, 255, .7); border-color: rgba(255, 255, 255, .35); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.facts li { font-size: 14px; font-weight: 500; color: #33405e; background: #fff; border: 1px solid var(--line); padding: 3px 13px; border-radius: 999px; }

/* phone inside the scan frame taken from the app logo */
.hero-art { position: relative; display: grid; place-items: end center; min-height: 580px; }
.scan { position: absolute; top: 34px; left: 50%; width: min(430px, 100%); height: 500px; transform: translateX(-50%); pointer-events: none; }
.scan i { position: absolute; width: 74px; height: 74px; border: 9px solid var(--blue); border-radius: 26px; }
.scan i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 30px 0 0 0; }
.scan i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 30px 0 0; }
.scan i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 30px; }
.scan i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 30px 0; }
.scan b { position: absolute; left: 22px; right: 22px; top: 40px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--teal), transparent); box-shadow: 0 0 22px 4px rgba(18, 181, 160, .45); animation: sweep 3.6s cubic-bezier(.45, 0, .55, 1) infinite alternate; }
@keyframes sweep { to { transform: translateY(410px); } }
.phone { position: relative; width: min(280px, 68vw); aspect-ratio: 720 / 1392; border-radius: 40px; border: 9px solid #0b1026; background: #0b1026; overflow: hidden; box-shadow: 0 0 0 1px #c9d5ea, 0 44px 80px -36px rgba(14, 21, 51, .6); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.hero-art .phone { margin-bottom: -110px; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 9px 16px 9px 10px; box-shadow: 0 20px 40px -22px rgba(14, 21, 51, .5); font-size: 14.5px; font-weight: 700; line-height: 1.3; animation: float 6s ease-in-out infinite; white-space: nowrap; }
html[dir="rtl"] .chip { padding: 9px 10px 9px 16px; }
.chip .ic { width: 38px; height: 38px; border-radius: 12px; margin: 0; }
.chip .ic svg { width: 20px; height: 20px; }
.chip-a { top: 96px; inset-inline-start: -8px; }
.chip-b { top: 250px; inset-inline-end: -14px; animation-delay: -2s; }
.chip-c { bottom: 64px; inset-inline-start: 4px; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-9px); } }

/* ---------- sections ---------- */
.band { padding-block: clamp(64px, 9vw, 108px); }
.band.white { background: #fff; border-block: 1px solid var(--line); }
.kicker { font-size: 14px; font-weight: 700; color: var(--blue); }
html[lang="en"] .kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; }
h2 { font-size: clamp(27px, 3.6vw, 42px); line-height: 1.35; font-weight: 800; margin-top: 6px; max-width: 20em; color: var(--navy); }
html[lang="en"] h2 { font-family: var(--brand); letter-spacing: -.03em; line-height: 1.16; }
h3 { font-size: 18px; line-height: 1.45; font-weight: 700; }
.sub { color: var(--muted); margin-top: 10px; max-width: 38em; }

.ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; flex: none; }
.ic svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ic.red { background: #fde7e9; color: var(--red); }
.ic.blue { background: #e1eeff; color: var(--blue); }
.ic.teal { background: #dcf5f1; color: var(--teal); }
.ic.pink { background: #fde6ee; color: var(--pink); }
.ic.orange { background: #fff0e0; color: var(--orange); }
.ic.violet { background: #efe8fe; color: var(--violet); }
.ic.indigo { background: #e6e9fc; color: var(--indigo); }
.ic.green { background: #dff4e9; color: var(--green); }

/* tools: one block per group of the app's own "All tools" screen */
.groups { display: grid; gap: 18px; margin-top: 40px; }
.group { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px; }
.group > header { padding: 6px 4px; }
.group > header b { display: block; font-size: 21px; font-weight: 800; color: var(--navy); line-height: 1.4; }
.group > header span { font: 600 13px/1 var(--en); color: var(--muted); }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.tool { display: flex; gap: 14px; align-items: center; background: var(--bg); border: 1px solid transparent; border-radius: 18px; padding: 12px 14px; transition: border-color .2s, transform .2s, background .2s; }
.tool:hover { background: #fff; border-color: #bccbe6; transform: translateY(-2px); }
.tool h3 { font-size: 16.5px; }
.tool p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* steps */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; }
.steps li::before { content: counter(s); grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--blue); color: #fff; font: 800 19px/1 var(--en); }
.steps b { font-size: 19px; line-height: 1.5; }
.steps span { color: var(--muted); font-size: 16px; }
.sheet { background: var(--bg); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 30px 60px -44px rgba(14, 21, 51, .5); }
.sheet small { display: block; font-weight: 700; font-size: 17px; margin: 2px 6px 12px; }
.sheet .tool { background: #fff; margin-top: 10px; }
.sheet .tool:first-of-type { background: #e6f0ff; }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.note.center { text-align: center; margin-top: 4px; }

/* screenshots */
.strip { display: flex; gap: 26px; overflow-x: auto; padding: 44px max(20px, calc((100vw - 1120px) / 2)) 30px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b9c8e2 transparent; }
.strip figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.phone.sm { width: 232px; border-radius: 34px; border-width: 7px; box-shadow: 0 0 0 1px #c5d1e6, 0 30px 50px -34px rgba(14, 21, 51, .6); }
.strip figcaption { margin-top: 14px; font-weight: 600; font-size: 15.5px; }

/* on your device */
.band.dark { background: radial-gradient(700px 380px at 85% 0%, rgba(10, 124, 255, .32), transparent 70%), linear-gradient(180deg, var(--navy), #111c4a); color: #fff; }
.band.dark h2 { color: #fff; }
.band.dark .kicker { color: #7fc0ff; }
.truths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 30px; }
.truths > div { padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.truths h3 { font-size: 20px; }
.truths p { color: rgba(255, 255, 255, .74); font-size: 16px; margin-top: 8px; }

/* faq */
.band.soft { background: #eaf0fb; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; margin-top: 12px; }
details:first-of-type { margin-top: 32px; }
summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--en); color: var(--blue); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; color: var(--muted); font-size: 16px; }
details a { color: var(--blue); }

/* cta + footer */
.cta { text-align: center; color: #fff; padding-block: clamp(64px, 9vw, 100px); background: radial-gradient(700px 360px at 50% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(160deg, #0a7cff, #0850c8); }
.cta img { margin-inline: auto; border-radius: 24%; background: #fff; box-shadow: 0 24px 44px -20px rgba(4, 30, 90, .8); }
.cta h2 { margin: 22px auto 0; color: #fff; }
.cta p { color: rgba(255, 255, 255, .84); margin-top: 8px; }
.cta .stores { justify-content: center; }
.foot { background: var(--navy); color: rgba(255, 255, 255, .72); padding-block: 40px; font-size: 15px; }
.foot .wrap { display: grid; gap: 18px; }
.foot .brand img { background: #fff; }
.foot .brand b { font-size: 18px; color: #fff; }
.foot .brand b i { color: #7fc0ff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.fine { font-size: 13px; color: rgba(255, 255, 255, .5); }

/* ---------- legal pages ---------- */
.doc { padding-block: 56px 90px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.35; color: var(--navy); }
html[lang="en"] .doc h1 { font-family: var(--brand); letter-spacing: -.03em; }
.doc .date { color: var(--muted); margin-top: 6px; font-size: 15px; }
.doc h2 { font-size: 21px; margin-top: 38px; max-width: none; font-family: inherit; letter-spacing: 0; }
.doc p, .doc li { color: #2b3655; margin-top: 10px; }
.doc ul { padding-inline-start: 22px; margin: 6px 0 0; }
.doc a { color: var(--blue); }
.doc .box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 8px 24px 20px; margin-top: 26px; }
.doc .box h2 { margin-top: 16px; }

/* ---------- motion ---------- */
.motion .group, .motion .steps li, .motion .sheet, .motion .truths > div, .motion details, .motion .strip figure { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.motion .in { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip, .dot, .scan b { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .lang { margin-inline-start: auto; }
  .group { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-block: 44px 0; gap: 8px; }
  .hero-copy { padding-bottom: 24px; text-align: center; }
  .lead { margin-inline: auto; }
  .stores, .facts { justify-content: center; }
  .hero-art { min-height: 500px; }
  .scan { width: min(360px, 92vw); height: 430px; top: 26px; }
  @keyframes sweep { to { transform: translateY(340px); } }
  .phone { width: min(240px, 60vw); }
  .hero-art .phone { margin-bottom: -120px; }
  .chip-a { top: 80px; inset-inline-start: max(0px, calc(50% - 200px)); }
  .chip-b { top: 220px; inset-inline-end: max(0px, calc(50% - 204px)); }
  .chip-c { bottom: 40px; inset-inline-start: max(0px, calc(50% - 196px)); }
  .how { grid-template-columns: 1fr; gap: 36px; }
  .truths { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .wrap { gap: 10px; height: 62px; }
  .brand b { font-size: 17px; }
  .get { padding: 8px 14px; }
  .lang { padding: 9px 12px; }
  .store { min-width: 0; flex: 1 1 100%; justify-content: center; }
  .chip { font-size: 13px; padding-block: 7px; }
  .chip .ic { width: 32px; height: 32px; border-radius: 10px; }
  .phone.sm { width: 204px; }
  .strip { gap: 18px; }
  .group { padding: 16px; border-radius: 22px; }
  .tools { grid-template-columns: 1fr; }
}
