/* Marketing landing page — standalone from app sidebar layout */
:root {
    --lp-ink: #0f172a;
    --lp-muted: #64748b;
    --lp-accent: #2563eb;
    --lp-accent-2: #38bdf8;
    --lp-bg: #f8fafc;
    --lp-card: #ffffff;
    --lp-gradient: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
}

body.landing-body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--lp-ink);
    background: var(--lp-bg);
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
}

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e2e8f0;
}

.lp-nav__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 3.75rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
}

.lp-brand {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--lp-ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.lp-nav__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
}

.lp-nav__links a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.65rem;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 150ms ease;
}

.lp-nav__links a:hover {
    color: var(--lp-ink);
}

.lp-nav__end {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.lp-nav__btns {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Bootstrap btn links — no underline */
.landing-body a.btn {
    text-decoration: none;
}

.landing-body a.btn:hover,
.landing-body a.btn:focus {
    text-decoration: none;
}

.lp-hero {
    background: var(--lp-gradient);
    color: #f8fafc;
    padding: 4rem 1.25rem 5rem;
    text-align: center;
}

.lp-hero__inner {
    max-width: 760px;
    margin: 0 auto;
}

.lp-hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    margin-bottom: 1.25rem;
}

.lp-hero h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
}

.lp-hero p {
    font-size: 1.1rem;
    opacity: 0.92;
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 560px;
}

.lp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
}

.lp-hero__demo-form {
    display: inline-flex;
    margin: 0;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.35rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1.3;
    transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.lp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
}

.lp-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.25rem;
}

.lp-section h2 {
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 0.5rem;
}

.lp-section .lp-lead {
    text-align: center;
    color: var(--lp-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.lp-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.lp-flow__step {
    background: var(--lp-card);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    position: relative;
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.lp-flow__num {
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--lp-accent);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.lp-flow__step h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
}

.lp-flow__step p {
    font-size: 0.88rem;
    color: var(--lp-muted);
    margin: 0;
    line-height: 1.5;
}

.lp-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.lp-feature {
    background: var(--lp-card);
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.lp-feature__icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.lp-feature h3 {
    font-size: 1.05rem;
    margin: 0 0 0.5rem;
}

.lp-feature p {
    font-size: 0.9rem;
    color: var(--lp-muted);
    margin: 0;
    line-height: 1.55;
}

.lp-preview {
    background: var(--lp-card);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    transition: box-shadow 200ms ease, border-color 200ms ease;
}

.lp-preview__bar {
    background: #0f172a;
    color: #94a3b8;
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    display: flex;
    gap: 0.4rem;
}

.lp-preview__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
}

.lp-preview__title {
    margin-inline-start: 0.35rem;
}

.lp-preview__body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    min-height: 220px;
}

.lp-preview__sidebar {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 0.7rem;
    color: var(--lp-muted);
}

.lp-preview__sidebar div {
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.25rem;
}

.lp-preview__sidebar div.active {
    background: #dbeafe;
    color: var(--lp-accent);
    font-weight: 600;
}

.lp-preview__main h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
}

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

.lp-preview__card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.65rem;
    font-size: 0.7rem;
    border: 1px solid #e2e8f0;
}

.lp-preview__card strong {
    display: block;
    font-size: 1.1rem;
    color: var(--lp-ink);
}

.lp-cta {
    text-align: center;
    background: var(--lp-gradient);
    color: #fff;
    border-radius: 20px;
    padding: 3rem 1.5rem;
    margin: 0 1.25rem 3rem;
    max-width: calc(1100px - 2.5rem);
    margin-left: auto;
    margin-right: auto;
}

.lp-cta h2 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.lp-cta p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.lp-footer {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--lp-muted);
    font-size: 0.85rem;
    border-top: 1px solid #e2e8f0;
}

/* Audience — solo QA & startups */
.lp-audience__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    max-width: 820px;
    margin: 0 auto;
}

.lp-audience__card {
    flex: 1 1 300px;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 16px;
    padding: 2rem 1.75rem;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.lp-audience__card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    width: 100%;
}

.lp-audience__lead {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lp-ink);
    margin: 0 0 0.75rem;
    width: 100%;
}

.lp-audience__desc {
    color: var(--lp-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    max-width: 20rem;
}

.lp-audience__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 20rem;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--lp-ink);
}

.lp-audience__perks li {
    margin-bottom: 0.5rem;
}

.lp-audience__perks li:last-child {
    margin-bottom: 0;
}

.lp-audience__perks li::before {
    content: "✓ ";
    color: var(--lp-accent);
    font-weight: 700;
}

.lp-audience__cta {
    text-align: center;
    margin: 2rem 0 0;
}

/* Full-width white band (hero → content bridge) */
.lp-section--band {
    max-width: none;
    padding: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.lp-section__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.5rem 1.25rem;
}

/* Value grid — same cards as Features, tighter 2×2 on desktop */
.lp-features--value {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .lp-features--value {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lp-features--value .lp-feature p {
    margin-bottom: 0;
}

.lp-outcome-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.lp-outcome {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    line-height: 1.3;
}

.lp-outcome--pass {
    background: #dcfce7;
    color: #166534;
}

.lp-outcome--fail {
    background: #fee2e2;
    color: #991b1b;
}

.lp-outcome--blocked {
    background: #fef3c7;
    color: #92400e;
}

/* “One workspace” strip — matches preview / flow card language */
.lp-unify {
    text-align: center;
    background: var(--lp-bg);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
    max-width: 640px;
    margin: 0 auto;
}

.lp-unify__label {
    font-size: 0.82rem;
    color: var(--lp-muted);
    margin: 0 0 0.75rem;
}

.lp-unify__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.lp-unify__chips span {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--lp-ink);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.35rem 0.7rem;
}

.lp-unify__result {
    margin: 0;
    font-size: 0.95rem;
    color: var(--lp-muted);
}

.lp-unify__result strong {
    color: var(--lp-accent);
    font-weight: 700;
}

@media (max-width: 768px) {
    .lp-audience__card {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

@media (max-width: 900px) {
    .lp-nav__inner {
        grid-template-columns: auto 1fr;
        height: auto;
        min-height: 3.5rem;
        padding: 0.65rem 1rem;
        row-gap: 0.5rem;
    }
    .lp-nav__links {
        display: none;
    }
    .lp-nav__end {
        justify-self: end;
    }
}

@media (max-width: 640px) {
    .lp-preview__body {
        grid-template-columns: 1fr;
    }
    .lp-preview__cards {
        grid-template-columns: 1fr 1fr;
    }
    .lp-nav__btns .btn-outline-secondary {
        display: none;
    }
}

/* ── Qase-style refresh ─────────────────────────────────────────────── */

.lp-brand__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    background: var(--lp-accent);
    color: #fff;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.lp-hero--split {
    text-align: left;
    padding: 3.5rem 1.5rem 4rem;
    overflow: hidden;
}

.lp-hero__grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.lp-hero__copy h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin: 0 0 1rem;
}

.lp-hero__lead {
    font-size: 1.08rem;
    opacity: 0.9;
    line-height: 1.65;
    margin: 0 0 1.75rem;
    max-width: 34rem;
}

.lp-hero__actions {
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.lp-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.lp-hero__stats div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.lp-hero__stats strong {
    font-size: 1.1rem;
}

.lp-hero__stats span {
    font-size: 0.78rem;
    opacity: 0.75;
}

.lp-mock {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lp-mock__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.75rem;
    opacity: 0.85;
}

.lp-mock__chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.lp-mock__chrome em {
    margin-left: auto;
    font-style: normal;
}

.lp-mock__body {
    padding: 1.25rem;
}

.lp-mock__step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    background: rgba(255, 255, 255, 0.06);
}

.lp-mock__step b {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.lp-mock__step--done { opacity: 0.7; }

.lp-mock__step--active {
    background: rgba(56, 189, 248, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.lp-mock__bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    margin: 1rem 0 0.5rem;
    overflow: hidden;
}

.lp-mock__bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    border-radius: 999px;
}

.lp-mock__caption {
    font-size: 0.75rem;
    opacity: 0.65;
    margin: 0;
}

.lp-strip {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
}

.lp-strip__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.lp-strip__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-muted);
}

.lp-strip__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.lp-strip__logos span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.lp-section__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.lp-eyebrow {
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-accent);
    margin: 0 0 0.5rem;
}

.lp-eyebrow--light { color: #93c5fd; }

.lp-section--dark {
    background: #0f172a;
    color: #f1f5f9;
    max-width: none;
    padding: 4rem 1.5rem;
}

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

.lp-lead--light { color: #94a3b8 !important; }

.lp-compare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.lp-compare__col {
    border-radius: 14px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    background: var(--lp-card);
}

.lp-compare__col--muted { opacity: 0.85; }

.lp-compare__col--highlight {
    border-color: var(--lp-accent);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.12);
    background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
}

.lp-compare__col h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

.lp-compare__col p {
    font-size: 0.88rem;
    color: var(--lp-muted);
    margin-bottom: 0.75rem;
}

.lp-compare__col ul {
    font-size: 0.85rem;
    padding-left: 1.1rem;
    margin: 0;
}

.lp-ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.lp-ai-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1.35rem;
}

.lp-ai-card h3 { font-size: 1rem; margin: 0.5rem 0; }

.lp-ai-card p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.55;
}

.lp-ai-card__icon { font-size: 1.4rem; }

.lp-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: center;
}

.lp-checklist {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.lp-checklist li {
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative;
    font-size: 0.95rem;
    color: #334155;
}

.lp-checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lp-accent);
    font-weight: 700;
}

.lp-preview--large { max-width: none; }

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

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

.lp-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.lp-footer__links {
    display: flex;
    gap: 1.25rem;
}

.lp-footer__links a {
    color: var(--lp-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

/* Full feature grid — grouped categories */
.lp-feature-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.lp-feature-group {
    background: var(--lp-card);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.5rem;
}

.lp-feature-group h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin: 0 0 0.9rem;
}

.lp-feature-group__icon { font-size: 1.15rem; }

.lp-feature-group .lp-checklist {
    margin: 0;
}

.lp-feature-group .lp-checklist li {
    padding: 0.3rem 0 0.3rem 1.5rem;
    font-size: 0.87rem;
    line-height: 1.5;
    color: #334155;
}

.lp-feature-group .lp-checklist code {
    background: #f1f5f9;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.82em;
}

@media (max-width: 960px) {
    .lp-hero__grid,
    .lp-split,
    .lp-compare {
        grid-template-columns: 1fr;
    }
    .lp-flow--5 {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .lp-hero--split { text-align: center; }
    .lp-hero__actions,
    .lp-hero__stats { justify-content: center; }
    .lp-hero__visual { order: -1; }
}
