/*
 * Solosmartpedia — landing page
 * Scoped under .lp. One type scale, one spacing scale, brand blue + neutrals.
 */

.lp {
    --lp-accent: var(--pr, #1158e0);
    --lp-accent-soft: rgba(17, 88, 224, .08);
    --lp-accent-line: rgba(17, 88, 224, .18);
    --lp-gold: #f59e0b;
    --lp-surface: var(--bg, #fff);
    --lp-line: var(--bdr, #e2e8f0);
    --lp-ink: var(--tx, #0f172a);
    --lp-muted: var(--txM, #64748b);
    --lp-radius: 20px;
    --lp-sec: clamp(3.75rem, 7vw, 6rem);
    --lp-nav: 84px;

    font-family: var(--fs, 'Inter', sans-serif);
    color: var(--lp-ink);
    -webkit-font-smoothing: antialiased;
}

[data-theme-mode="dark"] .lp {
    --lp-accent: var(--pr, #1158e0);
    --lp-accent-soft: rgba(17, 88, 224, .12);
    --lp-accent-line: rgba(17, 88, 224, .28);
    --lp-line: rgba(255, 255, 255, .08);
}

.lp [x-cloak] { display: none !important; }

/* ── Type ─────────────────────────────────────────── */
.lp-h1,
.lp-h2,
.lp-card-title,
.lp-tile-num,
.lp-btn,
.lp-cta-title {
    font-family: var(--fh, 'Plus Jakarta Sans', sans-serif);
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    padding: .3rem .75rem;
    border: 1px solid var(--lp-accent-line);
    border-radius: 999px;
    background: var(--lp-accent-soft);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--lp-accent);
}

.lp-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.lp-h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3.4vw, 2.875rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.03em;
    color: var(--lp-ink);
}

.lp-h2-sm { font-size: clamp(1.625rem, 2.6vw, 2.125rem); }

.lp-sub {
    margin: 0;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.65;
    color: var(--lp-muted);
}

/* ── Layout ───────────────────────────────────────── */
.lp-sec {
    position: relative;
    padding-block: var(--lp-sec);
}

.lp-sec-tight { padding-block: calc(var(--lp-sec) * .75); }

.lp-alt {
    background: #f4f7fc;
    border-block: 1px solid var(--lp-line);
}

[data-theme-mode="dark"] .lp-alt { background: rgba(255, 255, 255, .02); }

.lp-head {
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 3.75rem);
    text-align: center;
}

.lp-head-left {
    margin-left: 0;
    text-align: left;
}

.lp-head .lp-h2:last-child { margin-bottom: 0; }

.lp-center {
    display: flex;
    justify-content: center;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.lp-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.lp-panel {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: clamp(1rem, 2.5vw, 2rem);
}

[data-theme-mode="dark"] .lp-panel { background: rgba(255, 255, 255, .02); }

/* ── Buttons ──────────────────────────────────────── */
.lp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .875rem;
}

.lp-actions-center { justify-content: center; }

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    height: 52px;
    padding: 0 1.6rem;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}

.lp-btn i { transition: transform .2s; }
.lp-btn:hover i.bi-arrow-right { transform: translateX(3px); }

.lp-hero .lp-btn { height: clamp(46px, 5.6vh, 52px); }

.lp-btn-primary {
    background: var(--pr, #1158e0);
    color: #fff !important;
    box-shadow: 0 10px 24px -12px rgba(17, 88, 224, .7);
}

.lp-btn-primary:hover { background: var(--prH, #0d47c4); }

.lp-btn-ghost {
    background: transparent;
    border-color: var(--lp-line);
    color: var(--lp-ink) !important;
}

.lp-btn-ghost:hover { border-color: var(--lp-accent); color: var(--lp-accent) !important; }

[data-theme-mode="dark"] .lp-btn-ghost { border-color: rgba(255, 255, 255, .16); }

.lp-btn-light {
    background: #fff;
    color: #0d47c4 !important;
}

.lp-btn-light:hover { background: #eef4ff; }

.lp-btn-outline-light {
    border-color: rgba(255, 255, 255, .55);
    color: #fff !important;
}

.lp-btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.lp-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1.25rem;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--lp-accent);
}

.lp-link i { transition: transform .2s; }

/* ── Hero ─────────────────────────────────────────── */
.lp-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--lp-nav) + clamp(0rem, 1vh, 1rem));
    overflow: hidden;
    border-bottom: 1px solid var(--lp-line);
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    --lp-dot-color: rgba(100, 116, 139, .22);
    --lp-spot: rgba(17, 88, 224, .10);
    background:
        radial-gradient(900px 520px at 85% 10%, rgba(17, 88, 224, .10), transparent 60%),
        radial-gradient(700px 420px at 5% 90%, rgba(17, 88, 224, .05), transparent 65%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%);
}

.lp-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 1px 1px, var(--lp-dot-color) 1px, transparent 0) 0 0 / 28px 28px;
    transition: opacity .4s;
}

.lp-hero-bg.is-live::before { opacity: 0; }

.lp-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.lp-hero-spot {
    position: absolute;
    inset: 0;
    background: radial-gradient(560px circle at var(--hx, 70%) var(--hy, 30%), var(--lp-spot), transparent 60%);
    opacity: 0;
    transition: opacity .5s;
}

.lp-hero.is-hover .lp-hero-spot { opacity: 1; }

[data-theme-mode="dark"] .lp-hero-bg {
    --lp-dot-color: rgba(255, 255, 255, .07);
    --lp-spot: rgba(17, 88, 224, .16);
    background:
        radial-gradient(900px 560px at 85% 5%, rgba(17, 88, 224, .24), transparent 62%),
        radial-gradient(700px 420px at 5% 85%, rgba(17, 88, 224, .10), transparent 65%);
}

.lp-hero-inner {
    position: relative;
    z-index: 1;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
    min-height: 0;
    padding-block: clamp(1rem, 3vh, 2rem) clamp(1.25rem, 4vh, 3rem);
}

.lp-pill {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: clamp(1rem, 2.6vh, 1.75rem);
    padding: .375rem 1rem .375rem .375rem;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-surface);
    font-size: .9375rem;
    font-weight: 500;
    color: var(--lp-muted);
}

[data-theme-mode="dark"] .lp-pill { background: rgba(255, 255, 255, .03); }

.lp-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    font-size: .8125rem;
    font-weight: 700;
}

.lp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    animation: lp-ping 2s infinite;
}

@keyframes lp-ping {
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.lp-h1 {
    margin: 0;
    font-size: clamp(2.25rem, min(4vw, 7.2vh), 4rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.04em;
    color: var(--lp-ink);
}

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

.lp-h1 [data-hero-title] { display: block; }
.lp-nowrap { white-space: nowrap; }

.lp-rotator {
    display: block;
    overflow: hidden;
    padding-bottom: .12em;
    color: var(--lp-accent);
}

.lp-rot-word {
    display: inline-block;
    will-change: transform, opacity;
}

.lp-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: .22em;
    margin-bottom: -.22em;
}

.lp-w > span { display: inline-block; }

.lp-lead {
    max-width: 38rem;
    margin: clamp(1rem, 2.4vh, 1.5rem) 0 clamp(1.25rem, 3.4vh, 2.25rem);
    font-size: clamp(1rem, min(1.3vw, 2.1vh), 1.25rem);
    line-height: 1.6;
    color: var(--lp-muted);
}

.lp-checks {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.75rem;
    margin: clamp(1.1rem, 3vh, 2rem) 0 0;
    padding: 0;
    list-style: none;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--lp-muted);
}

.lp-checks li { display: inline-flex; align-items: center; gap: .5rem; }
.lp-checks i { color: var(--lp-accent); font-size: 1.05rem; }

/* Bento */
.lp-bento {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(clamp(118px, 16vh, 150px), auto)) auto;
    gap: 1rem;
}

.lp-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.1rem, 2.2vh, 1.5rem);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

.lp-tile:hover {
    border-color: var(--lp-accent-line);
    box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .35);
}

[data-theme-mode="dark"] .lp-tile { background: rgba(255, 255, 255, .03); }

.lp-tile-ico { font-size: 1.4rem; color: var(--lp-accent); line-height: 1; }

.lp-tile-num {
    font-size: clamp(1.75rem, 2.3vw, 2.125rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--lp-ink);
    font-variant-numeric: tabular-nums;
}

.lp-tile-lbl {
    margin-top: .5rem;
    font-size: .9375rem;
    color: var(--lp-muted);
}

.lp-tile-big {
    grid-column: 1;
    grid-row: span 2;
    border-color: transparent;
    background: linear-gradient(#1158e0, #1158e0);
    color: #fff;
}

[data-theme-mode="dark"] .lp-tile.lp-tile-big {
    background: linear-gradient(#1158e0, #1158e0);
}

.lp-tile-big:hover {
    border-color: transparent;
    box-shadow: 0 28px 56px -28px rgba(13, 71, 196, .7);
}

.lp-tile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lp-tile-big .lp-tile-ico { color: rgba(255, 255, 255, .9); font-size: 1.6rem; }

.lp-tile-big .lp-tile-num {
    font-size: clamp(2.5rem, min(4.2vw, 7vh), 3.75rem);
    color: #fff;
}

.lp-tile-big .lp-tile-lbl {
    max-width: 16rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, .82);
}

.lp-live {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.lp-live .lp-dot { background: #fff; }

.lp-tile-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1.25rem;
    font-size: .9375rem;
    font-weight: 600;
    color: #fff !important;
    text-decoration: none;
}

.lp-tile-link i { transition: transform .2s; }
.lp-tile-link:hover i { transform: translateX(3px); }

.lp-tile-wide { grid-column: span 2; }

.lp-tile-strip {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.25rem;
    padding: 1.15rem 1.5rem;
}

.lp-feat {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-feat i { color: var(--lp-accent); }

/* Marquee */
.lp-marquee {
    position: relative;
    z-index: 1;
    padding: clamp(.85rem, 2vh, 1.25rem) 0;
    border-top: 1px solid var(--lp-line);
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.lp-marquee-track {
    display: flex;
    width: max-content;
    animation: lp-marquee 45s linear infinite;
}

.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }

.lp-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-right: 3rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--lp-muted);
}

.lp-marquee-item i { font-size: 1.1rem; color: var(--lp-accent); }

@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ── Cards ────────────────────────────────────────── */
.lp-card {
    position: relative;
    display: block;
    padding: 1.875rem;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    overflow: hidden;
    text-decoration: none;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.lp-alt .lp-card { background: var(--bg, #fff); }

[data-theme-mode="dark"] .lp-card,
[data-theme-mode="dark"] .lp-alt .lp-card { background: rgba(255, 255, 255, .03); }

.lp-card > * { position: relative; }

.lp-card:hover {
    transform: translateY(-4px);
    border-color: var(--lp-accent-line);
    box-shadow: 0 24px 48px -30px rgba(15, 23, 42, .35);
}

.lp-card-link:hover .lp-link i { transform: translateX(3px); }

[data-spot]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), var(--lp-accent-soft), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

[data-spot]:hover::before { opacity: 1; }

.lp-ico {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    border-radius: 14px;
    border: 1px solid var(--lp-accent-line);
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    font-size: 1.4rem;
}

.lp-ico-neutral {
    border-color: var(--lp-line);
    background: var(--bg2, #f8fafc);
    color: var(--lp-ink);
}

[data-theme-mode="dark"] .lp-ico-neutral { background: rgba(255, 255, 255, .05); }

.lp-card-title {
    margin: 0 0 .625rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--lp-ink);
}

.lp-card-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--lp-muted);
}

/* ── Products ─────────────────────────────────────── */
.lp-prod {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.lp-prod-tabs {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.lp-prod-tab {
    position: relative;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: .875rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    background: var(--lp-surface);
    color: var(--lp-ink);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}

[data-theme-mode="dark"] .lp-prod-tab { background: rgba(255, 255, 255, .03); }

.lp-prod-tab:hover { border-color: var(--lp-accent-line); }

.lp-prod-tab.is-active {
    border-color: var(--lp-accent);
    box-shadow: 0 16px 36px -24px rgba(17, 88, 224, .55);
}

.lp-prod-tab-ico {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--lp-accent-soft);
    color: var(--lp-accent);
    font-size: 1.2rem;
    transition: background-color .2s, color .2s;
}

.lp-prod-tab.is-active .lp-prod-tab-ico {
    background: var(--lp-accent);
    color: #fff;
}

.lp-prod-tab-text { display: flex; flex-direction: column; min-width: 0; }

.lp-prod-tab-title {
    font-family: var(--fh, 'Plus Jakarta Sans', sans-serif);
    font-size: 1rem;
    font-weight: 700;
}

.lp-prod-tab-short {
    font-size: .875rem;
    color: var(--lp-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lp-prod-tab-count {
    font-family: var(--fh, 'Plus Jakarta Sans', sans-serif);
    font-size: .875rem;
    font-weight: 700;
    color: var(--lp-muted);
    font-variant-numeric: tabular-nums;
}

.lp-prod-tab.is-active .lp-prod-tab-count { color: var(--lp-accent); }

.lp-prod-tab-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: var(--lp-accent);
    transform: scaleX(0);
    transform-origin: left center;
}

.lp-prod-tab.is-auto .lp-prod-tab-bar { animation: lp-prod-progress 7s linear forwards; }

@keyframes lp-prod-progress { to { transform: scaleX(1); } }

.lp-prod-stage {
    position: relative;
    min-height: 100%;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    background: var(--lp-surface);
    overflow: hidden;
}

[data-theme-mode="dark"] .lp-prod-stage { background: rgba(255, 255, 255, .03); }

.lp-prod-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(520px 320px at 100% 0%, var(--lp-accent-soft), transparent 70%);
    pointer-events: none;
}

.lp-prod-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

.lp-fade-enter { transition: opacity .35s ease, transform .35s ease; }
.lp-fade-from { opacity: 0; transform: translateY(10px); }
.lp-fade-to { opacity: 1; transform: none; }

.lp-prod-headline {
    margin: 0 0 .875rem;
    font-family: var(--fh, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(1.375rem, 2vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
    color: var(--lp-ink);
}

.lp-prod-text {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--lp-muted);
}

.lp-prod-points {
    display: grid;
    gap: .6rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
    font-size: .9375rem;
    color: var(--lp-ink);
}

.lp-prod-points li { display: flex; align-items: flex-start; gap: .55rem; }
.lp-prod-points i { margin-top: .1rem; color: var(--lp-accent); }

.lp-prod-panel .lp-link { margin-top: 0; }

.lp-prod-visual {
    align-self: start;
    padding: 1.25rem;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    background: var(--bg, #fff);
}

[data-theme-mode="dark"] .lp-prod-visual { background: rgba(0, 0, 0, .35); }

.lp-prod-total {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lp-line);
}

.lp-prod-total-num {
    font-family: var(--fh, 'Plus Jakarta Sans', sans-serif);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--lp-accent);
}

.lp-prod-total-lbl { font-size: .9375rem; color: var(--lp-muted); }

.lp-prod-groups {
    display: grid;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-prod-groups li {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .45rem .7rem;
    border-radius: 8px;
    font-size: .875rem;
    overflow: hidden;
    isolation: isolate;
}

.lp-prod-groups li::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w, 0%);
    background: var(--lp-accent-soft);
    z-index: -1;
    transform-origin: left center;
    animation: lp-bar-grow .7s cubic-bezier(.16, 1, .3, 1) both;
}

.lp-prod-groups li:nth-child(2)::before { animation-delay: .05s; }
.lp-prod-groups li:nth-child(3)::before { animation-delay: .1s; }
.lp-prod-groups li:nth-child(4)::before { animation-delay: .15s; }
.lp-prod-groups li:nth-child(5)::before { animation-delay: .2s; }
.lp-prod-groups li:nth-child(6)::before { animation-delay: .25s; }
.lp-prod-groups li:nth-child(7)::before { animation-delay: .3s; }
.lp-prod-groups li:nth-child(8)::before { animation-delay: .35s; }

@keyframes lp-bar-grow { from { transform: scaleX(0); } }

.lp-prod-group-name { color: var(--lp-ink); font-weight: 500; }
.lp-prod-group-num { color: var(--lp-muted); font-variant-numeric: tabular-nums; }

.lp-prod-code { display: grid; gap: .6rem; }

.lp-code-head {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .8125rem;
    color: var(--lp-muted);
}

.lp-code-method,
.lp-code-ok {
    padding: .1rem .45rem;
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
}

.lp-code-method { background: var(--lp-accent-soft); color: var(--lp-accent); }
.lp-code-ok { background: rgba(16, 185, 129, .12); color: #059669; }
[data-theme-mode="dark"] .lp-code-ok { color: #34d399; }

.lp-code {
    margin: 0 0 .4rem;
    padding: .9rem 1rem;
    border-radius: 12px;
    background: #0b0f17;
    color: #cbd5e1;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: .8125rem;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.lp-c-key { color: #93c5fd; }
.lp-c-str { color: #e2e8f0; }
.lp-c-num { color: #fbbf24; }

.lp-code-note { font-size: .8125rem; color: var(--lp-muted); }

/* ── Steps ────────────────────────────────────────── */
.lp-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.lp-steps-line {
    position: absolute;
    top: 30px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 2px;
    background: var(--lp-line);
}

.lp-steps-fill {
    display: block;
    height: 100%;
    background: var(--lp-accent);
    transform-origin: left center;
}

.lp-step-num {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    border: 1px solid var(--lp-accent);
    background: var(--bg, #fff);
    color: var(--lp-accent);
    font-family: var(--fh, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.375rem;
    font-weight: 800;
}

.lp-step .lp-card-text { max-width: 22rem; margin-inline: auto; }

/* ── Testimonials ─────────────────────────────────── */
.lp-quote {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.lp-stars {
    display: flex;
    gap: .2rem;
    margin-bottom: 1.25rem;
    color: var(--lp-gold);
    font-size: 1rem;
}

.lp-quote-text {
    flex: 1;
    margin: 0 0 1.75rem;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--lp-ink);
}

.lp-quote-by {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--lp-line);
}

.lp-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(#1158e0, #1158e0);
    color: #fff;
    font-family: var(--fh, 'Plus Jakarta Sans', sans-serif);
    font-weight: 700;
}

.lp-quote-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-ink);
}

.lp-quote-role {
    display: block;
    font-size: .875rem;
    color: var(--lp-muted);
}

/* ── Payments ─────────────────────────────────────── */
.lp-pay-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.lp-pay {
    display: grid;
    place-items: center;
    height: 84px;
    padding: 1rem 1.25rem;
    border: 1px solid var(--lp-line);
    border-radius: 16px;
    background: var(--bg, #fff);
    transition: border-color .25s;
}

[data-theme-mode="dark"] .lp-pay { background: rgba(255, 255, 255, .03); }

.lp-pay:hover { border-color: var(--lp-accent-line); }

.lp-pay img {
    max-width: 100%;
    max-height: 30px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: filter .25s, opacity .25s;
}

.lp-pay:hover img { filter: none; opacity: 1; }

[data-theme-mode="dark"] .lp-pay img { filter: grayscale(1) brightness(0) invert(1); opacity: .65; }
[data-theme-mode="dark"] .lp-pay:hover img { filter: grayscale(1) brightness(0) invert(1); opacity: 1; }

.lp-pay-text {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--fh, 'Plus Jakarta Sans', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-muted);
}

/* ── Popular tags ─────────────────────────────────── */
.lp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.lp-tag {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem 1.1rem;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    background: var(--lp-surface);
    font-size: .9375rem;
    font-weight: 500;
    color: var(--lp-ink) !important;
    text-decoration: none;
    transition: border-color .2s, color .2s, background-color .2s;
}

[data-theme-mode="dark"] .lp-tag { background: rgba(255, 255, 255, .03); }

.lp-tag i { color: var(--lp-muted); transition: color .2s; }

.lp-tag:hover { border-color: var(--lp-accent); color: var(--lp-accent) !important; }
.lp-tag:hover i { color: var(--lp-accent); }

.lp-more {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.75rem;
    padding: 0;
    border: 0;
    background: none;
    font-size: .9375rem;
    font-weight: 600;
    color: var(--lp-accent);
    cursor: pointer;
}

/* ── CTA ──────────────────────────────────────────── */
.lp-cta {
    position: relative;
    padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
    border-radius: 28px;
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .06), transparent 60%),
        linear-gradient(#1158e0, #1158e0);
    text-align: center;
    overflow: hidden;
}

.lp-cta-title {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
    color: #fff;
}

.lp-cta-sub {
    max-width: 34rem;
    margin: 0 auto 2.25rem;
    font-size: clamp(1rem, 1.3vw, 1.1875rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, .85);
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1199px) {
    .lp-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 991px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
        padding-block: 2.5rem 3rem;
    }

    .lp-hero-copy { text-align: center; }
    .lp-lead { margin-inline: auto; }
    .lp-hero-copy .lp-actions,
    .lp-checks { justify-content: center; }

    .lp-h1 { font-size: clamp(2.25rem, 7vw, 3.5rem); }
    .lp-lead { font-size: clamp(1rem, 2.4vw, 1.125rem); }

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

    .lp-prod { grid-template-columns: 1fr; }
    .lp-prod-tabs {
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
        margin-inline: -.75rem;
        padding-inline: .75rem;
    }
    .lp-prod-tabs::-webkit-scrollbar { display: none; }
    .lp-prod-tab { flex: 0 0 auto; width: auto; grid-template-columns: 36px auto; padding: .7rem 1rem .7rem .7rem; }
    .lp-prod-tab-ico { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; }
    .lp-prod-tab-short,
    .lp-prod-tab-count { display: none; }
    .lp-prod-panel { grid-template-columns: 1fr; gap: 1.5rem; }

    .lp-steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .lp-steps-line { display: none; }


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

@media (max-width: 640px) {
    .lp { --lp-nav: 72px; }

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

    .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(130px, auto); }
    .lp-tile-big { grid-column: 1 / -1; grid-row: span 1; min-height: 200px; }
    .lp-tile-wide { grid-column: 1 / -1; }
    .lp-tile { padding: 1.25rem; }

    .lp-actions { flex-wrap: nowrap; gap: .625rem; }
    .lp-actions .lp-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 .75rem;
        font-size: .9375rem;
    }

    .lp-card { padding: 1.5rem; }

    .lp-panel { padding: .5rem; border-radius: 16px; }

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

/* Mobile density: tighter rhythm, same scale ratios */
@media (max-width: 640px) {
    .lp { --lp-sec: 3.25rem; --lp-nav: 66px; }

    .lp-hero-inner { gap: 1.75rem; padding-block: 1.25rem 1.75rem; }
    .lp-pill { margin-bottom: 1rem; font-size: .8125rem; gap: .5rem; }
    .lp-pill-tag { font-size: .75rem; padding: .2rem .55rem; }
    .lp-lead { margin: .875rem 0 1.25rem; font-size: .9375rem; line-height: 1.55; }
    .lp-checks { margin-top: 1rem; gap: .35rem .9rem; font-size: .8125rem; }
    .lp-checks i { font-size: .9rem; }

    .lp-bento { gap: .75rem; grid-auto-rows: minmax(108px, auto); }
    .lp-tile { padding: 1.1rem; gap: .65rem; border-radius: 16px; }
    .lp-tile-big { min-height: 170px; }
    .lp-tile-big .lp-tile-num { font-size: 2.5rem; }
    .lp-tile-num { font-size: 1.5rem; }
    .lp-tile-lbl { font-size: .875rem; margin-top: .35rem; }
    .lp-tile-link { margin-top: .85rem; }
    .lp-tile-strip { padding: .9rem 1.1rem; gap: .6rem 1rem; }
    .lp-feat { font-size: .875rem; }

    .lp-marquee { padding: .75rem 0; }
    .lp-marquee-item { margin-right: 2rem; font-size: .875rem; }

    .lp-head { margin-bottom: 1.75rem; }
    .lp-eyebrow { margin-bottom: .6rem; font-size: .75rem; }
    .lp-h2 { margin-bottom: .6rem; font-size: 1.75rem; }
    .lp-h2-sm { font-size: 1.5rem; }
    .lp-sub { font-size: .9375rem; }

    .lp-grid-3 { gap: .875rem; }
    .lp-card { padding: 1.25rem; border-radius: 16px; }
    .lp-ico { width: 44px; height: 44px; margin-bottom: 1rem; font-size: 1.2rem; border-radius: 12px; }
    .lp-card-title { font-size: 1.0625rem; margin-bottom: .4rem; }
    .lp-card-text { font-size: .9375rem; line-height: 1.55; }
    .lp-link { margin-top: .85rem; }

    .lp-grid-3 > .lp-card:not(.lp-quote) {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 1rem;
        align-items: start;
    }

    .lp-grid-3 > .lp-card:not(.lp-quote) > .lp-ico { grid-row: span 3; margin-bottom: 0; }
    .lp-grid-3 > .lp-card:not(.lp-quote) > :not(.lp-ico) { grid-column: 2; }
    .lp-grid-3 > .lp-card:not(.lp-quote) .lp-card-title { margin-top: .1rem; }

    .lp-steps { gap: 1.5rem; }
    .lp-step-num { width: 48px; height: 48px; margin-bottom: .85rem; font-size: 1.125rem; }
    .lp-center { margin-top: 1.75rem; }

    .lp-stars { margin-bottom: .85rem; }
    .lp-quote-text { margin-bottom: 1.1rem; font-size: .9375rem; line-height: 1.6; }
    .lp-quote-by { padding-top: .9rem; }

    .lp-pay-grid { gap: .625rem; }
    .lp-pay { height: 64px; padding: .75rem; border-radius: 12px; }
    .lp-pay img { max-height: 24px; }

    .lp-tags { gap: .5rem; }
    .lp-tag { padding: .45rem .8rem; font-size: .8125rem; }
    .lp-tags:not(.lp-tags-open) > .lp-tag:nth-child(n+7) { display: none; }
    .lp-more { margin-top: 1.1rem; }

    .lp-panel { padding: .5rem; }

    .lp-cta { padding: 2.25rem 1.25rem; border-radius: 20px; }
    .lp-cta-title { font-size: 1.75rem; }
    .lp-cta-sub { margin-bottom: 1.5rem; font-size: .9375rem; }
}

@media (max-width: 400px) {
    .lp-hide-xs { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-prod-groups li::before { animation: none; }
    .lp-marquee-track,
    .lp-dot { animation: none; }
    .lp-card,
    .lp-btn i { transition: none; }
}

.lp-tile-link { white-space: nowrap; }

@media (min-width: 992px) and (max-width: 1399px) {
    .lp-tile-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .65rem 1rem;
    }

    .lp-tile-big .lp-tile-link { font-size: .875rem; }
}

/* Phones: product tabs become small pills that scroll sideways, sized to their label. */
@media (max-width: 767.98px) {
    .lp-prod-tabs {
        gap: .4rem;
        scroll-snap-type: x proximity;
        scroll-padding-inline: .75rem;
    }
    .lp-prod-tab {
        grid-template-columns: 24px auto;
        gap: .45rem;
        padding: .35rem .8rem .35rem .35rem;
        border-radius: 999px;
        scroll-snap-align: start;
    }
    .lp-prod-tab-ico { width: 24px; height: 24px; font-size: .78rem; border-radius: 999px; }
    .lp-prod-tab-title { font-size: .82rem; font-weight: 600; white-space: nowrap; }
    .lp-prod-tab.is-active { box-shadow: none; }
    .lp-prod-tab-bar { display: none; }
}

/* Phones: smaller, evenly sized buttons. */
@media (max-width: 767.98px) {
    .lp-btn,
    .lp-hero .lp-btn {
        height: 44px;
        padding: 0 1.1rem;
        gap: .45rem;
        border-radius: 10px;
        font-size: .9rem;
    }
    .lp-btn i { font-size: .95em; }
    .lp-hero-copy .lp-actions { gap: .6rem; }
    .lp-checks i { font-size: .95rem; }
}


/* ── Light mode depth ─────────────────────────────────
   White cards on a blue-grey canvas with a soft shadow, so sections read as layers instead of one flat sheet. */
:root:not([data-theme-mode="dark"]) .lp {
    --lp-line: #e3e8f1;
    --lp-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -18px rgba(15, 23, 42, .18);
    --lp-shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 40px -20px rgba(17, 88, 224, .35);
}

:root:not([data-theme-mode="dark"]) .lp-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
}

:root:not([data-theme-mode="dark"]) .lp-card,
:root:not([data-theme-mode="dark"]) .lp-tile:not(.lp-tile-big),
:root:not([data-theme-mode="dark"]) .lp-pay,
:root:not([data-theme-mode="dark"]) .lp-prod-tab,
:root:not([data-theme-mode="dark"]) .lp-prod-stage {
    box-shadow: var(--lp-shadow);
}

:root:not([data-theme-mode="dark"]) .lp-card:hover,
:root:not([data-theme-mode="dark"]) .lp-pay:hover {
    border-color: var(--lp-accent-line);
    box-shadow: var(--lp-shadow-hover);
}

:root:not([data-theme-mode="dark"]) .lp-tile-big {
    box-shadow: 0 18px 40px -18px rgba(17, 88, 224, .55);
}

:root:not([data-theme-mode="dark"]) .lp-pay-text { color: #334155; }
