@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #080b10;
    --sidebar: #0d1118;
    --panel: #111722;
    --border: #202a37;
    --cyan: #56dfff;
    --text: #e8f1fa;
    --muted: #8493a5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    overflow: hidden;
}

button, input {
    font-family: inherit;
}

.app-container {
    display: flex;
    height: 100vh;
}

/* SIDEBAR */

.sidebar {
    width: 260px;
    min-width: 260px;
    background: var(--sidebar);
    border-right: 1px solid var(--border);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 42px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    font-size: 23px;
    font-weight: 800;
    border-radius: 12px;
    box-shadow: 0 0 18px #56dfff22;
}

.brand h2 {
    letter-spacing: 3px;
    font-size: 17px;
}

.brand span {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 1.5px;
}

.new-chat {
    background: #15212c;
    border: 1px solid #294252;
    color: var(--cyan);
    padding: 13px;
    border-radius: 9px;
    cursor: pointer;
    margin-bottom: 35px;
    font-size: 12px;
}

.sidebar-section p {
    color: #68798b;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.nav-item {
    padding: 13px;
    color: var(--muted);
    font-size: 13px;
    border-radius: 8px;
    margin-bottom: 5px;
    cursor: pointer;
}

.nav-item.active {
    background: #14222e;
    color: var(--cyan);
    border: 1px solid #203b4a;
}

.sidebar-bottom {
    margin-top: auto;
}

.system-status {
    font-size: 10px;
    letter-spacing: 1px;
    color: #a9bac8;
    margin-bottom: 12px;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #4de4a2;
    border-radius: 50%;
    margin-right: 7px;
    box-shadow: 0 0 9px #4de4a2;
}

.version {
    font-size: 9px;
    color: #596879;
    letter-spacing: 1px;
}

/* MAIN PANEL */

.main-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.topbar {
    height: 82px;
    border-bottom: 1px solid var(--border);
    padding: 18px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.breadcrumb {
    color: #637487;
    font-size: 9px;
    letter-spacing: 1.5px;
}

.topbar h3 {
    font-size: 15px;
    margin-top: 5px;
}

.top-status {
    color: #4de4a2;
    font-size: 10px;
    letter-spacing: 1px;
}

/* CHAT AREA */

.chat-area {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 20px;
}

.welcome {
    text-align: center;
    margin: auto;
    max-width: 550px;
}

.orb {
    width: 105px;
    height: 105px;
    border: 1px solid #56dfff88;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 28px;
    font-size: 42px;
    font-weight: 700;
    color: var(--cyan);
    background: radial-gradient(circle, #153b4d, #0b111a 70%);
    box-shadow: 0 0 35px #56dfff22;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 25px #56dfff22;
    }
    50% {
        box-shadow: 0 0 45px #56dfff55;
    }
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--cyan);
    margin-bottom: 17px;
}

.welcome h1 {
    font-size: clamp(30px, 5vw, 48px);
    letter-spacing: -2px;
    margin-bottom: 13px;
}

.welcome-text {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.suggestions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.suggestions button {
    background: #111b26;
    border: 1px solid var(--border);
    color: #b5c6d5;
    padding: 11px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
}

.suggestions button:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* MESSAGES */

.messages {
    width: 100%;
    max-width: 750px;
}

.message {
    padding: 15px 18px;
    margin: 12px 0;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.7;
    max-width: 85%;
    white-space: pre-wrap;
}

.user-message {
    background: #163044;
    border: 1px solid #24516a;
    margin-left: auto;
}

.markus-message {
    background: #121b26;
    border: 1px solid var(--border);
    margin-right: auto;
}

/* INPUT */

.input-area {
    padding: 15px 25px 20px;
    border-top: 1px solid var(--border);
}

.input-box {
    max-width: 800px;
    margin: auto;
    display: flex;
    background: #111923;
    border: 1px solid #293847;
    border-radius: 12px;
    padding: 7px;
}

.input-box input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 12px;
    font-size: 13px;
}

.input-box button {
    width: 42px;
    border: none;
    border-radius: 8px;
    background: var(--cyan);
    color: #061018;
    font-size: 20px;
    cursor: pointer;
}

.input-area > p {
    text-align: center;
    color: #566474;
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-top: 12px;
}

/* MOBILE */

@media (max-width: 650px) {
    .sidebar {
        width: 65px;
        min-width: 65px;
        padding: 20px 8px;
        align-items: center;
    }

    .brand {
        margin-bottom: 30px;
    }

    .brand > div:last-child,
    .new-chat,
    .sidebar-section p,
    .nav-item:not(.active),
    .nav-item.active,
    .system-status,
    .version {
        display: none;
    }

    .topbar {
        padding: 15px;
    }

    .input-area {
        padding: 12px;
    }

    .orb {
        width: 85px;
        height: 85px;
    }
}