/* Mexo ERP website. Colours from the Mexo / Monetix brand. */
:root {
  --navy: #170F3D;
  --navy-2: #241C57;
  --navy-3: #2E2760;
  --navy-muted: #B9B4DA;
  --sky: #3FC6F2;
  --sky-50: #EAF7FD;
  --sky-ink: #0B76A3;
  --mist: #F2F4F8;
  --line: #DDE2EC;
  --ink: #170F3D;
  --muted: #55537A;
  --paper: #FFFEFA;
  --white: #FFFFFF;
  --ok: #0F7A4F;
  --bad: #B42318;
  --wa: #1FAF54;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(23, 15, 61, .06), 0 12px 32px -12px rgba(23, 15, 61, .22);
  --font: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
:lang(ar) { --font: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font); text-rendering: optimizeLegibility; }
:lang(ar) body, body:lang(ar) { line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-ink); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 38em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; border-radius: 10px; border: 1.5px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .92rem; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-3); }
.btn-sky, .hero .btn-primary { background: var(--sky); color: var(--navy); }
.btn-sky:hover, .hero .btn-primary:hover { background: #7DD3F5; }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(23, 15, 61, .97); backdrop-filter: blur(8px); color: var(--white); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.12rem; letter-spacing: .04em; }
.logo b { color: var(--sky); font-weight: 600; }
.logo img { border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { color: var(--navy-muted); text-decoration: none; font: 500 .95rem/1 var(--font); padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current="page"], .has-menu.open > .nav-link { color: var(--white); background: var(--navy-2); }
.nav-typing { color: var(--sky); }
.nav-sep { width: 1px; height: 22px; background: var(--navy-3); margin: 0 6px; }
.nav .btn { margin-inline-start: 6px; }
.has-menu { position: relative; }
.has-menu > .nav-link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); }
.menu { display: none; position: absolute; top: calc(100% + 8px); inset-inline-start: -8px; width: 340px; list-style: none; margin: 0; padding: 8px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.has-menu.open .menu { display: block; }
.menu a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.menu a:hover, .menu a[aria-current="page"] { background: var(--mist); }
.menu strong { display: block; font-weight: 600; }
.menu span { display: block; font-size: .88rem; color: var(--muted); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.menu-btn i { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(9px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-9px) rotate(-45deg); }
@media (max-width: 980px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; top: 68px; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--navy); border-top: 1px solid var(--navy-3); max-height: calc(100vh - 68px); overflow: auto; }
  .nav.open { display: flex; }
  .nav-link { padding: 14px 12px; font-size: 1rem; text-align: start; }
  .nav-sep { width: auto; height: 1px; margin: 6px 0; }
  .nav .btn { margin: 8px 0 0; }
  .menu { position: static; width: auto; box-shadow: none; background: var(--navy-2); }
  .menu a { color: var(--white); }
  .menu a:hover { background: var(--navy-3); }
  .menu span { color: var(--navy-muted); }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 72px 0 88px; overflow: hidden; }
.hero .lead { color: var(--navy-muted); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero h1 { max-width: 13em; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 420px; align-items: center; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { min-height: 0; }
}
.switch { margin-top: 40px; }
.switch-label { font-size: .92rem; color: var(--navy-muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .95rem/1 var(--font); color: var(--white); background: transparent; border: 1.5px solid var(--navy-3); padding: 10px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--navy-muted); }
.chip[aria-selected="true"] { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.chip-typing { border-style: dashed; border-color: var(--sky); }

/* Receipt - the one loud thing on the page */
.receipt { --zig: 10px; position: relative; width: min(100%, 360px); margin: 0; padding: 26px 26px calc(22px + var(--zig)); background: var(--paper); color: var(--ink); font: 400 .9rem/1.5 var(--mono); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); transform: rotate(-2deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig)) no-repeat, radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 16px var(--zig) repeat-x;
          mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig)) no-repeat, radial-gradient(circle at 50% 100%, transparent 6px, #000 6.5px) bottom / 16px var(--zig) repeat-x; }
:lang(ar) .receipt { transform: rotate(2deg); font-family: var(--mono), var(--font); }
.receipt[hidden] { display: none; }
@media (min-width: 1100px) { .hero-visual > .receipt:not(.receipt-over), .typing-visual > .receipt { width: 410px; font-size: .98rem; padding: 30px 30px calc(26px + var(--zig)); } }
.receipt.printing { animation: print .55s cubic-bezier(.2,.7,.2,1); }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: rotate(-2deg) translateY(-24px); } to { clip-path: inset(0 0 0 0); } }
:lang(ar) .receipt.printing { animation-name: print-ar; }
@keyframes print-ar { from { clip-path: inset(0 0 100% 0); transform: rotate(2deg) translateY(-24px); } to { clip-path: inset(0 0 0 0); } }
.r-top { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1.5px dashed #B9B4DA; }
.r-brand { font-weight: 500; letter-spacing: .3em; color: var(--sky-ink); }
.r-head { color: var(--muted); font-size: .84rem; }
.r-lines { list-style: none; margin: 0; padding: 0; }
.r-lines li { display: grid; grid-template-columns: 1fr auto 6.5em; gap: 10px; padding: 3px 0; }
.r-item { font-family: var(--font); }
.r-qty { color: var(--muted); }
.r-amt, .r-sums dd { text-align: end; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
:lang(ar) .r-amt, :lang(ar) .r-sums dd { text-align: left; }
.r-sums { margin: 14px 0 0; padding-top: 12px; border-top: 1.5px dashed #B9B4DA; }
.r-sums div { display: flex; justify-content: space-between; gap: 12px; }
.r-sums dt { font-family: var(--font); color: var(--muted); }
.r-sums dd { margin: 0; }
.r-total { margin-top: 6px; font-size: 1.12rem; font-weight: 500; }
.r-total dt { color: var(--ink); font-weight: 600; }
.r-cur { font-size: .8em; color: var(--muted); }
.r-note { margin-top: 14px; font-size: .82rem; color: var(--sky-ink); font-family: var(--font); }

.hero-photo { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); aspect-ratio: 3 / 2; object-fit: cover; }
.receipt-over { position: absolute; inset-inline-start: -36px; bottom: -56px; width: min(62%, 270px); font-size: .76rem; padding: 18px 18px calc(16px + var(--zig)); }
.hero-product .hero-visual { margin-bottom: 40px; }
@media (max-width: 900px) { .hero-product .hero-visual { flex-direction: column; } .receipt-over { position: relative; inset: auto; margin: -70px auto 0; width: min(86%, 300px); } }

/* Sections */
.section { padding: 88px 0; }
.section-mist { background: var(--mist); }
.page-top { padding-top: 64px; }
@media (max-width: 700px) { .section { padding: 56px 0; } }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }
.small-h { font-size: 1.15rem; margin-bottom: 18px; }
.center-h { max-width: 18em; margin-bottom: 40px; }

/* Product index */
.product-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; border-bottom: 1px solid var(--line); }
.product-index li { border-top: 1px solid var(--line); }
.product-index a { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 28px 0; text-decoration: none; color: var(--ink); }
.pi-name { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.01em; }
.pi-short { grid-column: 1; color: var(--sky-ink); font-weight: 500; font-size: .95rem; }
.pi-line { grid-column: 1; color: var(--muted); margin-top: 6px; max-width: 30em; }
.pi-go { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); transition: background .15s, border-color .15s; }
.pi-go::before { content: ""; display: block; width: 9px; height: 9px; margin: 16px 0 0 14px; border: solid var(--ink); border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); }
:lang(ar) .pi-go::before { transform: rotate(-135deg); margin: 16px 0 0 18px; }
.product-index a:hover .pi-go { background: var(--sky); border-color: var(--sky); }
.product-index a:hover .pi-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--sky); }
@media (max-width: 760px) { .product-index { grid-template-columns: 1fr; } }

/* Typing band */
.typing-band { background: var(--navy-2); color: var(--white); padding: 88px 0; }
.typing-band .lead { color: var(--navy-muted); }
.typing-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.typing-visual { display: flex; justify-content: center; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sky); color: var(--navy); font-weight: 600; font-size: .85rem; margin-bottom: 18px; }
.typing-band .ticks { margin: 24px 0 32px; }
.typing-band .ticks svg { color: var(--sky); }
@media (max-width: 900px) { .typing-grid { grid-template-columns: 1fr; } .typing-band { padding: 56px 0; } }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; margin-top: 5px; color: var(--sky-ink); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 32px; }
.modules-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.module { border-top: 2px solid var(--ink); padding-top: 16px; }
.module p { color: var(--muted); margin: 0; font-size: .97rem; }
.modules-compact { gap: 24px 28px; }
.modules-compact .module { border-top-width: 1px; border-color: var(--line); }
@media (max-width: 960px) { .modules, .modules-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .modules, .modules-3 { grid-template-columns: 1fr; } }

.gcc { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.gcc-item svg { color: var(--sky-ink); margin-bottom: 14px; }
.gcc-item p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .gcc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gcc { grid-template-columns: 1fr; } }

.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.group h2 { font-size: 1.25rem; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 18px; }
@media (max-width: 900px) { .groups { grid-template-columns: 1fr; gap: 32px; } }
.crumb { margin-bottom: 18px; font-size: .95rem; }
.crumb a { color: var(--navy-muted); }
.hero-typing { background: var(--navy-2); }
.signin-note { margin-top: 20px; font-size: .95rem; }
.signin-note a { color: var(--sky); }

/* Closing + contact */
.closing-grid, .contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .closing-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 560px) { .form-card { padding: 20px; } }
.reach { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.reach a, .reach-plain { display: inline-flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; font-weight: 500; }
.reach a:hover span { text-decoration: underline; }
.reach svg { color: var(--sky-ink); flex: none; }
.reach li:first-child svg { color: var(--wa); }

/* Forms */
.form-title { font-size: 1.6rem; }
.form-lead { color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.field { display: grid; align-content: start; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.4 var(--font); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-ink); box-shadow: 0 0 0 4px rgba(63, 198, 242, .25); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 20px; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.ok { color: var(--ok); font-weight: 500; }
.form-status.err { color: var(--bad); }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--sky-ink); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Legal */
.prose h2 { font-size: 1.2rem; margin-top: 2em; }
.prose p { color: #3a385c; }

/* Footer */
.site-footer { background: var(--navy); color: var(--navy-muted); padding: 64px 0 24px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-grid h2 { font-size: .95rem; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { color: var(--navy-muted); text-decoration: none; }
.foot-grid a:hover { color: var(--white); }
.foot-brand p { margin-top: 14px; max-width: 24em; }
.site-footer .reach { margin: 0; gap: 10px; }
.site-footer .reach a { color: var(--navy-muted); font-weight: 400; }
.site-footer .reach svg { color: var(--sky); }
.site-footer .reach li:first-child svg { color: #4ADE80; }
.foot-base { border-top: 1px solid var(--navy-3); margin-top: 48px; padding-top: 20px; font-size: .85rem; }
.foot-base p { margin: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: var(--white); box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: #17924A; }

/* Subscribe (Typing Suite) */
.subscribe .loading, .subscribe .notice { background: var(--white); border-radius: var(--radius); padding: 24px; color: var(--muted); border: 1px solid var(--line); }
.subscribe .notice.err { color: var(--bad); }
.sub-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-bottom: 20px; }
.seg { display: inline-flex; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.seg button { border: 0; background: none; font: 600 .95rem/1 var(--font); color: var(--muted); padding: 10px 16px; border-radius: 9px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--navy); color: var(--white); }
.seg .save { font-weight: 500; font-size: .8rem; color: var(--ok); margin-inline-start: 6px; }
.seg button[aria-checked="true"] .save { color: #7EE2B0; }
.cur-select { font: 600 .95rem var(--font); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; min-height: 46px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; text-align: start; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s, box-shadow .15s; }
.plan:hover { border-color: #9FDFF6; }
.plan[aria-checked="true"] { border-color: var(--sky-ink); box-shadow: 0 0 0 3px rgba(63, 198, 242, .3); }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .tagline { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.plan .price { font-size: 2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .trial { color: var(--ok); font-weight: 600; font-size: .9rem; margin: 4px 0 16px; }
.plan .limits { list-style: none; padding: 12px 0; margin: 0 0 12px; border-block: 1px solid var(--line); display: grid; gap: 4px; font-size: .92rem; }
.plan .ticks { font-size: .94rem; gap: 6px; }
.plan .pick { margin-top: auto; padding-top: 20px; font-weight: 600; color: var(--sky-ink); }
.plan[aria-checked="true"] .pick { color: var(--ok); }
.sub-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; margin-top: 28px; align-items: start; }
@media (max-width: 960px) { .sub-layout { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.panel h3 { font-size: 1.15rem; margin-bottom: 4px; }
.panel .hint { color: var(--muted); font-size: .94rem; margin-bottom: 16px; }
.addon { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.addon:first-of-type { border-top: 0; }
.addon input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.addon .a-body { flex: 1; min-width: 0; }
.addon .a-name { font-weight: 600; }
.addon .a-desc { color: var(--muted); font-size: .92rem; }
.addon .a-price, .extra .e-price { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.extra { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.extra:first-of-type { border-top: 0; }
.extra .e-name { font-weight: 600; }
.extra .e-price { color: var(--muted); font-size: .92rem; font-weight: 400; white-space: normal; }
.stepper { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.stepper button:disabled { color: #B8BCCB; cursor: default; }
.stepper output { min-width: 2.2em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary { position: sticky; top: 92px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 24px; }
.summary h3 { color: var(--white); }
.summary ul { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; font-size: .95rem; }
.summary li { display: flex; justify-content: space-between; gap: 12px; }
.summary li span:last-child, .summary .sum-total span:last-child { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.summary .sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; border-top: 1px solid var(--navy-3); font-size: 1.05rem; font-weight: 600; }
.summary .sum-total span:last-child { font-size: 1.5rem; }
.summary p { color: var(--navy-muted); font-size: .9rem; margin: 14px 0 0; }
@media (max-width: 960px) { .summary { position: static; } }
.check-msg { font-size: .85rem; font-weight: 500; }
.check-msg.ok { color: var(--ok); }
.check-msg.err { color: var(--bad); }
.terms-row { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: .95rem; }
.terms-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.done { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; max-width: 640px; }
.done h3 { font-size: 1.6rem; }

/* ===================================================================
   v2 - real screens, glow backgrounds, cards
   =================================================================== */
:root {
  --blue: #2F6FDB;
  --grad-sky: linear-gradient(135deg, #5CD3F7 0%, #2FB4EC 55%, #1E95DA 100%);
  --radius-lg: 20px;
  --shadow-lg: 0 2px 6px rgba(23, 15, 61, .08), 0 40px 80px -30px rgba(23, 15, 61, .45);
}
h1 { font-weight: 700; letter-spacing: -.025em; font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-weight: 700; letter-spacing: -.02em; }
:lang(ar) h1, :lang(ar) h2 { letter-spacing: 0; }

.btn { border-radius: 12px; }
.btn-primary, .hero .btn-primary, .btn-sky { background: var(--grad-sky); color: var(--navy); box-shadow: 0 8px 24px -10px rgba(47, 180, 236, .8); }
.btn-primary:hover, .hero .btn-primary:hover, .btn-sky:hover { background: var(--grad-sky); filter: brightness(1.07); }
.form-card .btn-primary, .panel .btn-primary, .done .btn-primary { box-shadow: none; }
.btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Glow background shared by the dark bands */
.hero, .typing-band { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(60% 70% at 85% 110%, rgba(63, 198, 242, .55) 0%, rgba(63, 198, 242, 0) 60%),
  radial-gradient(45% 55% at 100% 0%, rgba(47, 111, 219, .45) 0%, rgba(47, 111, 219, 0) 70%),
  radial-gradient(40% 50% at 0% 0%, rgba(92, 70, 200, .35) 0%, rgba(92, 70, 200, 0) 70%),
  #150D3A; }
.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; -webkit-mask-image: radial-gradient(70% 80% at 50% 20%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 80% at 50% 20%, #000 30%, transparent 75%); }
.hero { background: transparent; padding: 80px 0 110px; }
.hero-home .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.hero-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--grad-sky); color: var(--navy); margin-bottom: 20px; box-shadow: 0 10px 30px -10px rgba(63,198,242,.8); }
.hero-icon svg { width: 26px; height: 26px; }
.hero-typing .hero-bg { background:
  radial-gradient(55% 70% at 90% 100%, rgba(63, 198, 242, .5) 0%, rgba(63, 198, 242, 0) 60%),
  radial-gradient(50% 60% at 10% 0%, rgba(47, 111, 219, .45) 0%, rgba(47, 111, 219, 0) 70%),
  #1B1250; }

/* Browser frame with a real screenshot */
.frame { position: relative; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(23, 15, 61, .08); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #F3F5FA; border-bottom: 1px solid #E4E8F1; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #D5DAE5; }
.frame-bar i:nth-child(1) { background: #FF6B6B; } .frame-bar i:nth-child(2) { background: #FFC24B; } .frame-bar i:nth-child(3) { background: #3DD68C; }
.frame-bar span { margin-inline-start: 14px; flex: 1; max-width: 300px; height: 22px; line-height: 22px; border-radius: 7px; background: #fff; border: 1px solid #E4E8F1; font: 500 .72rem/22px var(--font); color: #8288A6; padding: 0 10px; direction: ltr; text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.frame img { width: 100%; height: auto; }

.hero-stage { position: relative; padding-bottom: 40px; }
.frame-hero { transform-origin: left center; }
@media (min-width: 901px) {
  .hero-stage { perspective: 1800px; }
  .frame-hero { transform: rotateY(-9deg) rotateX(3deg); animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  :lang(ar) .frame-hero { transform: rotateY(9deg) rotateX(3deg); transform-origin: right center; }
  .hero-home .frame-hero { width: 118%; }

}
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.hero-receipts { position: absolute; inset-inline-start: -28px; bottom: -20px; z-index: 2; width: 300px; }
.hero-receipts .receipt { width: 100% !important; font-size: .8rem !important; padding: 20px 20px calc(18px + var(--zig)) !important; }
.frame-inset { position: absolute; inset-inline-end: -16px; bottom: -10px; width: 46%; z-index: 2; }
.frame-inset .frame-bar { height: 22px; padding: 0 8px; } .frame-inset .frame-bar i { width: 7px; height: 7px; } .frame-inset .frame-bar span { display: none; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-home .hero-grid { grid-template-columns: 1fr; }
  .hero-receipts { position: relative; inset: auto; width: min(86%, 300px); margin: -60px auto 0; }
  .frame-inset { width: 52%; inset-inline-end: -6px; bottom: -24px; }
}
.hero-visual { display: none; }

/* Tour of real screens */
.section-tour { background: linear-gradient(180deg, #F4F6FB 0%, #fff 100%); }
.tour { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 36px; align-items: start; }
.tour-tabs { display: grid; gap: 6px; }
.tour-tabs button { display: grid; gap: 2px; text-align: start; font: inherit; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; cursor: pointer; position: relative; transition: background .2s, border-color .2s, box-shadow .2s; }
.tour-tabs button:hover { background: rgba(255,255,255,.7); }
.tour-tabs button[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: 0 12px 30px -18px rgba(23,15,61,.35); }
.tour-tabs button[aria-selected="true"]::before { content: ""; position: absolute; inset-inline-start: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--grad-sky); }
.tt-name { font-size: .82rem; font-weight: 600; color: var(--sky-ink); }
.tt-title { font-weight: 600; font-size: 1.05rem; }
.tt-text { display: none; color: var(--muted); font-size: .94rem; margin-top: 4px; }
.tour-tabs button[aria-selected="true"] .tt-text { display: block; }
.tour-panel[hidden] { display: none; }
.tour-panel { animation: fadein .35s ease both; }
@keyframes fadein { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.tour-panel .frame { max-width: 100%; }
#tp-erp-companies .frame { max-width: 560px; margin: 0 auto; }
@media (max-width: 960px) {
  .tour { grid-template-columns: 1fr; }
  .tour-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
  .tour-tabs button { padding: 10px 14px; }
  .tour-tabs button .tt-title, .tour-tabs button .tt-text { display: none !important; }
  .tour-tabs button[aria-selected="true"]::before { inset-inline-start: 14px; inset-inline-end: 14px; top: auto; bottom: -1px; width: auto; height: 3px; }
}

/* Product cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; height: 100%; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: auto -40% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(63,198,242,.18), transparent 70%); opacity: 0; transition: opacity .25s; }
.card:hover { transform: translateY(-4px); border-color: #A9E3F8; box-shadow: 0 24px 48px -28px rgba(23,15,61,.45); }
.card:hover::after { opacity: 1; }
.card-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--grad-sky); color: var(--navy); margin-bottom: 22px; }
.card-icon svg { width: 26px; height: 26px; }
.card-name { font-size: 1.45rem; font-weight: 700; letter-spacing: -.01em; }
.card-short { color: var(--sky-ink); font-weight: 500; font-size: .93rem; margin-top: 2px; }
.card-line { color: var(--muted); margin-top: 12px; }
.card-more { margin-top: auto; padding-top: 20px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.card-more::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-inline-start: 10px; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateY(-1px) rotate(45deg); transition: translate .2s; }
:lang(ar) .card-more::after { transform: translateY(-1px) rotate(-135deg); }
.card:hover .card-more::after { translate: 3px 0; }
:lang(ar) .card:hover .card-more::after { translate: -3px 0; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card { padding: 22px; } }

/* Typing band */
.typing-band { background: transparent; padding: 100px 0 120px; }
.typing-band .hero-bg { background:
  radial-gradient(50% 70% at 0% 100%, rgba(63, 198, 242, .35) 0%, rgba(63, 198, 242, 0) 60%),
  radial-gradient(50% 60% at 100% 20%, rgba(47, 111, 219, .5) 0%, rgba(47, 111, 219, 0) 70%),
  #1B1250; }
.typing-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.stack { position: relative; padding-bottom: 60px; }
.stack .frame-inset { bottom: 0; width: 58%; }
@media (max-width: 900px) { .typing-band { padding: 64px 0 80px; } .typing-grid { grid-template-columns: 1fr; } }

/* Modules with icon tiles */
.module { border-top: 0; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.modules { gap: 16px; }
.m-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sky-50); color: var(--sky-ink); margin-bottom: 16px; }
.modules-compact .module { border-top: 1px solid var(--line); padding: 20px; }
.section-mist .module { background: #fff; }
.wide-shot { margin-top: 48px; }

.gcc-item { padding: 8px 0; }
.g-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; color: var(--sky-ink); box-shadow: 0 10px 24px -14px rgba(23,15,61,.35); margin-bottom: 18px; }
.gcc-item svg { margin: 0; }

/* Closing */
.closing-card { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; padding: 56px; border-radius: 28px; color: #fff; background:
  radial-gradient(60% 80% at 100% 100%, rgba(63, 198, 242, .45), transparent 60%),
  radial-gradient(50% 70% at 0% 0%, rgba(47, 111, 219, .45), transparent 70%), #150D3A; }
.closing-card .lead { color: var(--navy-muted); }
.closing-card .form-card { color: var(--ink); }
.reach-light a { color: #fff; }
.reach-light svg { color: var(--sky); }
@media (max-width: 900px) { .closing-card { grid-template-columns: 1fr; padding: 28px 20px; border-radius: 22px; gap: 28px; } }

.form-card { border-radius: var(--radius-lg); }
.site-header { background: rgba(21, 13, 58, .82); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-typing { color: var(--sky); }
.chip { backdrop-filter: blur(6px); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.16); }
.chip[aria-selected="true"] { background: var(--grad-sky); border-color: transparent; }
.chip-typing { border-color: rgba(63,198,242,.6); }
.plan { border-radius: var(--radius-lg); }
.summary { border-radius: var(--radius-lg); background: radial-gradient(80% 60% at 100% 100%, rgba(63,198,242,.3), transparent 70%), #150D3A; }
.panel { border-radius: var(--radius-lg); }

.tour-cap { display: none; color: var(--muted); margin-bottom: 16px; }
.tour-cap strong { display: block; color: var(--ink); font-size: 1.1rem; }
@media (max-width: 960px) { .tour-cap { display: block; } }
/* v2 tweaks */
.hero-receipts { width: 250px; bottom: -96px; inset-inline-start: -44px; }
.hero-receipts .receipt { font-size: .74rem !important; }
.hero-home { padding-bottom: 150px; }
.hero-product, .hero-typing { padding-bottom: 130px; }
.tour { grid-template-columns: 300px minmax(0, 1fr); }
.tour-tabs button { padding: 10px 16px; }
.tt-title { font-size: 1rem; }
.tour-panels { position: sticky; top: 96px; }
@media (max-width: 900px) {
  .hero-receipts { position: relative; inset: auto; width: min(80%, 270px); margin: -50px auto 0; }
  .hero-home, .hero-product, .hero-typing { padding-bottom: 64px; }
}
@media (min-width: 901px) { .hero-home .hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; } }
@media (max-width: 960px) { .tour { grid-template-columns: minmax(0, 1fr); } .tour-tabs { min-width: 0; } .tour-panels { position: static; } }
@media (max-width: 600px) {
  .hero-home .hero-receipts { display: none; }
  .hero-stage { padding-bottom: 0; }
  .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .card-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0; grid-row: span 2; }
  .card-icon svg { width: 22px; height: 22px; }
  .card-name { font-size: 1.25rem; }
  .card-line, .card-more { grid-column: 1 / -1; }
  .card-more { padding-top: 12px; }
}
@media (min-width: 901px) { .hero-product .hero-grid, .hero-typing .hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; } .hero-typing .frame-hero, .hero-product .frame-hero { width: 112%; } }
@media (max-width: 600px) { .hero-home .switch { display: none; } }

/* ===================================================================
   v3 - centred hero showcase, pricing near the top, 5-up cards
   =================================================================== */
.wrap { max-width: 1240px; }
.wrap-wide { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 24px; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }

.hero-home { padding: 72px 0 0; }
.hero-center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-center h1 { max-width: 15em; font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.04; background: linear-gradient(180deg, #FFFFFF 30%, #BFE9FB 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:lang(ar) .hero-center h1 { line-height: 1.3; }
.hero-center .lead { margin: 6px auto 0; max-width: 40em; }
.hero-center .actions { justify-content: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; border-radius: 999px; border: 1px solid rgba(63,198,242,.45); background: rgba(63,198,242,.1); color: #DDF4FD; text-decoration: none; font-size: .92rem; font-weight: 500; margin-bottom: 26px; backdrop-filter: blur(6px); }
.badge:hover { background: rgba(63,198,242,.18); }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(63,198,242,.25); }
.built-for { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 36px 0 0; }
.built-for a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: #E7E4FA; text-decoration: none; font-size: .93rem; font-weight: 500; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: background .15s, border-color .15s; }
.built-for a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.built-for svg { width: 18px; height: 18px; color: var(--sky); }
.built-for .bf-typing { border-color: rgba(63,198,242,.5); }

.showcase { position: relative; margin-top: 64px; display: grid; grid-template-columns: 1fr minmax(0, 3.2fr) 1fr; align-items: end; padding-bottom: 0; }
.sc-glow { position: absolute; left: 10%; right: 10%; top: 20%; bottom: -10%; background: radial-gradient(closest-side, rgba(63,198,242,.55), transparent); filter: blur(30px); z-index: 0; }
.sc-main { grid-column: 2; position: relative; z-index: 2; margin-bottom: -60px; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.sc-main .frame { border-radius: 16px 16px 16px 16px; }
.sc-side { position: relative; z-index: 1; margin-bottom: 30px; }
.sc-left { grid-column: 1; grid-row: 1; margin-inline-end: -55%; transform: perspective(1400px) rotateY(18deg) scale(.96); transform-origin: right center; opacity: .95; }
.sc-right { grid-column: 3; grid-row: 1; margin-inline-start: -55%; transform: perspective(1400px) rotateY(-18deg) scale(.96); transform-origin: left center; opacity: .95; }
:lang(ar) .sc-left { transform: perspective(1400px) rotateY(-18deg) scale(.96); transform-origin: left center; }
:lang(ar) .sc-right { transform: perspective(1400px) rotateY(18deg) scale(.96); transform-origin: right center; }
.sc-main { grid-row: 1; }
.showcase .hero-receipts { position: absolute; z-index: 3; inset-inline-start: 8%; bottom: -20px; width: 240px; }
.hero-home + .section { padding-top: 140px; }
@media (max-width: 900px) {
  .hero-home { padding-top: 48px; }
  .showcase { grid-template-columns: 1fr; margin-top: 40px; }
  .sc-side { display: none; }
  .sc-main { grid-column: 1; margin-bottom: -40px; }
  .showcase .hero-receipts { display: none; }
  .hero-home + .section { padding-top: 96px; }
  .built-for { margin-top: 28px; }
}

/* Pricing */
.center-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.center-head p { max-width: 44em; }
.price-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr); gap: 20px; align-items: stretch; }
.price-typing { background: linear-gradient(180deg, #F5F8FD, #fff); border: 1px solid var(--line); border-radius: 24px; padding: 24px; }
.price-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.price-bar h3 { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; margin: 0; }
.pt-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-sky); color: var(--navy); }
.pt-icon svg { width: 22px; height: 22px; }
.price-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.price-controls .cur-select { min-height: 44px; }
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.price-cards .loading, .price-cards .notice { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 24px; color: var(--muted); margin: 0; }
.pcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -28px rgba(23,15,61,.45); }
.pcard-pop { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-sky) border-box; box-shadow: 0 24px 50px -30px rgba(31,174,232,.8); }
.pop { position: absolute; top: -12px; inset-inline-start: 20px; padding: 3px 10px; border-radius: 999px; background: var(--grad-sky); color: var(--navy); font-size: .78rem; font-weight: 700; }
.pcard h4 { font-size: 1.2rem; margin: 0; }
.pc-tag { color: var(--muted); font-size: .9rem; margin: 2px 0 14px; min-height: 2.6em; }
.pc-price { font-size: 2.1rem; font-weight: 700; letter-spacing: -.02em; margin: 0; font-variant-numeric: tabular-nums; }
:lang(ar) .pc-price { text-align: right; }
.pc-cur { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pc-price small { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pc-trial { color: var(--ok); font-weight: 600; font-size: .88rem; margin: 2px 0 10px; }
.pc-lim { font-size: .88rem; color: var(--muted); padding: 10px 0; border-block: 1px solid var(--line); margin-bottom: 12px; }
.pcard .ticks { font-size: .9rem; gap: 6px; margin-bottom: 18px; }
.pcard .btn { margin-top: auto; width: 100%; }
.price-more { margin: 16px 0 0; text-align: center; font-weight: 600; }
.price-erp { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 24px; padding: 28px; color: #fff; background: radial-gradient(80% 60% at 100% 0%, rgba(63,198,242,.4), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgba(47,111,219,.45), transparent 70%), #150D3A; }
.price-erp h3 { font-size: 1.4rem; margin: 16px 0 2px; }
.pe-tag { color: var(--navy-muted); font-size: .9rem; }
.pe-price { font-size: 1.8rem; font-weight: 700; margin: 6px 0 2px; }
.pe-note { color: var(--navy-muted); font-size: .9rem; }
.price-erp .ticks { margin: 8px 0 22px; font-size: .94rem; }
.price-erp .ticks svg { color: var(--sky); }
.price-erp .btn { margin-top: auto; }
@media (max-width: 1000px) { .price-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .price-typing { padding: 16px; border-radius: 20px; } }

/* Five cards to a row */
.cards-5 { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cards-5 > li { flex: 0 0 calc((100% - 64px) / 5); }
.cards-5 .card { padding: 22px; }
.cards-5 .card-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.cards-5 .card-name { font-size: 1.2rem; }
.cards-5 .card-line { font-size: .94rem; }
.card-typing { background: radial-gradient(90% 70% at 100% 0%, rgba(63,198,242,.35), transparent 70%), #150D3A; color: #fff; border-color: transparent; }
.card-typing .card-short { color: var(--sky); }
.card-typing .card-line { color: var(--navy-muted); }
.card-typing .card-more { color: #fff; }
@media (max-width: 1100px) { .cards-5 > li { flex-basis: calc((100% - 32px) / 3); } }
@media (max-width: 760px) { .cards-5 > li { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 520px) { .cards-5 > li { flex-basis: 100%; } }
.modules { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans-top { padding-top: 64px; }
.sc-main { margin-bottom: -2px; }
.sc-main .frame { border-radius: 16px 16px 0 0; border-bottom: 0; }
.sc-side { margin-bottom: 40px; }
@media (max-width: 960px) { .tour { grid-template-columns: minmax(0, 1fr); } }
html, body { overflow-x: clip; }
.tour-tabs { max-width: 100%; }
/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 100px; }
.faq-head p { color: var(--muted); }
.faq-section .faq { margin-top: 0; border-top: 0; display: grid; gap: 10px; }
.faq-section .faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 0 20px; transition: border-color .2s, box-shadow .2s; }
.faq-section .faq details[open] { border-color: #A9E3F8; box-shadow: 0 16px 34px -26px rgba(23,15,61,.45); }
.faq-section .faq summary { padding: 18px 0; }
.faq-section .faq summary::after { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sky-50); font-size: 1.1rem; }
.faq-section .faq p { padding-bottom: 20px; }
.section-mist + .faq-section, .faq-section { background: #fff; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } .faq-head { position: static; } }
.btn-wa { background: #1FAF54; color: #fff; margin-top: 8px; }
.btn-wa:hover { background: #17924A; }
