/* Demo Modal Styles */
.demo-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-modal.active {
    display: flex;
    opacity: 1;
}

.demo-modal-content {
    background: var(--color-bg);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-bezel-outer);
    padding: var(--space-md);
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.demo-modal.active .demo-modal-content {
    transform: translateY(0);
}

.demo-close {
    position: absolute;
    top: 15px; right: 20px;
    background: none; border: none;
    font-size: 2rem; cursor: pointer; color: var(--color-text-light);
}

.demo-window {
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-top: 1rem;
    min-height: 200px;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-chat-msg { margin-bottom: 0.4rem; padding: 1rem 1.2rem; border-radius: 12px; max-width: 85%; font-size: 1.15rem; line-height: 1.5; box-shadow: 0 1px 2px rgba(0,0,0,0.05);}
.demo-chat-msg.client { background: white; color: black; align-self: flex-start; border-top-left-radius: 0; }
.demo-chat-msg.bot { background: #DCF8C6; color: black; align-self: flex-end; border-top-right-radius: 0; }
.demo-btn-group { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.demo-choice-btn { background: var(--color-accent); border: none; padding: 0.8rem 1.5rem; border-radius: 100px; cursor: pointer; font-size: 1.25rem; font-weight: 600; color: var(--color-bg-dark); transition: all 0.2s; }
.demo-choice-btn:hover { background: var(--color-accent-hover); transform: translateY(-2px);}
.demo-typing { font-style: italic; color: var(--color-text-light); font-size: 1rem; display: none; align-self: flex-start; margin-left: 0.5rem;}
.demo-seo-form { display: flex; flex-direction: column; gap: 1rem;}
.demo-seo-form input { padding: 1rem; border: 1px solid var(--color-border); border-radius: 5px; font-family: inherit; font-size: 1.1rem;}
.demo-seo-result { background: white; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--color-border); font-size: 1.15rem; margin-top: 1rem; display: none;}
.demo-email-preview { background: white; padding: 1.5rem; border-radius: 8px; border: 1px solid var(--color-border); font-size: 1.15rem; margin-top: 1rem; display: none;}
