@font-face {
    font-family: 'JetBrainsMonoNerdFont';
    src: url('../fonts/JetBrainsMonoNerdFontMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --bg-color: #ffffff;
    --sidebar-bg: #f5f5f5;
    --text-color: #1a1a1a;
    --cobalt-blue: #0044ad;
    --hover-bg: #e8e8e8;
    --border-color: #d0d0d0;
    --inactive-color: #737373;
}

body {
    font-family: 'JetBrainsMonoNerdFont', 'JetBrains Mono', 'Courier New', monospace;
    background: var(--bg-color);
    color: var(--text-color);
    height: 100vh;
    overflow: hidden;
}

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

header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-color);
}

.logo {
    color: var(--cobalt-blue);
    font-size: 24px;
    font-weight: 700;
}

.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.sidebar {
    width: 200px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 20px 0;
}

.nav-list {
    list-style: none;
}

.nav-list li {
    margin: 5px 0;
}

.nav-link {
    display: block;
    padding: 12px 30px;
    color: var(--inactive-color);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
    font-size: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-color);
}

/* Animated underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 30px;
    width: 0;
    height: 2px;
    background: var(--cobalt-blue);
    opacity: 0.75;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 30px);
}

/* First letter mask */
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 30px;
    width: 1ch;
    height: 2px;
    background: var(--sidebar-bg);
    z-index: 1;
}

.content-area {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background: var(--bg-color);
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.page h2 {
    color: var(--cobalt-blue);
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 400;
}

.placeholder {
    font-size: 48px;
    color: var(--text-color);
    opacity: 0.3;
    margin-top: 100px;
}

.dashboard-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.tile {
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    width: 200px;
    height: 200px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.2s;
    gap: 15px;
}

.tile:hover {
    transform: translateY(-5px);
    border-color: var(--cobalt-blue);
    box-shadow: 0 10px 30px rgba(0, 68, 173, 0.15);
}

.icon {
    font-family: 'JetBrainsMonoNerdFont', monospace;
    font-size: 48px;
    line-height: 1;
}

/* Nerd Font glyphs using CSS content */
.icon-movie::before {
    content: '\f0381';
}

.icon-monitor::before {
    content: '\f0dc3';
}

.icon-mic::before {
    content: '\f0c9';
}

.voice-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.2s;
    font-family: 'JetBrainsMonoNerdFont', monospace;
}

.voice-btn:hover {
    background: var(--cobalt-blue);
    border-color: var(--cobalt-blue);
    color: white;
    transform: scale(1.1);
}
