/* ==========================================================================
   Landing page v2 — Hero + Pillars
   Scoped to .lp so it can't leak into / clash with the rest of the app.
   Uses logical properties (inline-start/end, text-align:start, etc.) so the
   layout mirrors correctly under [dir="rtl"] (Arabic) without extra rules.
   ========================================================================== */

.lp {
    --lp-bg: #ffffff;
    --lp-fg: #1d1d1b;
    --lp-muted: #5b6472;
    --lp-accent: #0070f3;
    --lp-accent-dark: #0057b8;
    --lp-accent-soft: #e7f2ff;
    --lp-border: #e6e8ee;
    --lp-radius-lg: 24px;
    --lp-radius-md: 16px;
    --lp-radius-sm: 10px;
    --lp-shadow: 0 24px 60px -24px rgba(16, 18, 40, 0.28);
    --lp-container: 1160px;
    --lp-reveal-distance: 28px;
    --lp-reveal-duration: 700ms;

    margin: 0;
    background: var(--lp-bg);
    color: var(--lp-fg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.lp * {
    box-sizing: border-box;
}

.lp-container {
    max-width: var(--lp-container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ---------- Reveal-on-scroll ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(var(--lp-reveal-distance));
    transition: opacity var(--lp-reveal-duration) ease, transform var(--lp-reveal-duration) ease;
    transition-delay: calc(var(--lp-reveal-index, 0) * 90ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="0"] { --lp-reveal-index: 0; }
[data-reveal-delay="1"] { --lp-reveal-index: 1; }
[data-reveal-delay="2"] { --lp-reveal-index: 2; }
[data-reveal-delay="3"] { --lp-reveal-index: 3; }
[data-reveal-delay="4"] { --lp-reveal-index: 4; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ---------- Buttons / links ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--lp-fg);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 160ms ease, transform 160ms ease, border-color 160ms ease, color 160ms ease;
    white-space: nowrap;
}

.lp-btn:hover {
    background: var(--lp-accent-dark);
    transform: translateY(-1px);
}

.lp-btn--sm {
    padding: 8px 18px;
    font-size: 14px;
}

.lp-btn--lg {
    padding: 15px 28px;
    font-size: 16px;
}

.lp-btn--ghost {
    background: transparent;
    color: var(--lp-fg);
    border-color: var(--lp-border);
}

.lp-btn--ghost:hover {
    background: var(--lp-accent-soft);
    border-color: var(--lp-accent);
    color: var(--lp-accent-dark);
}

.lp-btn--ghost svg {
    flex-shrink: 0;
}

.lp-link {
    color: var(--lp-fg);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 4px;
}

.lp-link:hover {
    color: var(--lp-accent);
}

/* ---------- Header ---------- */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.lp-header.is-scrolled {
    border-color: var(--lp-border);
    box-shadow: 0 8px 24px -20px rgba(16, 18, 40, 0.4);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-block: 16px;
}

.lp-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.lp-logo__img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.lp-nav {
    display: flex;
    gap: 20px;
    margin-inline-start: 12px;
}

.lp-nav a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.lp-nav a:hover {
    color: var(--lp-fg);
}

.lp-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-inline-start: auto;
}

/* ---------- Mobile hamburger + menu panel ---------- */
/* Hidden by default (desktop); shown at the same breakpoint where .lp-nav
   collapses, see the max-width: 900px block further down. */

.lp-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.lp-burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--lp-fg);
    transition: transform 200ms ease, opacity 200ms ease;
}

.lp-burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.lp-burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.lp-burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.lp-mobile-menu {
    display: none;
    border-top: 1px solid var(--lp-border);
    background: #fff;
}

.lp-header.is-menu-open .lp-mobile-menu {
    display: block;
}

.lp-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 8px 24px 20px;
}

.lp-mobile-menu__nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--lp-border);
    color: var(--lp-fg);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.lp-mobile-menu__nav a:last-child {
    border-bottom: none;
}

/* ---------- Language switcher ---------- */

.lp-lang {
    position: relative;
}

.lp-lang__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--lp-fg);
    cursor: pointer;
}

.lp-lang__toggle svg {
    transition: transform 160ms ease;
}

.lp-lang.is-open .lp-lang__toggle svg {
    transform: rotate(180deg);
}

.lp-lang__menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    box-shadow: var(--lp-shadow);
    padding: 6px;
    min-width: 140px;
    display: none;
    flex-direction: column;
}

.lp-lang.is-open .lp-lang__menu {
    display: flex;
}

.lp-lang__item {
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--lp-fg);
    text-decoration: none;
    font-size: 14px;
    text-align: start;
}

.lp-lang__item:hover {
    background: var(--lp-accent-soft);
}

.lp-lang__item.is-active {
    color: var(--lp-accent-dark);
    font-weight: 600;
}

/* ---------- Hero ---------- */

.lp-hero {
    padding-block: 64px 96px;
    background:
        radial-gradient(60% 50% at 15% 0%, rgba(0, 112, 243, 0.20) 0%, transparent 60%),
        radial-gradient(50% 40% at 100% 10%, rgba(0, 112, 243, 0.12) 0%, transparent 60%),
        var(--lp-fg);
    color: #fff;
}

.lp-hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.lp-hero__title {
    font-size: clamp(32px, 4.2vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
}

.lp-hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.68);
    max-width: 46ch;
    margin: 0 0 32px;
}

.lp-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.lp-hero__ctas .lp-btn:not(.lp-btn--ghost) {
    background: var(--lp-accent);
}

.lp-hero__ctas .lp-btn:not(.lp-btn--ghost):hover {
    background: var(--lp-accent-dark);
}

.lp-hero__ctas .lp-btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

.lp-hero__ctas .lp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.lp-hero__reassurance {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* ---------- Hero visual / interface mockup ---------- */

.lp-hero__visual {
    position: relative;
}

.lp-hero-mockup {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--lp-radius-lg);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.lp-hero-mockup__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-hero-mockup__brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.lp-hero-mockup__dot {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background: var(--lp-accent);
    flex-shrink: 0;
}

.lp-hero-mockup__brand-line {
    width: 64px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.lp-hero-mockup__topbar-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-hero-mockup__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.55);
}

.lp-hero-mockup__avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(155deg, var(--lp-accent), #7bb8ff);
}

.lp-hero-mockup__body {
    display: flex;
    min-height: 300px;
}

.lp-hero-mockup__nav {
    width: 56px;
    flex-shrink: 0;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.lp-hero-mockup__nav-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.lp-hero-mockup__nav-item.is-active {
    background: rgba(0, 112, 243, 0.22);
    color: #fff;
}

.lp-hero-mockup__main {
    flex: 1;
    min-width: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lp-hero-mockup__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-hero-mockup__heading-line {
    height: 8px;
    width: 35%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.lp-hero-mockup__heading-line--lg {
    height: 14px;
    width: 55%;
    background: rgba(255, 255, 255, 0.28);
}

.lp-hero-mockup__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.lp-hero-mockup__stat {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--lp-radius-sm);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.lp-hero-mockup__stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(0, 112, 243, 0.2);
    color: #7bb8ff;
}

.lp-hero-mockup__stat-label {
    height: 6px;
    width: 55%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.lp-hero-mockup__stat-value {
    height: 11px;
    width: 70%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.lp-hero-mockup__chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--lp-radius-sm);
    min-height: 76px;
    background: rgba(255, 255, 255, 0.02);
}

.lp-hero-mockup__chart span {
    flex: 1;
    height: var(--h);
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #7bb8ff, var(--lp-accent));
}

.lp-hero-mockup__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-hero-mockup__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-hero-mockup__row-thumb {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.lp-hero-mockup__row-line {
    flex: 1;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.lp-hero-mockup__row-badge {
    width: 40px;
    height: 14px;
    border-radius: 999px;
    flex-shrink: 0;
}

.lp-hero-mockup__row-badge--ok {
    background: rgba(23, 132, 90, 0.4);
}

.lp-hero-mockup__row-badge--pending {
    background: rgba(0, 112, 243, 0.32);
}

.lp-float-card {
    position: absolute;
    background: #fff;
    color: var(--lp-fg);
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    box-shadow: var(--lp-shadow);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
}

.lp-float-card--top {
    top: -18px;
    inset-inline-end: 12%;
}

.lp-float-card--bottom {
    bottom: -16px;
    inset-inline-start: 8%;
    color: #17845a;
}

/* ---------- Section heading ---------- */

.lp-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-accent-dark);
    background: var(--lp-accent-soft);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 16px;
}

.lp-section-head h2 {
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 0;
}

/* ---------- Pillars ---------- */

.lp-pillars {
    padding-block: 32px 40px;
}

/* Each pillar is a full-width row, alternating visual/text order in the
   markup itself (not via CSS `order`) — under [dir="rtl"] the grid tracks
   mirror automatically, so the whole alternating sequence flips correctly
   without any extra RTL-specific rules. */
.lp-pillar-row {
    padding-block: 64px;
    border-top: 1px solid var(--lp-border);
}

.lp-pillar-row--tint {
    background: #fafafe;
}

.lp-pillar-row__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.lp-pillar-row__label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-accent-dark);
    margin-bottom: 12px;
}

.lp-pillar-row__title {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}

.lp-pillar-row__desc {
    font-size: 16px;
    color: var(--lp-muted);
    max-width: 44ch;
    margin: 0;
}

/* ---------- Shared "app screen" chrome (dashboard / storefront / POS) ---------- */

.lp-visual {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
}

.lp-visual__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lp-border);
}

.lp-visual__chrome span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--lp-border);
}

.lp-visual__chrome-url {
    margin-inline-start: 12px;
    height: 8px;
    width: 40%;
    border-radius: 999px;
    background: var(--lp-accent-soft);
}

/* ---------- Pillar 1 — Merchant Dashboard ---------- */

.lp-dash {
    display: flex;
    min-height: 300px;
}

.lp-dash__sidebar {
    width: 56px;
    flex-shrink: 0;
    border-inline-end: 1px solid var(--lp-border);
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lp-dash__logo-dot {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--lp-fg);
    margin-bottom: 8px;
}

.lp-dash__nav-item {
    width: 28px;
    height: 8px;
    border-radius: 999px;
    background: var(--lp-border);
}

.lp-dash__nav-item.is-active {
    background: var(--lp-accent);
}

.lp-dash__main {
    flex: 1;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp-dash__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lp-dash__stat {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-dash__stat-label {
    height: 7px;
    width: 60%;
    border-radius: 999px;
    background: var(--lp-border);
}

.lp-dash__stat-value {
    height: 14px;
    width: 45%;
    border-radius: 999px;
    background: var(--lp-accent);
}

.lp-dash__chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    min-height: 90px;
}

.lp-dash__chart span {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, var(--lp-accent), var(--lp-accent-soft));
}

.lp-dash__table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-dash__row {
    height: 12px;
    border-radius: 999px;
    background: var(--lp-border);
}

.lp-dash__row:nth-child(2) {
    width: 85%;
}

.lp-dash__row:nth-child(3) {
    width: 65%;
}

/* ---------- Pillar 2 — Online Store ---------- */

.lp-store {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp-store__hero {
    background: linear-gradient(135deg, var(--lp-accent-soft), #eef7ff);
    border-radius: var(--lp-radius-sm);
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.lp-store__badge {
    height: 10px;
    width: 30%;
    border-radius: 999px;
    background: rgba(29, 29, 27, 0.15);
}

.lp-store__line {
    height: 10px;
    width: 70%;
    border-radius: 999px;
    background: rgba(29, 29, 27, 0.18);
}

.lp-store__line--lg {
    height: 16px;
    width: 80%;
}

.lp-store__cta {
    margin-top: 6px;
    height: 30px;
    width: 120px;
    border-radius: 999px;
    background: var(--lp-fg);
}

.lp-store__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.lp-store__card {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-store__img {
    display: block;
    height: 56px;
    border-radius: 8px;
    background: linear-gradient(155deg, var(--lp-accent-soft), #eef7ff);
}

.lp-store__line {
    height: 8px;
}

.lp-store__price {
    display: block;
    height: 10px;
    width: 40%;
    border-radius: 999px;
    background: var(--lp-accent);
}

/* ---------- Pillar 3 — POS ---------- */

.lp-pos {
    display: flex;
    min-height: 300px;
}

.lp-pos__cart {
    flex: 1.1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-inline-end: 1px solid var(--lp-border);
}

.lp-pos__item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-pos__thumb {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--lp-accent-soft);
    flex-shrink: 0;
}

.lp-pos__line {
    flex: 1;
    height: 9px;
    border-radius: 999px;
    background: var(--lp-border);
}

.lp-pos__amount {
    width: 15%;
    height: 9px;
    border-radius: 999px;
    background: var(--lp-fg);
}

.lp-pos__pay {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-pos__totalrow {
    display: flex;
    justify-content: space-between;
}

.lp-pos__totalrow span {
    height: 8px;
    border-radius: 999px;
    background: var(--lp-border);
    width: 30%;
}

.lp-pos__totalrow--total span {
    height: 12px;
    background: var(--lp-fg);
}

.lp-pos__totalrow--total span:last-child {
    width: 22%;
}

.lp-pos__keypad {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.lp-pos__keypad span {
    aspect-ratio: 1.4;
    border-radius: 8px;
    background: var(--lp-accent-soft);
}

.lp-pos__pay-btn {
    margin-top: auto;
    height: 40px;
    border-radius: var(--lp-radius-sm);
    background: var(--lp-accent);
}

/* ---------- Pillar 4 — Marketing & Growth (floating card collage) ---------- */

.lp-visual--marketing {
    background: transparent;
    border: none;
    box-shadow: none;
    min-height: 320px;
    position: relative;
}

.lp-collage {
    position: relative;
    height: 100%;
    min-height: 320px;
}

.lp-card-float {
    position: absolute;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    box-shadow: var(--lp-shadow);
    padding: 16px 18px;
}

.lp-card-float--sale {
    top: 0;
    inset-inline-start: 8%;
    width: 62%;
}

.lp-card-float__badge {
    display: inline-block;
    height: 10px;
    width: 45%;
    border-radius: 999px;
    background: var(--lp-accent-soft);
    margin-bottom: 14px;
}

.lp-timer {
    display: flex;
    gap: 8px;
}

.lp-timer span {
    flex: 1;
    height: 30px;
    border-radius: 8px;
    background: var(--lp-fg);
}

.lp-card-float--coupon {
    top: 42%;
    inset-inline-end: 4%;
    width: 52%;
    display: flex;
    align-items: center;
    gap: 12px;
    border-style: dashed;
}

.lp-coupon__chip {
    flex: 1;
    height: 14px;
    border-radius: 999px;
    background: var(--lp-border);
}

.lp-coupon__percent {
    flex-shrink: 0;
    width: 44px;
    height: 28px;
    border-radius: 8px;
    background: var(--lp-accent);
}

.lp-card-float--review {
    bottom: 2%;
    inset-inline-start: 14%;
    width: 60%;
}

.lp-stars {
    color: #f5a623;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.lp-line {
    display: block;
    height: 9px;
    width: 80%;
    border-radius: 999px;
    background: var(--lp-border);
    margin-bottom: 14px;
}

.lp-reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lp-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--lp-accent-soft);
    flex-shrink: 0;
}

.lp-line--sm {
    width: 50%;
    margin-bottom: 0;
}

/* ---------- Pillar 5 — Multi-Store & Multi-Theme (fanned deck) ---------- */

.lp-visual--multistore {
    background: transparent;
    border: none;
    box-shadow: none;
    min-height: 320px;
}

.lp-fan {
    position: relative;
    height: 100%;
    min-height: 320px;
}

.lp-fan__card {
    position: absolute;
    top: 10%;
    inset-inline-start: 50%;
    width: 62%;
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    box-shadow: var(--lp-shadow);
    padding: 16px;
}

.lp-fan__band {
    display: block;
    height: 34px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.lp-fan__line {
    display: block;
    height: 9px;
    width: 80%;
    border-radius: 999px;
    background: var(--lp-border);
    margin-bottom: 10px;
}

.lp-fan__line--sm {
    width: 50%;
}

.lp-fan__swatches {
    display: flex;
    gap: 6px;
    margin-top: 12px;
}

.lp-fan__swatches i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: block;
}

.lp-fan__card--1 {
    transform: translate(-78%, 0) rotate(-8deg);
    z-index: 1;
}

.lp-fan__card--1 .lp-fan__band { background: #ffe3ec; }
.lp-fan__card--1 .lp-fan__swatches i:nth-child(1) { background: #ff6b9a; }
.lp-fan__card--1 .lp-fan__swatches i:nth-child(2) { background: #2b2d42; }
.lp-fan__card--1 .lp-fan__swatches i:nth-child(3) { background: #eef7ff; border: 1px solid var(--lp-border); }

.lp-fan__card--2 {
    transform: translate(-50%, 8%) rotate(0deg);
    z-index: 2;
}

.lp-fan__card--2 .lp-fan__band { background: var(--lp-accent-soft); }
.lp-fan__card--2 .lp-fan__swatches i:nth-child(1) { background: var(--lp-accent); }
.lp-fan__card--2 .lp-fan__swatches i:nth-child(2) { background: var(--lp-fg); }
.lp-fan__card--2 .lp-fan__swatches i:nth-child(3) { background: #eef7ff; border: 1px solid var(--lp-border); }

.lp-fan__card--3 {
    transform: translate(-22%, 0) rotate(8deg);
    z-index: 1;
}

.lp-fan__card--3 .lp-fan__band { background: #e2fbea; }
.lp-fan__card--3 .lp-fan__swatches i:nth-child(1) { background: #17845a; }
.lp-fan__card--3 .lp-fan__swatches i:nth-child(2) { background: #2b2d42; }
.lp-fan__card--3 .lp-fan__swatches i:nth-child(3) { background: #eef7ff; border: 1px solid var(--lp-border); }

/* ---------- Benefits (6-up grid) ---------- */

.lp-benefits {
    padding-block: 64px 96px;
    background: var(--lp-fg);
}

.lp-benefits .lp-eyebrow {
    color: #7bb8ff;
}

.lp-benefits .lp-section-head h2 {
    color: #fff;
}

.lp-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.lp-benefit {
    padding: 28px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    background: #fff;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.lp-benefit:hover {
    box-shadow: var(--lp-shadow);
    transform: translateY(-2px);
}

.lp-benefit__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--lp-radius-sm);
    background: var(--lp-accent-soft);
    color: var(--lp-accent-dark);
    margin-bottom: 18px;
}

.lp-benefit__title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.lp-benefit__desc {
    font-size: 14.5px;
    color: var(--lp-muted);
    margin: 0;
    line-height: 1.55;
}

/* ---------- Apps / marketplace teaser ---------- */

.lp-apps {
    padding-block: 32px 96px;
}

.lp-apps__inner {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
    align-items: center;
    background: #fafafe;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 48px;
}

.lp-apps__text h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    letter-spacing: -0.02em;
    font-weight: 800;
    margin: 16px 0 14px;
}

.lp-apps__text p {
    font-size: 16px;
    color: var(--lp-muted);
    max-width: 42ch;
    margin: 0;
}

.lp-apps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.lp-apps__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 12px;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    background: #fff;
    text-align: center;
    transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.lp-apps__tile:hover {
    box-shadow: var(--lp-shadow);
    transform: translateY(-2px);
    border-color: var(--lp-accent);
}

.lp-apps__tile-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--lp-accent-soft);
    color: var(--lp-accent-dark);
}

.lp-apps__tile-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--lp-fg);
}

/* ---------- Pricing ---------- */

.lp-pricing {
    padding-block: 96px;
}

.lp-pricing__note {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--lp-muted);
}

.lp-pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.lp-plan {
    position: relative;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    text-align: start;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.lp-plan--featured {
    border-color: var(--lp-accent);
    box-shadow: var(--lp-shadow);
    transform: scale(1.03);
}

.lp-plan__badge {
    position: absolute;
    top: -14px;
    inset-inline-start: 26px;
    background: var(--lp-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 5px 14px;
    border-radius: 999px;
}

.lp-plan__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-muted);
    margin-bottom: 12px;
}

.lp-plan__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 12px;
}

.lp-plan__amount {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lp-plan__period {
    color: var(--lp-muted);
    font-size: 14px;
}

.lp-plan__trial,
.lp-plan__desc {
    font-size: 14px;
    color: var(--lp-muted);
    margin: 0 0 12px;
}

.lp-plan__features {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.lp-plan__features li {
    font-size: 14px;
    padding-inline-start: 24px;
    position: relative;
}

.lp-plan__features li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--lp-accent-soft);
}

.lp-plan__features li::after {
    content: "";
    position: absolute;
    inset-inline-start: 4px;
    top: 8px;
    width: 6px;
    height: 3px;
    border-inline-start: 2px solid var(--lp-accent-dark);
    border-block-end: 2px solid var(--lp-accent-dark);
    transform: rotate(-45deg);
}

.lp-plan__cta {
    width: 100%;
    text-align: center;
}

/* ---------- Testimonials ---------- */

.lp-testimonials {
    padding-block: 96px;
    background: #fafafe;
}

.lp-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.lp-testimonial {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.lp-testimonial__stars {
    color: #f5a623;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.lp-testimonial__quote {
    font-size: 15px;
    color: var(--lp-fg);
    flex: 1;
    margin: 0 0 20px;
}

.lp-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lp-testimonial__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.lp-testimonial__avatar--1 { background: #e85d8a; }
.lp-testimonial__avatar--2 { background: #d98a2b; }
.lp-testimonial__avatar--3 { background: #4c9a6a; }
.lp-testimonial__avatar--4 { background: var(--lp-accent); }

.lp-testimonial__who {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.lp-testimonial__store {
    color: var(--lp-muted);
    font-size: 13px;
}

/* ---------- FAQ ---------- */

.lp-faq {
    padding-block: 96px;
}

.lp-faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lp-faq__item {
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    overflow: hidden;
}

.lp-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
    border: none;
    padding: 20px 22px;
    text-align: start;
    font-size: 16px;
    font-weight: 600;
    color: var(--lp-fg);
    cursor: pointer;
}

.lp-faq__question svg {
    flex-shrink: 0;
    color: var(--lp-muted);
    transition: transform 200ms ease;
}

.lp-faq__item.is-open .lp-faq__question svg {
    transform: rotate(180deg);
    color: var(--lp-accent);
}

.lp-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 220ms ease;
}

.lp-faq__answer p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding-inline: 22px;
    color: var(--lp-muted);
    font-size: 15px;
}

.lp-faq__item.is-open .lp-faq__answer {
    grid-template-rows: 1fr;
}

.lp-faq__item.is-open .lp-faq__answer p {
    padding-block: 0 20px;
}

/* ---------- CTA band ---------- */

.lp-cta-band {
    background: var(--lp-fg);
    padding-block: 80px;
}

.lp-cta-band__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.lp-cta-band__title {
    color: #fff;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    max-width: 22ch;
    margin: 0;
}

.lp-cta-band__btn {
    background: var(--lp-accent);
}

.lp-cta-band__btn:hover {
    background: var(--lp-accent-dark);
}

.lp-cta-band__reassurance {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    margin: 0;
}

/* ---------- Footer ---------- */

.lp-footer {
    padding-block: 72px 32px;
    border-top: 1px solid var(--lp-border);
    background: #fafafe;
}

.lp-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 48px;
}

.lp-footer__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-footer__col a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 14px;
}

.lp-footer__col a:hover {
    color: var(--lp-accent);
}

.lp-footer__heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-fg);
    margin-bottom: 6px;
}

.lp-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

.lp-footer__socials {
    display: flex;
    gap: 10px;
}

.lp-footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--lp-border);
    color: var(--lp-fg);
}

.lp-footer__socials a:hover {
    background: var(--lp-accent-soft);
    border-color: var(--lp-accent);
    color: var(--lp-accent-dark);
}

.lp-footer__newsletter p {
    font-size: 14px;
    color: var(--lp-muted);
    margin: 0;
}

.lp-footer__form {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.lp-footer__form input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--lp-border);
    font-size: 14px;
    font-family: inherit;
}

.lp-footer__form input:focus {
    outline: none;
    border-color: var(--lp-accent);
}

.lp-footer__flash {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.lp-footer__flash--success {
    color: #17845a;
}

.lp-footer__flash--error {
    color: #d1425a;
}

.lp-footer__bottom {
    padding-top: 24px;
    border-top: 1px solid var(--lp-border);
    text-align: center;
    font-size: 13px;
    color: var(--lp-muted);
}

/* ---------- RTL typography fixes ----------
   letter-spacing breaks Arabic letter joining (cursive script), and
   text-transform: uppercase has no meaning for a script with no case —
   both are Latin-only conventions used above for eyebrows/labels/badges.
   Disable them under [dir="rtl"] so Arabic renders with normal joined
   letterforms instead of visually disconnected characters. */

[dir="rtl"] .lp-lang__toggle,
[dir="rtl"] .lp-eyebrow,
[dir="rtl"] .lp-pillar-row__label,
[dir="rtl"] .lp-plan__badge,
[dir="rtl"] .lp-plan__name,
[dir="rtl"] .lp-footer__heading {
    letter-spacing: normal;
    text-transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .lp-hero__inner {
        grid-template-columns: 1fr;
    }

    .lp-hero__visual {
        order: -1;
    }

    .lp-nav {
        display: none;
    }

    .lp-header__actions .lp-link,
    .lp-header__actions > .lp-btn {
        display: none;
    }

    .lp-burger {
        display: flex;
    }

    .lp-pillar-row__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .lp-pillar-row {
        padding-block: 48px;
    }

    .lp-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-apps__inner {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }

    .lp-apps__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .lp-fan__card {
        width: 74%;
    }

    .lp-plan--featured {
        transform: none;
    }

    .lp-footer__grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 32px;
    }

    .lp-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .lp-hero {
        padding-block: 40px 64px;
    }

    .lp-float-card {
        display: none;
    }

    .lp-dash__stats,
    .lp-hero-mockup__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-cta-band {
        padding-block: 56px;
    }

    .lp-benefits__grid {
        grid-template-columns: 1fr;
    }

    .lp-apps__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-store__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-card-float--sale {
        width: 78%;
    }

    .lp-card-float--coupon {
        width: 70%;
    }

    .lp-card-float--review {
        width: 78%;
    }

    .lp-fan__card {
        width: 84%;
    }

    .lp-footer__grid {
        grid-template-columns: 1fr;
    }

    .lp-footer__brand {
        grid-column: auto;
    }

    .lp-footer__form {
        flex-direction: column;
    }
}
