/* Body en font */
body {
    background: #f4f6fb;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Chatbot Showcase Section */
.chatbot-showcase {
    background: #f8f9fa;
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
}

.showcase-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* Embedded Chatbot */
.embedded-chatbot {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.chat-container-embedded {
    max-width: 800px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Embedded Header */
.chat-header-embedded {
    background: linear-gradient(135deg, #143462 0%, #1e4a7a 100%);
    padding: 20px;
    text-align: left;
    position: relative;
    box-shadow: 0 2px 8px rgba(20, 52, 98, 0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.embedded-title {
    color: white;
    text-align: left;
}

.embedded-title .humanaize-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    display: inline-block;
}

.embedded-title .humanaize-link:hover {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Embedded Chat Window */
.chat-window-embedded {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    max-height: 400px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.vng-intro-center-embedded {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0 16px 0;
}

.embedded-main-logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px auto;
}

.embedded-intro-text {
    text-align: center;
}

.embedded-intro-text strong {
    font-size: 1.1rem;
}

.embedded-intro-text span {
    color: #555;
    font-size: 0.95rem;
}

/* Embedded Messages */
.chat-msg-embedded {
    margin: 12px 0;
    display: flex;
    max-width: 100%;
    min-width: 48px;
    animation: fadeIn 0.3s;
}

.chat-msg-embedded .bubble-embedded {
    display: inline-block;
    max-width: 80%;
    word-break: break-word;
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    line-height: 1.5;
    font-size: 1rem;
}

.chat-msg-embedded.bot {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    background: transparent;
    color: #143462;
    align-self: flex-start;
    text-align: left;
    box-shadow: none;
}

.chat-msg-embedded.bot .avatar-embedded {
    margin-right: 12px;
    flex-shrink: 0;
    align-self: flex-start;
}

.chat-msg-embedded.bot .avatar-embedded img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.chat-msg-embedded.bot .bubble-embedded {
    background: #f0f2f5;
    color: #143462;
    border-radius: 16px 16px 16px 4px;
}

/* Embedded Form */
.embedded-form {
    display: flex;
    padding: 16px;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.02);
    margin-top: auto; /* Duwt de input balk naar de onderkant */
    margin-bottom: 20px; /* Ruimte voor AI disclaimer */
}

.embedded-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #143462;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}

.embedded-input:focus {
    border-color: #1e4a7a;
}

.embedded-submit {
    margin-left: 12px;
    padding: 12px 16px;
    background: #143462;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.embedded-submit:hover {
    background: #1e4a7a;
}

.embedded-disclaimer {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
    letter-spacing: 0.01em;
    padding: 8px 16px 16px 16px;
}

/* Embedded Typing Indicator */
.typing-indicator-embedded {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 12px 0;
    background: #f0f2f5;
    border-radius: 16px 16px 16px 4px;
    max-width: 80%;
    animation: fadeIn 0.3s;
}

.typing-dots {
    display: flex;
    gap: 4px;
    margin-left: 12px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #143462;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

/* Mobile responsive voor chatbot showcase */
@media (max-width: 768px) {
    .chatbot-showcase {
        padding: 60px 15px;
        min-height: auto;
    }
    
    .showcase-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .showcase-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .chat-container-embedded {
        max-width: 100%;
        min-height: 400px;
        border-radius: 16px;
    }
    
    .chat-header-embedded {
        padding: 16px;
    }
    
    .embedded-title .humanaize-link {
        font-size: 0.9rem;
    }
    
    .chat-window-embedded {
        padding: 16px;
        max-height: 350px;
        min-height: 180px;
    }
    
    .embedded-main-logo {
        width: 120px;
    }
    
    .embedded-form {
        padding: 12px;
    }
    
    .embedded-input {
        padding: 10px 14px;
        font-size: 0.95rem;
    }
    
    .embedded-submit {
        padding: 10px 14px;
        font-size: 0.95rem;
        min-width: 44px;
    }
    
    .embedded-disclaimer {
        font-size: 0.8rem;
        padding: 6px 12px 12px 12px;
    }
}

/* Footer Section */
.footer-section {
    background: white;
    padding: 60px 20px;
    border-top: 1px solid #f0f0f0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-branding {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.branding-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.vng-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.vng-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.humanaize-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.humanaize-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.branding-label {
    font-size: 1rem;
    font-weight: 700;
    color: #143462;
    font-family: sans-serif;
}

.vng-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vng-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.humanaize-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.humanaize-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Mobile responsive voor footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 15px;
    }
    
    .footer-branding {
        flex-direction: column;
        gap: 30px;
    }
    
    .branding-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .vng-link {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .humanaize-link {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .branding-label {
        font-size: 0.9rem;
    }
    
    .vng-logo-img {
        height: 65px;
    }
    
    .humanaize-logo-img {
        height: 50px;
    }
}

/* Mobile responsive base */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

