/* =================================================
   LANDING PAGE  — public homepage (home.html)
   Reuses --hx-* variables and .lx-* conventions from
   the app's App.css so the marketing site matches the
   in-app dark theme.
   ================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.accent { color: var(--hx-primary); }

/* Inline SVG icons — avoids pulling in the Font Awesome stylesheet just
   for a handful of glyphs on this page */
.lx-icon {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* =================================================
   HERO
   ================================================= */
.lx-hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 5rem 1.25rem 4rem;
    background:
        radial-gradient(ellipse at top, rgba(59,130,246,0.18), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(245,158,11,0.10), transparent 55%),
        var(--hx-bg);
    border-bottom: 1px solid var(--hx-border);
}
.lx-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--hx-accent);
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.3);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.lx-hero h1 {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.18;
    max-width: 880px;
    margin: 0 auto 1.25rem;
}
/* .lx-hero-sub {
    font-size: 1.05rem;
    color: var(--hx-muted);
    max-width: 640px;
    margin: 10px auto;
    text-align: left;
} */
.lx-hero-list {
    font-size: 1.05rem;
    color: var(--hx-muted);
    max-width: 640px;
    margin: 10px auto;
    text-align: left;
}
.lx-hero-list li {
    margin-bottom: 0.55rem;
}

.lx-hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
}
.lx-btn-lg {
    padding: 0.85rem 1.9rem !important;
    font-size: 1rem !important;
}
.lx-hero-note {
    margin-top: 1.1rem;
    font-size: 0.8rem;
    color: var(--hx-muted);
}

/* =================================================
   STATS STRIP
   ================================================= */
.lx-stats-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: -2.25rem auto 3.5rem;
    padding: 0 1.25rem;
}
.lx-stat {
    background: var(--hx-surface);
    border: 1px solid var(--hx-border);
    border-radius: 12px;
    padding: 1.1rem 0.75rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.lx-stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--hx-primary);
}
.lx-stat-label {
    font-size: 0.75rem;
    color: var(--hx-muted);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =================================================
   SECTION SHELL
   ================================================= */
.lx-section {
    padding: 3rem 1.25rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
    scroll-margin-top: 70px;
}
.lx-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--hx-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}
.lx-section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 0.75rem;
}
.lx-section-sub {
    color: var(--hx-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* =================================================
   FEATURE ROWS (text + screenshot)
   ================================================= */
.lx-feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.lx-feature-row.reverse .lx-feature-text { order: 2; }
.lx-feature-row.reverse .lx-shot-frame { order: 1; }
.lx-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.lx-feature-desc {
    color: var(--hx-muted);
    line-height: 1.7;
    margin-bottom: 1.1rem;
}
.lx-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.lx-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--hx-text);
    font-size: 0.92rem;
}
.lx-feature-list li svg {
    color: var(--hx-primary);
    margin-top: 0.2rem;
}

@media (max-width: 860px) {
    .lx-feature-row,
    .lx-feature-row.reverse {
        grid-template-columns: 1fr;
    }
    .lx-feature-row.reverse .lx-feature-text,
    .lx-feature-row.reverse .lx-shot-frame {
        order: initial;
    }
}

/* =================================================
   SCREENSHOT FRAMES  — placeholders until real
   screenshots are dropped into static/lax_stats/screenshots/
   ================================================= */
.lx-shot-frame {
    background: var(--hx-surface);
    border: 1px solid var(--hx-border);
    border-radius: 14px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.lx-shot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.lx-shot-placeholder {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--hx-muted);
    border: 1px dashed var(--hx-border);
    border-radius: 14px;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.015) 0 10px, transparent 10px 20px);
}
.lx-shot-placeholder svg {
    width: 2.2rem;
    height: 2.2rem;
    opacity: 0.5;
}
.lx-shot-placeholder span {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0 1rem;
    text-align: center;
}

/* =================================================
   CUSTOMISATION / PERKS GRID
   ================================================= */
.lx-perks {
    background: var(--hx-surface);
    border-top: 1px solid var(--hx-border);
    border-bottom: 1px solid var(--hx-border);
    padding: 4rem 1.25rem;
    scroll-margin-top: 70px;
}
.lx-perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.lx-perk-card {
    background: var(--hx-bg);
    border: 1px solid var(--hx-border);
    border-radius: 12px;
    padding: 1.5rem;
}
.lx-perk-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(59,130,246,0.12);
    color: var(--hx-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.lx-perk-icon svg {
    width: 1.4rem;
    height: 1.4rem;
}
.lx-perk-title {
    font-weight: 700;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}
.lx-perk-desc {
    color: var(--hx-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* =================================================
   FINAL CTA
   ================================================= */
.lx-cta {
    text-align: center;
    padding: 4.5rem 1.25rem;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.12), transparent 65%), var(--hx-bg);
}
.lx-cta h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 0.75rem;
}
.lx-cta p {
    color: var(--hx-muted);
    margin-bottom: 1.75rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* =================================================
   FOOTER BOTTOM  — center the two halves without
   relying on Bootstrap's .text-center / .w-50
   ================================================= */
.lx-foot-bottom > div {
    text-align: center;
}
