/* BAATS Accounting – country websites. Shared by every country. Colours are at the top. */
:root {
  --navy-950: #060b20;
  --navy-900: #0b1433;
  --navy-800: #121e4a;
  --indigo: #2639a8;
  --indigo-500: #3b4fd8;
  --indigo-300: #9aa8ff;
  --gold: #d98a14;
  --gold-400: #eaa233;
  --gold-200: #f6d79c;
  --ink: #0f1a3d;
  --text: #3d465e;
  --muted: #6b7489;
  --line: #e4e7f0;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --green: #12805c;
  --red: #c0362c;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 26, 61, .05), 0 8px 24px rgba(15, 26, 61, .06);
  --shadow-lg: 0 30px 80px -20px rgba(6, 11, 32, .55), 0 10px 30px -10px rgba(6, 11, 32, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-h: "Inter Tight", "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}
.lang-ar { --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; --font-h: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--indigo); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
.lang-ar h1, .lang-ar h2, .lang-ar h3, .lang-ar h4 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; border-radius: 6px; }

.ic { width: 22px; height: 22px; flex: none; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 14px; height: 14px; }
[dir="rtl"] .ic.flip { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .78em 1.3em; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s; white-space: nowrap; font-family: inherit; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, var(--gold-400), var(--gold)); color: #1b1203; box-shadow: 0 8px 24px -8px rgba(217, 138, 20, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-gold:hover { box-shadow: 0 12px 30px -8px rgba(217, 138, 20, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--indigo); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .14); }
.btn-disabled { background: var(--bg-alt); color: var(--muted); cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.link:hover { gap: .65em; }

/* ---------- header ---------- */
.site-h { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; color: #fff; }
.site-h.solid, .site-h.open { background: rgba(8, 14, 38, .86); backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.hbar { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand .logo { height: 34px; width: auto; display: block; --mark: #7d8cff; }
.ch-logo .logo { --mark: #7d8cff; }
.edition { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); color: var(--gold-200); }
.lang-ar .edition { letter-spacing: 0; }
.mainnav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.mainnav > a:not(.btn) { color: rgba(255, 255, 255, .82); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .95rem; }
.mainnav > a:not(.btn):hover, .mainnav > a[aria-current] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-extra { display: flex; align-items: center; gap: 4px; margin-inline: 6px; }
.lang-switch { color: #fff; padding: 7px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .2); font-size: .9rem; font-weight: 600; }
.lang-switch:hover { background: rgba(255, 255, 255, .1); }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-btn .ic:last-child { display: none; }
.site-h.open .menu-btn .ic:first-child { display: none; }
.site-h.open .menu-btn .ic:last-child { display: block; }

/* country switcher */
.cs { position: relative; }
.cs summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; color: rgba(255, 255, 255, .85); padding: 7px 10px; border-radius: 8px; font-size: .9rem; font-weight: 500; }
.cs summary::-webkit-details-marker { display: none; }
.cs summary:hover { background: rgba(255, 255, 255, .08); }
.cs-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; min-width: 250px; z-index: 60; display: grid; }
.cs-menu small { padding: 6px 10px; color: var(--muted); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.cs-menu a { color: var(--ink); padding: 8px 10px; border-radius: 8px; display: flex; gap: 10px; font-size: .93rem; }
.cs-menu a:hover, .cs-menu a[aria-current] { background: var(--bg-alt); }
.cs-menu a[aria-current] { font-weight: 600; }
.site-f .cs summary { color: var(--text); padding-inline: 0; margin-top: 4px; }
.site-f .cs-menu { bottom: calc(100% + 8px); top: auto; inset-inline-end: auto; inset-inline-start: 0; }

/* ---------- hero ---------- */
.hero, .phero { position: relative; background: var(--navy-950); color: #c9d0ea; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 500px at 85% 10%, rgba(59, 79, 216, .55), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(217, 138, 20, .22), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(38, 57, 168, .5), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 56px; align-items: center; padding-top: 150px; padding-bottom: 60px; }
.hero h1, .phero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .45em; }
.lang-ar .hero h1, .lang-ar .phero h1 { font-weight: 700; letter-spacing: 0; font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.accent { background: linear-gradient(92deg, var(--gold-200), var(--gold-400) 55%, #ffb547); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.17rem; color: #c3cbe8; max-width: 36em; margin-bottom: 1.8em; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.lang-ar .eyebrow { letter-spacing: 0; font-size: .9rem; }
.eyebrow.light { color: var(--gold-200); padding: 6px 14px; border: 1px solid rgba(246, 215, 156, .25); border-radius: 999px; background: rgba(246, 215, 156, .06); }
.flag { font-size: 1.05rem; letter-spacing: 0; }
.hero-note { margin-top: 18px; font-size: .88rem; color: #9aa4c7; display: flex; align-items: center; gap: 8px; }
.hero-note .ic { color: var(--gold-400); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 56px; }
.chips span { font-size: .85rem; color: #dfe4f7; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }

.hero-visual { position: relative; perspective: 2000px; }
.hero-visual .app { transform: rotateY(-9deg) rotateX(5deg) rotateZ(.5deg); transform-origin: 30% 50%; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
[dir="rtl"] .hero-visual .app { transform: rotateY(9deg) rotateX(5deg) rotateZ(-.5deg); transform-origin: 70% 50%; }
.hero-visual:hover .app { transform: none; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .96); color: var(--ink); padding: 11px 15px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: .82rem; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: .86rem; }
.float small { color: var(--muted); }
.float .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 5px; width: 28px; height: 28px; }
.float.f2 .ic { background: var(--indigo-500); }
.f1 { inset-inline-start: -34px; bottom: -26px; }
.f2 { inset-inline-end: -18px; top: -30px; animation-delay: -3s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- app mockup ---------- */
.app { background: #f3f5f9; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .12); font-size: 11px; color: var(--ink); direction: inherit; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #e9ecf3; border-bottom: 1px solid #dde2ec; }
.dots { display: flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #f26a5e; }
.dots i:nth-child(2) { background: #f6bd4f; } .dots i:nth-child(3) { background: #5ac35f; }
.app-url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px; background: #fff; border-radius: 6px; padding: 3px 10px; color: var(--muted); font-size: 10.5px; }
.tag { font-size: 9.5px; font-weight: 700; color: #8a5a0c; background: #fdf1db; border: 1px solid #f3dbab; padding: 2px 7px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; }
.app-body { display: grid; grid-template-columns: 118px 1fr; min-height: 330px; }
.app-side { background: linear-gradient(180deg, #101b4a, #0b1433); padding: 12px 8px; display: flex; flex-direction: column; gap: 3px; }
.app-side .mark { width: 26px; height: 26px; margin: 0 0 10px 6px; background: #fff; border-radius: 7px; padding: 3px; }
[dir="rtl"] .app-side .mark { margin: 0 6px 10px 0; }
.app-side span { color: rgba(255, 255, 255, .7); padding: 6px 8px; border-radius: 6px; display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; }
.app-side span b { width: 9px; height: 9px; border-radius: 3px; border: 1.5px solid currentColor; flex: none; opacity: .8; }
.app-side span.on { background: rgba(255, 255, 255, .12); color: #fff; font-weight: 600; }
.app-main { padding: 12px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.app-hero { background: linear-gradient(120deg, #22359f, #3b4fd8); color: #fff; border-radius: 12px; padding: 13px 15px; }
.app-hero small { opacity: .75; font-size: 9.5px; text-transform: uppercase; letter-spacing: .08em; }
.app-hero strong { display: block; font-size: 22px; font-weight: 700; margin: 2px 0 8px; letter-spacing: -.02em; font-family: var(--font-h); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.kpis span { font-weight: 700; font-size: 12px; }
.kpis small { display: block; font-weight: 500; font-size: 8.5px; letter-spacing: .06em; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; }
.mcard { background: #fff; border-radius: 10px; padding: 10px; border: 1px solid #e6e9f1; min-width: 0; }
.mh { font-weight: 700; font-size: 10.5px; margin-bottom: 6px; }
.mchart { width: 100%; height: auto; display: block; }
.mchart .b1 { fill: #2639a8; } .mchart .b2 { fill: #e7a33a; }
.mrow { display: grid; grid-template-columns: auto 1fr auto auto; gap: 6px; align-items: center; padding: 5px 0; border-top: 1px solid #f0f2f7; font-size: 9.8px; }
.mrow:first-of-type { border-top: 0; }
.mno { color: var(--muted); }
.mname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mamt { font-weight: 600; white-space: nowrap; }
.pill { font-size: 8.5px; font-weight: 700; padding: 2px 6px; border-radius: 999px; }
.pill.paid { background: #e3f5ed; color: var(--green); }
.pill.unpaid { background: #e8ebfb; color: var(--indigo); }
.pill.overdue { background: #fde8e6; color: var(--red); }

/* invoice paper */
.paper { background: #fff; border-radius: 14px; padding: 26px; box-shadow: var(--shadow-lg); color: var(--ink); font-size: 13px; border: 1px solid var(--line); }
.paper-h { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 14px; }
.paper-h .mark { width: 34px; height: 34px; display: block; margin-bottom: 8px; }
.paper-h b { display: block; font-size: 14px; }
.paper-h small, .paper-to small { color: var(--muted); display: block; font-size: 11.5px; }
.paper-t { text-align: end; }
.paper-t strong { font-family: var(--font-h); font-size: 20px; display: block; color: var(--indigo); }
.paper-to { margin-bottom: 12px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ptable th { text-align: start; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 8px 6px; background: var(--bg-alt); }
.ptable td { padding: 8px 6px; border-bottom: 1px solid #eef0f5; }
.ptable td:not(:first-child), .ptable th:not(:first-child) { text-align: end; white-space: nowrap; }
.ptable tfoot td { border: 0; padding: 5px 6px; color: var(--text); }
.ptable tfoot td[colspan] { text-align: end; }
.ptable tr.grand td { font-weight: 700; color: var(--ink); font-size: 14px; border-top: 2px solid var(--ink); padding-top: 9px; }
.paper-f { display: flex; justify-content: space-between; align-items: end; margin-top: 14px; }
.qr { width: 74px; height: 74px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; }
.qr svg { width: 100%; height: 100%; fill: var(--ink); display: block; }

/* return / report panels */
.panel { background: #fff; border-radius: 16px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; }
.panel-h { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 4px; }
.panel-h small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; display: block; }
.lang-ar .panel-h small { letter-spacing: 0; }
.panel-h strong { font-family: var(--font-h); font-size: 18px; }
.panel-sub { color: var(--muted); font-size: 12px; margin-bottom: 12px; }
.rbox { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--bg-alt); margin-bottom: 6px; }
.rcode { font-weight: 700; color: var(--indigo); font-size: 12px; text-align: center; background: #e8ebfb; border-radius: 6px; padding: 3px 0; }
.rcode:empty { background: none; }
.ramt { font-weight: 600; font-variant-numeric: tabular-nums; }
.rbox.total { background: var(--ink); color: #fff; }
.rbox.total .rcode { background: none; }
.panel-foot { margin-top: 12px; display: flex; align-items: center; gap: 8px; color: var(--green); font-weight: 600; font-size: 12.5px; }
.mline { width: 100%; height: auto; display: block; margin: 8px 0 10px; }
.pl { display: flex; justify-content: space-between; padding: 8px 2px; border-bottom: 1px solid #eef0f5; font-variant-numeric: tabular-nums; }
.pl.b { font-weight: 700; }

/* ---------- sections ---------- */
.sec { padding: 110px 0; }
.sec.tight { padding: 70px 0 100px; }
.sec.alt { background: var(--bg-alt); }
.sec.dark { background: var(--navy-900); color: #c3cbe8; position: relative; overflow: hidden; }
.sec.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(59, 79, 216, .35), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(217, 138, 20, .15), transparent 60%); pointer-events: none; }
.sec.dark .wrap { position: relative; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark .eyebrow { color: var(--gold-200); }
.sec.dark .shead p { color: #aeb7da; }
.shead { max-width: 760px; margin-bottom: 56px; }
.shead.center { margin-inline: auto; text-align: center; }
.shead h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.shead p { font-size: 1.12rem; color: var(--muted); }
.h2s { font-size: 1.6rem; margin: 70px 0 24px; text-align: center; }
.plans + .fine { margin-top: 22px; }
.more { margin-top: 40px; }

.facts { background: var(--bg); border-bottom: 1px solid var(--line); }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 20px; text-align: center; border-inline-end: 1px solid var(--line); }
.fact:last-child { border: 0; }
.fact strong { display: block; font-family: var(--font-h); font-size: 1.75rem; color: var(--ink); letter-spacing: -.02em; }
.fact span { color: var(--muted); font-size: .92rem; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -20px rgba(15, 26, 61, .25); border-color: #cfd5ea; }
.card h3 { font-size: 1.2rem; margin-top: 18px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.ibox { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #eef0fd, #e1e6fb); color: var(--indigo); flex: none; }
.ibox.gold { background: rgba(246, 215, 156, .12); color: var(--gold-200); border: 1px solid rgba(246, 215, 156, .2); }

.tour { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; padding: 50px 0; }
.tour.rev .tour-copy { order: 2; }
.tour h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.tour p { color: var(--muted); font-size: 1.05rem; }
.kicker { display: inline-block; font-weight: 700; color: var(--gold); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.lang-ar .kicker { letter-spacing: 0; }
.tour-visual { position: relative; }
.tour-visual::before { content: ""; position: absolute; inset: -10% -8%; background: radial-gradient(closest-side, rgba(59, 79, 216, .16), transparent 70%), radial-gradient(closest-side at 80% 90%, rgba(217, 138, 20, .14), transparent 70%); z-index: 0; pointer-events: none; }
.tour-visual > * { position: relative; z-index: 1; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: start; }
.checks .ic { color: var(--green); margin-top: 3px; }

.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.comp-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); padding: 26px; transition: background .25s, border-color .25s; }
.comp-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(246, 215, 156, .3); }
.comp-card h3 { font-size: 1.05rem; margin: 16px 0 8px; }
.comp-card p { font-size: .92rem; color: #aeb7da; margin: 0; }

.eds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ed, .dl { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.ed > .btn { margin-top: 26px; align-self: flex-start; }
.ed-h { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.ed-h h2, .ed-h h3 { margin: 0 0 4px; font-size: 1.4rem; }
.pilltag { font-size: .75rem; font-weight: 600; color: var(--indigo); background: #eef0fd; padding: 3px 10px; border-radius: 999px; }
.ed p, .dl p { color: var(--muted); }

.pay { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.pay h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.pay-copy p { color: var(--muted); font-size: 1.08rem; }
.pay-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.pay-list h3 { font-size: 1.05rem; }
.gw { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.gw span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-alt); font-weight: 600; color: var(--ink); font-size: .9rem; }
.fine { font-size: .83rem; color: var(--muted); }
.fine.light { color: #8f99bf; margin-top: 40px; }

.sec-cards { gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.mini { padding: 32px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini:nth-child(3n) { border-inline-end: 0; }
.mini:nth-last-child(-n+3) { border-bottom: 0; }
.mini .num { font-family: var(--font-h); font-weight: 700; color: var(--gold); font-size: .9rem; }
.mini h3 { font-size: 1.12rem; margin: 10px 0 8px; }
.mini p { color: var(--muted); margin: 0; font-size: .95rem; }

/* pricing */
.toggle { display: flex; width: max-content; margin: 0 auto 36px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.phero .toggle { margin: 28px 0 0; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); box-shadow: none; }
.toggle button { border: 0; background: none; padding: 9px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem; color: var(--muted); cursor: pointer; }
.phero .toggle button { color: #c3cbe8; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.phero .toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.plan.popular { border: 2px solid var(--gold); box-shadow: 0 24px 60px -24px rgba(217, 138, 20, .45); }
.badge { position: absolute; top: -13px; inset-inline-start: 24px; background: var(--gold); color: #1b1203; font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; margin: 0; }
.tagline { color: var(--muted); font-size: .92rem; min-height: 2.8em; margin: 6px 0 14px; }
.price { min-height: 54px; margin-bottom: 8px; }
.amt { font-family: var(--font-h); font-size: 2.1rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.amt.ask { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; color: var(--indigo); }
.per { color: var(--muted); margin-inline-start: 6px; font-size: .92rem; }
.users { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.users .ic { color: var(--indigo); }
.plan .checks { margin-bottom: 26px; font-size: .94rem; }
.plan .btn { margin-top: auto; }
.page-index .plan .btn { margin-top: 18px; }
.extras { display: grid; gap: 16px; }
.extra { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow); }
.extra h3 { margin: 0 0 4px; font-size: 1.15rem; }
.extra p { margin: 0; color: var(--muted); }
.extra-r { display: flex; align-items: center; gap: 16px; }
.extra-r b { color: var(--ink); white-space: nowrap; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.plus { width: 22px; height: 22px; flex: none; position: relative; border-radius: 50%; background: var(--bg-alt); }
.plus::before, .plus::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 10px; height: 2px; background: var(--indigo); transform: translate(-50%, -50%); transition: transform .2s; }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* CTA band */
.cta-band { background: var(--navy-950); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 20% 0%, rgba(59, 79, 216, .55), transparent 70%), radial-gradient(500px 300px at 85% 100%, rgba(217, 138, 20, .3), transparent 70%); }
.cta-in { text-align: center; padding: 100px 24px; }
.cta-in h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-in p { color: #c3cbe8; font-size: 1.15rem; margin-bottom: 30px; }
.cta-in .btns { justify-content: center; }

/* page hero */
.phero-in { padding-top: 150px; padding-bottom: 80px; max-width: 900px; }
.phero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.phero .lead { margin-bottom: 0; }

/* features page */
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 50px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-size: .9rem; font-weight: 500; background: #fff; }
.jump a:hover { border-color: var(--indigo); color: var(--indigo); }
.fgroups { columns: 3 320px; column-gap: 22px; }
.fgroup { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.fg-h { display: flex; align-items: center; gap: 14px; }
.fg-h h2 { font-size: 1.25rem; margin: 0; }
.fgroup .checks { font-size: .96rem; }
.limits { margin-top: 30px; background: #fffaf0; border: 1px solid #f3dbab; border-radius: var(--radius); padding: 24px 28px; }
.limits h3 { font-size: 1.05rem; color: #8a5a0c; }
.limits p { margin: 0; color: #6b4f1d; }

/* download */
.dls { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -40px; position: relative; z-index: 2; }
.dl h3 { font-size: 1.05rem; margin-top: 28px; }
.dl .btn-lg { margin-top: 10px; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .85rem; margin: 18px 0 0; padding: 14px 16px; background: var(--bg-alt); border-radius: 12px; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; color: var(--ink); font-weight: 500; word-break: break-all; }
.meta .sha { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .75rem; font-weight: 400; }
.steps { padding-inline-start: 1.3em; margin: 0; color: var(--text); display: grid; gap: 8px; }
.steps li::marker { color: var(--gold); font-weight: 700; }
.after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.after article { padding: 30px; border-radius: var(--radius); background: var(--bg-alt); }
.after h3 { font-size: 1.15rem; }
.after p { color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; margin-top: -40px; position: relative; z-index: 2; }
.cform, .direct { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.cform h2, .direct h2 { font-size: 1.4rem; }
.cform { display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.cform input, .cform select, .cform textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: 12px 14px; border: 1px solid #d5dbe8; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 4px rgba(59, 79, 216, .15); }
.cform .btn { justify-self: start; }
.direct { display: grid; gap: 14px; }
.dcard { display: flex; gap: 14px; align-items: center; padding: 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: border-color .2s, transform .2s; }
.dcard:hover { border-color: var(--indigo); transform: translateY(-2px); }
.dcard .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #eef0fd; color: var(--indigo); }
.dcard.wa .ic { background: #e3f7ea; color: #128c4a; }
.dcard span { display: block; color: var(--muted); font-size: .92rem; }
[dir="rtl"] .dcard span[dir="ltr"] { text-align: end; }

.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose p { color: var(--text); }

/* footer */
.site-f { background: #fff; border-top: 1px solid var(--line); padding: 70px 0 30px; font-size: .94rem; }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.fbrand .logo { height: 36px; width: auto; color: var(--ink); }
.fbrand p { color: var(--muted); max-width: 30em; margin-top: 14px; }
.fcontact { display: grid; gap: 8px; }
.fcontact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.site-f h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.lang-ar .site-f h4 { letter-spacing: 0; }
.fgrid > div:not(.fbrand) { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fgrid > div > a { color: var(--text); }
.fgrid > div > a:hover { color: var(--indigo); }
.fbottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* chooser */
.chooser .wrap { padding-top: 90px; padding-bottom: 80px; text-align: center; }
.ch-logo .logo { height: 46px; width: auto; color: #fff; margin-bottom: 40px; }
.chooser h1 { max-width: 900px; margin-inline: auto; }
.chooser .lead { margin-inline: auto; }
.ch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; margin-top: 30px; text-align: start; }
.ch { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; transition: background .2s, border-color .2s, transform .2s; }
.ch:hover { background: rgba(255, 255, 255, .1); border-color: rgba(246, 215, 156, .4); transform: translateY(-2px); }
.ch-flag { font-size: 1.9rem; }
.ch b { display: block; }
.ch small { color: #aeb7da; }
.ch .ic { margin-inline-start: auto; color: var(--gold-200); }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  .hero-visual .app, [dir="rtl"] .hero-visual .app { transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 130px; gap: 50px; }
  .hero-visual { max-width: 680px; margin-bottom: 40px; }
  .hero-visual .app, [dir="rtl"] .hero-visual .app { transform: none; }
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .mainnav > a:not(.btn) { padding: 8px 8px; }
}
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .mainnav { display: none; position: absolute; top: 74px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 22px; background: rgba(8, 14, 38, .97); border-top: 1px solid rgba(255, 255, 255, .08); }
  .site-h.open .mainnav { display: flex; }
  .mainnav > a:not(.btn) { padding: 12px 10px; font-size: 1.05rem; }
  .nav-extra { margin: 8px 0; justify-content: space-between; }
  .nav-cta { margin-top: 6px; }
  .cs-menu { inset-inline-end: auto; inset-inline-start: 0; }
  .tour, .tour.rev { grid-template-columns: 1fr; gap: 40px; }
  .tour.rev .tour-copy { order: 0; }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .mini:nth-child(n) { border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .mini:nth-child(2n) { border-inline-end: 0; }
  .mini:nth-last-child(-n+2) { border-bottom: 0; }
  .eds, .pay, .dls, .after, .contact { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-inline-end: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .sec { padding: 80px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero-in { padding-top: 112px; }
  .lead { font-size: 1.05rem; }
  .btns .btn-lg { width: 100%; }
  .cards3, .comp-grid, .plans { grid-template-columns: 1fr; }
  .mini:nth-child(n) { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .mini:last-child { border-bottom: 0; }
  .fact { padding: 24px 10px; }
  .fact strong { font-size: 1.35rem; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .app-grid { grid-template-columns: 1fr; }
  .f1 { inset-inline-start: 6px; bottom: -22px; }
  .f2 { inset-inline-end: 6px; top: -26px; }
  .paper, .panel { padding: 18px; }
  .paper-h { flex-direction: column; }
  .paper-t { text-align: start; }
  .extra { grid-template-columns: 1fr; }
  .extra-r { justify-content: space-between; }
  .row2 { grid-template-columns: 1fr; }
  .cform, .direct, .ed, .dl { padding: 24px; }
  .fgrid { grid-template-columns: 1fr; gap: 30px; }
  .phero-in { padding-top: 120px; padding-bottom: 70px; }
  .chips { padding-bottom: 40px; }
  .toggle button { padding: 9px 16px; }
}
