/* =========================================================
   L-Planner Demo Request Page - Fixed CSS
   ========================================================= */


/* 1. Variables
   ========================================================= */

:root {
    --blue: #075dd8;
    --blue-dark: #082451;
    --text: #10264a;
    --muted: #60718f;
    --line: #dbe6f5;
    --green: #21a65b;
    --shadow: 0 24px 60px rgba(8, 36, 81, .16);
    --shadow-soft: 0 14px 35px rgba(8, 36, 81, .08);
    --radius-sm: 7px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --container: 1180px;
}


/* 2. Base
   ========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrapper {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}


/* 3. Header
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 74px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .08em;
}

.brand-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 2px solid var(--blue);
    border-radius: 6px;
    color: var(--blue);
    font-size: 14px;
}

.nav {
    display: flex;
    gap: 34px;
    font-size: 14px;
    font-weight: 700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 700;
}

.mobile-toggle,
.mobile-actions {
    display: none;
}


/* 4. Buttons
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(7, 93, 216, .18);
    transition: .2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.btn-primary {
    color: #fff;
    background: var(--blue);
}

.site-header .btn {
    height: 42px;
    padding: 0 22px;
}


/* 5. Demo hero
   ========================================================= */

.demo-hero {
    padding: 72px 0 86px;
    background: radial-gradient(circle at 82% 18%, rgba(7, 93, 216, .14), transparent 30%), radial-gradient(circle at 10% 95%, rgba(255, 203, 105, .28), transparent 34%), linear-gradient(105deg, #fff 0%, #f7fbff 48%, #e8f3ff 100%);
}

.demo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 72px;
    align-items: start;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.demo-copy h1 {
    max-width: 650px;
    margin: 0 0 24px;
    color: #092755;
    font-size: 58px;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.demo-copy p {
    max-width: 650px;
    margin: 0 0 34px;
    color: #2d4569;
    font-size: 20px;
}


/* 6. Benefit cards
   ========================================================= */

.benefit-list {
    max-width: 650px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

    .benefit-list div {
        padding: 18px;
        background: rgba(255, 255, 255, .82);
        border: 1px solid #d7e3f4;
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(8, 36, 81, .08);
    }

    .benefit-list strong {
        display: block;
        color: var(--blue);
        font-size: 18px;
    }

    .benefit-list span {
        color: #546886;
        font-size: 14px;
    }


/* 7. Demo form
   IMPORTANT:
   The form must be one direct child of .demo-grid.
   Do not place h2, p, and .form-row directly inside .demo-grid.
   ========================================================= */

.demo-form {
    width: 100%;
    max-width: 460px;
    padding: 24px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #d7e3f4;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

    .demo-form h2 {
        margin: 0 0 6px;
        color: #092755;
        font-size: 30px;
        line-height: 1.1;
        letter-spacing: -.03em;
        text-align: left;
    }

    .demo-form > p {
        margin: 0 0 14px;
        color: var(--muted);
        font-size: 15px;
    }

.form-row {
    display: grid;
    gap: 3px;
    margin-bottom: 8px;
}

    .form-row label {
        color: #243e63;
        font-size: 13px;
        font-weight: 800;
    }

    .form-row input,
    .form-row select,
    .form-row textarea {
        width: 100%;
        color: var(--text);
        background: #fff;
        border: 1px solid #cfdcef;
        border-radius: 9px;
        outline: none;
        font: inherit;
        transition: .2s ease;
    }

    .form-row input,
    .form-row select {
        height: 40px;
        padding: 0 12px;
    }

    .form-row textarea {
        min-height: 86px;
        padding: 9px 12px;
        resize: vertical;
    }

        .form-row input:focus,
        .form-row select:focus,
        .form-row textarea:focus {
            border-color: var(--blue);
            box-shadow: 0 0 0 4px rgba(7, 93, 216, .10);
        }

.btn-submit {
    width: 100%;
    height: 46px;
    margin-top: 8px;
    cursor: pointer;
    font-size: 15px;
}

.demo-form small {
    display: block;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}


/* 8. Shared headings
   ========================================================= */

h2 {
    margin: 0 0 34px;
    color: #092755;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-align: center;
}


/* 9. What you get
   ========================================================= */

.what-you-get {
    padding: 70px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

    .steps-grid article {
        padding: 28px 26px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
    }

    .steps-grid span {
        color: var(--blue);
        font-size: 13px;
        font-weight: 900;
    }

    .steps-grid h3 {
        margin: 10px 0;
    }

    .steps-grid p {
        margin: 0;
        color: #4b6080;
    }


/* 10. Suitability section
   ========================================================= */

.trust-section {
    padding: 70px 0;
    background: linear-gradient(90deg, #fff, #f3f8ff);
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 56px;
    align-items: center;
}

    .trust-grid h2 {
        margin-bottom: 18px;
        text-align: left;
    }

    .trust-grid p {
        margin: 0;
        color: #4b6080;
        font-size: 18px;
    }

.mini-card {
    padding: 30px;
    background: #fff;
    border: 1px solid #d7e3f4;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

    .mini-card h3 {
        margin: 0 0 18px;
    }

    .mini-card ul {
        display: grid;
        gap: 12px;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mini-card li::before {
        content: "✓";
        margin-right: 10px;
        color: var(--green);
        font-weight: 900;
    }


/* 11. Footer
   ========================================================= */

.site-footer {
    padding: 28px 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

    .site-footer .wrapper {
        display: flex;
        justify-content: space-between;
        gap: 24px;
    }

    .site-footer strong {
        color: #092755;
    }


/* 12. Mobile navigation and tablet layout
   ========================================================= */

@media (max-width: 960px) {
    .site-header {
        padding: 0 18px;
    }

    .header-actions {
        display: none;
    }

    .mobile-toggle {
        position: relative;
        display: block;
        width: 48px;
        height: 48px;
        padding: 0;
        background: #fff;
        border: 1px solid #dbe6f5;
        border-radius: var(--radius-md);
        cursor: pointer;
        transition: all .2s ease;
    }

        .mobile-toggle:hover {
            background: #f4f8ff;
            border-color: var(--blue);
        }

        .mobile-toggle span {
            position: absolute;
            left: 12px;
            right: 12px;
            height: 2px;
            background: var(--blue);
            border-radius: 2px;
        }

            .mobile-toggle span:nth-child(1) {
                top: 15px;
            }

            .mobile-toggle span:nth-child(2) {
                top: 23px;
            }

            .mobile-toggle span:nth-child(3) {
                top: 31px;
            }

    #mobileNav {
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        z-index: 99999;
        display: none !important;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-top: 1px solid #dbe6f5;
        box-shadow: 0 16px 40px rgba(8, 36, 81, .12);
    }

        #mobileNav.open {
            display: flex !important;
        }

        #mobileNav a {
            display: block;
            padding: 16px 24px;
            border-bottom: 1px solid #eef4fb;
            font-weight: 700;
        }

            #mobileNav a:hover {
                background: #f7fbff;
            }

    .mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

        .mobile-actions a:first-child {
            font-weight: 700;
            text-align: center;
        }

        .mobile-actions .btn {
            width: 100%;
            height: 48px;
        }

    .demo-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .demo-copy h1 {
        font-size: 44px;
    }

    .demo-form {
        max-width: 560px;
    }

    .benefit-list,
    .steps-grid {
        grid-template-columns: 1fr;
    }
}


/* 13. Small screens
   ========================================================= */

@media (max-width: 620px) {
    .wrapper {
        width: min(100% - 28px, var(--container));
    }

    .site-header {
        padding: 0 14px;
    }

    .brand {
        font-size: 18px;
    }

    .demo-hero {
        padding: 48px 0 58px;
    }

    .demo-copy h1 {
        font-size: 36px;
    }

    .demo-copy p {
        font-size: 18px;
    }

    .demo-form {
        padding: 22px;
    }

    h2 {
        font-size: 32px;
    }

    .site-footer .wrapper {
        flex-direction: column;
    }
}
