/* Aqdify website. Brand: brand/guidelines.html — Ink, Seal Gold, Sand; Readex Pro + IBM Plex Sans Arabic. */
:root {
  --ink: #0E1A3A; --ink-2: #16264F; --gold: #C9A24B; --gold-2: #E3C77F; --emerald: #0F8A6B; --sand: #F6F1E7; --paper: #FBF8F2;
  --slate: #5B6478; --line: #E7DFCF; --alert: #C2410C;
  --font: 'Readex Pro', system-ui, 'Segoe UI', sans-serif; --font-ar: 'IBM Plex Sans Arabic', 'Readex Pro', 'Segoe UI', Tahoma, sans-serif;
  --r: 16px; --max: 1140px;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-family: var(--font-ar); font-size: 18px; line-height: 1.8 }
a { color: inherit }
img, svg { max-width: 100% }
h1, h2, h3 { margin: 0; letter-spacing: -.02em; text-wrap: balance; line-height: 1.12 }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35 }
p { margin: 0 }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
section { padding-block: 88px }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold) }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px }
.lead { font-size: 20px; color: var(--slate); max-width: 60ch }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 14px 22px; font: 600 16px var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s }
html[lang="ar"] .btn { font-family: var(--font-ar) }
.btn:hover { transform: translateY(-1px) }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px }
.btn.gold { background: var(--gold); color: var(--ink) }
.btn.gold:hover { background: var(--gold-2) }
.btn.ink { background: var(--ink); color: #fff }
.btn.line { border-color: var(--line); background: #fff; color: var(--ink) }
.btn.ghost { border-color: rgba(255,255,255,.25); color: #fff; background: transparent }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(251,248,242,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 22px; text-decoration: none; letter-spacing: -.02em; font-family: var(--font) }
.brand svg { width: 34px; height: 34px; flex: none }
.links { display: flex; gap: 26px; align-items: center; font-size: 15px }
.links a { text-decoration: none; color: var(--slate) }
.links a:hover { color: var(--ink) }
.nav .cta { display: flex; gap: 10px; align-items: center }
.nav .btn { padding: 10px 16px; font-size: 15px }
.lang { font-size: 15px; text-decoration: none; color: var(--slate) }
@media (max-width: 860px) { .links { display: none } }
@media (max-width: 420px) { .nav .btn.line { display: none } }

/* hero */
.hero { padding-block: 72px 96px; overflow: hidden }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 600 }
.hero h1 em { font-style: normal; color: var(--gold) }
.hero .lead { margin-top: 22px }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px }
.hero .note { margin-top: 16px; font-size: 14px; color: var(--slate) }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 28px 0 0; font-size: 15px; color: var(--slate); padding: 0; list-style: none }
.ticks li::before { content: "✓"; color: var(--emerald); font-weight: 700; margin-inline-end: 6px }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr } }

/* product mock */
.mock { position: relative; min-width: 0 }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(14,26,58,.25); padding: 26px; display: grid; gap: 14px }
.doc .bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--slate) }
.doc .switch { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; font-size: 12px }
.doc .switch span { padding: 3px 10px } .doc .switch .on { background: var(--ink); color: #fff }
.doc h3 { font-size: 22px }
.doc .ar { font-family: var(--font-ar); direction: rtl; text-align: right; color: var(--slate); font-size: 16px }
.row-i { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px }
.row-i b { font-weight: 600 }
.row-i .opt { color: var(--slate) }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; direction: ltr }
.tot { display: flex; justify-content: space-between; font-weight: 700; font-size: 20px; padding-top: 10px; border-top: 2px solid var(--ink) }
.tot small { display: block; font-weight: 400; font-size: 12px; color: var(--slate) }
.sign { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--sand); border-radius: 12px; padding: 12px 14px; font-size: 14px }
.sign svg { width: 110px; height: 34px }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--emerald); background: #E5F3EE; border-radius: 99px; padding: 4px 10px }
.mock { padding-top: 34px }
.toastx { position: absolute; inset-inline-end: -14px; top: -8px; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 16px 30px -10px rgba(14,26,58,.4); max-width: 290px }
.toastx .dot { width: 10px; height: 10px; border-radius: 99px; background: var(--gold); margin-top: 6px; flex: none }
.toastx small { color: #A9B1C7; display: block }
.wa { position: absolute; inset-inline-start: -18px; bottom: -26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; box-shadow: 0 14px 28px -12px rgba(14,26,58,.25) }
.wa i { width: 26px; height: 26px; border-radius: 99px; background: #25D366; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; flex: none }
@media (max-width: 560px) { .toastx { position: static; margin-bottom: 12px; max-width: none } .wa { position: static; margin-top: 12px } }
@media (prefers-reduced-motion: no-preference) {
  .toastx { animation: pop .6s 1s both cubic-bezier(.2,.9,.3,1.3) } .wa { animation: pop .6s 1.6s both cubic-bezier(.2,.9,.3,1.3) }
  .sign path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.6s 2.2s ease-out forwards }
}
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96) } }
@keyframes draw { to { stroke-dashoffset: 0 } }

/* proof strip */
.strip { padding-block: 26px; border-block: 1px solid var(--line); background: #fff }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; justify-content: center; color: var(--slate); font-size: 15px }
.strip b { color: var(--ink) }

/* pdf vs aqdify */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px }
.vs { border-radius: var(--r); padding: 28px; display: grid; gap: 14px; align-content: start }
.vs.old { background: #fff; border: 1px solid var(--line) }
.vs.new { background: var(--ink); color: #fff }
.vs ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16px }
.vs.old li::before { content: "✕"; color: var(--alert); margin-inline-end: 10px; font-weight: 700 }
.vs.new li::before { content: "✓"; color: var(--gold); margin-inline-end: 10px; font-weight: 700 }
.vs h3 { font-size: 20px } .vs.old h3 { color: var(--slate) }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr } }

/* features */
.head { display: grid; gap: 14px; max-width: 760px }
.head h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 600 }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px }
.f { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start }
.f .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sand); display: grid; place-items: center }
.f .ic svg { width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.f h3 { font-size: 19px; font-weight: 600 }
.f p { color: var(--slate); font-size: 16px }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr } }

/* steps */
.steps-sec { background: var(--ink); color: #fff }
.steps-sec .lead { color: #A9B1C7 }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px }
.step { border-top: 2px solid var(--gold); padding-top: 20px; display: grid; gap: 10px; align-content: start }
.step .n { font-size: 14px; color: var(--gold); font-weight: 600 }
.step h3 { font-size: 22px; font-weight: 600 }
.step p { color: #A9B1C7 }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr } }

/* security */
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.checks div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 15px; display: flex; gap: 10px; align-items: flex-start }
.checks div::before { content: "✓"; color: var(--emerald); font-weight: 700 }
@media (max-width: 860px) { .sec-grid { grid-template-columns: 1fr } .checks { grid-template-columns: 1fr } }

/* pricing */
.pricing-sec { background: var(--sand) }
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 4px; margin-top: 26px }
.toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 99px; font: 600 14px var(--font); color: var(--slate); cursor: pointer }
html[lang="ar"] .toggle button { font-family: var(--font-ar) }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; align-content: start; position: relative }
.plan.pop { border: 2px solid var(--ink) }
.plan .tag { position: absolute; top: -12px; inset-inline-start: 22px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 99px; padding: 3px 10px }
.plan h3 { font-size: 20px; font-weight: 600 }
.price { font-size: 40px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; direction: ltr; text-align: start }
html[lang="ar"] .price { text-align: right }
.price small { font-size: 15px; font-weight: 400; color: var(--slate); letter-spacing: 0 }
.plan .who { color: var(--slate); font-size: 15px }
.plan ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px }
.plan li::before { content: "✓"; color: var(--emerald); font-weight: 700; margin-inline-end: 8px }
.plan .btn { width: 100% }
.ent { margin-top: 16px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center }
.ent p { color: #A9B1C7 }
.ent ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px }
.ent li::before { content: "✓"; color: var(--gold); margin-inline-end: 8px }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr 1fr } }
@media (max-width: 600px) { .plans { grid-template-columns: 1fr } .ent { grid-template-columns: 1fr } }

/* faq */
.faq { display: grid; gap: 10px; margin-top: 36px; max-width: 860px }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1 }
.faq details[open] summary::after { content: "–" }
.faq p { margin-top: 10px; color: var(--slate) }

/* contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start }
form.cf { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; position: relative }
.cf .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.cf label { font-size: 14px; color: var(--slate); display: grid; gap: 6px }
.cf input, .cf textarea, .cf select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100% }
.cf textarea { min-height: 110px; resize: vertical }
.cf .hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none }
body { overflow-x: clip }
.cf .msg { font-size: 15px; min-height: 1.5em } .cf .msg.ok { color: var(--emerald) } .cf .msg.bad { color: var(--alert) }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr } .cf .two { grid-template-columns: 1fr } }

/* final cta + footer */
.final { background: var(--ink); color: #fff; text-align: center }
.final .wrap { display: grid; gap: 20px; justify-items: center }
.final h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 600 }
.final p { color: #A9B1C7; font-size: 19px }
footer { background: #0A1430; color: #A9B1C7; padding-block: 40px; font-size: 14px }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center }
footer a { color: #fff; text-decoration: none } footer nav { display: flex; flex-wrap: wrap; gap: 20px }

/* legal pages */
.legal { padding-block: 56px 88px }
.legal .wrap { max-width: 780px; display: grid; gap: 16px }
.legal h1 { font-size: 40px } .legal h2 { font-size: 22px; margin-top: 18px }
.legal p, .legal li { color: #2A3550 } .legal ul { margin: 0; padding-inline-start: 1.2em; display: grid; gap: 6px }
.legal .draft { background: var(--sand); border-radius: 12px; padding: 14px 16px; font-size: 15px }
