/* Waletifi landing. Tokens follow the Waletifi design system (light / dark). Logical properties throughout, so
   the same rules lay out LTR and RTL pages. */

@font-face { font-family: Inter; src: url(../fonts/inter-regular.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: Inter; src: url(../fonts/inter-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(../fonts/inter-bold.woff2) format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/vazirmatn-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/vazirmatn-medium.woff2) format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/vazirmatn-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(../fonts/vazirmatn-extrabold.woff2) format("woff2"); font-weight: 800 900; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url(../fonts/notonaskharabic-regular.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url(../fonts/notonaskharabic-bold.woff2) format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Noto Sans Armenian"; src: url(../fonts/notosansarmenian-regular.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Noto Sans Armenian"; src: url(../fonts/notosansarmenian-bold.woff2) format("woff2"); font-weight: 600 900; font-display: swap; }

:root {
  --bg: #F4F6FA; --sf: #FFFFFF; --sf2: #EEF1F6; --ln: #E1E5EC; --tx: #0B1220; --mu: #4E5768; --fa: #6B7385;
  --ac: #2F5BFF; --acs: #EAF0FF; --act: #1E44DB; --ok: #0B7F40; --okt: #E5F6EC; --wa: #A35400; --wat: #FFF3DF;
  --da: #C8262B; --dat: #FDEBEC; --gd: #8A6214; --gdt: #FAF1DE; --ink: #0B1220; --on-ac: #FFFFFF;
  --shadow: 0 30px 60px -24px rgb(11 18 32 / .28), 0 0 0 1px rgb(11 18 32 / .06);
  --r: 20px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #0B1220; --sf: #131B2C; --sf2: #1B2438; --ln: #28334B; --tx: #EDF0F6; --mu: #B0B8C9; --fa: #929CB0;
    --ac: #6E8DFF; --acs: #1A2550; --act: #B3C3FF; --ok: #46D08A; --okt: #0F2E1E; --wa: #F2B24C; --wat: #33250E;
    --da: #FF7376; --dat: #3B1619; --gd: #E3BC62; --gdt: #2E2410; --ink: #060A14; --on-ac: #0B1220;
    --shadow: 0 30px 60px -24px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .06);
    color-scheme: dark;
  }
}
:root[data-theme=dark] {
  --bg: #0B1220; --sf: #131B2C; --sf2: #1B2438; --ln: #28334B; --tx: #EDF0F6; --mu: #B0B8C9; --fa: #929CB0;
  --ac: #6E8DFF; --acs: #1A2550; --act: #B3C3FF; --ok: #46D08A; --okt: #0F2E1E; --wa: #F2B24C; --wat: #33250E;
  --da: #FF7376; --dat: #3B1619; --gd: #E3BC62; --gdt: #2E2410; --ink: #060A14; --on-ac: #0B1220;
  --shadow: 0 30px 60px -24px rgb(0 0 0 / .6), 0 0 0 1px rgb(255 255 255 / .06);
  color-scheme: dark;
}
.f-arabic { --font: Vazirmatn, Inter, system-ui, sans-serif; }
.f-urdu { --font: "Noto Naskh Arabic", Vazirmatn, Inter, system-ui, sans-serif; }
.f-armenian { --font: Inter, "Noto Sans Armenian", system-ui, sans-serif; }

*, *::before, *::after { 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(--tx); font: 400 16px/1.7 var(--font); overflow-x: hidden; }
.f-urdu body { line-height: 1.95; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ac); text-decoration: none; }
a:hover { color: var(--act); }
:focus-visible { outline: 3px solid var(--ac); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ac); color: var(--on-ac); padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--on-ac); }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: 860px; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.mark { display: block; flex: none; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--ln); }
.top__in { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--tx); font-weight: 800; font-size: 20px; margin-inline-end: auto; }
.logo:hover { color: var(--tx); }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 10px; color: var(--mu); font-size: 14px; font-weight: 500; }
.nav a:hover { background: var(--sf2); color: var(--tx); }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ln); background: var(--sf); color: var(--tx); font-size: 14px; font-weight: 600; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary .i:last-child { width: .9em; height: .9em; color: var(--mu); }
.lang[open] summary .i:last-child { transform: rotate(180deg); }
.lang__cur { display: none; }
.lang__list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 200px; max-height: 70vh; overflow: auto; padding: 6px; border-radius: 16px; background: var(--sf); border: 1px solid var(--ln); box-shadow: var(--shadow); display: grid; gap: 2px; }
.lang__list a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--tx); font-size: 15px; }
.lang__list a[lang=ur] { font-family: "Noto Naskh Arabic", Vazirmatn, sans-serif; }
.lang__list a[lang=hy] { font-family: Inter, "Noto Sans Armenian", sans-serif; }
.lang__list a:hover { background: var(--sf2); }
.lang__list a[aria-current] { background: var(--acs); color: var(--ac); font-weight: 700; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--ln); background: var(--sf); color: var(--tx); font-size: 18px; cursor: pointer; }
.theme .i:last-child { display: none; }
[data-theme=dark] .theme .i:first-child { display: none; }
[data-theme=dark] .theme .i:last-child { display: block; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; font-weight: 700; font-size: 15px; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--ac); color: var(--on-ac); }
.btn--primary:hover { background: var(--act); color: var(--on-ac); }
.top__cta { min-height: 44px; padding: 0 14px; }
.top__cta span { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); }
.hero::before { width: 620px; height: 620px; top: -260px; inset-inline-start: -200px; background: var(--ac); opacity: .16; animation: blob 18s ease-in-out infinite; }
.hero::after { width: 480px; height: 480px; bottom: -180px; inset-inline-end: -160px; background: var(--gd); opacity: .14; animation: blob 22s ease-in-out infinite reverse; }
.hero__grid { display: grid; gap: 48px; padding-block: 40px 64px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--sf); box-shadow: 0 0 0 1px var(--ln); font-size: 13px; color: var(--mu); line-height: 1.5; }
.dot { width: 8px; height: 8px; border-radius: 4px; background: var(--ok); flex: none; animation: pulse 2s ease-in-out infinite; }
h1 { font-size: clamp(40px, 9vw, 76px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; }
.f-arabic h1, .f-urdu h1 { letter-spacing: 0; line-height: 1.25; }
.f-urdu h1 { line-height: 1.5; }
.accent { color: var(--ac); display: inline-block; }
.f-armenian h1 { font-size: clamp(34px, 7vw, 58px); line-height: 1.12; }
.f-armenian h2 { font-size: clamp(28px, 4.6vw, 40px); }
.lead { font-size: 18px; color: var(--mu); max-width: 580px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--mu); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust li:nth-child(1) .i { color: var(--ok); }
.trust li:nth-child(2) .i { color: var(--ac); }
.trust li:nth-child(3) .i { color: var(--gd); }

/* download block */
.dl { display: flex; flex-direction: column; gap: 10px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.store { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; border-radius: 10px; }
.store img { height: 48px; width: auto; }
.store--soon img { opacity: .5; filter: grayscale(1); }
.store__soon { padding: 0 8px; border-radius: 999px; background: var(--wat); color: var(--wa); font-size: 11.5px; font-weight: 700; line-height: 1.7; white-space: nowrap; }
.stores { align-items: flex-start; }
.stores .btn--apk { align-self: flex-start; }
.btn--apk { background: var(--ink); color: #FFFFFF; min-height: 48px; }
[data-theme=dark] .btn--apk { background: var(--sf2); box-shadow: inset 0 0 0 1px var(--ln); }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .btn--apk { background: var(--sf2); box-shadow: inset 0 0 0 1px var(--ln); } }
.btn--apk:hover { color: #FFFFFF; background: var(--ac); }
.btn--apk .i { color: #3DDC84; font-size: 20px; }
.dl__note { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; color: var(--fa); max-width: 520px; line-height: 1.6; }
.dl__note .i { color: var(--ok); margin-top: 2px; }

/* phone mockups (app screenshots) */
.hero__art { position: relative; justify-self: center; padding: 12px 24px; }
.phone { display: block; width: min(300px, 72vw); border-radius: 40px; padding: 10px; background: #0B1220; box-shadow: var(--shadow); }
.phone img { border-radius: 31px; width: 100%; aspect-ratio: 540 / 1200; object-fit: cover; background: var(--sf2); }
.hero .phone { animation: float 7s ease-in-out infinite; }
.phone--sm { width: min(270px, 68vw); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--sf); box-shadow: var(--shadow); font-size: 13px; line-height: 1.4; max-width: 230px; }
.chip b { display: block; font-weight: 700; }
.chip small { color: var(--fa); font-size: 12px; }
.chip__av { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--okt); color: var(--ok); flex: none; }
.chip--recv { top: 50%; inset-inline-start: -10px; }
.chip--keys { bottom: 9%; inset-inline-end: -10px; color: var(--ac); }
.chip--keys b { color: var(--tx); }

/* marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--ln); background: var(--sf); padding-block: 14px; }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marq 60s linear infinite; }
[dir=rtl] .marquee__track { animation-name: marq-rtl; }
.marquee span { display: inline-flex; align-items: center; gap: 8px; color: var(--mu); font-weight: 600; font-size: 15px; white-space: nowrap; }
.marquee .i { color: var(--ac); }

/* sections */
section { position: relative; }
.features, .business, .faq, .final, .tiles-sec { padding-block: 72px; }
.tiles-sec { padding-top: 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 40px; display: grid; gap: 12px; }
.kicker { color: var(--ac); font-weight: 700; font-size: 14px; letter-spacing: .02em; }
h2 { font-size: clamp(30px, 5.5vw, 46px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.f-arabic h2, .f-urdu h2 { letter-spacing: 0; line-height: 1.35; }
.sec-head p:last-child { color: var(--mu); font-size: 17px; }

.row { display: grid; gap: 32px; align-items: center; padding-block: 32px; }
.row__art { position: relative; display: grid; place-items: center; padding: 28px 0; }
.glow { position: absolute; inset: 8% 10%; border-radius: 40px; background: var(--tone-t, var(--acs)); z-index: -1; }
.row__copy { display: flex; flex-direction: column; gap: 14px; max-width: 540px; }
.row__copy h3 { font-size: clamp(24px, 4vw, 34px); line-height: 1.25; font-weight: 800; }
.row__copy > p { color: var(--mu); font-size: 17px; }
.row .kicker { color: var(--tone, var(--ac)); }
.badge-ic { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--tone-t, var(--acs)); color: var(--tone, var(--ac)); font-size: 24px; }
.row--ac { --tone: var(--ac); --tone-t: var(--acs); }
.row--ok { --tone: var(--ok); --tone-t: var(--okt); }
.row--gd { --tone: var(--gd); --tone-t: var(--gdt); }
.row--wa { --tone: var(--wa); --tone-t: var(--wat); }
.checks { display: grid; gap: 8px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
.checks .i { color: var(--tone, var(--ok)); margin-top: .3em; }

.tiles { display: grid; gap: 14px; }
.tile { padding: 22px; border-radius: var(--r); background: var(--sf); box-shadow: 0 0 0 1px var(--ln); display: grid; gap: 8px; transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--ln), 0 18px 40px -24px rgb(11 18 32 / .35); }
.tile__ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--t); color: var(--c); }
.tile h3 { font-size: 18px; font-weight: 700; line-height: 1.4; }
.tile p { color: var(--mu); font-size: 15px; }
.tile--ac { --c: var(--ac); --t: var(--acs); }
.tile--ok { --c: var(--ok); --t: var(--okt); }
.tile--da { --c: var(--da); --t: var(--dat); }
.tile--gd { --c: var(--gd); --t: var(--gdt); }
.tile--wa { --c: var(--wa); --t: var(--wat); }

/* security (always dark) */
.security { background: #0B1220; color: #EDF0F6; padding-block: 80px; overflow: hidden; isolation: isolate; }
.security::before { content: ""; position: absolute; z-index: -1; width: 560px; height: 560px; top: -200px; inset-inline-end: -160px; border-radius: 50%; background: #2F5BFF; opacity: .28; filter: blur(110px); }
.security__grid { display: grid; gap: 40px; align-items: center; }
.security__copy { display: flex; flex-direction: column; gap: 16px; }
.security h2 span { color: #8FA6FF; }
.security__copy > p { color: #B0B8C9; font-size: 17px; max-width: 520px; }
.kicker--light { color: #8FA6FF; }
.shield { color: #8FA6FF; width: 180px; }
.shield svg { width: 100%; height: auto; animation: float 8s ease-in-out infinite; }
.sec-cards { display: grid; gap: 12px; }
.sec-cards li { padding: 20px; border-radius: var(--r); background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); display: grid; gap: 6px; }
.sec-cards .i { font-size: 24px; color: #8FA6FF; }
.sec-cards h3 { font-size: 17px; font-weight: 700; line-height: 1.4; }
.sec-cards p { color: #B0B8C9; font-size: 14.5px; }

/* business */
.business { background: var(--sf); border-block: 1px solid var(--ln); }
.business .row { padding-block: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div { padding: 14px; border-radius: 16px; background: var(--bg); box-shadow: 0 0 0 1px var(--ln); }
.stats dt { font-size: 22px; font-weight: 800; color: var(--ok); line-height: 1.3; }
.stats dd { font-size: 13px; color: var(--mu); line-height: 1.5; }
.link-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; align-self: flex-start; }
.link-cta .i { transition: transform .2s; }
.link-cta:hover .i { transform: translateX(4px); }
[dir=rtl] .link-cta:hover .i { transform: translateX(-4px); }

/* faq */
.faq h2 { text-align: center; margin-bottom: 32px; }
.qa { border-radius: 18px; background: var(--sf); box-shadow: 0 0 0 1px var(--ln); margin-bottom: 10px; transition: box-shadow .2s; }
.qa[open] { box-shadow: 0 0 0 2px var(--ac); }
.qa summary { list-style: none; display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 18px 20px; font-weight: 700; font-size: 17px; cursor: pointer; border-radius: 18px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { color: var(--ac); transition: transform .25s; font-size: 18px; }
.qa[open] summary .i { transform: rotate(45deg); }
.qa p { padding: 0 20px 20px; color: var(--mu); }

/* final cta */
.final__card { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 48px 22px; border-radius: 32px; background: #2F5BFF; color: #FFFFFF; display: grid; justify-items: center; gap: 14px; }
.final__card::before { content: ""; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 420px; height: 420px; border-radius: 50%; background: #B9C8FF; opacity: .3; filter: blur(80px); }
.final__card p { color: #DCE4FF; font-size: 17px; }
.final .stores { justify-content: center; margin-top: 8px; }
.final .dl__note { color: #DCE4FF; justify-content: center; text-align: start; }
.final .dl__note .i { color: #FFFFFF; }
.final .store__soon { background: #FFFFFF; color: #1E44DB; }
.final .store--soon img { opacity: .6; }
.final .btn--apk, [data-theme=dark] .final .btn--apk { background: #0B1220; box-shadow: none; }
.final .btn--apk:hover { background: #1E44DB; }
.final :focus-visible { outline-color: #FFFFFF; }

/* footer */
.foot { border-top: 1px solid var(--ln); padding-block: 36px 48px; font-size: 14px; color: var(--mu); }
.foot__in { display: grid; gap: 14px; }
.foot__brand { display: flex; align-items: center; gap: 8px; color: var(--tx); }
.foot__brand .mark { width: 26px; height: 26px; }
.foot__brand span { color: var(--mu); }
.foot__warn { display: flex; align-items: center; gap: 8px; color: var(--wa); font-weight: 600; }
.foot__small { font-size: 13px; color: var(--fa); max-width: 860px; }
.foot__langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.foot__langs a { color: var(--mu); }
.foot__langs a[aria-current] { color: var(--ac); font-weight: 700; }

/* reveal on scroll (only when JS has run; content is visible without JS) */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.js .rv.in { opacity: 1; transform: none; }

@keyframes blob { 50% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-rtl { to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track > span:nth-child(n+13) { display: none; }
}

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .wrap { padding-inline: 24px; }
  .lang__cur { display: inline; }
  .top__cta span { display: inline; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .sec-cards { grid-template-columns: repeat(2, 1fr); }
  .final__card { padding: 64px 40px; }
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; padding-block: 64px 88px; }
  .phone { width: 320px; }
  .phone--sm { width: 290px; }
  .row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .row--flip .row__art { order: 2; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .security__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .features, .business, .faq, .final { padding-block: 96px; }
  .tiles-sec { padding-top: 0; }
  .security { padding-block: 104px; }
  .foot__in { grid-template-columns: 1fr auto; align-items: center; }
  .foot__small, .foot__langs { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .nav { display: flex; margin-inline-end: auto; }
  .nav a { white-space: nowrap; }
  .logo { margin-inline-end: 12px; }
}
@media (max-width: 380px) {
  .logo span { display: none; }
  .chip { max-width: 190px; font-size: 12px; }
}
