/* youcloud SMB UAE landing — page styles in the youcloud.ae visual language.
   Tokens live in colors_and_type.css. Logical properties throughout so RTL mirrors. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(34px, 4.2vw, 58px); }
.sky { background: var(--sky); }
.sand { background: var(--sand); }

/* ---------- Type ---------- */
.display { font-family: var(--f-display); font-weight: 400; color: var(--ink); font-size: clamp(40px, 5.4vw, 62px); line-height: 1.18; letter-spacing: -0.01em; }
.eyebrow { color: var(--coral); font-weight: 700; font-size: 18px; display: block; margin-bottom: 9px; }
.h2 { color: var(--ink); font-weight: 700; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.2; max-width: 820px; }
.h2 em, .h3 em { font-style: normal; color: var(--coral); }
.lead { margin-top: 11px; font-size: 18px; line-height: 1.4; max-width: 640px; color: var(--text); }
.section-head { margin-bottom: 20px; }
.tag { color: var(--coral); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.take { margin-top: 8px; color: var(--ink); font-weight: 700; }
.body-copy { font-size: 18px; line-height: 1.45; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding-inline: 32px; border-radius: 8px; font-weight: 700; font-size: 18px; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s, border-color .25s; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px -8px rgba(249, 96, 103, .7); }
.btn-primary:hover { background: var(--coral-d); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(249, 96, 103, .8); }
.btn-outline { border: 1.5px solid var(--coral); color: var(--coral); background: transparent; }
.btn-outline:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--coral); }
.btn-white:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-sm { height: 48px; padding-inline: 24px; font-size: 17px; }
[dir="rtl"] .arr { display: inline-block; transform: scaleX(-1); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .45); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); transition: box-shadow .3s, background-color .3s, backdrop-filter .3s, -webkit-backdrop-filter .3s; }
.nav.scrolled { box-shadow: 0 8px 30px -12px rgba(10, 28, 58, .18); background: rgba(255, 255, 255, .62); backdrop-filter: saturate(1.6) blur(20px); -webkit-backdrop-filter: saturate(1.6) blur(20px); }
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 24px; transition: height .3s var(--ease); }
.nav.scrolled .nav-inner { height: 76px; }
.brand { flex: 0 0 auto; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-inline: auto; }
.nav-links a { color: var(--ink); font-size: 18px; position: relative; padding-block: 6px; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--coral); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.nav-links + .nav-actions { margin-inline-start: 0; }
.lang { display: inline-flex; padding: 4px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.lang button { height: 40px; min-width: 56px; padding-inline: 12px; border-radius: 6px; font-weight: 700; font-size: 16px; color: var(--muted-2); transition: color .3s, background-color .3s; }
.lang button.on { color: #fff; background: var(--coral); }
.lang button.ar-btn { font-family: var(--f-ar); font-weight: 500; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--page); border-bottom: 1px solid var(--line); padding: 8px 24px 28px; box-shadow: 0 24px 40px -20px rgba(10, 28, 58, .25); }
.nav.open .mobile-menu { display: block; }
.mobile-menu a { display: block; padding: 16px 0; font-size: 20px; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1280 / 622; background: #e9e4dd; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-grid { display: grid; grid-template-columns: 1fr minmax(0, 540px); gap: 40px; align-items: start; padding-block: 17px 24px; }
.hero-grid .display { font-size: clamp(40px, 5vw, 62px); }
.hero-alt { margin-top: 7px; color: var(--coral); font-size: clamp(18px, 1.8vw, 24px); }
.hero-alt.is-ar { font-family: var(--f-ar); direction: rtl; text-align: start; }
.hero-alt.is-en { font-family: var(--f-display); direction: ltr; }
.hero-sub { font-size: 18px; line-height: 1.35; margin-bottom: 14px; }
.price-line { margin-top: 12px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--ink); }
.price-line b { font-family: var(--f-display); font-weight: 500; font-size: clamp(24px, 2.4vw, 30px); color: var(--coral); }
.price-line span { font-weight: 700; }
.price-line small { font-size: 16px; color: var(--muted-2); }

/* Coral trust band (same as youcloud.ae) */
.band { background: var(--coral); color: #fff; overflow: hidden; }
.band-track { display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 72px; padding-block: 14px; white-space: nowrap; font-weight: 700; font-size: 19px; }
.band-track span { display: inline-flex; align-items: center; gap: 8px; }

/* Certification strip */
.cert { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding-block: 16px; border-bottom: 1px solid var(--line); }
.cert-label { color: var(--ink); font-weight: 700; text-transform: uppercase; font-size: 15px; }
.cert-logos { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-logos .card-mark { display: inline-flex; align-items: center; justify-content: center; height: 48px; min-width: 88px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
.cert-logos .card-mark img { display: block; width: auto; height: 22px; }
.cert-logos .card-mastercard img { height: 30px; }
.cert-logos .card-unionpay img { height: 30px; }
.cert-note { margin-inline-start: auto; font-size: 15px; color: var(--muted-2); }

/* ---------- How it works: see the "Platform · unified business ops" timeline at the end of this file ---------- */
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--coral); text-transform: uppercase; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 96, 103, .6); } 70% { box-shadow: 0 0 0 8px rgba(249, 96, 103, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 96, 103, 0); } }

/* ---------- Merchants ---------- */
.merchants { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.merchant { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.m-hero { position: relative; border-radius: var(--r-xl) 80px var(--r-xl) var(--r-xl); overflow: hidden; min-height: 520px; color: #fff; display: flex; align-items: flex-end; }
[dir="rtl"] .m-hero { border-radius: 80px var(--r-xl) var(--r-xl) var(--r-xl); }
.m-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.m-hero:hover > img { transform: scale(1.04); }
.m-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 58, 0) 30%, rgba(10, 28, 58, .92) 100%); }
.m-copy { position: relative; z-index: 1; padding: 28px; }
.m-copy .tag { text-transform: none; font-weight: 700; font-size: 16px; color: var(--coral-soft); }
.m-copy h3 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.2; font-weight: 700; margin: 5px 0 7px; color: #fff; }
.m-copy h3 em { font-style: normal; color: var(--coral); }
.m-copy p { font-size: 17px; line-height: 1.4; max-width: 560px; }
.m-copy p b { color: #fff; }
.m-badge { position: absolute; z-index: 1; top: 20px; inset-inline-start: 20px; background: var(--coral); color: #fff; font-weight: 700; font-size: 15px; text-transform: uppercase; padding: 8px 14px; border-radius: 4px; }
.m-live { position: absolute; z-index: 1; top: 20px; inset-inline-end: 20px; max-width: calc(100% - 140px); background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; box-shadow: 0 20px 40px -12px rgba(10, 28, 58, .4); }
.m-live small { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--muted-2); }
.m-live b { display: block; font-family: var(--f-display); font-weight: 500; font-size: 22px; margin: 1px 0; }
.m-live b small { display: inline; font-family: var(--f-body); font-size: 14px; margin-inline-end: 4px; }
.m-live i { font-style: normal; display: block; color: var(--green); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.hw-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hw-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 20px 18px; min-width: 0; transition: transform .45s var(--ease), box-shadow .45s; }
.hw-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hw-img { border-radius: 6px; overflow: hidden; background: var(--pink-img); aspect-ratio: 3 / 2; margin-bottom: 9px; }
.hw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hw-card:hover .hw-img img { transform: scale(1.05); }
.hw-card .tag { display: block; font-size: 14px; }
.hw-card h4 { margin: 3px 0 4px; color: var(--ink); font-size: 22px; font-weight: 700; text-transform: uppercase; }
.hw-card p { font-size: 16px; line-height: 1.35; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.specs > div { padding: 16px 12px 4px 0; min-width: 0; }
.specs > div + div { border-inline-start: 1px solid var(--line-2); padding-inline-start: 16px; }
.specs small { display: block; font-size: 14px; text-transform: uppercase; font-weight: 700; color: var(--muted-2); }
.specs b { display: block; color: var(--coral); font-family: var(--f-display); font-weight: 500; font-size: 26px; line-height: 1.2; margin-top: 2px; }
.specs b span { font-family: var(--f-body); font-size: 15px; color: var(--text); font-weight: 400; }

/* ---------- Sell online ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 6; background: var(--pink-img); }
.split-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-card { position: absolute; inset-inline: 20px; bottom: 20px; background: #fff; border-radius: var(--r-md); padding: 18px; box-shadow: 0 30px 50px -20px rgba(10, 28, 58, .5); }
.shop-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.shop-head .tag { font-size: 13px; }
.product { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 10px; background: var(--coral-tint); }
.product .ico { width: 52px; height: 52px; border-radius: 10px; background: var(--coral); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.product b { display: block; color: var(--ink); font-size: 16px; }
.product .p { font-family: var(--f-display); font-weight: 500; font-size: 22px; color: var(--coral); }
.stock { margin-inline-start: auto; background: var(--c-hr-soft); color: #15803d; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 4px; flex: 0 0 auto; }
.share { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.share span { border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 10px; font-size: 15px; color: var(--ink); }
.share span:first-child { background: var(--navy); border-color: var(--navy); color: #fff; }
.paid { margin-top: 5px; display: grid; gap: 6px; }
.paid div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--ink); padding: 8px 0 0; border-top: 1px solid var(--line); }
.paid div span:last-child { color: var(--green); font-weight: 700; }
.steps { margin-top: 14px; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.step:first-child { border-top: 1px solid var(--line-2); }
.step i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--coral); color: var(--coral); display: grid; place-items: center; font-size: 17px; }
.step b { display: block; color: var(--ink); font-size: 19px; margin-bottom: 2px; }
.step p { font-size: 17px; line-height: 1.35; }
.pay-chips { display: flex; gap: 8px; margin-top: 5px; flex-wrap: wrap; }
.pay-chips span { background: var(--mist); border-radius: 4px; padding: 4px 9px; font-size: 13px; font-weight: 700; color: var(--ink); }

/* ---------- Campaigns (navy section) ---------- */
.dark { background: var(--navy); color: #fff; }
.dark .h2, .dark .h3, .dark .take { color: #fff; }
.dark .lead, .dark .body-copy { color: rgba(255, 255, 255, .85); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 13px; }
.pills span { display: inline-flex; align-items: center; height: 46px; border: 1px solid rgba(255, 255, 255, .85); border-radius: 6px; font-size: 17px; padding-inline: 16px; white-space: nowrap; transition: background-color .3s, color .3s; }
.pills span:hover { background: #fff; color: var(--navy); }
.pills.coral span { border-color: var(--coral); color: #fff; background: rgba(249, 96, 103, .15); }
.pills.coral span:hover { background: var(--coral); }
.camp-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 5.4; }
.camp-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.camp-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 58, 0) 35%, rgba(10, 28, 58, .55) 100%); }
.ai-card { position: absolute; z-index: 1; inset-inline: 20px; bottom: 20px; display: grid; gap: 10px; }
.ai-msg { background: #fff; color: var(--ink); border-radius: var(--r-md); padding: 18px 20px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .5); }
.ai-msg .who { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.ai-msg .who i { font-style: normal; width: 32px; height: 32px; border-radius: 8px; background: var(--coral); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.ai-msg .who span { font-size: 14px; font-weight: 700; text-transform: uppercase; color: var(--muted-2); }
.ai-msg p { font-size: 17px; line-height: 1.4; }
.ai-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.ai-actions span { font-size: 15px; font-weight: 700; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--line-2); }
.ai-actions span:first-child { background: var(--coral); border-color: var(--coral); color: #fff; }
.ai-result { background: var(--coral); color: #fff; border-radius: var(--r-md); padding: 14px 18px; font-size: 16px; }
.ai-result small { display: block; margin-top: 2px; font-weight: 700; text-transform: uppercase; font-size: 13px; opacity: .95; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat { position: relative; background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 26px 22px 24px; transition: transform .4s var(--ease), box-shadow .4s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat.hot { background: var(--coral); border-color: var(--coral); color: #fff; }
.stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; color: var(--coral); }
.stat b span { font-size: .5em; }
.stat.hot b { color: #fff; }
.stat p { margin-top: 7px; font-size: 17px; line-height: 1.35; color: var(--ink); }
.stat.hot p { color: #fff; }

/* ---------- Closing split CTA ---------- */
.split-cta { display: grid; grid-template-columns: 640fr 800fr; background: var(--mist); min-height: 520px; }
.split-cta .media { position: relative; overflow: hidden; margin-inline-start: clamp(24px, 5.6vw, 80px); border-radius: var(--r-xl) 0 0 var(--r-xl); }
[dir="rtl"] .split-cta .media { border-radius: 0 var(--r-xl) var(--r-xl) 0; }
.split-cta .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-cta .copy { padding: clamp(24px, 4.2vw, 58px) clamp(14px, 2.4vw, 29px); align-self: center; }
.split-cta h2 { color: var(--ink); font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; font-weight: 700; text-transform: uppercase; }
.split-cta h2 em { font-style: normal; color: var(--coral); display: block; }
.split-cta p { margin-top: 12px; max-width: 620px; line-height: 1.35; }
.split-cta .btn-row { margin-top: 17px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 43px 0 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 11px; }
.footer-brand p { max-width: 440px; line-height: 1.35; font-size: 16px; }
.footer h5 { margin: 0 0 10px; color: var(--coral); font-size: 18px; font-weight: 700; }
.footer ul { font-size: 16px; }
.footer ul li + li { margin-top: 8px; }
.footer ul a, .footer ul button { transition: color .25s; }
.footer ul a:hover, .footer ul button:hover { color: var(--coral); }
.footer-bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: 15px; color: rgba(255, 255, 255, .7); }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 150; display: inline-flex; align-items: center; gap: 10px; height: 56px; padding-inline: 20px; border-radius: 999px; background: var(--green); color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 16px 32px -8px rgba(10, 28, 58, .35); transition: transform .25s var(--ease), filter .25s; }
.fab:hover { transform: translateY(-2px); filter: brightness(.95); }

/* ---------- Scroll reveal (only once JS has armed it) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Arabic ---------- */
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] textarea, html[lang="ar"] select { font-family: var(--f-ar); }
html[lang="ar"] body { line-height: 1.6; }
html[lang="ar"] .display, html[lang="ar"] .h2, html[lang="ar"] .h3, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] .event-amt, html[lang="ar"] .stat b, html[lang="ar"] .specs b, html[lang="ar"] .price-line b,
html[lang="ar"] .split-cta h2 { font-family: var(--f-ar); letter-spacing: 0; line-height: 1.45; }
html[lang="ar"] .tag, html[lang="ar"] .specs small { letter-spacing: 0; }
html[lang="ar"] p, html[lang="ar"] li { line-height: 1.7; }
html[lang="ar"] .ltr, html[lang="ar"] [dir="ltr"] { font-family: var(--f-body); }
html[lang="ar"] .hw-card h4[dir="ltr"] { text-align: end; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; }
}
@media (max-width: 1080px) {
  .band-track { justify-content: flex-start; flex-wrap: wrap; gap: 10px 32px; white-space: normal; font-size: 17px; }
}
@media (max-width: 960px) {
  :root { --nav-h: 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-media img { object-position: 45% 50%; }
  .merchants, .split { grid-template-columns: 1fr; }
  .m-hero { min-height: 460px; }
  .split-media, .camp-media { aspect-ratio: 4 / 4.4; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-cta { grid-template-columns: 1fr; }
  .split-cta .media { min-height: 300px; margin-inline: 24px; border-radius: var(--r-xl) var(--r-xl) 0 0 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 680px) {
  .hw-pair { grid-template-columns: 1fr; }
  .cert-note { margin-inline-start: 0; }
  .m-live { inset-inline-end: 16px; top: 64px; max-width: calc(100% - 32px); }
  .m-badge { top: 16px; inset-inline-start: 16px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .btn { height: 52px; padding-inline: 24px; font-size: 17px; }
  .hero-grid .btn-row .btn { flex: 1 1 100%; }
  .lang button { min-width: 48px; height: 36px; padding-inline: 10px; }
  .nav-inner { gap: 10px; }
  .nav-actions { gap: 8px; }
  .brand img { height: 24px; }
  .burger { width: 40px; }
  .burger span { left: 9px; right: 9px; }
  .split-media { aspect-ratio: auto; min-height: 520px; }
  .camp-media { aspect-ratio: auto; min-height: 560px; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .fab span { display: none; }
  .fab { width: 56px; padding: 0; justify-content: center; }
  .yc-form-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 400px) {
  .brand img { height: 22px; }
  .lang { padding: 3px; }
  .lang button { min-width: 0; padding-inline: 9px; height: 34px; font-size: 14px; }
  .lang button.ar-btn { font-size: 13px; }
}

/* Campaigns: heading sits in the text column beside the photo, so there is no empty gap above the copy */
#campaigns .section-head { margin-bottom: 14px; }
@media (min-width: 961px) { #campaigns .camp-media { aspect-ratio: 1 / 1; } }
.split > * { min-width: 0; }
@media (max-width: 560px) {
  #campaigns .camp-media { aspect-ratio: auto; min-height: 0; overflow: visible; border-radius: 0; }
  #campaigns .camp-media::after { display: none; }
  #campaigns .camp-media > img { position: relative; height: 300px; border-radius: var(--r-xl); object-position: 70% 40% !important; }
  #campaigns .ai-card { position: relative; inset: auto; margin: -48px 12px 0; }
}

/* ---------- WhatsApp chat form ---------- */
.wa-sheet { overflow: hidden auto; }
.wa-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--navy); color: #fff; }
.wa-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.wa-title { min-width: 0; flex: 1; }
.wa-title b { display: block; font-size: 19px; }
.wa-title small { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .8); }
.wa-title small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.wa-close { width: 40px; height: 40px; border-radius: 8px; font-size: 26px; line-height: 1; color: #fff; flex: 0 0 auto; transition: background-color .2s; }
.wa-close:hover { background: rgba(255, 255, 255, .12); }
.wa-body { padding: 18px 20px 20px; }
.wa-sub { font-size: 16px; line-height: 1.4; color: var(--text); }
.wa-label { display: block; margin: 16px 0 6px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
html[lang="ar"] .wa-label { letter-spacing: 0; }
.wa-input { width: 100%; height: 48px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font: inherit; font-size: 17px; color: var(--ink); outline: none; transition: border-color .2s; }
.wa-input:focus { border-color: var(--coral); }
.wa-note { height: auto; padding: 10px 14px; resize: vertical; line-height: 1.4; }
.wa-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-topics button { padding: 9px 13px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; transition: background-color .2s, border-color .2s, color .2s; }
.wa-topics button:hover { border-color: var(--coral); }
.wa-topics button.on { background: var(--coral); border-color: var(--coral); color: #fff; }
.wa-chat { background: #efeae2; border-radius: 10px; padding: 12px; }
.wa-bubble { margin-inline-start: auto; max-width: 92%; width: fit-content; background: #d9fdd3; color: #111b21; border-radius: 10px 0 10px 10px; padding: 9px 12px; font-size: 15px; line-height: 1.4; white-space: pre-line; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
[dir="rtl"] .wa-bubble { border-radius: 0 10px 10px 10px; }
.wa-send { width: 100%; margin-top: 16px; background: var(--green); color: #fff; box-shadow: 0 6px 18px -8px rgba(34, 197, 94, .8); }
.wa-send:hover { filter: brightness(.95); transform: translateY(-2px); }

/* "One bill in" — explanation on a soft panel, two worked examples */
.explain { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; align-items: center; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 36px); }
.explain-copy p { margin-top: 12px; line-height: 1.45; }
.events { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.event { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; min-width: 0; transition: transform .4s var(--ease), box-shadow .4s; }
.event::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: var(--coral); }
.event:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.event-top { display: flex; align-items: center; gap: 12px; }
.event-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--coral-tint); color: var(--coral); display: grid; place-items: center; flex: 0 0 auto; }
.event-meta { flex: 1; min-width: 0; }
.event-meta b { display: block; color: var(--ink); font-size: 16px; }
.event-meta small { display: block; color: var(--muted-2); font-size: 14px; }
.event-amt { font-family: var(--f-display); font-weight: 500; font-size: 34px; color: var(--ink); margin: 14px 0 6px; }
.event-amt small { font-family: var(--f-body); font-size: 16px; font-weight: 700; color: var(--muted-2); margin-inline-end: 6px; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); font-size: 15px; }
.rows li:last-child { border-bottom: 0; }
.rows li span { color: var(--text); }
.rows li b { color: var(--ink); text-align: end; }
.ok { display: inline-flex; margin-top: 8px; padding: 5px 10px; border-radius: 4px; background: var(--c-hr-soft); color: #15803d; font-size: 13px; font-weight: 700; text-transform: uppercase; }
html[lang="ar"] .pf-num, html[lang="ar"] .pf-ledger-sub, html[lang="ar"] .pf-pill, html[lang="ar"] .ok { letter-spacing: 0; }
html[lang="ar"] .event-amt { font-family: var(--f-ar); }

@media (max-width: 1080px) {
  .explain { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .events { grid-template-columns: 1fr; }
  .explain { padding: 18px; border-radius: var(--r-md); }
}

/* ---------- How it works: "Platform · unified business ops" — youcloudpay.com's navy stage (Oct 2026 version) ---------- */
.pf-section { background: var(--page); }
.pf-stage { position: relative; isolation: isolate; overflow: hidden; padding: 56px 56px 44px; border-radius: 32px; color: #fff;
  background:
    radial-gradient(620px 420px at 88% -6%, rgba(249, 96, 103, .26), transparent 62%),
    radial-gradient(760px 560px at -4% 104%, rgba(64, 98, 186, .38), transparent 60%),
    linear-gradient(160deg, #0B1D3A 0%, #0D2147 55%, #0A1A35 100%);
  box-shadow: 0 40px 90px -30px rgba(10, 28, 58, .55), inset 0 1px 0 rgba(255, 255, 255, .08); }
[dir="rtl"] .pf-stage { background:
    radial-gradient(620px 420px at 12% -6%, rgba(249, 96, 103, .26), transparent 62%),
    radial-gradient(760px 560px at 104% 104%, rgba(64, 98, 186, .38), transparent 60%),
    linear-gradient(200deg, #0B1D3A 0%, #0D2147 55%, #0A1A35 100%); }
/* faint dot grid, fading out from the top corner */
.pf-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 20%, #000 10%, transparent 75%); }
.pf-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .86); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.pf-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(249, 96, 103, .18); }
.pf-headrow { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; }
.pf-headrow .h2 { color: #fff; font-size: clamp(32px, 4vw, 54px); line-height: 1.08; letter-spacing: -.02em; max-width: none; }
.pf-headrow .h2 em { display: inline-block; padding-bottom: 4px; color: var(--coral); font-style: italic; }
.pf-headrow .lead { margin-top: 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .70); max-width: 560px; }

.pf { margin-top: 44px; }
.pf-step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; padding-bottom: 18px; }
.pf-step:last-child { padding-bottom: 0; }
.pf-rail { position: relative; display: flex; justify-content: center; }
.pf-node { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #FF8A8F;
  background: linear-gradient(160deg, rgba(249, 96, 103, .22), rgba(249, 96, 103, .08)); border: 1px solid rgba(249, 96, 103, .45);
  box-shadow: 0 0 0 6px rgba(249, 96, 103, .07), 0 10px 28px rgba(249, 96, 103, .22), inset 0 1px 0 rgba(255, 255, 255, .18); }
/* rail between nodes: a faint coral track with a pulse travelling down towards the ledger */
.pf-step:not(:last-child) .pf-rail::before, .pf-step:not(:last-child) .pf-rail::after { content: ""; position: absolute; top: 56px; bottom: -10px; left: 50%; width: 2px; margin-left: -1px; border-radius: 2px; }
.pf-step:not(:last-child) .pf-rail::before { background: linear-gradient(180deg, rgba(249, 96, 103, .55), rgba(249, 96, 103, .12)); }
.pf-step:not(:last-child) .pf-rail::after { background: linear-gradient(180deg, transparent 0%, #FF8A8F 45%, #fff 50%, transparent 100%); background-size: 100% 70px; background-repeat: no-repeat; animation: pf-pulse 2.4s cubic-bezier(.5, 0, .5, 1) infinite; opacity: .9; }
.pf-step:nth-child(2) .pf-rail::after { animation-delay: .6s; }
.pf-step:nth-child(3) .pf-rail::after { animation-delay: 1.2s; }
@keyframes pf-pulse { from { background-position: 0 -70px; } to { background-position: 0 calc(100% + 70px); } }

.pf-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; }
.pf-num { font-size: 12px; font-weight: 700; letter-spacing: .22em; color: #FF8A8F; }
.pf-title { margin-top: 4px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: #fff; line-height: 1.1; }
.pf-desc { margin-top: 6px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .62); }
.pf-card { position: relative; border-radius: 20px; padding: 14px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .10); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 40px -20px rgba(0, 0, 0, .5); }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 11px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-size: 14px; font-weight: 700; color: #fff; transition: transform .25s cubic-bezier(.2, .7, .3, 1), border-color .25s, background-color .25s; }
.pf-chip:hover { transform: translateY(-2px); border-color: rgba(249, 96, 103, .65); background: rgba(249, 96, 103, .12); }
.pf-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pf-mod { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: transform .3s cubic-bezier(.2, .7, .3, 1), background-color .3s, border-color .3s, box-shadow .3s; }
.pf-mod:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .6); }
.pf-mod > span:last-child { font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.pf-ico { width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* the shared ledger: the one bright surface on the stage, where every step lands */
.pf-ledger { position: relative; overflow: hidden; border-radius: 20px; padding: 20px 24px; display: flex; align-items: center; gap: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(249, 96, 103, .35), 0 0 0 8px rgba(249, 96, 103, .10), 0 28px 70px -18px rgba(249, 96, 103, .55); }
.pf-ledger::before { content: ""; position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: 45%; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(10, 28, 58, .06) 0 1px, transparent 1px 20px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 75%); mask-image: linear-gradient(90deg, transparent, #000 75%); }
[dir="rtl"] .pf-ledger::before { -webkit-mask-image: linear-gradient(270deg, transparent, #000 75%); mask-image: linear-gradient(270deg, transparent, #000 75%); }
.pf-ledger::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: 0; width: 30%; pointer-events: none; background: linear-gradient(100deg, transparent, rgba(249, 96, 103, .16), transparent); transform: translateX(-120%) skewX(-12deg); animation: pf-sheen 4.8s cubic-bezier(.5, 0, .3, 1) 1s infinite; }
@keyframes pf-sheen { 0% { transform: translateX(-120%) skewX(-12deg); } 45%, 100% { transform: translateX(420%) skewX(-12deg); } }
.pf-ledger .pf-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--coral); color: #fff; box-shadow: 0 12px 26px rgba(249, 96, 103, .45); }
.pf-ledger-copy { position: relative; z-index: 1; min-width: 0; }
.pf-ledger-title { font-size: 24px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); line-height: 1.15; }
.pf-ledger-sub { margin-top: 5px; font-size: 13.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #C9343E; line-height: 1.7; }
.pf-ledger-sub span { white-space: nowrap; }
.pf-know { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pf-insight { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 14px; background: rgba(52, 211, 153, .07); border: 1px solid rgba(52, 211, 153, .20); font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.3; transition: transform .3s cubic-bezier(.2, .7, .3, 1), border-color .3s; }
.pf-insight:hover { transform: translateY(-3px); border-color: rgba(52, 211, 153, .45); }
.pf-insight .pf-ico { width: 32px; height: 32px; border-radius: 10px; background: rgba(52, 211, 153, .14); color: #5EE0AE; }
.pf-caption { margin: 34px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .10); text-align: center; font-size: 18px; line-height: 1.55; font-weight: 700; color: #fff; }
.pf-caption span { color: rgba(255, 255, 255, .62); font-weight: 600; }
.pf-section .explain { margin-top: 28px; }
html[lang="ar"] .pf-num, html[lang="ar"] .pf-ledger-sub, html[lang="ar"] .pf-pill { letter-spacing: 0; }

@media (max-width: 1080px) {
  .pf-stage { padding: 44px 32px 36px; }
  .pf-headrow { grid-template-columns: minmax(0, 1fr); }
  .pf-body { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pf-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pf-stage { padding: 30px 16px 26px; border-radius: 24px; }
  .pf-headrow .h2 { font-size: 32px; }
  .pf-headrow .lead { font-size: 16px; }
  .pf { margin-top: 30px; }
  .pf-step { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding-bottom: 22px; }
  .pf-node { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 0 0 4px rgba(249, 96, 103, .07), 0 8px 20px rgba(249, 96, 103, .2); }
  .pf-step:not(:last-child) .pf-rail::before, .pf-step:not(:last-child) .pf-rail::after { top: 46px; }
  .pf-title { font-size: 21px; }
  .pf-card { padding: 10px; border-radius: 16px; }
  .pf-chip { padding: 7px 12px 7px 9px; font-size: 13.5px; gap: 6px; }
  .pf-mods { gap: 8px; }
  .pf-mod { padding: 10px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .pf-ico, .pf-mod .pf-ico { width: 30px; height: 30px; border-radius: 9px; }
  .pf-mod > span:last-child { font-size: 14px; min-width: 0; }
  .pf-ledger { padding: 16px; gap: 12px; align-items: flex-start; }
  .pf-ledger .pf-ico { width: 44px; height: 44px; border-radius: 13px; }
  .pf-ledger-title { font-size: 20px; }
  .pf-ledger-sub { font-size: 12px; letter-spacing: .12em; }
  .pf-know { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pf-insight { padding: 8px; gap: 8px; font-size: 14px; }
  .pf-insight .pf-ico { width: 30px; height: 30px; }
  .pf-caption { font-size: 16px; margin-top: 24px; padding-top: 18px; }
}

/* ---------- UAE Dirham symbol (CBUAE) — drawn from assets/dirham.svg as a mask, takes the text colour ---------- */
.dh { display: inline-block; width: 0.92em; height: 0.8em; background-color: currentColor; -webkit-mask: url(assets/dirham.svg) no-repeat center / contain; mask: url(assets/dirham.svg) no-repeat center / contain; vertical-align: -0.04em; margin-inline-end: 0.14em; }
.amt { white-space: nowrap; unicode-bidi: isolate; }
.event-amt .dh { width: 0.62em; height: 0.56em; margin-inline-end: 0.2em; color: var(--muted-2); }
.m-live b .dh { width: 0.7em; height: 0.62em; color: var(--muted-2); }

/* ---------- Closing section: breathing room between the skyline photo and the footer ---------- */
.split-cta { padding-bottom: clamp(36px, 4.5vw, 64px); }
@media (max-width: 960px) { .split-cta { padding-bottom: 36px; } }

/* ---------- Section labels (eyebrows): translucent coral pill with two dots, as on youcloud.ae (2026-10-26) ---------- */
:root { --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  width: auto; max-width: 100%;
  padding: 9px 18px 9px 15px; border: 0; border-radius: 999px;
  background: rgba(249, 97, 103, .16); color: #b8434c;
  font-family: var(--f-mono); font-weight: 700; font-size: 13px; line-height: 1.2;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; box-shadow: 11px 0 0 currentColor; margin-inline-end: 11px;
}
/* navy backgrounds: the navy shows through with a warm tint */
.dark .eyebrow { background: rgba(249, 97, 103, .12); color: #f3b9bd; }
html[lang="ar"] .eyebrow { font-family: var(--f-ar); letter-spacing: 0; font-size: 14px; line-height: 1.6; padding-block: 6px 7px; }
[dir="rtl"] .eyebrow::before { box-shadow: -11px 0 0 currentColor; }
@media (max-width: 680px) {
  .eyebrow { font-size: 12px; padding: 8px 16px 8px 14px; }
  html[lang="ar"] .eyebrow { font-size: 13px; padding-block: 5px 6px; }
}

.footer-legal{margin-inline-start:20px}.footer-legal a{color:inherit;opacity:.8;text-decoration:underline;margin-inline-end:16px}.footer-legal a:hover{opacity:1}
