:root {
    --color-primary: #0a192f;
    --color-accent: #d4af37;
    --color-bg: #f0f2f5;
    --color-text: #333333;
    --color-sidebar-bg: #ffffff;
    --header-height: 60px;
    --footer-height: 40px;
    --font-main: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}

/* Typography */
h1 { margin: 0; font-size: 1.25rem; }
h2 { color: var(--color-primary); margin-top: 0; font-size: 1.5rem; line-height: 1.2; }
.lead { font-size: 1.1rem; color: var(--color-accent); font-weight: 500; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: #555; }
hr { border: 0; border-top: 1px solid #eee; margin: 1.5rem 0; }
ul { padding-left: 1.2rem; color: #555; }
li { margin-bottom: 0.5rem; }

/* Utilities */
.container-fluid {
    width: 100%;
    max-width: 1600px; /* Prevent it from getting too wide on ultrawide monitors */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 20;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* Center logo on all screens */
}

.header h1 {
    color: var(--color-primary);
    font-weight: 700;
    text-align: center;
}

/* Main Layout */
.main-content {
    flex: 1;
    display: flex;
    overflow: hidden; 
    position: relative;
    height: calc(100vh - var(--header-height) - var(--footer-height));
}

/* Left Sidebar (Info) */
.info-sidebar {
    width: clamp(300px, 25vw, 400px); /* Fluid width */
    background-color: var(--color-sidebar-bg);
    border-right: 1px solid #e0e0e0;
    overflow-y: auto;
    flex-shrink: 0;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.info-content {
    max-width: 100%;
    margin-top: auto;
    margin-bottom: auto; /* Vertically center content if short */
}

/* Right Content (Typebot) */
.typebot-wrapper {
    flex: 1;
    background-color: #f8f9fa;
    position: relative;
    display: flex;
    flex-direction: column;
    /* Subtle inner shadow to give depth */
    box-shadow: inset 4px 0 10px rgba(0,0,0,0.02); 
}

/* Footer */
.footer {
    height: var(--footer-height);
    background-color: var(--color-primary);
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
    z-index: 20;
    display: flex;
    align-items: center;
}

.footer .container-fluid {
    justify-content: center;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* Mobile & Tablet Portrait */
@media (max-width: 900px) {
    body {
        /* On mobile, we might want native scroll if content overflows, 
           but Typebot usually handles its own scroll. 
           Sticking to fixed body height ensures the app-like feel. */
    }

    .main-content {
        flex-direction: column;
    }

    .info-sidebar {
        width: 100%;
        height: auto; /* Let it shrink to fit content */
        max-height: 25vh; /* Cap height so chat is always visible */
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 1rem 1.5rem;
        flex-shrink: 0;
        display: block; /* Remove flex centering */
    }

    .info-content {
        margin: 0;
        text-align: center;
    }

    .info-header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.2rem;
    }

    .info-header .lead {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .info-header p:last-child {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    /* Hide detailed bullets on mobile to save space */
    .mobile-hidden {
        display: none;
    }

    .typebot-wrapper {
        box-shadow: none;
        /* It will naturally take remaining height via flex: 1 */
    }
    
    .desktop-only {
        display: none;
    }
}
