/* codwo.com — Majorelle blue, saffron, ink. Headings: Alexandria. Body: IBM Plex Sans (Arabic). */
:root {
	--ink: #0d1526;
	--ink-2: #26324a;
	--muted: #5a6577;
	--line: #e2e6ee;
	--bg: #f5f6f8;
	--card: #ffffff;
	--blue: #2f45d8;
	--blue-deep: #1d2c9e;
	--blue-soft: #eceffd;
	--saffron: #f6b21a;
	--saffron-deep: #d99600;
	--green: #0ea36a;
	--display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
	--r: 14px;
}
.lang-ar { --body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, Tahoma, sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.lang-ar body, body.lang-ar { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { inset-inline-start: 8px; }
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 14px; padding: 8px 16px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; padding: 13px 22px; white-space: nowrap; transition: background-color .15s, transform .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn-lg { padding: 17px 30px; font-size: 18px; }
.btn-block { display: flex; width: 100%; }
.btn-buy { background: var(--saffron); color: var(--ink); box-shadow: 0 6px 18px -8px rgba(217, 150, 0, .8); }
.btn-buy:hover { background: var(--saffron-deep); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(245, 246, 248, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 21px; font-weight: 700; white-space: nowrap; }
.brand b { color: var(--blue); font-weight: 700; }
.brand img { height: 32px; width: auto; max-width: 180px; object-fit: contain; }
.foot .brand img { height: 28px; }
.nav { display: flex; gap: 26px; margin-inline-start: 8px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.nav a:hover, .nav a[aria-current] { color: var(--blue); }
.top-end { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.langs { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.langs a { min-width: 34px; text-align: center; padding: 5px 8px; border-radius: 7px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 13px; line-height: 1.3; }
.langs a[aria-current] { background: var(--ink); color: #fff; }
@media (max-width: 880px) { .nav { display: none; } }
@media (max-width: 440px) { .top-end .btn { display: none; } .brand span { font-size: 19px; } }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: 72px 0 96px; }
.hero-pattern { position: absolute; inset: 0; opacity: .13; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M44 8l9 18 18-9-9 18 18 9-18 9 9 18-18-9-9 18-9-18-18 9 9-18-18-9 18-9-9-18 18 9z'/%3E%3Ccircle cx='44' cy='44' r='9'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 88px 88px; mask-image: linear-gradient(to bottom, #000 40%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.kicker { display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .02em; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); padding: 5px 12px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(30px, 3.9vw, 48px); font-weight: 800; line-height: 1.2; }
.lead { margin-top: 20px; font-size: 19px; color: #dfe4ff; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.price-from { display: grid; line-height: 1.25; }
.price-from span { font-size: 13px; color: #c9d0ff; }
.price-from b { font-family: var(--display); font-size: 30px; }
.price-from small { font-size: 13px; color: #c9d0ff; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 30px 0 0; padding: 0; color: #dfe4ff; font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 7px; }
.facts svg { width: 18px; height: 18px; color: var(--saffron); }
@media (max-width: 960px) { .hero { padding-top: 48px; } .hero-in { grid-template-columns: 1fr; gap: 52px; } }

/* demo phone */
.stage { position: relative; display: flex; justify-content: center; }
.stage-tag { position: absolute; top: -16px; inset-inline-end: 8%; z-index: 2; background: var(--saffron); color: var(--ink); font-weight: 600; font-size: 13px; padding: 6px 12px; border-radius: 999px; transform: rotate(-4deg); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .5); }
.lang-ar .stage-tag { transform: rotate(4deg); }
.phone { position: relative; width: 392px; max-width: 100%; aspect-ratio: 9 / 16.6; background: #0b1120; border-radius: 52px; padding: 11px; box-shadow: 0 40px 70px -30px rgba(0, 0, 20, .7), 0 0 0 2px #2a3350 inset, 0 0 0 1px rgba(255, 255, 255, .1); }
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; background: #1b2338; border-radius: 3px; }
.phone::before { inset-inline-start: -4px; top: 128px; height: 58px; box-shadow: 0 74px 0 #1b2338; }
.phone::after { inset-inline-end: -4px; top: 168px; height: 86px; }
.screen { position: relative; height: 100%; background: #fff; color: var(--ink); border-radius: 42px; overflow: hidden; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; }
.status { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 13px 28px 4px; font: 600 13px/1 var(--body); direction: ltr; }
.island { width: 96px; height: 28px; border-radius: 20px; background: #0b1120; }
.status i { display: flex; gap: 5px; align-items: center; font-style: normal; }
.status i svg { height: 11px; }
.scroll { flex: 1; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.scroll::-webkit-scrollbar { display: none; }
.shop-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 8px; }
.shop-bar b { font-size: 14px; }
.cod-pill { font-size: 11.5px; font-weight: 600; color: var(--green); background: #e6f7ef; border-radius: 999px; padding: 2px 9px; }
.demo { padding: 0 18px 0; }
.p-img { height: 112px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-soft), #fff5dc); display: grid; place-items: center; }
.p-img svg { width: 88px; }
.demo h3 { font: 600 16px/1.4 var(--body); margin-top: 12px; }
.p-price { display: flex; gap: 10px; align-items: baseline; }
.p-price b { font-size: 19px; color: var(--blue); }
.p-price s { color: #96a0b0; font-size: 13px; }
.demo fieldset { border: 0; margin: 12px 0 0; padding: 0; }
.demo legend { font-size: 12.5px; font-weight: 600; padding: 0; margin-bottom: 6px; }
.swatches { display: flex; gap: 8px; }
.swatch { width: 28px; height: 28px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--blue); }
.offers { display: grid; gap: 6px; }
.offer { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; padding: 9px 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font: inherit; color: var(--ink); cursor: pointer; text-align: start; }
.offer em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--blue); padding: 1px 7px; border-radius: 999px; margin-inline-start: 6px; }
.offer[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-soft); }
.fields { display: grid; gap: 7px; margin-top: 12px; }
.fields input, .fields select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.row2 input { min-width: 0; }
.fields input:focus, .fields select:focus { outline: none; border-color: var(--blue); }
.sum { margin: 12px 0 0; display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.sum div { display: flex; justify-content: space-between; }
.sum dd { margin: 0; }
.sum-total { color: var(--ink); font-weight: 700; font-size: 15px; border-top: 1px dashed var(--line); padding-top: 5px; margin-top: 4px; }
.order-bar { position: sticky; bottom: 0; margin: 12px -18px 0; padding: 10px 18px 22px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 28%); }
.order-bar::after { content: ""; display: block; width: 120px; height: 5px; border-radius: 3px; background: #0b1120; margin: 12px auto 0; }
.order { width: 100%; padding: 13px; border: 0; border-radius: 12px; background: var(--green); color: #fff; font: 700 15.5px/1.2 var(--body); cursor: pointer; }
.order:hover { background: #0b8a59; }
.done { display: none; text-align: center; padding: 120px 22px 46px; }
.done svg { width: 60px; margin: 0 auto 10px; }
.done p { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.done button { margin-top: 18px; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 16px; font: inherit; cursor: pointer; }
.screen.is-done .demo { display: none; }
.screen.is-done .done { display: block; }

/* problem */
.problem { background: var(--ink); color: #fff; padding: 64px 0; }
.problem-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.problem h2 { font-size: clamp(25px, 3vw, 34px); }
.problem p { color: #b9c2d3; margin-top: 14px; font-size: 18px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats li { border: 1px solid #2a3654; border-radius: var(--r); padding: 20px 16px; }
.stats b { display: block; font-family: var(--display); font-size: 46px; line-height: 1; color: var(--saffron); }
.stats span { display: block; margin-top: 8px; color: #b9c2d3; font-size: 14.5px; line-height: 1.4; }
@media (max-width: 860px) { .problem-in { grid-template-columns: 1fr; gap: 28px; } }

/* sections */
.section { padding: 96px 0; }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 18px; }

/* journey */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.leg { display: grid; grid-template-columns: 250px 1fr; gap: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.leg-head { display: flex; gap: 14px; align-items: flex-start; }
.leg-n { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--blue); color: #fff; font: 700 19px/42px var(--display); text-align: center; }
.leg-head small { color: var(--blue); font-weight: 600; font-size: 14px; }
.leg-head h3 { font-size: 23px; margin-top: 2px; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 34px; }
.feats b { display: block; font-size: 16.5px; }
.feats span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 2px; }
@media (max-width: 820px) { .leg { grid-template-columns: 1fr; gap: 20px; padding: 24px; } .feats { grid-template-columns: 1fr; } }
.works { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 34px; }
.works > span { font-weight: 600; color: var(--muted); }
.works ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.works li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: 14.5px; font-weight: 500; }

/* pricing */
.pricing { background: linear-gradient(var(--bg), #eceefb); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 32px 28px; }
.plan.is-featured { border: 2px solid var(--blue); box-shadow: 0 24px 50px -30px rgba(47, 69, 216, .55); }
.plan-badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 21px; }
.plan-price { margin-top: 14px; display: grid; }
.plan-price b { font-family: var(--display); font-size: 52px; line-height: 1.05; }
.plan-price span { color: var(--muted); font-size: 15px; margin-top: 6px; }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 9px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 5px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%232f45d8' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.plan .btn { margin-top: auto; }
.plans-note { text-align: center; color: var(--muted); margin-top: 24px; font-size: 15.5px; }
@media (max-width: 880px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* steps */
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps li { counter-increment: s; border-top: 3px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 15px/1 var(--display); color: var(--blue); margin-bottom: 12px; }
.steps b { display: block; font-size: 18px; }
.steps span { display: block; color: var(--muted); font-size: 15.5px; margin-top: 4px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq-in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--display); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; gap: 10px; } }

/* cta band */
.cta-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: 72px 0; }
.cta-in { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 26px; }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cta-band p { color: #dfe4ff; margin-top: 8px; font-size: 18px; }

/* footer */
.foot { background: var(--ink); color: #b9c2d3; padding: 60px 0 26px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.foot .brand { color: #fff; font-size: 19px; }
.foot .brand b { color: var(--saffron); }
.foot-brand p { margin-top: 14px; max-width: 34em; font-size: 14.5px; }
.foot h2 { color: #fff; font: 600 15px/1.4 var(--body); margin-bottom: 12px; }
.foot-in a:not(.brand) { display: block; color: #b9c2d3; text-decoration: none; padding: 3px 0; }
.foot-in a:not(.brand):hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid #26324a; margin-top: 40px; padding-top: 20px; font-size: 13.5px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* inner pages */
.page { padding: 56px 0 96px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.page h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 26px; }
.prose { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 44px); }
.prose h2 { font-size: 23px; margin: 34px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 22px 0 6px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 10px 0; }
.prose li + li { margin-top: 6px; }
.prose code { background: var(--blue-soft); color: var(--blue-deep); padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.prose .meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.prose .callout { background: var(--blue-soft); border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0; }
.contact-cards a { display: block; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none; color: var(--ink); }
.contact-cards a:hover { border-color: var(--blue); }
.contact-cards b { display: block; font-family: var(--display); }
.contact-cards span { color: var(--muted); font-size: 14.5px; word-break: break-all; }

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