/* ==========================================================================
   lolpos storefront - public landing page
   Owned by lolpos. BardPOS updates must never overwrite this file.
   Prefix: .lp-   Colours come from the Sataloop palette declared below,
   not from the POS theme settings, so the public site stays on brand.
   ========================================================================== */

:root {
    /* Sataloop Technologies brand palette - taken from the logo.
       The landing page uses these rather than the app theme variables so the
       public site stays on brand whatever colours the POS itself is set to. */
    --lp-brand: #01A4E7;        /* Sataloop cyan   */
    --lp-brand-rgb: 1, 164, 231;
    --lp-accent: #D91C5C;       /* Sataloop crimson */
    --lp-accent-rgb: 217, 28, 92;
    --lp-green: #5CB849;        /* Sataloop green   */
    --lp-deep: #083646;         /* Sataloop deep teal */

    --lp-ink: #0d1b2a;
    --lp-body: #4a5866;
    --lp-line: #e6e9ee;
    --lp-surface: #ffffff;
    --lp-tint: #f6f8fb;
    --lp-radius: 14px;
    --lp-max: 1140px;
}

body.dark-mode {
    --lp-ink: #f2f4f7;
    --lp-body: #aeb8c4;
    --lp-line: rgba(255, 255, 255, 0.10);
    --lp-surface: #1a1d21;
    --lp-tint: #15181c;
}

.lp { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.lp-wrap { max-width: var(--lp-max); margin: 0 auto; padding: 0 1.25rem; }
.lp-section { padding: 4.5rem 0; }
.lp-section--tint { background: var(--lp-tint); }

.lp-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--lp-brand);
    background: rgba(var(--lp-brand-rgb), .13);
    padding: .35rem .8rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.lp-h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.45rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--lp-ink);
    margin: 0 0 .85rem;
    letter-spacing: -.02em;
}
.lp-lead {
    font-size: 1.06rem;
    line-height: 1.7;
    color: var(--lp-body);
    max-width: 60ch;
    margin: 0;
}
.lp-head { max-width: 760px; margin-bottom: 3rem; }
.lp-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-head--center .lp-lead { margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- buttons */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-weight: 600;
    font-size: 1rem;
    padding: .85rem 1.6rem;
    border-radius: 9px;
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    line-height: 1.2;
}
.lp-btn:hover { text-decoration: none; transform: translateY(-2px); }
.lp-btn--primary {
    background: var(--lp-accent);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(var(--lp-accent-rgb), .38);
}
.lp-btn--primary:hover { color: #ffffff; background: #c4174f; box-shadow: 0 10px 26px rgba(var(--lp-accent-rgb), .5); }
.lp-btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, .35);
}
.lp-btn--ghost:hover { color: #ffffff; background: rgba(255, 255, 255, .10); }
.lp-btn--outline {
    background: transparent;
    color: var(--lp-ink);
    border-color: var(--lp-line);
}
.lp-btn--outline:hover { color: var(--lp-ink); border-color: var(--lp-brand); }

/* ------------------------------------------------------------------- hero */
.lp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 460px at 78% 8%, rgba(var(--lp-brand-rgb), .20), transparent 62%),
        linear-gradient(160deg, #0a4256 0%, var(--lp-deep) 55%, #052734 100%);
    color: #ffffff;
    padding: 5rem 0 0;   /* the trust bar sits flush at the bottom */
}
.lp-hero__grid {
    padding-bottom: 4.75rem;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 3.5rem;
    align-items: center;
}
.lp-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--lp-brand);
    background: rgba(var(--lp-brand-rgb), .14);
    border: 1px solid rgba(var(--lp-brand-rgb), .3);
    padding: .4rem .9rem;
    border-radius: 100px;
    margin-bottom: 1.4rem;
}
.lp-hero__title {
    font-size: clamp(2.1rem, 4.6vw, 3.35rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.03em;
    color: #ffffff;
    margin: 0 0 1.15rem;
}
.lp-hero__title em { font-style: normal; color: var(--lp-brand); }
.lp-hero__sub {
    font-size: 1.12rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .82);
    margin: 0 0 2rem;
    max-width: 52ch;
}
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.6rem; }
.lp-hero__reassure {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .9rem;
    color: rgba(255, 255, 255, .72);
}
.lp-hero__reassure li { display: flex; align-items: center; gap: .45rem; }
.lp-hero__reassure i { color: var(--lp-brand); font-size: .85rem; }

/* ------------------------------------------------------- hero app preview */
.lp-mock {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.lp-mock__bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .7rem .9rem;
    background: #eef1f5;
    border-bottom: 1px solid #dfe4ea;
}
.lp-mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd2da; }
.lp-mock__url {
    margin-left: .6rem;
    flex: 1;
    background: #ffffff;
    border-radius: 100px;
    font-size: .68rem;
    color: #8b95a1;
    padding: .25rem .7rem;
}
.lp-mock__body { padding: 1.1rem 1.15rem 1.35rem; }
.lp-mock__label { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #97a1ad; font-weight: 700; margin: 0 0 .75rem; }
.lp-mock__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.1rem; }
.lp-mock__stat { background: #f6f8fb; border: 1px solid #e8ecf1; border-radius: 10px; padding: .6rem .65rem; }
.lp-mock__stat b { display: block; font-size: 1.02rem; color: #0d1b2a; letter-spacing: -.02em; }
.lp-mock__stat span { font-size: .62rem; color: #8b95a1; text-transform: uppercase; letter-spacing: .05em; }
.lp-mock__chart { display: flex; align-items: flex-end; gap: .35rem; height: 74px; margin-bottom: 1.1rem; }
.lp-mock__chart i { flex: 1; background: rgba(var(--lp-brand-rgb), .38); border-radius: 4px 4px 0 0; display: block; }
.lp-mock__chart i:nth-child(6) { background: var(--lp-brand); }
.lp-mock__rows { border-top: 1px solid #eef1f5; }
.lp-mock__row { display: flex; align-items: center; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid #f2f4f8; font-size: .76rem; }
.lp-mock__row span { color: #55616f; }
.lp-mock__row b { color: #0d1b2a; font-weight: 600; }
.lp-mock__tag { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .45rem; border-radius: 4px; background: #e7f6ee; color: #1a7f4b; }
.lp-mock__tag--due { background: #fdf0e3; color: #a8630d; }

/* -------------------------------------------------------------- trust bar */
.lp-trust {
    background: rgba(0, 0, 0, .16);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 1.2rem 0;
}
.lp-trust__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .6rem 2rem;
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
}
.lp-trust__label { font-weight: 600; color: rgba(255, 255, 255, .95); }
.lp-trust__inner span { display: inline-flex; align-items: center; gap: .45rem; }
.lp-trust__inner i { color: var(--lp-brand); }

/* ------------------------------------------------------------ value cards */
.lp-value__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.lp-value-card {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 1.9rem 1.6rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lp-value-card:hover { transform: translateY(-4px); border-color: rgba(var(--lp-brand-rgb), .55); box-shadow: 0 14px 34px rgba(13, 27, 42, .10); }
.lp-value-card__icon {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(var(--lp-brand-rgb), .15);
    color: var(--lp-brand);
    font-size: 1.2rem;
    margin-bottom: 1.15rem;
}
.lp-value-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 .6rem; letter-spacing: -.01em; }
.lp-value-card p { font-size: .96rem; line-height: 1.65; color: var(--lp-body); margin: 0 0 1rem; }
.lp-value-card ul { list-style: none; padding: 0; margin: 0; }
.lp-value-card li { position: relative; padding-left: 1.4rem; font-size: .9rem; line-height: 1.55; color: var(--lp-body); margin-bottom: .4rem; }
.lp-value-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute; left: 0; top: .1em;
    color: var(--lp-brand);
    font-size: .72rem;
}

/* --------------------------------------------------------- included chips */
.lp-included { margin-top: 2.75rem; text-align: center; }
.lp-included__title { font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--lp-body); margin-bottom: 1.1rem; }
.lp-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.lp-chip {
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 100px;
    padding: .45rem 1rem;
    font-size: .88rem;
    color: var(--lp-ink);
}
.lp-chip i { color: var(--lp-brand); font-size: .78rem; }

/* ----------------------------------------------------------- switch panel */
.lp-switch {
    background: linear-gradient(135deg, var(--lp-deep) 0%, #0b4d63 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    color: #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 2.5rem;
    align-items: center;
}
.lp-switch h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 .8rem; color: #fff; }
.lp-switch p { font-size: 1.02rem; line-height: 1.7; color: rgba(255, 255, 255, .82); margin: 0 0 1.6rem; }
.lp-switch__from { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.lp-switch__from li {
    display: flex; align-items: center; gap: .7rem;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 10px;
    padding: .7rem .95rem;
    font-size: .92rem;
    color: rgba(255, 255, 255, .9);
}
.lp-switch__from i { color: var(--lp-brand); width: 1.1em; text-align: center; }

/* ------------------------------------------------------------------ steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; counter-reset: lpstep; }
.lp-step { position: relative; padding-top: 1rem; }
.lp-step__n {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--lp-brand);
    color: #04222d;
    font-weight: 800;
    font-size: 1.02rem;
    margin-bottom: 1.05rem;
}
.lp-step h3 { font-size: 1.14rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 .5rem; }
.lp-step p { font-size: .95rem; line-height: 1.65; color: var(--lp-body); margin: 0; }

/* ---------------------------------------------------------------- sectors */
.lp-sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.lp-sector {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    padding: 1.3rem 1.25rem;
    transition: border-color .2s ease, transform .2s ease;
}
.lp-sector:hover { border-color: rgba(var(--lp-brand-rgb), .6); transform: translateY(-3px); }
.lp-sector i { color: var(--lp-brand); font-size: 1.15rem; margin-bottom: .75rem; display: block; }
.lp-sector h4 { font-size: 1rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 .35rem; }
.lp-sector p { font-size: .86rem; line-height: 1.55; color: var(--lp-body); margin: 0; }

/* ---------------------------------------------------------------- plans */
.lp-plans {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 2.25rem 2.25rem;
}
.lp-plans h2 { font-size: 1.65rem; font-weight: 700; color: var(--lp-ink); margin: 0 0 .6rem; letter-spacing: -.02em; }
.lp-plans p { font-size: 1rem; line-height: 1.65; color: var(--lp-body); margin: 0; max-width: 62ch; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 991px) {
    .lp-hero__grid { grid-template-columns: 1fr; gap: 2.75rem; }
    .lp-mock { transform: none; }
    .lp-value__grid, .lp-steps { grid-template-columns: 1fr; }
    .lp-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-switch { grid-template-columns: 1fr; padding: 2.25rem 1.6rem; }
    .lp-plans { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 575px) {
    .lp-section { padding: 3.25rem 0; }
    .lp-hero { padding: 3.25rem 0 0; }
    .lp-hero__grid { padding-bottom: 3rem; }
    .lp-hero__actions .lp-btn { width: 100%; }
    .lp-sectors { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ stats */
.lp-stats { background: var(--lp-deep); color: #fff; }
.lp-stats .lp-h2 { color: #fff; }
.lp-stats .lp-lead { color: rgba(255, 255, 255, .78); }
.lp-stats .lp-eyebrow { color: var(--lp-brand); background: rgba(var(--lp-brand-rgb), .16); }
.lp-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.1rem; }
.lp-stat {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    padding: 1.6rem 1.3rem;
    text-align: center;
}
.lp-stat b { display: block; font-size: 2.1rem; font-weight: 800; color: var(--lp-brand); letter-spacing: -.02em; line-height: 1.1; }
.lp-stat span { display: block; margin-top: .45rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .07em; color: rgba(255, 255, 255, .7); }

/* -------------------------------------------------------------------- faq */
.lp-faq__list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--lp-line); }
.lp-faq__item { border-bottom: 1px solid var(--lp-line); }
.lp-faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.25rem .25rem;
    font-size: 1.03rem; font-weight: 600; color: var(--lp-ink);
    cursor: pointer; list-style: none;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
    content: '\f067';
    font-family: 'Font Awesome 5 Free'; font-weight: 900;
    font-size: .78rem; color: var(--lp-brand); flex: 0 0 auto;
    transition: transform .2s ease;
}
.lp-faq__item[open] summary::after { content: '\f068'; }
.lp-faq__item summary:hover { color: var(--lp-brand); }
.lp-faq__answer { padding: 0 .25rem 1.35rem; font-size: .97rem; line-height: 1.72; color: var(--lp-body); }
.lp-faq__answer p { margin: 0; }

/* -------------------------------------------------------------------- cta */
.lp-cta { background: var(--lp-brand); color: #04222d; }
.lp-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem; }
.lp-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .5rem; color: #04222d; }
.lp-cta p { font-size: 1.03rem; line-height: 1.6; margin: 0; color: rgba(4, 34, 45, .82); max-width: 58ch; }
.lp-cta .lp-btn--dark {
    background: var(--lp-deep); color: #fff;
    box-shadow: 0 8px 22px rgba(8, 54, 70, .35);
}
.lp-cta .lp-btn--dark:hover { background: #0a4256; }
.lp-cta .lp-btn--dark:hover { color: #fff; }
