/* Public demo-request form. Loaded only on /demo, so it can style plainly
   without competing with the landing page's section rules. */

.demo-main {
    padding-top: 110px;
    padding-bottom: 70px;
    background: #f7fafc;
    min-height: 100vh;
}

.demo-section {
    padding: 0;
}

/* --- Left column -------------------------------------------------------- */

.demo-intro h1 {
    font-size: 2.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: #2b3946;
    margin-bottom: 14px;
}

.demo-intro > p {
    font-size: 1rem;
    line-height: 1.7;
    color: #64717e;
    margin-bottom: 26px;
}

.demo-points {
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}

    .demo-points li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 11px;
        font-size: .94rem;
        line-height: 1.55;
        color: #4a5a68;
    }

    .demo-points i {
        flex: none;
        margin-top: 2px;
        font-size: 1.1rem;
        color: #3498db;
    }

.demo-alt {
    padding: 18px 20px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e6edf3;
}

.demo-alt-title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9aa7b4;
    margin-bottom: 9px;
}

.demo-alt a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    color: #2E6EA4;
    text-decoration: none;
    margin-bottom: 5px;
    word-break: break-word;
}

    .demo-alt a:hover {
        text-decoration: underline;
    }

    .demo-alt a i {
        flex: none;
    }

/* --- Form card ---------------------------------------------------------- */

.demo-card {
    background: #fff;
    border: 1px solid #e6edf3;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 2px 16px rgba(43, 57, 70, .05);
}

.demo-field {
    margin-bottom: 16px;
}

    .demo-field label {
        display: block;
        font-size: .84rem;
        font-weight: 600;
        color: #4a5a68;
        margin-bottom: 6px;
    }

    .demo-field .form-control {
        height: auto;
        padding: 11px 14px;
        border: 1px solid #dde5ec;
        border-radius: 8px;
        font-size: .94rem;
        color: #2b3946;
        width: 100%;
    }

        .demo-field .form-control:focus {
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, .12);
            outline: none;
        }

    .demo-field textarea.form-control {
        resize: vertical;
        min-height: 84px;
    }

.demo-req {
    color: #d9534f;
}

.demo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.demo-error {
    display: block;
    margin-top: 5px;
    font-size: .8rem;
    color: #d9534f;
}

.demo-summary {
    font-size: .88rem;
    color: #d9534f;
    margin-bottom: 4px;
}

    .demo-summary ul {
        margin: 0 0 12px;
        padding-left: 18px;
    }

    .demo-summary ul:empty {
        display: none;
        margin: 0;
    }

/* Honeypot. Hidden without display:none, which some bots check for before
   deciding whether to fill a field. */
.demo-website {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.demo-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 13px 18px;
    margin-top: 6px;
    border: none;
    border-radius: 8px;
    background: #3498db;
    color: #fff;
    font-size: .98rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease;
}

    .demo-submit:hover,
    .demo-submit:focus {
        background: #2c81bb;
        color: #fff;
        text-decoration: none;
    }

.demo-submit-inline {
    width: auto;
    padding: 11px 24px;
}

.demo-consent {
    margin: 14px 0 0;
    font-size: .8rem;
    line-height: 1.55;
    color: #8a97a3;
    text-align: center;
}

    .demo-consent a {
        color: #2E6EA4;
    }

/* --- Thank-you ---------------------------------------------------------- */

.demo-thanks {
    text-align: center;
    padding: 44px 34px;
}

.demo-thanks-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #eaf7ee;
    color: #3fa95e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.demo-thanks h1 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #2b3946;
    margin-bottom: 12px;
}

.demo-thanks p {
    font-size: .98rem;
    line-height: 1.7;
    color: #64717e;
    margin-bottom: 10px;
}

.demo-thanks-note {
    font-size: .9rem !important;
}

.demo-thanks-actions {
    margin-top: 26px;
}

.demo-thanks-link {
    display: block;
    margin-top: 14px;
    font-size: .88rem;
    color: #2E6EA4;
}

/* --- Narrow screens ----------------------------------------------------- */

@media screen and (max-width: 991px) {
    .demo-intro {
        margin-bottom: 34px;
    }

    .col-lg-6.offset-lg-1 {
        margin-left: 0;
    }
}

@media screen and (max-width: 575px) {
    .demo-main {
        padding-top: 90px;
    }

    .demo-card {
        padding: 22px 18px;
    }

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

    .demo-intro h1 {
        font-size: 1.65rem;
    }
}
