/* Exler IT Hub website — one stylesheet for every page (English and Arabic). */

:root {
    --bg: #ffffff;
    --surface: #f5f7fb;
    --card: #ffffff;
    --border: #e3e8f0;
    --text: #101828;
    --text-2: #475467;
    --text-3: #8a94a6;
    --accent: #5b5ce6;
    --accent-ink: #ffffff;
    --midnight: #111a2e;
    --cyan: #29c4e2;
    --violet: #8b4cf0;
    --gradient: linear-gradient(135deg, var(--cyan), var(--violet));
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px rgba(16, 24, 40, .06);
    --max: 1120px;
    --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-ar: "Segoe UI", Tahoma, "Noto Sans Arabic", "Geeza Pro", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1220;
        --surface: #111a2e;
        --card: #141f36;
        --border: #24314d;
        --text: #eef2f8;
        --text-2: #b4bdd0;
        --text-3: #7f8aa3;
        --accent: #8f91ff;
        --accent-ink: #0b1220;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 16px/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body { font-family: var(--font-ar); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 24px; } }

.skip-link { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--card); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip-link:focus { inset-inline-start: 8px; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand > span { font-weight: 800; letter-spacing: -.01em; }
.brand-acc { background: linear-gradient(90deg, #29C4E2, #8B4CF0, #EC4899); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-icon { width: 32px; height: 32px; border-radius: 8px; flex: 0 0 auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav a:hover { color: var(--text); background: var(--surface); }

/* Page links sit in a soft pill track; the current page is a brand-gradient pill, hover tints with the accent */
.nav-links { display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
             background: var(--surface); border: 1px solid var(--border); }
.nav-links a { padding: 6px 16px; border-radius: 999px; font-weight: 500;
               transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.nav-links a:hover { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.nav-links a[aria-current="page"] { color: #ffffff; font-weight: 600; background: var(--gradient);
                                    box-shadow: 0 4px 14px color-mix(in srgb, var(--violet) 35%, transparent); }
.nav-links a[aria-current="page"]:hover { color: #ffffff; filter: brightness(1.06); }

.nav .lang { border: 1px solid var(--border); margin-inline-start: 6px; border-radius: 999px; padding-inline: 16px; }
.nav .btn { margin-inline-start: 6px; border-radius: 999px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; width: 40px; height: 40px; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
    .nav-toggle { display: grid; place-items: center; }
    .nav { display: none; position: absolute; inset-inline: 0; top: 64px; flex-direction: column; align-items: stretch;
           background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
    .nav.open { display: flex; }
    .nav a { padding: 12px; }
    .nav-links { flex-direction: column; align-items: stretch; gap: 4px; padding: 0; border: 0; border-radius: 0; background: none; }
    .nav-links a { padding: 12px 16px; border-radius: 10px; }
    .nav .lang, .nav .btn { margin-inline-start: 0; margin-top: 6px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px;
       font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--accent-ink) !important; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border); color: var(--text) !important; background: transparent; }
.btn-ghost:hover { background: var(--surface); }
.btn-light { background: #ffffff; color: var(--midnight) !important; }
.btn-outline-light { border-color: rgba(255, 255, 255, .35); color: #ffffff !important; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--midnight); color: #ffffff; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(600px circle at 0% 0%, rgba(41, 196, 226, .22), transparent 60%),
                radial-gradient(700px circle at 100% 100%, rgba(139, 76, 240, .28), transparent 60%); }
/* minmax(0, …) and min-width: 0 let grid columns shrink below their content (the 1024px hero image, long words),
   so nothing pushes the page wider than a phone screen. */
/* padding-block only: the side padding comes from .container */
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 72px 80px; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding-block: 96px 104px; } }
.hero-inner > *, .split > *, .grid > * { min-width: 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; }
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 19px); color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .08); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 750; }
.section-head p { color: var(--text-2); font-size: 17px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
/* Exactly two columns (four items as 2 × 2, never 3 + 1); one column on phones */
.grid-2col { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .grid-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--text-2); margin: 0; font-size: 15px; }
.card ul { margin: 10px 0 0; padding-inline-start: 18px; color: var(--text-2); font-size: 15px; }
.card li { margin: 4px 0; }

.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
        background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.check-list li::before { content: "✓"; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--gradient);
    color: #ffffff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.check-list strong { color: var(--text); }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
         background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }

.cta-band { background: var(--midnight); color: #ffffff; border-radius: var(--radius); padding: 40px 32px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at 100% 0%, rgba(139, 76, 240, .35), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); }
.cta-band p { color: rgba(255, 255, 255, .75); max-width: 620px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--surface); border-bottom: 1px solid var(--border); padding: 56px 0 40px; }
.page-head h1 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.page-head p { color: var(--text-2); font-size: 18px; max-width: 680px; margin: 0; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 21px; margin-top: 36px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { padding-inline-start: 20px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--text); }
.muted { color: var(--text-3); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .icon { margin: 0; flex: 0 0 auto; }
.contact-card a { font-weight: 600; text-decoration: none; word-break: break-all; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0 32px; color: var(--text-3); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-owner { margin: 24px 0 0; font-size: .875rem; }
.footer-bottom { margin-top: 8px; }

/* ---------- Products ---------- */
/* Each product has its own colour; the tile is its logo until real logos arrive. */
.p-fiscal { --p1: #29c4e2; --p2: #8b4cf0; }
.p-expos  { --p1: #1b2d4f; --p2: #2563b0; }   /* ExPOS app: navy header, blue buttons */
.p-exspa  { --p1: #14b8a6; --p2: #ec4899; }

.product-tile { width: 52px; height: 52px; border-radius: 14px; flex: 0 0 auto; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--p1), var(--p2)); color: #ffffff; box-shadow: 0 6px 18px color-mix(in srgb, var(--p2) 30%, transparent); }
.product-tile svg { width: 26px; height: 26px; }
.product-tile img { width: 100%; height: 100%; border-radius: inherit; }
.product-tile.lg { width: 72px; height: 72px; border-radius: 18px; }
.product-tile.lg svg { width: 36px; height: 36px; }

.product-card { display: flex; flex-direction: column; gap: 14px; }
.product-card .product-head { display: flex; align-items: center; gap: 14px; }
.product-card h3 { font-size: 22px; margin: 0; }
.product-card .kicker { font-size: 13px; font-weight: 600; color: var(--p2); }
.product-card p { flex: 1 1 auto; }
.product-card .more { font-weight: 600; text-decoration: none; color: var(--p2); }
.product-card .more::after { content: " →"; }
html[dir="rtl"] .product-card .more::after { content: " ←"; }

.icon.p-expos-icon { background: color-mix(in srgb, #2563b0 12%, transparent); color: #2563b0; }
.icon.p-exspa-icon { background: color-mix(in srgb, #ec4899 12%, transparent); color: #db2777; }

/* Services: compact tiles, icon and name */
.services { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.service { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); }
.service .icon { margin: 0; width: 40px; height: 40px; flex: 0 0 auto; }
.service .icon svg { width: 20px; height: 20px; }
.service b { font-weight: 600; font-size: 15px; }

/* Headline figure, e.g. 200+ customers */
.stat { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.stat strong { font-size: clamp(40px, 6vw, 56px); font-weight: 800; line-height: 1; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--text-2); font-size: 17px; max-width: 520px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); background: var(--surface); }

/* Hero: the three products, stacked */
.hero-products { display: grid; gap: 12px; }
.hero-product { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; text-decoration: none; color: #ffffff;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .15s, transform .15s; }
.hero-product:hover { background: rgba(255, 255, 255, .1); transform: translateY(-1px); }
.hero-product b { display: block; font-size: 17px; }
.hero-product span.sub { display: block; font-size: 14px; color: rgba(255, 255, 255, .7); }

/* Page head of a product page */
.product-hero { display: flex; gap: 20px; align-items: center; margin-bottom: 14px; }
.page-head.p-fiscal .badge, .page-head.p-expos .badge, .page-head.p-exspa .badge {
    background: color-mix(in srgb, var(--p2) 12%, transparent); color: var(--p2); }

/* Screenshots, one under the other at full width so they can be read */
.shots { display: grid; gap: 24px; max-width: 1000px; }

/* Screenshots in a browser-style frame */
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--card); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); background: var(--surface); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.shot figcaption { padding: 10px 14px; font-size: 14px; color: var(--text-3); border-top: 1px solid var(--border); }
figure.shot { margin: 0; }

/* Photos of the product in use: one large photo beside two stacked ones, one column on phones */
.photos { display: grid; gap: 16px; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; }
.photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.photo-main { grid-row: span 2; aspect-ratio: auto; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-main img { object-position: 42% 50%; }
.photo-tablet img { object-position: 55% 50%; }
.photo figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 18px 14px; color: #fff; font-weight: 600; font-size: 15px; background: linear-gradient(transparent, rgba(0, 0, 0, .62)); }
@media (max-width: 720px) {
    .photos { grid-template-columns: 1fr; grid-template-rows: none; }
    .photo-main { grid-row: auto; aspect-ratio: 3 / 2; }
}

/* ---------- Fiscal page: hero with the dashboard, guided tour, English / Arabic pair ---------- */
.fiscal-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
@media (min-width: 980px) { .fiscal-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.fiscal-hero h1 { font-size: clamp(28px, 3.6vw, 42px); text-wrap: balance; }
.fiscal-hero .shot { transform: perspective(1600px) rotateY(-4deg); transform-origin: left center; }
html[dir="rtl"] .fiscal-hero .shot { transform: perspective(1600px) rotateY(4deg); transform-origin: right center; }
@media (max-width: 979px) { .fiscal-hero .shot, html[dir="rtl"] .fiscal-hero .shot { transform: none; } }

.facts { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); margin-top: 36px; }
.fact { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); }
.fact .icon { margin: 0; width: 38px; height: 38px; flex: 0 0 auto; background: color-mix(in srgb, var(--p2, var(--accent)) 12%, transparent); color: var(--p2, var(--accent)); }
.fact .icon svg { width: 19px; height: 19px; }
.fact b { display: block; font-size: 15px; }
.fact span { display: block; font-size: 13px; color: var(--text-3); }

/* Screenshot frames that open the full-size image */
.shot-link { display: block; text-decoration: none; }
.shot-link img { transition: transform .35s ease; }
.shot-link:hover img { transform: scale(1.015); }
.shot img { width: 100%; height: auto; }

.tour-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.tour-nav a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); color: var(--text-2);
              text-decoration: none; font-size: 14px; font-weight: 600; transition: color .15s, border-color .15s, background .15s; }
.tour-nav a:hover { color: var(--p2, var(--accent)); border-color: color-mix(in srgb, var(--p2, var(--accent)) 40%, transparent); }

.tour { display: grid; gap: 72px; }
.tour-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; scroll-margin-top: 90px; }
@media (min-width: 900px) {
    .tour-row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
    .tour-row.flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
    .tour-row.flip .tour-copy { order: 2; }
}
.tour-copy .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px;
                     background: linear-gradient(135deg, var(--p1, var(--cyan)), var(--p2, var(--violet))); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[dir="rtl"] .tour-copy .kicker { letter-spacing: 0; }
.tour-copy h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 750; }
.tour-copy > p { color: var(--text-2); font-size: 16.5px; }
.tour-copy .check-list { margin: 18px 0 20px; }
.tour-copy .more { font-weight: 600; text-decoration: none; color: var(--p2, var(--accent)); }
.tour-copy .more::after { content: " →"; }
html[dir="rtl"] .tour-copy .more::after { content: " ←"; }

.lang-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .lang-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lang-pair figcaption { display: flex; align-items: center; gap: 8px; }
.lang-pair figcaption b { color: var(--text); }

/* A gallery of screenshots with a title and a line each (Fiscal HR) */
.shot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 760px) { .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .shot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shot-grid .shot { height: 100%; }
.shot-grid figcaption b { display: block; margin-bottom: 2px; color: var(--text); font-size: 15px; }
.shot-grid-more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin: 28px 0 0; }
.shot-grid-more .more { font-weight: 600; text-decoration: none; color: var(--p2, var(--accent)); }
.shot-grid-more .more::after { content: " →"; }
html[dir="rtl"] .shot-grid-more .more::after { content: " ←"; }

/* Dark product hero: copy beside the dashboard, key facts underneath */
.fiscal-top { padding-block: 64px 56px; }
@media (min-width: 980px) { .fiscal-top { padding-block: 88px 72px; } }
.fiscal-top > .container { position: relative; }
.fiscal-top .product-hero { margin-bottom: 22px; }
.fiscal-top .badge { background: rgba(255, 255, 255, .08); color: #d4c3ff; border: 1px solid rgba(255, 255, 255, .12); }
.hero-note { margin: 16px 0 0; font-size: 14px; color: rgba(255, 255, 255, .6); }
.hero-note a { color: #9fe6f5; }
.fiscal-top .shot { border-color: rgba(255, 255, 255, .12); box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 60px rgba(139, 76, 240, .18); }
.fiscal-top .shot-bar { background: #1a2540; border-color: rgba(255, 255, 255, .08); }
.fiscal-top .shot-bar i:nth-child(1) { background: #ff5f57; }
.fiscal-top .shot-bar i:nth-child(2) { background: #febc2e; }
.fiscal-top .shot-bar i:nth-child(3) { background: #28c840; }
.fiscal-top .fact { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.fiscal-top .fact b { color: #ffffff; }
.fiscal-top .fact span { color: rgba(255, 255, 255, .62); }
.fiscal-top .fact .icon { background: rgba(139, 76, 240, .22); color: #c9b2ff; }

/* Screenshots in the tour and the language pair: soft glow in the product colour */
.tour .shot, .lang-pair .shot, .shot-grid .shot { box-shadow: 0 18px 50px color-mix(in srgb, var(--p2, var(--accent)) 14%, transparent), var(--shadow); }

/* Feature cards with an icon beside the heading */
.card .card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.card .card-head .icon { margin: 0; width: 40px; height: 40px; flex: 0 0 auto;
                         background: color-mix(in srgb, var(--p2, var(--accent)) 12%, transparent); color: var(--p2, var(--accent)); }
.card .card-head .icon svg { width: 20px; height: 20px; }
.card .card-head h3 { margin: 0; }

/* E-invoicing: one card per ZATCA phase, each with its status */
.einv { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .einv { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.einv-card { display: flex; flex-direction: column; gap: 14px; }
.einv-card.live { border-color: color-mix(in srgb, var(--p2) 35%, var(--border));
                  box-shadow: 0 18px 50px color-mix(in srgb, var(--p2) 14%, transparent), var(--shadow); }
.einv-card .card-head { margin: 0; }
.einv-card .card-head h3 { flex: 1 1 auto; }
.einv-card p { margin: 0; }
.einv-card .check-list li { font-size: 15px; }
.status { font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.status.live { background: color-mix(in srgb, #16a34a 14%, transparent); color: #15803d; }
.status.soon { background: color-mix(in srgb, #f59e0b 16%, transparent); color: #b45309; }
@media (prefers-color-scheme: dark) {
    .status.live { color: #4ade80; }
    .status.soon { color: #fbbf24; }
}
.einv-more { display: inline-block; margin-top: 24px; font-weight: 600; text-decoration: none; color: var(--p2, var(--accent)); }
.einv-more::after { content: " →"; }
html[dir="rtl"] .einv-more::after { content: " ←"; }

.coming-soon { text-align: center; padding: 40px 24px; }
.coming-soon .product-tile { margin: 0 auto 16px; }

/* Contact: one card per country */
.country-card h3 { display: flex; align-items: center; gap: 10px; }
.country-card .icon.pin { width: 36px; height: 36px; margin: 0; border-radius: 10px; }
.country-card .icon.pin svg { width: 18px; height: 18px; }
.country-card dl { margin: 12px 0 0; display: grid; gap: 6px; font-size: 15px; }
.country-card dt { color: var(--text-3); font-size: 13px; }
.country-card dd { margin: 0 0 6px; }
.country-card dd a { font-weight: 600; text-decoration: none; }

/* ---------- Social media ---------- */
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.social { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--text-2);
          border: 1px solid var(--border); background: var(--card); transition: color .15s, background .15s, border-color .15s; }
.social svg { width: 18px; height: 18px; }
.social:hover { color: #ffffff; border-color: transparent; }
.social-linkedin:hover { background: #0a66c2; }
.social-facebook:hover { background: #1877f2; }
.social-instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.social-x:hover { background: #000000; }
.social-youtube:hover { background: #ff0000; }
.social-whatsapp:hover { background: #25d366; }

/* WhatsApp chat button, bottom corner of every page */
.wa-float { position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 60; display: flex; align-items: center; gap: 10px;
            padding: 12px 18px 12px 14px; border-radius: 999px; background: #25d366; color: #ffffff; text-decoration: none;
            font-weight: 600; font-size: 15px; box-shadow: 0 8px 24px rgba(37, 211, 102, .35); transition: transform .15s; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 720px) { .wa-float { padding: 14px; } .wa-float span { display: none; } }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.not-found .code { font-size: 72px; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
