/* SmartPOS Hub — public pricing page /pricing (2026-10-20).
   Loaded only by Modules/Superadmin/Resources/views/pricing/index.blade.php, after smartpos-auth.css
   (which supplies the colour tokens and the language-switcher pill).
   Logical properties only, so Arabic / Hebrew (dir=rtl) mirror automatically. */

.sp-pricing {
    --pr-ink: #16181D;
    --pr-ink-2: #3B4150;
    --pr-muted: #5F6676;
    --pr-line: #E3E6EE;
    --pr-bg: #F5F7FC;
    --pr-cobalt: #2742D8;
    --pr-cobalt-d: #1A2FA8;
    --pr-navy: #0E1645;
    --pr-gold: #F5A300;
    --pr-green: #047857;
    --pr-ring: 0 0 0 4px rgba(39, 66, 216, .22);
    background: var(--pr-bg);
    color: var(--pr-ink);
    font-size: 15px;
    line-height: 1.5;
}
.sp-pricing [hidden] { display: none !important; }
.sp-pricing a { text-decoration: none; }
.sp-pricing h1, .sp-pricing h2, .sp-pricing h3 { margin: 0; font-family: inherit; }
.sp-pricing :focus-visible { outline: 3px solid var(--pr-cobalt); outline-offset: 2px; border-radius: 8px; }

.sp-pr-wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: 24px; }

.sp-pr-skip {
    position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50;
    background: #fff; color: var(--pr-ink) !important; padding: 12px 18px; border-radius: 10px; font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.sp-pr-skip:focus { top: 12px; }

/* ---------- Top bar (sits on the dark hero) ---------- */
.sp-pr-top {
    position: relative; z-index: 5;
    background: var(--pr-navy);
    background: linear-gradient(160deg, #2742D8 0%, #1A2FA8 45%, #0E1645 100%);
}
.sp-pr-top__inner { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.sp-pr-top__logo { margin-inline-end: auto; display: inline-flex; align-items: center; min-height: 44px; }
.sp-pr-top__logo img { height: 32px; width: auto; display: block; }
.sp-pr-top__nav { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; justify-content: flex-end; }
.sp-pr-top__link {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 10px;
    color: #fff !important; font-weight: 600; font-size: 14px; border-radius: 999px;
}
.sp-pr-top__link:hover { background: rgba(255, 255, 255, .12); }
.sp-pr-top__btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 18px;
    border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 999px; color: #fff !important;
    font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .15s, border-color .15s;
}
.sp-pr-top__btn:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.sp-pr-top__btn--solid { background: #fff; color: var(--pr-cobalt-d) !important; border-color: #fff; }
.sp-pr-top__btn--solid:hover { background: #EEF1FB; }
.sp-pr-top :focus-visible, .sp-pr-hero :focus-visible { outline-color: var(--pr-gold); }
.sp-pr-top__lang { height: 44px; border-color: transparent; }
.sp-pr-top__lang ul { z-index: 30 !important; }

/* ---------- Hero ---------- */
.sp-pr-hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(1000px 500px at 100% 0%, rgba(245, 163, 0, .20), transparent 60%),
        radial-gradient(900px 600px at 0% 100%, rgba(39, 66, 216, .85), transparent 60%),
        linear-gradient(160deg, #1A2FA8 0%, #0E1645 100%);
    padding-block: 28px 150px;
}
.sp-pr-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
}
.sp-pr-hero__inner { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 24px; }
.sp-pr-hero__copy { max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sp-pr-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
    font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #FFE2A3;
}
.sp-pr-hero__title {
    margin-block: 16px 12px !important; color: #fff !important;
    font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em;
}
.sp-pr-hero__sub { margin: 0 0 26px; max-width: 620px; font-size: clamp(15px, 1.5vw, 18px); color: rgba(255, 255, 255, .86); }
.sp-pr-hero__mascot {
    position: absolute; inset-inline-end: 0; bottom: -150px; width: 200px; height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); pointer-events: none;
}
[dir="rtl"] .sp-pr-hero__mascot { transform: scaleX(-1); }

/* Monthly / yearly segmented control */
.sp-pr-toggle {
    display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px;
    background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
}
.sp-pr-toggle__opt {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 22px;
    border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer;
    font-size: 15px; font-weight: 700; transition: background .15s, color .15s;
}
.sp-pr-toggle__opt:hover { background: rgba(255, 255, 255, .1); }
.sp-pr-toggle__opt[aria-checked="true"] { background: #fff; color: var(--pr-cobalt-d); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.sp-pr-toggle__save {
    display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800;
    background: var(--pr-gold); color: #241800;
}

/* ---------- Plan cards ---------- */
.sp-pr-plans { position: relative; z-index: 2; margin-top: -110px; padding-bottom: 24px; outline: none; }
.sp-pr-grid {
    display: grid; gap: 18px; align-items: stretch;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr));
}
.sp-pr-card {
    position: relative; display: flex; flex-direction: column; gap: 16px;
    background: #fff; border: 1px solid var(--pr-line); border-radius: 20px; padding: 26px 22px 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 18px 44px -22px rgba(14, 22, 69, .28);
    transition: transform .18s, box-shadow .18s;
}
.sp-pr-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 26px 50px -22px rgba(14, 22, 69, .38); }
.sp-pr-card.is-popular { border: 2px solid var(--pr-cobalt); box-shadow: 0 26px 60px -24px rgba(39, 66, 216, .55); padding-top: 34px; }
.sp-pr-card__badge {
    position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
    padding: 6px 14px; border-radius: 999px; background: var(--pr-gold); color: #241800;
    font-size: 12.5px; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(245, 163, 0, .9);
}
[dir="rtl"] .sp-pr-card__badge { transform: translateX(50%); }
.sp-pr-card__name { font-size: 18px; font-weight: 800; color: var(--pr-ink) !important; line-height: 1.3; min-height: 2.6em; }
.sp-pr-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 10px; }
.sp-pr-card__amount { font-size: 38px; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--pr-ink); }
.sp-pr-card.is-popular .sp-pr-card__amount { color: var(--pr-cobalt-d); }
.sp-pr-card__period { font-size: 14.5px; color: var(--pr-muted); font-weight: 600; }
.sp-pr-card__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; min-height: 26px; font-size: 13px; color: var(--pr-muted); }
.sp-pr-card__desc { margin: 0; font-size: 13.5px; color: var(--pr-ink-2); line-height: 1.55; }
.sp-pr-card__cta { width: 100%; }
.sp-pr-card__body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px dashed var(--pr-line); flex: 1; }
.sp-pr-card__label { font-size: 12px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--pr-muted) !important; margin-top: 4px !important; }
.sp-pr-card__none { margin: 0; font-size: 13.5px; color: var(--pr-ink-2); display: flex; gap: 8px; align-items: center; }
.sp-pr-card__none i { color: var(--pr-cobalt); }

.sp-pr-limits, .sp-pr-mods, .sp-pr-trust { list-style: none; margin: 0; padding: 0; }
.sp-pr-limits { display: flex; flex-direction: column; gap: 9px; }
.sp-pr-limits li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--pr-ink-2); }
.sp-pr-limits__icon {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 9px; background: #EEF1FB; color: var(--pr-cobalt); font-size: 13px;
}
.sp-pr-limits strong { color: var(--pr-ink); font-weight: 800; }
.sp-pr-mods { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-pr-mods li {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
    background: #FFF6E0; border: 1px solid #FBE3A6; color: #5C3D00; font-size: 12.5px; font-weight: 700;
}
.sp-pr-mods li i { color: #B87400; }

/* Pills & buttons */
.sp-pr-pill {
    display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
    background: #EEF1FB; color: var(--pr-cobalt-d); font-size: 12px; font-weight: 800; white-space: nowrap;
}
.sp-pr-pill--save { background: #D1FAE5; color: #065F46; }
.sp-pr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding-inline: 20px; border-radius: 12px; border: 1.5px solid transparent;
    font-size: 15px; font-weight: 800; cursor: pointer; text-align: center;
    transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
}
.sp-pr-btn i { font-size: 13px; transition: transform .15s; }
.sp-pr-btn:hover i { transform: translateX(3px); }
[dir="rtl"] .sp-pr-btn:hover i { transform: scaleX(-1) translateX(3px); }
.sp-pr-btn--primary {
    color: #fff !important; background: linear-gradient(135deg, #3352F0 0%, var(--pr-cobalt) 50%, var(--pr-cobalt-d) 100%);
    box-shadow: 0 10px 22px -10px rgba(39, 66, 216, .7);
}
.sp-pr-btn--primary:hover { box-shadow: 0 14px 26px -10px rgba(39, 66, 216, .8); transform: translateY(-1px); }
.sp-pr-btn--outline { color: var(--pr-cobalt-d) !important; background: #fff; border-color: #C9D1F2; }
.sp-pr-btn--outline:hover { border-color: var(--pr-cobalt); background: #F4F6FE; }
.sp-pr-btn--light { color: var(--pr-cobalt-d) !important; background: #fff; }
.sp-pr-btn--light:hover { background: #FFF6E0; }
.sp-pr-btn--sm { min-height: 44px; padding-inline: 14px; font-size: 14px; white-space: nowrap; }
.sp-pr-btn:focus-visible { outline: none; box-shadow: var(--pr-ring); }
[dir="rtl"] .sp-pr-flip-rtl { transform: scaleX(-1); }

/* Trust row */
.sp-pr-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; }
.sp-pr-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--pr-ink-2); }
.sp-pr-trust i { color: var(--pr-green); }

.sp-pr-empty { background: #fff; border-radius: 20px; padding: 32px; text-align: center; border: 1px solid var(--pr-line); }
.sp-pr-empty img { width: 110px; height: auto; }
.sp-pr-empty p { margin: 12px 0 0; font-size: 16px; color: var(--pr-ink-2); }

/* ---------- Section heads ---------- */
.sp-pr-section-head { text-align: center; max-width: 720px; margin: 0 auto 26px; }
.sp-pr-section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; color: var(--pr-ink) !important; }
.sp-pr-section-head p { margin: 10px 0 0; color: var(--pr-muted); font-size: 15.5px; }

/* ---------- Comparison table ---------- */
.sp-pr-compare { padding-block: 64px 24px; }
.sp-pr-compare__hint { display: none; margin: 0 0 10px; font-size: 13px; color: var(--pr-muted); text-align: center; }
.sp-pr-compare__scroll {
    overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 18px; border: 1px solid var(--pr-line);
    background: #fff; box-shadow: 0 18px 44px -26px rgba(14, 22, 69, .25);
}
.sp-pr-compare__scroll:focus-visible { outline: 3px solid var(--pr-cobalt); outline-offset: 3px; }
.sp-pr-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; font-size: 14px; }
.sp-pr-table th, .sp-pr-table td { padding: 14px 16px; border-bottom: 1px solid var(--pr-line); text-align: center; vertical-align: middle; }
.sp-pr-table thead th { background: #F8F9FD; font-weight: 800; color: var(--pr-ink); vertical-align: bottom; }
.sp-pr-table thead th.is-popular { background: #EEF1FB; }
.sp-pr-table .sp-pr-table__plan { display: block; font-size: 14.5px; line-height: 1.3; margin-top: 6px; }
.sp-pr-table tbody th {
    text-align: start; font-weight: 600; color: var(--pr-ink-2); white-space: nowrap;
}
.sp-pr-table tbody th i { color: var(--pr-cobalt); width: 18px; margin-inline-end: 6px; text-align: center; }
.sp-pr-table th:first-child, .sp-pr-table td:first-child {
    position: sticky; inset-inline-start: 0; z-index: 1; background: #fff; min-width: 190px;
    box-shadow: inset -1px 0 0 var(--pr-line);
}
[dir="rtl"] .sp-pr-table th:first-child { box-shadow: inset 1px 0 0 var(--pr-line); }
.sp-pr-table thead th:first-child { background: #F8F9FD; text-align: start; }
.sp-pr-table tbody tr:hover td, .sp-pr-table tbody tr:hover th { background: #FAFBFE; }
.sp-pr-table tbody tr:last-child th, .sp-pr-table tbody tr:last-child td { border-bottom: 0; }
.sp-pr-table__price { display: block; font-size: 17px; color: var(--pr-ink); }
.sp-pr-table__muted { display: block; font-size: 12.5px; color: var(--pr-muted); margin-bottom: 4px; }
.sp-pr-yes {
    display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
    background: #D1FAE5; color: var(--pr-green); font-size: 13px;
}
.sp-pr-no { color: #9AA1B0; font-weight: 700; }

/* ---------- FAQ ---------- */
.sp-pr-faq { padding-block: 56px 64px; }
.sp-pr-faq__inner { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 40px; align-items: start; }
.sp-pr-faq__head { text-align: start; margin: 0; position: sticky; top: 24px; }
.sp-pr-faq__mascot { width: 160px; height: auto; margin-top: 18px; filter: drop-shadow(0 14px 24px rgba(14, 22, 69, .18)); }
.sp-pr-faq__list { display: flex; flex-direction: column; gap: 12px; }
.sp-pr-faq__item { background: #fff; border: 1px solid var(--pr-line); border-radius: 16px; overflow: hidden; }
.sp-pr-faq__item[open] { border-color: #C9D1F2; box-shadow: 0 12px 30px -20px rgba(14, 22, 69, .3); }
.sp-pr-faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 58px; padding: 14px 20px; cursor: pointer; list-style: none;
    font-size: 16px; font-weight: 700; color: var(--pr-ink);
}
.sp-pr-faq__item summary::-webkit-details-marker { display: none; }
.sp-pr-faq__item summary i { flex: none; color: var(--pr-cobalt); transition: transform .2s; }
.sp-pr-faq__item[open] summary i { transform: rotate(180deg); }
.sp-pr-faq__item summary:focus-visible { outline: 3px solid var(--pr-cobalt); outline-offset: -3px; border-radius: 16px; }
.sp-pr-faq__a { padding: 0 20px 18px; }
.sp-pr-faq__a p { margin: 0; color: var(--pr-ink-2); font-size: 15px; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.sp-pr-final { padding-bottom: 64px; }
.sp-pr-final__inner {
    display: flex; align-items: center; gap: 24px; position: relative; overflow: hidden;
    padding-block: 28px; padding-inline: 32px; border-radius: 24px; color: #fff;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(245, 163, 0, .28), transparent 60%),
        linear-gradient(135deg, #2742D8 0%, #1A2FA8 50%, #0E1645 100%);
    max-width: 1272px;
}
.sp-pr-final__mascot { width: 92px; height: auto; flex: none; }
.sp-pr-final__copy { flex: 1; }
.sp-pr-final__copy h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: #fff !important; letter-spacing: -.02em; }
.sp-pr-final__copy p { margin: 6px 0 0; color: rgba(255, 255, 255, .86); }
.sp-pr-final :focus-visible { outline-color: var(--pr-gold); }

/* ---------- Footer ---------- */
.sp-pr-footer { border-top: 1px solid var(--pr-line); background: #fff; }
.sp-pr-footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-block: 22px; font-size: 13px; color: var(--pr-muted); }
.sp-pr-footer__logo { margin-inline-end: auto; display: inline-flex; min-height: 44px; align-items: center; }
.sp-pr-footer__logo img { height: 26px; width: auto; }
.sp-pr-footer__secure i { color: #16a34a; margin-inline-end: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .sp-pr-hero__mascot { width: 150px; bottom: -150px; }
}
@media (max-width: 991px) {
    .sp-pr-hero__mascot { display: none; }
    .sp-pr-faq__inner { grid-template-columns: 1fr; gap: 8px; }
    .sp-pr-faq__head { position: static; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .sp-pr-faq__mascot { display: none; }
}
@media (max-width: 767px) {
    .sp-pr-wrap { padding-inline: 16px; }
    .sp-pr-top__inner { min-height: 64px; padding-block: 10px; }
    .sp-pr-top__logo img { height: 26px; }
    .sp-pr-top__link span { display: none; }
    .sp-pr-top__link { width: 44px; justify-content: center; padding: 0; border: 1.5px solid rgba(255, 255, 255, .4); }
    .sp-pr-top__btn { padding-inline: 14px; font-size: 13.5px; }
    .sp-pr-top__lang summary { max-width: 92px; }
    .sp-pr-hero { padding-block: 18px 130px; }
    .sp-pr-hero__sub { margin-bottom: 20px; }
    .sp-pr-toggle { width: 100%; max-width: 360px; }
    .sp-pr-toggle__opt { flex: 1; justify-content: center; padding-inline: 10px; font-size: 14.5px; }
    .sp-pr-plans { margin-top: -96px; }
    .sp-pr-card__name { min-height: 0; }
    .sp-pr-compare { padding-block: 44px 12px; }
    .sp-pr-compare__hint { display: block; }
    .sp-pr-table th:first-child, .sp-pr-table td:first-child { min-width: 150px; white-space: normal; }
    .sp-pr-table tbody th { white-space: normal; }
    .sp-pr-final__inner { flex-direction: column; text-align: center; padding-inline: 20px; }
    .sp-pr-final__mascot { width: 76px; }
    .sp-pr-footer__inner { justify-content: center; text-align: center; }
    .sp-pr-footer__logo { margin-inline-end: 0; width: 100%; justify-content: center; }
}
@media (max-width: 400px) { /* see 480px block below */
    .sp-pr-top__lang > i { display: none; }
    .sp-pr-top__lang summary { max-width: 74px; }
    .sp-pr-top__btn { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .sp-pr-card, .sp-pr-btn, .sp-pr-btn i, .sp-pr-faq__item summary i { transition: none !important; }
    .sp-pr-card:hover, .sp-pr-btn--primary:hover { transform: none; }
}

/* Limits: label at the start, value at the end (grammar-neutral in every language) */
.sp-pr-limits__text { flex: 1; min-width: 0; }
.sp-pr-limits__val { margin-inline-start: auto; text-align: end; white-space: nowrap; }

/* Language menu: 44px targets */
.sp-pr-top__lang summary { min-height: 44px; display: flex; align-items: center; }
.sp-pr-top__lang ul a { min-height: 44px; display: flex !important; align-items: center; }
.sp-pr-toggle__save { white-space: nowrap; }

@media (max-width: 480px) {
    .sp-pr-top__inner { flex-wrap: nowrap; gap: 8px; }
    .sp-pr-top__nav { flex-wrap: nowrap; gap: 6px; }
    .sp-pr-top__logo img { height: 22px; }
    .sp-pr-top__btn { padding-inline: 12px; font-size: 13px; }
    /* language pill collapses to a globe button */
    .sp-pr-top__lang { padding: 0; width: 44px; justify-content: center; background: #fff; }
    .sp-pr-top__lang > i { display: none; }
    .sp-pr-top__lang summary { font-size: 0 !important; width: 44px; max-width: 44px !important; padding: 0 !important; justify-content: center; }
    .sp-pr-top__lang summary::after { content: none; }
    .sp-pr-top__lang summary::before { content: "\f0ac"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 16px; color: var(--pr-cobalt); }
    .sp-pr-toggle__opt { gap: 6px; padding-inline: 8px; }
    .sp-pr-toggle__save { font-size: 11px; padding: 2px 7px; }
}
