
        /* ===== CSS VARIABLES ===== */
        :root {
            --background: 0 0% 100%;
            --foreground: 222.2 84% 4.9%;
            --card: 0 0% 100%;
            --card-foreground: 222.2 84% 4.9%;
            --popover: 0 0% 100%;
            --popover-foreground: 222.2 84% 4.9%;
            --primary: 41 97% 54%;
            --primary-foreground: 0 0% 0%;
            --secondary: 210 40% 96.1%;
            --secondary-foreground: 222.2 47.4% 11.2%;
            --muted: 210 40% 96.1%;
            --muted-foreground: 215.4 16.3% 46.9%;
            --accent: 210 40% 96.1%;
            --accent-foreground: 222.2 47.4% 11.2%;
            --destructive: 0 84.2% 60.2%;
            --destructive-foreground: 210 40% 98%;
            --border: 214.3 31.8% 91.4%;
            --input: 214.3 31.8% 91.4%;
            --ring: 41 97% 54%;
            --radius: 0.5rem;
            --sidebar-width: 280px;
            --sidebar-collapsed: 64px;
        }

        /* ===== RESET & BASE ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            line-height: 1.6;
            color: hsl(var(--foreground));
            background-color: hsl(var(--background));
            overflow-x: hidden;
        }

        /* ===== LAYOUT ===== */
        .app-layout {
            display: flex;
            min-height: 100vh;
        }

        /* ===== SIDEBAR ===== */
        .sidebar {
            width: var(--sidebar-width);
            background: #000000;
            border-right: 1px solid hsl(var(--border));
            position: fixed;
            top: 0;
            left: 0;
            height: 100vh;
            overflow-y: auto;
            transition: transform 0.3s ease;
            z-index: 100;
        }

        .sidebar-header {
            padding: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .sidebar-logo {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            text-align: center;
        }

        .sidebar-logo-wrapper {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .sidebar-logo-img {
            width: 120px;
            height: auto;
            object-fit: contain;
        }

        .sidebar-logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, hsl(var(--primary)) 0%, #1e3c72 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
        }

        .sidebar-logo-text h2 {
            font-size: 16px;
            font-weight: 600;
            color: #ffffff;
        }

        .sidebar-logo-text p {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.7);
        }

        .sidebar-nav {
            padding: 12px;
        }

        .sidebar-nav-section {
            margin-bottom: 20px;
        }

        .sidebar-nav-title {
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: rgba(255, 255, 255, 0.5);
            padding: 0 12px;
            margin-bottom: 8px;
        }

        .sidebar-nav-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            border-radius: var(--radius);
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            font-size: 14px;
            transition: all 0.2s ease;
            cursor: pointer;
            margin-bottom: 2px;
        }

        .sidebar-nav-item:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
        }

        .sidebar-nav-item.active {
            background: rgba(252, 175, 23, 0.2);
            color: #FCB317;
            font-weight: 500;
            border-left: 3px solid #FCB317;
        }

        .sidebar-nav-item svg {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }

        .sidebar-nav-badge {
            margin-left: auto;
            background: #FCB317;
            color: #000000;
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 10px;
            font-weight: 500;
        }

        /* ===== MAIN CONTENT ===== */
        .main-content {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-height: 100vh;
        }

        /* ===== TOP HEADER ===== */
        .top-header {
            background: hsl(var(--card));
            border-bottom: 1px solid hsl(var(--border));
            padding: 16px 32px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: sticky;
            top: 0;
            z-index: 50;
        }

        .top-header-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            border-radius: var(--radius);
        }

        .menu-toggle:hover {
            background: hsl(var(--accent));
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            color: hsl(var(--muted-foreground));
        }

        .breadcrumb a {
            color: hsl(var(--primary));
            text-decoration: none;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        .top-header-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .search-box {
            position: relative;
        }

        .search-input {
            padding: 8px 12px 8px 36px;
            border: 1px solid hsl(var(--input));
            border-radius: var(--radius);
            font-size: 14px;
            width: 250px;
            background: hsl(var(--background));
            transition: all 0.2s ease;
        }

        .search-input:focus {
            outline: none;
            border-color: hsl(var(--ring));
            box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
        }

        .search-icon {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            width: 16px;
            height: 16px;
            color: hsl(var(--muted-foreground));
        }

        .header-btn {
            padding: 8px 16px;
            background: hsl(var(--primary));
            color: white;
            border: none;
            border-radius: var(--radius);
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .header-btn:hover {
            opacity: 0.9;
        }

        /* ===== CONTENT AREA ===== */
        .content-area {
            padding: 32px;
            max-width: 1200px;
            overflow-x: hidden;
        }

        /* Prevent overflow from all child elements */
        .content-area > * {
            max-width: 100%;
            overflow-wrap: break-word;
            word-wrap: break-word;
        }

        /* ===== DASHBOARD CARDS ===== */
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 32px;
        }

        .stat-card {
            background: hsl(var(--card));
            border: 1px solid hsl(var(--border));
            border-radius: var(--radius);
            padding: 20px;
            transition: all 0.2s ease;
        }

        .stat-card:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        .stat-card-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }

        .stat-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
        }

        .stat-card-icon.blue {
            background: hsl(221.2 83.2% 53.3% / 0.1);
            color: hsl(var(--primary));
        }

        .stat-card-icon.green {
            background: hsl(142.1 76.2% 36.3% / 0.1);
            color: hsl(142.1 76.2% 36.3%);
        }

        .stat-card-icon.yellow {
            background: hsl(47.9 95.8% 53.1% / 0.1);
            color: hsl(47.9 95.8% 53.1%);
        }

        .stat-card-icon.purple {
            background: hsl(262.1 83.3% 57.8% / 0.1);
            color: hsl(262.1 83.3% 57.8%);
        }

        .stat-card-value {
            font-size: 28px;
            font-weight: 700;
            color: hsl(var(--foreground));
        }

        .stat-card-label {
            font-size: 14px;
            color: hsl(var(--muted-foreground));
            margin-top: 4px;
        }

        /* ===== SECTION STYLES ===== */
        .section {
            background: hsl(var(--card));
            border: 1px solid hsl(var(--border));
            border-radius: var(--radius);
            padding: 32px;
            margin-bottom: 24px;
            max-width: 100%;
            overflow-x: hidden;
        }

        .section-header {
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid hsl(var(--border));
        }

        .section h2 {
            font-size: 24px;
            font-weight: 600;
            color: hsl(var(--foreground));
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section h3 {
            font-size: 20px;
            font-weight: 600;
            color: hsl(var(--foreground));
            margin: 24px 0 16px 0;
        }

        .section h4 {
            font-size: 16px;
            font-weight: 600;
            color: hsl(var(--foreground));
            margin: 20px 0 12px 0;
        }

        /* ===== TABLES ===== */
        .table-container {
            overflow-x: auto;
            margin: 16px 0;
            border: 1px solid hsl(var(--border));
            border-radius: var(--radius);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
            max-width: 100%;
            display: block;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        table thead {
            background: hsl(var(--muted));
            display: table;
            width: 100%;
        }

        table th {
            padding: 12px 16px;
            text-align: left;
            font-weight: 600;
            color: hsl(var(--foreground));
            border-bottom: 1px solid hsl(var(--border));
            white-space: nowrap;
        }

        table tbody {
            display: table;
            width: 100%;
        }

        table td {
            padding: 12px 16px;
            border-bottom: 1px solid hsl(var(--border));
            color: hsl(var(--foreground));
            word-wrap: break-word;
            overflow-wrap: break-word;
            white-space: normal;
        }

        table tr {
            display: table-row;
        }

        tbody tr:last-child td {
            border-bottom: none;
        }

        tbody tr:hover {
            background: hsl(var(--accent));
        }

        .cost-table td:last-child {
            font-weight: 600;
        }

        /* ===== BADGES ===== */
        .badge {
            display: inline-flex;
            align-items: center;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
        }

        .badge-green {
            background: hsl(142.1 76.2% 36.3% / 0.1);
            color: hsl(142.1 76.2% 36.3%);
        }

        .badge-yellow {
            background: hsl(47.9 95.8% 53.1% / 0.2);
            color: hsl(47.9 95.8% 53.1%);
        }

        .badge-red {
            background: hsl(0 84.2% 60.2% / 0.1);
            color: hsl(0 84.2% 60.2%);
        }

        /* ===== CODE BLOCKS ===== */
        .code-block {
            background: #1e293b;
            color: #e2e8f0;
            padding: 20px;
            border-radius: var(--radius);
            font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
            font-size: 13px;
            line-height: 1.6;
            overflow-x: auto;
            margin: 16px 0;
            position: relative;
            max-width: 100%;
            word-break: break-all;
        }

        pre {
            overflow-x: auto;
            max-width: 100%;
            white-space: pre-wrap;
            word-wrap: break-word;
        }

        code {
            font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
            font-size: 13px;
            word-break: break-all;
        }

        /* Mobile responsive for code blocks */
        @media (max-width: 768px) {
            .code-block {
                padding: 12px;
                font-size: 11px;
                word-break: break-all;
            }

            pre {
                font-size: 11px;
            }
        }

        /* ===== ALERT BOXES ===== */
        .highlight-box {
            background: hsl(47.9 95.8% 53.1% / 0.1);
            border: 1px solid hsl(47.9 95.8% 53.1%);
            padding: 16px 20px;
            border-radius: var(--radius);
            margin: 16px 0;
        }

        .highlight-box h4 {
            color: hsl(47.9 95.8% 53.1%);
            margin-bottom: 8px;
        }

        .success-box {
            background: hsl(142.1 76.2% 36.3% / 0.1);
            border: 1px solid hsl(142.1 76.2% 36.3%);
            padding: 16px 20px;
            border-radius: var(--radius);
            margin: 16px 0;
        }

        .success-box h4 {
            color: hsl(142.1 76.2% 36.3%);
            margin-bottom: 8px;
        }

        /* ===== STEP LIST ===== */
        .step-list {
            list-style: none;
            padding: 0;
        }

        .step-list li {
            background: hsl(var(--muted));
            padding: 16px;
            margin: 8px 0;
            border-radius: var(--radius);
            border-left: 3px solid hsl(var(--primary));
            transition: all 0.2s ease;
        }

        .step-list li:hover {
            background: hsl(var(--accent));
            transform: translateX(4px);
        }

        .step-list li strong {
            color: hsl(var(--primary));
        }

        /* ===== ARCHITECTURE DIAGRAM ===== */
        .architecture-diagram {
            background: hsl(var(--muted));
            padding: 20px;
            border-radius: var(--radius);
            text-align: center;
            margin: 16px 0;
            font-family: 'SF Mono', monospace;
            font-size: 13px;
            border: 1px dashed hsl(var(--border));
            overflow-x: auto;
            max-width: 100%;
            -webkit-overflow-scrolling: touch;
        }

        .architecture-diagram pre {
            margin: 0;
            white-space: pre;
            overflow-x: auto;
            display: inline-block;
            min-width: 100%;
            text-align: left;
        }

        /* Mobile fix for architecture diagrams */
        @media (max-width: 768px) {
            .architecture-diagram {
                padding: 12px;
                font-size: 11px;
            }

            .architecture-diagram pre {
                font-size: 10px;
            }
        }

        /* ===== PHASE BOX ===== */
        .phase-box {
            background: hsl(var(--card));
            border: 1px solid hsl(var(--border));
            border-radius: var(--radius);
            padding: 20px;
            margin: 16px 0;
            position: relative;
        }

        .phase-box::before {
            content: attr(data-phase);
            position: absolute;
            top: -12px;
            left: 16px;
            background: hsl(var(--primary));
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-weight: 600;
            font-size: 12px;
        }

        /* ===== LISTS ===== */
        ul, ol {
            margin: 12px 0 12px 24px;
        }

        li {
            margin: 6px 0;
            font-size: 14px;
        }

        /* ===== CHECKMARK ===== */
        .checkmark {
            color: hsl(142.1 76.2% 36.3%);
            font-weight: bold;
        }

        .warning {
            color: hsl(0 84.2% 60.2%);
            font-weight: bold;
        }

        /* ===== TABS ===== */
        .tabs {
            display: flex;
            gap: 4px;
            border-bottom: 1px solid hsl(var(--border));
            margin-bottom: 20px;
            overflow-x: auto;
        }

        .tab {
            padding: 10px 20px;
            background: none;
            border: none;
            border-bottom: 2px solid transparent;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            color: hsl(var(--muted-foreground));
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .tab:hover {
            color: hsl(var(--foreground));
        }

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

        .tab-content {
            display: none;
        }

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

        /* ===== FOOTER ===== */
        .footer {
            padding: 24px 32px;
            border-top: 1px solid hsl(var(--border));
            text-align: center;
            color: hsl(var(--muted-foreground));
            font-size: 13px;
        }

        /* ===== MOBILE OVERLAY ===== */
        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 99;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .sidebar {
                transform: translateX(-100%);
            }

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

            .sidebar-overlay.active {
                display: block;
            }

            .main-content {
                margin-left: 0;
            }

            .menu-toggle {
                display: block;
            }

            .search-input {
                width: 180px;
            }
        }

        @media (max-width: 640px) {
            .content-area {
                padding: 16px;
            }

            .section {
                padding: 20px;
            }

            .top-header {
                padding: 12px 16px;
            }

            .search-input {
                display: none;
            }

            .dashboard-grid {
                grid-template-columns: 1fr;
            }

            .breadcrumb {
                display: none;
            }

            /* Mobile table improvements */
            table {
                font-size: 12px;
            }

            table th,
            table td {
                padding: 6px 8px;
                font-size: 12px;
            }

            table th {
                white-space: normal;
                word-wrap: break-word;
                font-size: 11px;
            }

            table td {
                word-break: break-word;
            }

            /* Step list mobile fix */
            .step-list {
                padding-left: 20px;
            }

            .step-list li {
                margin-bottom: 16px;
                padding: 12px;
            }

            .step-list li:hover {
                transform: none;
            }

            /* Highlight/success boxes mobile */
            .highlight-box,
            .success-box {
                padding: 12px 16px;
            }

            .highlight-box h4,
            .success-box h4 {
                font-size: 14px;
            }

            .highlight-box ul li,
            .success-box ul li {
                font-size: 13px;
            }
        }

        /* ===== SCROLLBAR ===== */
        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

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

        .sidebar::-webkit-scrollbar-thumb {
            background: hsl(var(--border));
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: hsl(var(--muted-foreground));
        }

        /* ===== ANIMATIONS ===== */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .section {
            animation: fadeIn 0.3s ease;
        }

        /* SCROLL TO TOP BUTTON */
        .scroll-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 48px;
            height: 48px;
            background: hsl(var(--primary));
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
            z-index: 90;
        }
        .scroll-top.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        .scroll-top:hover {
            background: hsl(221.2 83.2% 45%);
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.2);
        }
        .scroll-top:active {
            transform: translateY(0);
        }
        .scroll-top svg {
            width: 24px;
            height: 24px;
        }
    