:root {
    --primary-gradient: linear-gradient(135deg, #6610f2 0%, #0d6efd 100%);
    --sidebar-width: 280px;
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --sidebar-bg: #ffffff;
}

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

/* Sidebar Layout */
.wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    z-index: 1000;
    padding: 1.5rem;
}

.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem 3rem;
    max-width: 1200px;
}

/* Typography & Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Code Blocks */
pre {
    background: #0d1117;
    color: #ffffff !important;
    /* Force white text on the container */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    position: relative;
    margin: 1.5rem 0;
}

code {
    font-family: 'Fira Code', monospace;
    color: #ffffff !important;
    /* Force white text for the code tag */
}

.code-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #1f6feb;
    color: white;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Navigation Links */
.nav-link {
    color: var(--text-muted);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(13, 110, 253, 0.1);
    color: #3b82f6;
}

.nav-link.active {
    font-weight: 600;
    border-left: 3px solid #3b82f6;
}

.step-indicator {
    width: 24px;
    height: 24px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
}

.nav-link.active .step-indicator {
    background: #3b82f6;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }

    .mobile-nav-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1050;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    }
}

/* Slide Specific Styles */
.slide-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.carousel-inner,
.carousel-item {
    height: 100%;
}

.slide-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    text-align: center;
}

.slide-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-gradient);
    filter: blur(180px);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.slide-nav-fixed {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.75rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slide-counter {
    position: fixed;
    top: 2rem;
    right: 2rem;
    font-weight: 800;
    opacity: 0.3;
    font-size: 1.5rem;
    z-index: 100;
}

.big-icon {
    font-size: 5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

/* Override code block for slides to be tighter */
.slide-code pre {
    text-align: left;
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.1rem;
}