/* ==========================================================================
   casedesks — public landing page (wwwroot/index.html)

   Loaded after Tabler and casedesk-tokens.css. Tabler supplies the grid,
   buttons and form controls so the page matches the product; this file
   carries only the marketing layout: hero, device mockups, feature grid,
   pricing, FAQ, contact, CTA band and footer. Every colour is a --cd-* token.

   Layout references: Falcon "landing" (hero with laptop/phone mockups,
   dark CTA) and LaslesVPN (stats strip, checklist feature row, plan cards).
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

.lp {
    font-family: var(--cd-font-sans);
    overflow-x: clip; /* row gutters can poke past narrow viewports */
    color: var(--cd-text);
    background: var(--cd-surface);
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem; /* sticky navbar height */
}

.lp h1, .lp h2, .lp h3, .lp h4 {
    color: var(--cd-text-heading);
    letter-spacing: -0.02em;
}

.lp .btn {
    font-weight: 600;
    border-radius: var(--cd-radius-sm);
}

.lp .btn .ti {
    font-size: 1.125em;
}

    .lp .btn .ti:last-child {
        margin-left: .375rem;
    }

    .lp .btn .ti:first-child {
        margin-right: .375rem;
    }

.lp .btn-lg {
    padding: .75rem 1.375rem;
    font-size: 1rem;
}

.lp .btn-primary {
    background: var(--cd-primary-700);
    border-color: var(--cd-primary-700);
}

    .lp .btn-primary:hover {
        background: var(--cd-primary-800);
        border-color: var(--cd-primary-800);
    }

.lp .btn-outline-primary {
    color: var(--cd-primary-700);
    border-color: var(--cd-primary-700);
}

    .lp .btn-outline-primary:hover {
        background: var(--cd-primary-700);
        color: var(--cd-text-inverse);
    }

/* Section rhythm */
.lp-section {
    padding: var(--cd-space-8) 0;
}

.lp-section-alt {
    background: var(--cd-surface-alt);
    border-top: 1px solid var(--cd-border);
    border-bottom: 1px solid var(--cd-border);
}

.lp-section-head {
    max-width: 40rem;
    margin: 0 auto var(--cd-space-7);
    text-align: center;
}

.lp-pretitle {
    display: inline-block;
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--cd-primary-700);
    margin-bottom: var(--cd-space-3);
}

.lp-title {
    font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--cd-space-3);
}

.lp-subtitle {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--cd-text-muted);
    margin: 0;
}

    .lp-subtitle a {
        color: var(--cd-primary-700);
    }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */

.lp-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid transparent;
    transition: border-color var(--cd-transition), box-shadow var(--cd-transition);
}

    .lp-nav.is-scrolled {
        border-bottom-color: var(--cd-border);
        box-shadow: var(--cd-shadow-sm);
    }

    .lp-nav .navbar {
        min-height: 4.5rem;
        padding: .5rem 0;
    }

    .lp-nav .navbar-brand {
        padding: 0;
        margin-right: var(--cd-space-6);
    }

.lp-nav-links .nav-link {
    color: var(--cd-text);
    font-weight: 500;
    padding: .5rem .875rem;
    border-radius: var(--cd-radius-sm);
}

    .lp-nav-links .nav-link:hover {
        color: var(--cd-primary-700);
        background: var(--cd-primary-050);
    }

.lp-nav-actions {
    display: flex;
    align-items: center;
    gap: var(--cd-space-2);
}

.lp-nav .navbar-toggler {
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-sm);
}

@media (max-width: 991.98px) {
    .lp-nav .navbar-collapse {
        padding: var(--cd-space-3) 0 var(--cd-space-4);
    }

    .lp-nav-links {
        margin-bottom: var(--cd-space-3);
    }

    .lp-nav-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.lp-hero {
    position: relative;
    overflow: hidden;
    padding: var(--cd-space-8) 0 var(--cd-space-7);
    background: radial-gradient(60rem 30rem at 85% -10%, var(--cd-primary-100), transparent 60%), radial-gradient(40rem 24rem at -10% 110%, var(--cd-primary-050), transparent 60%), var(--cd-surface);
}

    /* Dotted grid, Tabler-style */
    .lp-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient(var(--cd-border) 1px, transparent 1px);
        background-size: 24px 24px;
        opacity: .35;
        pointer-events: none;
    }

    .lp-hero .container {
        position: relative;
    }

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--cd-primary-800);
    background: var(--cd-primary-100);
    border: 1px solid var(--cd-primary-300);
    border-radius: var(--cd-radius-pill);
    padding: .3125rem .875rem .3125rem .625rem;
    margin-bottom: var(--cd-space-5);
}

.lp-eyebrow-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--cd-primary-700);
    box-shadow: 0 0 0 3px rgba(6, 111, 209, .2);
}

.lp-hero-title {
    font-size: clamp(2.125rem, 1.3rem + 2.4vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--cd-space-5);
}

.lp-accent {
    color: var(--cd-primary-700);
}

.lp-hero-lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: var(--cd-text-muted);
    max-width: 34rem;
    margin-bottom: var(--cd-space-6);
}

.lp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cd-space-3);
    margin-bottom: var(--cd-space-5);
}

.lp-hero-checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--cd-space-3) var(--cd-space-5);
    font-size: .875rem;
    color: var(--cd-text-muted);
}

    .lp-hero-checks li {
        display: inline-flex;
        align-items: center;
        gap: .375rem;
    }

    .lp-hero-checks .ti {
        color: var(--cd-success);
        font-size: 1rem;
    }

/* --------------------------------------------------------------------------
   Device mockups (laptop + phone) with a live dashboard rendition inside
   -------------------------------------------------------------------------- */

.device-stage {
    position: relative;
    padding: 0 3rem 2rem 0; /* room for the overlapping phone */
}

.device-laptop {
    position: relative;

}

    .device-laptop .device-screen {
        background: var(--cd-text-heading);
        box-shadow: 0 24px 40px rgba(17, 24, 39, .18);
        border: 10px solid var(--cd-text-heading);
        border-bottom-width: 12px;
        border-radius: 14px 14px 4px 4px;
        overflow: hidden;
        aspect-ratio: 16 / 10;
    }

.device-base {
    height: 14px;
    margin: 0 -4%;
    background: linear-gradient(#e5e7eb, #cbd2dc);
    border-radius: 0 0 12px 12px;
    position: relative;
}

    .device-base::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 12%;
        height: 4px;
        transform: translateX(-50%);
        background: #b6bec9;
        border-radius: 0 0 4px 4px;
    }

.device-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 25%;
    max-width: 158px;
    background: var(--cd-text-heading);
    border: 6px solid var(--cd-text-heading);
    border-radius: 26px;
    box-shadow: 0 18px 32px rgba(17, 24, 39, .22), 0 0 0 1px rgba(255,255,255,.15) inset;
    overflow: hidden;
}

    .device-phone .device-screen {
        aspect-ratio: 9 / 17.5;
        border-radius: 20px;
        overflow: hidden;
        background: var(--cd-bg);
    }

.device-notch {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 12px;
    background: var(--cd-text-heading);
    border-radius: 0 0 10px 10px;
    z-index: 2;
}

/* Mock app: scaled-down product UI ------------------------------------- */

.mock {
    --m: .52rem; /* base type size inside the mock */
    height: 100%;
    display: flex;
    flex-direction: column;
    font-size: var(--m);
    line-height: 1.3;
    color: var(--cd-text);
    background: var(--cd-bg);
}

.mock-topbar {
    display: flex;
    align-items: center;
    gap: .75em;
    padding: .55em .9em;
    background: var(--cd-surface);
    border-bottom: 1px solid var(--cd-border);
}

.mock-brand {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    font-weight: 700;
    font-size: 1.15em;
    letter-spacing: -.02em;
    color: var(--cd-text-heading);
}

    .mock-brand img {
        width: 1.6em;
        height: 1.6em;
        border-radius: .35em;
    }

.mock-search {
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: .4em;
    max-width: 22em;
    margin-left: 1em;
    padding: .35em .7em;
    border: 1px solid var(--cd-border);
    border-radius: .35em;
    color: var(--cd-placeholder);
    background: var(--cd-surface-alt);
}

.mock-avatar {
    margin-left: auto;
    width: 1.9em;
    height: 1.9em;
    border-radius: 50%;
    background: var(--cd-primary-100);
    color: var(--cd-primary-800);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mock-body {
    flex: 1;
    display: flex;
    min-height: 0;
}

.mock-side {
    width: 9.5em;
    padding: .8em .6em;
    background: var(--cd-surface);
    border-right: 1px solid var(--cd-border);
    display: flex;
    flex-direction: column;
    gap: .15em;
}

    .mock-side span {
        display: flex;
        align-items: center;
        gap: .5em;
        padding: .45em .6em;
        border-radius: .35em;
        color: var(--cd-text-muted);
        font-weight: 500;
    }

        .mock-side span.is-active {
            background: var(--cd-primary-050);
            color: var(--cd-primary-700);
            font-weight: 600;
        }

.mock-main {
    flex: 1;
    min-width: 0;
    padding: .9em 1em;
    display: flex;
    flex-direction: column;
    gap: .8em;
}

.mock-greeting {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

    .mock-greeting strong {
        font-size: 1.35em;
        color: var(--cd-text-heading);
    }

    .mock-greeting span {
        color: var(--cd-text-muted);
    }

.mock-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .6em;
}

.mock-tile {
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: .5em;
    padding: .6em .75em;
    display: flex;
    flex-direction: column;
    gap: .15em;
}

    .mock-tile .t {
        color: var(--cd-text-muted);
        font-weight: 500;
    }

    .mock-tile .v {
        font-size: 1.6em;
        font-weight: 700;
        color: var(--cd-text-heading);
        line-height: 1.1;
    }

        .mock-tile .v.warn {
            color: var(--cd-danger);
        }

    .mock-tile .d {
        color: var(--cd-text-muted);
    }

        .mock-tile .d.up {
            color: var(--cd-success);
        }

.mock-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: .6em;
}

.mock-card {
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: .5em;
    padding: .65em .75em;
}

.mock-card-head {
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: var(--cd-text-heading);
    margin-bottom: .6em;
}

.mock-legend {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    font-weight: 500;
    color: var(--cd-text-muted);
}

    .mock-legend i {
        width: .7em;
        height: .7em;
        border-radius: 2px;
        background: var(--cd-primary-700);
    }

        .mock-legend i.s {
            background: var(--cd-primary-300);
            margin-left: .5em;
        }

.mock-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: .6em;
    height: 5.2em;
    padding: 0 .2em;
}

.mock-bar {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 100%;
}

    .mock-bar i {
        flex: 1;
        background: var(--cd-primary-700);
        border-radius: 2px 2px 0 0;
    }

        .mock-bar i.s {
            background: var(--cd-primary-300);
        }

.mock-axis {
    display: flex;
    justify-content: space-between;
    color: var(--cd-text-muted);
    margin-top: .4em;
}

    .mock-axis span {
        flex: 1;
        text-align: center;
        font-size: .78em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
    }

.mock-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .mock-list li {
        display: flex;
        align-items: center;
        gap: .5em;
        padding: .42em 0;
        border-top: 1px solid var(--cd-border);
    }

        .mock-list li:first-child {
            border-top: 0;
        }

    .mock-list .ti {
        color: var(--cd-primary-500);
        font-size: 1.2em;
    }

        .mock-list .ti.warn {
            color: var(--cd-danger);
        }

    .mock-list span {
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mock-list em {
        font-style: normal;
        color: var(--cd-text-muted);
    }

    .mock-list b {
        font-weight: 600;
        color: var(--cd-text-muted);
    }

.mock-table {
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: .5em;
    overflow: hidden;
}

.mock-tr {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1fr .8fr;
    gap: .5em;
    padding: .45em .75em;
    border-top: 1px solid var(--cd-border);
}

.mock-th {
    border-top: 0;
    background: var(--cd-surface-alt);
    color: var(--cd-text-muted);
    text-transform: uppercase;
    font-size: .85em;
    font-weight: 600;
    letter-spacing: .04em;
}

.mock b.ok,
.mock b.pend {
    display: inline-block;
    padding: .1em .55em;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9em;
    background: var(--cd-success-bg);
    color: var(--cd-success);
}

.mock b.pend {
    background: var(--cd-warning-bg);
    color: var(--cd-accent-text);
}

/* Phone variant */
.mock-mobile {
    --m: .5rem;
}

    .mock-mobile .mock-topbar {
        justify-content: space-between;
        padding-top: 2.6em; /* clears the notch (5px + 12px) */
    }

    .mock-mobile .mock-greeting,
    .mock-mobile .mock-tiles,
    .mock-mobile .mock-card {
        margin: .7em .7em 0;
    }

    .mock-mobile .mock-greeting {
        flex-direction: column;
        align-items: flex-start;
    }

    .mock-mobile .mock-tiles {
        grid-template-columns: 1fr 1fr;
    }

.mock-tabbar {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    padding: .6em 0 .8em;
    background: var(--cd-surface);
    border-top: 1px solid var(--cd-border);
    font-size: 1.4em;
    color: var(--cd-text-muted);
}

    .mock-tabbar .is-active {
        color: var(--cd-primary-700);
    }

@media (max-width: 991.98px) {
    .device-stage {
        max-width: 40rem;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .device-stage {
        padding-right: 0;
        padding-bottom: 0;
    }

    .device-phone {
        display: none;
    }

    .mock {
        --m: .36rem;
    }
}

/* --------------------------------------------------------------------------
   Stats strip
   -------------------------------------------------------------------------- */

.lp-stats {
    margin-top: calc(var(--cd-space-6) * -1);
    padding-bottom: var(--cd-space-6);
    position: relative;
    z-index: 1;
}

.lp-stats-card {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    box-shadow: var(--cd-shadow-card);
}

.lp-stat {
    display: flex;
    align-items: center;
    gap: var(--cd-space-3);
    padding: var(--cd-space-5);
    border-left: 1px solid var(--cd-border);
}

    .lp-stat:first-child {
        border-left: 0;
    }

    .lp-stat strong {
        display: block;
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--cd-text-heading);
        line-height: 1.2;
    }

    .lp-stat div > span {
        display: block;
        font-size: .8125rem;
        color: var(--cd-text-muted);
    }

.lp-stat-icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: var(--cd-radius-md);
    background: var(--cd-primary-100);
    color: var(--cd-primary-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

    .lp-stat-icon .ti {
        font-size: 1.5rem;
        line-height: 1;
    }

@media (max-width: 991.98px) {
    .lp-stats-card {
        grid-template-columns: 1fr 1fr;
    }

    .lp-stat:nth-child(odd) {
        border-left: 0;
    }

    .lp-stat:nth-child(n+3) {
        border-top: 1px solid var(--cd-border);
    }
}

@media (max-width: 575.98px) {
    .lp-stats {
        margin-top: var(--cd-space-5);
    }

    .lp-stats-card {
        grid-template-columns: 1fr;
    }

    .lp-stat {
        border-left: 0;
        border-top: 1px solid var(--cd-border);
        padding: var(--cd-space-4);
    }

        .lp-stat:first-child {
            border-top: 0;
        }
}

/* --------------------------------------------------------------------------
   Feature cards
   -------------------------------------------------------------------------- */

.lp-feature {
    height: 100%;
    padding: var(--cd-space-5);
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    transition: border-color var(--cd-transition), box-shadow var(--cd-transition), transform var(--cd-transition);
}

    .lp-feature:hover {
        border-color: var(--cd-primary-300);
        box-shadow: var(--cd-shadow-card);
        transform: translateY(-2px);
    }

    .lp-feature h3 {
        font-size: 1.0625rem;
        font-weight: 600;
        margin: var(--cd-space-4) 0 var(--cd-space-2);
    }

    .lp-feature p {
        font-size: .9375rem;
        line-height: 1.6;
        color: var(--cd-text-muted);
        margin: 0;
    }

.lp-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--cd-radius-md);
    background: var(--cd-primary-100);
    color: var(--cd-primary-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   Highlight row (self-portal)
   -------------------------------------------------------------------------- */

.lp-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: var(--cd-space-3);
}

    .lp-checklist li {
        display: flex;
        align-items: flex-start;
        gap: .625rem;
        font-size: .9375rem;
    }

    .lp-checklist .ti {
        color: var(--cd-success);
        font-size: 1.25rem;
        line-height: 1.2;
        flex: 0 0 auto;
    }

.lp-highlight-visual {
    position: relative;
    padding: var(--cd-space-6) var(--cd-space-6) var(--cd-space-7) 0;
    background: radial-gradient(28rem 18rem at 30% 40%, var(--cd-primary-100), transparent 70%);
}

.lp-highlight-card {
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    box-shadow: var(--cd-shadow-lg);
}

.lp-highlight-form {
    max-width: 30rem;
    padding: var(--cd-space-5);
    font-size: .9375rem;
}

    .lp-highlight-form .mock-card-head {
        font-size: 1rem;
        margin-bottom: var(--cd-space-4);
    }

    .lp-highlight-form b.pend {
        font-size: .75rem;
    }

.mock-form {
    display: grid;
    gap: .625rem;
}

    .mock-form label {
        display: grid;
        grid-template-columns: 6rem 1fr;
        gap: .75rem;
        align-items: center;
        font-size: .875rem;
    }

        .mock-form label span {
            color: var(--cd-text-muted);
            font-weight: 500;
        }

        .mock-form label i {
            font-style: normal;
            padding: .5rem .75rem;
            border: 1px solid var(--cd-border);
            border-radius: var(--cd-radius-sm);
            background: var(--cd-surface-alt);
            color: var(--cd-text-heading);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

.mock-form-actions {
    display: flex;
    align-items: center;
    gap: var(--cd-space-4);
    margin-top: var(--cd-space-4);
    font-size: .875rem;
}

    .mock-form-actions .btn-ish {
        padding: .5rem .875rem;
        border-radius: var(--cd-radius-sm);
        background: var(--cd-primary-700);
        color: var(--cd-text-inverse);
        font-weight: 600;
    }

    .mock-form-actions span {
        color: var(--cd-text-muted);
        font-weight: 500;
    }

.lp-highlight-toast {
    position: absolute;
    right: 0;
    bottom: var(--cd-space-4);
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    font-size: .875rem;
}

    .lp-highlight-toast .ti {
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 50%;
        background: var(--cd-success-bg);
        color: var(--cd-success);
        font-size: 1.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .lp-highlight-toast strong {
        display: block;
        color: var(--cd-text-heading);
    }

    .lp-highlight-toast span {
        color: var(--cd-text-muted);
        font-size: .8125rem;
    }

@media (max-width: 575.98px) {
    .lp-highlight-visual {
        padding: var(--cd-space-4) 0 var(--cd-space-7);
    }

    .mock-form label {
        grid-template-columns: 1fr;
        gap: .25rem;
    }

    .lp-highlight-toast {
        bottom: 0;
        right: var(--cd-space-2);
    }
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.lp-steps {
    counter-reset: step;
}

.lp-step {
    position: relative;
    height: 100%;
    padding: var(--cd-space-5) var(--cd-space-5) var(--cd-space-5) 4.5rem;
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
}

    .lp-step h3 {
        font-size: 1.0625rem;
        font-weight: 600;
        margin-bottom: var(--cd-space-2);
    }

    .lp-step p {
        font-size: .9375rem;
        line-height: 1.6;
        color: var(--cd-text-muted);
        margin: 0;
    }

.lp-step-num {
    position: absolute;
    top: var(--cd-space-5);
    left: var(--cd-space-5);
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--cd-primary-700);
    color: var(--cd-text-inverse);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px var(--cd-primary-100);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.lp-plan {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: var(--cd-space-6);
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    box-shadow: var(--cd-shadow-card);
}

.lp-plan-featured {
    border-color: var(--cd-primary-700);
    box-shadow: 0 0 0 1px var(--cd-primary-700), var(--cd-shadow-lg);
}

.lp-plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: .3125rem .875rem;
    border-radius: var(--cd-radius-pill);
    background: var(--cd-primary-700);
    color: var(--cd-text-inverse);
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
}

.lp-plan-head {
    display: flex;
    align-items: center;
    gap: var(--cd-space-3);
    margin-bottom: var(--cd-space-5);
}

    .lp-plan-head h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0;
    }

    .lp-plan-head p {
        margin: 0;
        font-size: .875rem;
        color: var(--cd-text-muted);
    }

.lp-plan-icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    border-radius: var(--cd-radius-md);
    background: var(--cd-primary-100);
    color: var(--cd-primary-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.lp-plan-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .25rem .5rem;
    padding-bottom: var(--cd-space-5);
    margin-bottom: var(--cd-space-5);
    border-bottom: 1px solid var(--cd-border);
}

    .lp-plan-price .amount {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1;
        color: var(--cd-text-heading);
        letter-spacing: -.03em;
    }

    .lp-plan-price .per {
        color: var(--cd-text-muted);
        font-weight: 500;
    }

    .lp-plan-price .note {
        flex-basis: 100%;
        font-size: .875rem;
        color: var(--cd-text-muted);
    }

.lp-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--cd-space-6);
    display: grid;
    gap: .75rem;
    flex: 1;
}

    .lp-plan-features li {
        display: flex;
        align-items: flex-start;
        gap: .625rem;
        font-size: .9375rem;
    }

    .lp-plan-features .ti {
        flex: 0 0 auto;
        width: 1.25rem;
        height: 1.25rem;
        border-radius: 50%;
        background: var(--cd-success-bg);
        color: var(--cd-success);
        font-size: .875rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-top: .1rem;
    }

.lp-plan-fine {
    display: block;
    margin-top: var(--cd-space-3);
    text-align: center;
    font-size: .8125rem;
    color: var(--cd-text-muted);
}

    .lp-plan-fine a {
        color: var(--cd-primary-700);
        font-weight: 500;
    }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.lp-quote {
    height: 100%;
    margin: 0;
    padding: var(--cd-space-5);
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-lg);
    display: flex;
    flex-direction: column;
}

.lp-quote-stars {
    color: var(--cd-accent);
    font-size: 1rem;
    margin-bottom: var(--cd-space-3);
}

.lp-quote blockquote {
    flex: 1;
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--cd-text);
    margin: 0 0 var(--cd-space-4);
}

.lp-quote figcaption {
    display: flex;
    align-items: center;
    gap: .75rem;
}

    .lp-quote figcaption strong {
        display: block;
        font-size: .875rem;
        color: var(--cd-text-heading);
    }

    .lp-quote figcaption span {
        display: block;
        font-size: .8125rem;
        color: var(--cd-text-muted);
    }

.lp-quote-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--cd-primary-100);
    color: var(--cd-primary-800);
    font-weight: 700;
    font-size: .8125rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   FAQ (native <details>, no JS)
   -------------------------------------------------------------------------- */

.lp-faq details {
    background: var(--cd-surface);
    border: 1px solid var(--cd-border);
    border-radius: var(--cd-radius-md);
    padding: 0 var(--cd-space-5);
    margin-bottom: var(--cd-space-3);
}

    .lp-faq details[open] {
        border-color: var(--cd-primary-300);
    }

.lp-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cd-space-4);
    padding: var(--cd-space-4) 0;
    font-weight: 600;
    color: var(--cd-text-heading);
}

    .lp-faq summary::-webkit-details-marker {
        display: none;
    }

    .lp-faq summary::after {
        content: "\ea5f"; /* ti-chevron-down */
        font-family: "tabler-icons";
        font-weight: 400;
        color: var(--cd-text-muted);
        transition: transform var(--cd-transition);
        flex: 0 0 auto;
    }

.lp-faq details[open] summary::after {
    transform: rotate(180deg);
}

.lp-faq details p {
    margin: 0;
    padding: 0 0 var(--cd-space-4);
    font-size: .9375rem;
    line-height: 1.65;
    color: var(--cd-text-muted);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.lp-contact-list {
    list-style: none;
    padding: 0;
    margin: var(--cd-space-5) 0 0;
    display: grid;
    gap: var(--cd-space-4);
}

    .lp-contact-list li {
        display: flex;
        align-items: center;
        gap: var(--cd-space-3);
    }

    .lp-contact-list div > strong {
        display: block;
        font-size: .8125rem;
        color: var(--cd-text-muted);
        font-weight: 500;
    }

    .lp-contact-list div > a,
    .lp-contact-list div > span {
        color: var(--cd-text-heading);
        font-weight: 500;
        text-decoration: none;
    }

    .lp-contact-list div > a:hover {
        color: var(--cd-primary-700);
    }

.lp-contact-icon {
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--cd-radius-md);
    background: var(--cd-primary-100);
    color: var(--cd-primary-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.lp-contact-form {
    border-color: var(--cd-border);
    box-shadow: var(--cd-shadow-card);
}

    .lp-contact-form .card-body {
        padding: var(--cd-space-5);
    }

    .lp-contact-form .form-control:focus,
    .lp-contact-form .form-select:focus {
        border-color: var(--cd-primary-700);
        box-shadow: var(--cd-focus-ring);
    }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.lp-cta {
    padding: 0 0 var(--cd-space-8);
}

.lp-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--cd-space-6);
    padding: var(--cd-space-7) var(--cd-space-7);
    border-radius: var(--cd-radius-lg);
    background: linear-gradient(135deg, var(--cd-primary-800), var(--cd-primary-700) 60%, var(--cd-primary-500));
    color: var(--cd-text-inverse);
    box-shadow: var(--cd-shadow-lg);
}

    .lp-cta-card h2 {
        color: var(--cd-text-inverse);
        font-size: clamp(1.375rem, 1rem + 1.4vw, 1.875rem);
        font-weight: 700;
        margin-bottom: var(--cd-space-2);
    }

    .lp-cta-card p {
        margin: 0;
        opacity: .85;
    }

.lp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cd-space-3);
    flex: 0 0 auto;
}

.lp .btn-light {
    background: var(--cd-surface);
    color: var(--cd-primary-800);
    border-color: var(--cd-surface);
}

    .lp .btn-light:hover {
        background: var(--cd-primary-050);
    }

.lp .btn-outline-light {
    color: var(--cd-text-inverse);
    border-color: rgba(255, 255, 255, .6);
}

    .lp .btn-outline-light:hover {
        background: rgba(255, 255, 255, .12);
        border-color: var(--cd-text-inverse);
        color: var(--cd-text-inverse);
    }

@media (max-width: 767.98px) {
    .lp-cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--cd-space-6) var(--cd-space-5);
    }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.lp-footer {
    background: var(--cd-text-heading);
    color: #9ca3af;
    padding: var(--cd-space-8) 0 var(--cd-space-6);
    font-size: .9375rem;
}

.lp-footer-brand {
    display: inline-block;
    text-decoration: none;
    margin-bottom: var(--cd-space-4);
}

    .lp-footer-brand .cd-brand,
    .lp-footer-brand .cd-brand-word {
        color: var(--cd-text-inverse);
    }

.lp-footer-about {
    max-width: 24rem;
    line-height: 1.65;
    margin: 0;
}

.lp-footer h4 {
    color: var(--cd-text-inverse);
    font-size: .875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: var(--cd-space-4);
}

.lp-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .625rem;
}

.lp-footer a {
    color: #9ca3af;
    text-decoration: none;
}

    .lp-footer a:hover {
        color: var(--cd-text-inverse);
    }

.lp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--cd-space-2) var(--cd-space-5);
    margin-top: var(--cd-space-7);
    padding-top: var(--cd-space-5);
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .8125rem;
}

.lp-footer-note {
    max-width: 36rem;
}
