/* ============================================
   LogAnalyzer.AI – Request Demo Pages
   ============================================ */

:root {
    --demo-primary: #393385;
    --demo-accent: #f89714;
    --demo-accent-hover: #e0870e;
    --demo-dark: #1e293b;
    --demo-muted: #64748b;
    --demo-light: #f8fafc;
    --demo-border: #e2e8f0;
}

/* Navbar (shared with blog pattern) */
.demo-navbar {
    background: var(--demo-primary);
    padding: .6rem 0;
}
.demo-navbar .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-weight: 500;
    font-size: .95rem;
}
.demo-navbar .nav-link:hover,
.demo-navbar .nav-link.active {
    color: #fff !important;
}
.demo-nav-cta {
    background: var(--demo-accent) !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    padding: .45rem 1.2rem;
    transition: background .2s;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(248,151,20,.35);
}
.demo-nav-cta:hover {
    background: var(--demo-accent-hover) !important;
    color: #fff !important;
}
.demo-nav-link-secondary {
    color: rgba(255,255,255,.85) !important;
    text-decoration: none;
    font-weight: 500;
    font-size: .9rem;
    padding: .45rem .8rem;
}
.demo-nav-link-secondary:hover {
    color: #fff !important;
}

/* Split layout */
.demo-split {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-wrap: wrap;
}
.demo-left {
    flex: 1 1 45%;
    background: linear-gradient(160deg, var(--demo-primary) 0%, #2a2570 100%);
    color: #fff;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.demo-right {
    flex: 1 1 55%;
    background: #fff;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Left copy */
.demo-headline {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
}
.demo-subheadline {
    font-size: 1.1rem;
    opacity: .9;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}
.demo-pain-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.demo-pain-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .9rem;
    font-size: .98rem;
    line-height: 1.5;
    opacity: .92;
}
.demo-pain-list li::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--demo-accent);
    font-size: .95rem;
}
.demo-trust {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.15);
}
.demo-trust-title {
    font-size: .95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    opacity: .8;
    margin-bottom: .8rem;
}
.demo-trust-support {
    font-size: .85rem;
    opacity: .7;
    margin-top: .8rem;
}
.demo-trust-support a {
    color: var(--demo-accent);
    text-decoration: none;
}

/* Form */
.demo-form-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--demo-dark);
    margin-bottom: .5rem;
}
.demo-form-subtitle {
    font-size: .95rem;
    color: var(--demo-muted);
    margin-bottom: 1.5rem;
}
.demo-form .form-label {
    font-weight: 600;
    font-size: .88rem;
    color: var(--demo-dark);
    margin-bottom: .3rem;
}
.demo-form .form-control,
.demo-form .form-select {
    border-radius: 8px;
    border: 1px solid var(--demo-border);
    padding: .6rem .9rem;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s;
}
.demo-form .form-control:focus,
.demo-form .form-select:focus {
    border-color: var(--demo-accent);
    box-shadow: 0 0 0 3px rgba(248,151,20,.15);
}
.demo-form textarea.form-control {
    min-height: 80px;
    resize: vertical;
}
.demo-form .form-check-label {
    font-size: .88rem;
    color: var(--demo-muted);
}
.demo-form .form-check-input:checked {
    background-color: var(--demo-accent);
    border-color: var(--demo-accent);
}

/* CTA Button */
.btn-demo-cta {
    background: var(--demo-accent);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    padding: .75rem 2rem;
    box-shadow: 0 4px 14px rgba(248,151,20,.35);
    transition: background .2s, box-shadow .2s, transform .15s;
    width: 100%;
    margin-top: .5rem;
}
.btn-demo-cta:hover {
    background: var(--demo-accent-hover);
    color: #fff;
    box-shadow: 0 6px 20px rgba(248,151,20,.45);
    transform: translateY(-1px);
}
.btn-demo-cta:active {
    transform: translateY(0);
}

/* Validation */
.demo-form .field-validation-error {
    color: #dc3545;
    font-size: .82rem;
    display: block;
    margin-top: .2rem;
}
.demo-form .input-validation-error {
    border-color: #dc3545 !important;
}

/* Alert */
.demo-alert {
    border-radius: 8px;
    font-size: .92rem;
}

/* Confirm page */
.demo-confirm-left {
    flex: 1 1 40%;
    background: linear-gradient(160deg, var(--demo-primary) 0%, #2a2570 100%);
    color: #fff;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.demo-confirm-right {
    flex: 1 1 60%;
    background: #dfdfdf;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 750px;
}
.demo-confirm-headline {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.2rem;
}
.demo-confirm-copy {
    font-size: 1.05rem;
    opacity: .9;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.demo-confirm-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}
.demo-confirm-bullets li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .8rem;
    font-size: 1rem;
    line-height: 1.5;
}
.demo-confirm-bullets li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--demo-accent);
}

/* Calendly embed */
.demo-calendly-wrap {
    width: 100%;
    max-width: 700px;
}
.demo-calendly-wrap .calendly-inline-widget {
    border-radius: 12px;
    overflow: hidden;
}

/* Footer */
.demo-footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 2rem 0 1.2rem;
}
.demo-footer h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: .8rem;
}
.demo-footer a {
    color: #94a3b8;
    text-decoration: none;
}
.demo-footer a:hover {
    color: #fff;
}
.demo-footer hr {
    border-color: #334155;
}

/* Responsive */
@media (max-width: 991px) {
    .demo-split {
        flex-direction: column;
    }
    .demo-left,
    .demo-right,
    .demo-confirm-left,
    .demo-confirm-right {
        flex: 1 1 100%;
        padding: 2.5rem 1.5rem;
    }
    .demo-headline,
    .demo-confirm-headline {
        font-size: 1.7rem;
    }
}
@media (max-width: 576px) {
    .demo-left,
    .demo-right,
    .demo-confirm-left,
    .demo-confirm-right {
        padding: 2rem 1.2rem;
    }
    .demo-headline,
    .demo-confirm-headline {
        font-size: 1.4rem;
    }
    .demo-form-title {
        font-size: 1.3rem;
    }
}
