/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Base Variables */
:root {
    /* Brand Colors */
    --primary-color-start: #6366F1;
    --primary-color-end: #4F46E5;
    --secondary-color: #10B981;
    --tertiary-color: #EC4899;
    --bg-dark: #020617;
    --bg-darker: #0F172A;

    /* Legacy variables */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --secondary: #10B981;
    --tertiary: #EC4899;
    --dark: #0F172A;
    --darker: #020617;
    --light: #F8FAFC;
}

/* Global scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(99, 102, 241, 0.5);
    border-radius: 4px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.5) transparent;
}

/* HTML & Body Structure - from layout fixes */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--light);
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
}

code, pre {
    font-family: 'JetBrains Mono', monospace;
}

/* ======================================
 * STARRY BACKGROUND COMPONENTS
 * These components create the space-themed background
 * ======================================
 */

/* 1. Orb Elements */
.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    top: 10%;
    right: 10%;
    width: 30vw;
    height: 30vw;
    background-color: var(--primary-color-start);
    opacity: 0.15;
    animation: float-slow 15s ease-in-out infinite alternate;
}

.orb-2 {
    bottom: 20%;
    left: 10%;
    width: 25vw;
    height: 25vw;
    background-color: var(--secondary-color);
    opacity: 0.15;
    animation: float-slow 20s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    top: 50%;
    left: 40%;
    width: 20vw;
    height: 20vw;
    background-color: var(--tertiary-color);
    opacity: 0.1;
    animation: float-slow 17s ease-in-out infinite alternate;
}

/* Float animation for the orbs */
@keyframes float-slow {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(2%, 2%) rotate(5deg); }
    100% { transform: translate(-2%, 1%) rotate(-5deg); }
}

/* 2. Starfield */
.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(2px 2px at 40px 60px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(2px 2px at 20px 150px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(2px 2px at 100px 250px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(2px 2px at 160px 200px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(3px 3px at 200px 300px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(1px 1px at 300px 50px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(1px 1px at 350px 100px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(2px 2px at 400px 200px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(2px 2px at 450px 300px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(1px 1px at 500px 100px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(3px 3px at 550px 200px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0)),
            radial-gradient(2px 2px at 600px 300px, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
    background-repeat: repeat;
    background-size: 650px 350px;
    animation: twinkle 10s ease-in-out infinite, moveStars 90s linear infinite;
    opacity: 0.3;
}

/* Twinkle animation for stars */
@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.4;
    }
}

/* Star movement animation - from updated reference */
@keyframes moveStars {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 650px 350px;
    }
}

/* 3. Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

/* 4. Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    pointer-events: none;
}

/* Main layout container positioning - from layout fixes */
.dashboard-layout {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Sidebar with fixed width - percentage based heights */
.sidebar {
    width: 280px;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    z-index: 10;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
}

/* Sidebar styling */
.sidebar-logo {
    padding: 24px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-profile {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-img {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu-section {
    padding: 16px 0;
}

.menu-header {
    padding: 8px 24px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item {
    padding: 10px 24px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.menu-item.active {
    background-color: rgba(79, 70, 229, 0.15);
    color: #6366F1;
    border-left-color: #6366F1;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-icon {
    width: 20px;
    margin-right: 12px;
    text-align: center;
}

/* Dropdown menu */
.dropdown-content {
    display: none;
    padding-left: 30px;
}

.dropdown-content.active {
    display: block;
}

.dropdown-item {
    padding: 8px 0 8px 24px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    display: block;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-item:hover {
    color: #6366F1;
    background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-item.active {
    color: #6366F1;
    background-color: rgba(79, 70, 229, 0.15);
    border-left: 3px solid #6366F1;
    font-weight: 500;
}

.dropdown-toggle {
    cursor: pointer;
}

/* Main Content Area */
.content-area {
    margin-left: 280px;
    transition: all 0.3s ease;
    min-height: 100%;
    width: calc(100% - 280px);
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
    overflow-y: auto;
    z-index: 1;
}

/* Ensure container maximizes available width */
.content-area .container {
    max-width: 100%;
}

/* Search bar styling */
.search-bar {
    background-color: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.search-bar:focus-within {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

.search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    width: 100%;
    font-size: 0.875rem;
}

/* Table of Contents */
.toc-sidebar {
    position: relative;
}

.toc-container {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.5) transparent;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
}

.toc-link {
    display: block;
    padding: 0.25rem 0;
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.toc-link:hover {
    color: white;
    border-left-color: rgba(99, 102, 241, 0.5);
}

.toc-link.active {
    color: var(--primary);
    border-left-color: var(--primary);
}

.toc-h3 {
    padding-left: 2rem;
    font-size: 0.8125rem;
}

/* Documentation content styling */
.doc-content {
    width: 100%;
    max-width: 100%;
    padding-right: 1rem;
}

.doc-content h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.doc-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.doc-content ul, .doc-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.doc-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.doc-content a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.doc-content a:hover {
    text-decoration: underline;
}

/* Code block styling */
.code-block {
    background-color: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.code-header {
    background-color: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.code-actions {
    display: flex;
    gap: 0.5rem;
}

.code-action {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.code-action:hover {
    background-color: rgba(99, 102, 241, 0.2);
    color: white;
}

.code-block pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.5) transparent;
}

.code-block pre::-webkit-scrollbar {
    height: 6px;
}

.code-block pre::-webkit-scrollbar-track {
    background: transparent;
}

.code-block pre::-webkit-scrollbar-thumb {
    background-color: rgba(99, 102, 241, 0.5);
    border-radius: 3px;
}

.code-block code {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Info box styling */
.info-box {
    background-color: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.info-box-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.info-box-icon {
    margin-right: 0.5rem;
    color: var(--primary);
}

.info-box-title {
    font-weight: 600;
    color: var(--primary);
}

.info-box-content {
    color: rgba(255, 255, 255, 0.8);
}

/* Tabs */
.tabs {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
}

.tab {
    padding: 0.75rem 1.25rem;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab:hover {
    color: white;
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* API table */
.api-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
}

.api-table th, .api-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.875rem 1rem;
    text-align: left;
}

.api-table th {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(15, 23, 42, 0.4);
}

.api-table tr:nth-child(even) {
    background-color: rgba(15, 23, 42, 0.2);
}

.api-table tr:hover {
    background-color: rgba(15, 23, 42, 0.5);
}

.api-param-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.api-param-type {
    font-size: 0.75rem;
    color: var(--tertiary);
    margin-left: 0.25rem;
}

.api-param-required {
    font-size: 0.75rem;
    color: var(--secondary);
    margin-left: 0.25rem;
}

.api-param-optional {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.25rem;
}

/* Version badges */
.version-badge {
    display: inline-block;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--secondary);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.75rem;
    position: relative;
    top: -3px;
}

.beta-badge {
    display: inline-block;
    background-color: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.2);
    color: #FB923C;
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.75rem;
    position: relative;
    top: -3px;
}

/* Footer */
.doc-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}

.doc-feedback {
    background-color: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 40px; /* Extra margin to ensure it's visible at the bottom */
}

.feedback-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.feedback-button {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.feedback-button:hover {
    background-color: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
}

.feedback-button i {
    margin-right: 0.5rem;
}

/* Mobile responsiveness */
@media (max-width: 1023px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 50;
        transition: transform 0.3s ease-in-out;
        box-shadow: none;
    }

    .sidebar.active {
        transform: translateX(0);
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .content-area {
        margin-left: 0;
        width: 100%;
        padding-top: 5rem;
    }

    .mobile-menu-btn {
        display: block;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 60;
        background-color: rgba(99, 102, 241, 0.8);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(99, 102, 241, 0.5);
        border-radius: 8px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-menu-btn:hover, .mobile-menu-btn:focus {
        background-color: var(--primary);
        transform: scale(1.05);
    }

    .mobile-search-btn {
        display: block;
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 60;
        background-color: rgba(15, 23, 42, 0.6);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .mobile-search-btn:hover, .mobile-search-btn:focus {
        background-color: rgba(15, 23, 42, 0.8);
        transform: scale(1.05);
    }

    .mobile-search-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: rgba(2, 6, 23, 0.95);
        padding: 1rem;
        transform: translateY(-100%);
        transition: all 0.3s ease;
        z-index: 70;
    }

    .mobile-search-container.active {
        transform: translateY(0);
    }

    .toc-sidebar {
        display: none;
    }
    
    /* Add an overlay when sidebar is open for better UX */
    .sidebar.active::after {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}

@media (min-width: 1024px) {
    .mobile-menu-btn, .mobile-search-btn, .mobile-search-container {
        display: none;
    }
}

/* ======================================
 * BETA FEATURE INDICATORS
 * Styles for features that are in development
 * ======================================
 */

/* Beta project banner for documentation home */
.beta-project-banner {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.15), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.beta-project-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(251, 146, 60, 0.1) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(251, 146, 60, 0.1) 50%, 
        rgba(251, 146, 60, 0.1) 75%, 
        transparent 75%, 
        transparent);
    background-size: 10px 10px;
    opacity: 0.2;
    z-index: 0;
}

.beta-project-content {
    position: relative;
    z-index: 1;
}

.beta-badge {
    display: inline-block;
    background-color: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #FB923C;
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    position: relative;
    top: -2px;
}

.pre-release-badge {
    display: inline-block;
    background-color: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.3);
    color: #9333EA;
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    position: relative;
    top: -2px;
}

.coming-soon-badge {
    display: inline-block;
    background-color: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    position: relative;
    top: -2px;
}

/* In-development features */
.in-development {
    position: relative;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: help;
}

.in-development::after {
    content: "Coming Soon";
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.in-development:hover {
    opacity: 0.8;
}

.in-development:hover::after {
    opacity: 1;
}

/* Feature cards with development status */
.component-card, .role-card, .stack-card, .doc-card {
    transition: all 0.3s ease;
}

.component-card.in-development, 
.role-card.in-development,
.stack-card.in-development,
.doc-card.in-development {
    position: relative;
    opacity: 0.6;
    filter: grayscale(0.3);
    box-shadow: none;
}

.component-card.in-development::before,
.role-card.in-development::before,
.stack-card.in-development::before,
.doc-card.in-development::before {
    content: "Coming in Q4 2025";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    border-radius: 100px;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.component-card.in-development:hover,
.role-card.in-development:hover,
.stack-card.in-development:hover,
.doc-card.in-development:hover {
    opacity: 0.75;
    filter: grayscale(0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Menu items in development */
.menu-item.in-development {
    position: relative;
    color: rgba(255, 255, 255, 0.5);
}

.menu-item.in-development::after {
    content: "Soon";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    padding: 2px 6px;
    background-color: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    border-radius: 100px;
}

/* Info box in development styling */
.info-box.in-development {
    position: relative;
    opacity: 0.6;
    filter: grayscale(0.3);
}

.info-box.in-development::before {
    content: "Coming in Q3 2025";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    border-radius: 100px;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.info-box.in-development:hover {
    opacity: 0.75;
    filter: grayscale(0.1);
}

/* Component cards styling (these were missing in the original CSS) */
.component-card {
    background-color: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.component-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.component-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.component-card-header i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 1rem;
}

.component-card-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.component-card-body p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.component-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.component-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.component-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary);
}

/* Role cards */
.role-card {
    background-color: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.role-icon {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.role-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.role-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.role-capabilities {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 1rem 0 0;
}

.role-capabilities li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.role-capabilities li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    top: 0;
    color: var(--primary);
}

/* Stack cards */
.stack-card {
    background-color: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.stack-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stack-card-header {
    background-color: rgba(15, 23, 42, 0.6);
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stack-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.stack-card-body {
    padding: 1rem;
}

.stack-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stack-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stack-list li:last-child {
    border-bottom: none;
}

.stack-icon {
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.stack-name {
    font-weight: 500;
    margin-right: 0.5rem;
    flex-shrink: 0;
    width: 30%;
}

.stack-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Document card links */
.doc-card {
    background-color: rgba(15, 23, 42, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.doc-card:hover {
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.doc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(79, 70, 229, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.doc-card-content h3 {
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
    color: white;
}

.doc-card-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Architecture table */
.architecture-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 1.5rem;
}

.architecture-table th, .architecture-table td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    text-align: left;
}

.architecture-table th {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(15, 23, 42, 0.6);
}

.architecture-table td {
    background-color: rgba(15, 23, 42, 0.3);
}

.architecture-table tr:nth-child(even) td {
    background-color: rgba(15, 23, 42, 0.4);
}

.architecture-table ul {
    margin: 0;
    padding-left: 1.25rem;
}

.architecture-table li {
    margin-bottom: 0.25rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(to right, var(--primary-color-start), var(--primary-color-end));
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary);
    background-color: rgba(99, 102, 241, 0.1);
    text-decoration: none;
}

/* Custom roadmap card styles */
.component-card.roadmap-q3, 
.component-card.roadmap-q4 {
    position: relative;
    opacity: 0.6;
    filter: grayscale(0.3);
    box-shadow: none;
    cursor: help;
}

.component-card.roadmap-q3:hover, 
.component-card.roadmap-q4:hover {
    opacity: 0.75;
    filter: grayscale(0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.component-card.roadmap-q3::before {
    content: "Coming in Q3 2025";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(147, 51, 234, 0.2);
    border: 1px solid rgba(147, 51, 234, 0.3);
    color: #9333EA;
    border-radius: 100px;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

.component-card.roadmap-q4::before {
    content: "Coming in Q4 2025";
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8B5CF6;
    border-radius: 100px;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
}

/* Beta role styles */
.role-card.beta-role {
    position: relative;
    border: 1px solid rgba(251, 146, 60, 0.3);
    box-shadow: 0 0 15px rgba(251, 146, 60, 0.1);
}

.role-card.beta-role .role-icon {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(251, 146, 60, 0.1));
    color: #FB923C;
}

.beta-tag {
    display: inline-block;
    background-color: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    color: #FB923C;
    border-radius: 100px;
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    position: relative;
    top: -1px;
}