:root {
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #818cf8;
            --secondary: #ec4899;
            --accent: #14b8a6;
            --success: #10b981;
            --warning: #f59e0b;
            --info: #3b82f6;
            --dark: #0f172a;
            --dark-light: #1e293b;
            --node-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --node-bg-alt: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --node-bg-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --text-light: #e2e8f0;
            --text-dark: #1e293b;
            --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            --shadow-hover: 0 15px 40px rgba(99, 102, 241, 0.4);
        }

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

        

        .container-fluid {
            position: relative;
            z-index: 1;
        }

        /* Header */
        .header {
            text-align: center;
            padding: 2rem 1rem;
            margin-bottom: 2rem;
            animation: fadeInDown 0.8s ease;
        }

        .header h1 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: clamp(2rem, 5vw, 3.5rem);
            color: #fff;
            text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            margin-bottom: 1rem;
        }

        .header p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
        }

        .header .icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #fbbf24;
            text-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
        }

        /* Control Panel */
        .control-panel {
            background: rgba(30, 41, 59, 0.8);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow);
            animation: fadeIn 1s ease;
        }

        .btn-control {
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            padding: 0.7rem 1.5rem;
            border-radius: 12px;
            border: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-control:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .btn-expand {
            background: linear-gradient(135deg, var(--success) 0%, var(--accent) 100%);
            color: white;
        }

        .btn-collapse {
            background: linear-gradient(135deg, var(--secondary) 0%, var(--warning) 100%);
            color: white;
        }

        .btn-reset {
            background: linear-gradient(135deg, var(--info) 0%, var(--primary) 100%);
            color: white;
        }

        /* Mindmap Container */
        .mindmap-container {
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(20px);
            border-radius: 25px;
            padding: 2.5rem;
            box-shadow: var(--shadow);
            animation: fadeInUp 1s ease;
        }

        .mindmap {
            max-width: 100%;
        }

        /* Node Styles */
        .node {
            display: inline-block;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            color: #fff;
            border: 2px solid rgba(255, 255, 255, 0.2);
            padding: 0.8rem 1.2rem;
            border-radius: 15px;
            margin: 0.6rem 0;
            cursor: default;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-weight: 500;
            position: relative;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .node:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
            border-color: rgba(255, 255, 255, 0.4);
        }

        .node i {
            margin-right: 0.5rem;
            color: var(--accent);
        }

        /* Clickable nodes */
        .node.clickable {
            cursor: pointer;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
            border-color: var(--primary-light);
        }

        .node.clickable:hover {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);
            transform: translateY(-4px) scale(1.03);
        }

        .node.clickable.expanded {
            background: linear-gradient(135deg, rgba(236, 72, 153, 0.4) 0%, rgba(251, 146, 60, 0.4) 100%);
            border-color: var(--secondary);
        }

        /* Root node */
        .node.root {
            display: block;
            text-align: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: clamp(1.2rem, 3vw, 1.8rem);
            padding: 1.5rem 2rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            border: 3px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
        }

        .node.root i {
            font-size: 1.5em;
            margin-right: 1rem;
            color: #fbbf24;
        }

        /* Children container */
        .children {
            margin-left: 2rem;
            padding-left: 1.5rem;
            border-left: 3px solid rgba(99, 102, 241, 0.3);
            display: none;
            position: relative;
        }

        .children::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            width: 3px;
            height: 100%;
            background: linear-gradient(to bottom, 
                var(--primary) 0%, 
                var(--secondary) 50%, 
                var(--accent) 100%);
            opacity: 0.5;
        }

        .children.root-level {
            display: block;
        }

        /* Expand/Collapse indicators */
        .clickable::before {
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            margin-right: 0.7rem;
            transition: transform 0.3s ease;
            display: inline-block;
        }

        .clickable.expand::before {
            content: "\f054";
            color: var(--accent);
        }

        .clickable.expanded::before {
            content: "\f078";
            color: var(--secondary);
            transform: rotate(0deg);
        }

        /* Animations */
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
        }

        

        /* Responsive Design */
        @media (max-width: 768px) {
            .children {
                margin-left: 1rem;
                padding-left: 1rem;
            }

            .node {
                font-size: 0.9rem;
                padding: 0.6rem 1rem;
            }

            .mindmap-container {
                padding: 1.5rem;
            }

            .control-panel {
                padding: 1rem;
            }

            .btn-control {
                padding: 0.6rem 1rem;
                font-size: 0.9rem;
                margin: 0.3rem;
            }

            .header {
                padding: 2rem 1rem;
            }
        }

        @media (max-width: 576px) {
            .children {
                margin-left: 0.5rem;
                padding-left: 0.8rem;
                border-left-width: 2px;
            }

            .node {
                font-size: 0.85rem;
                padding: 0.5rem 0.8rem;
            }

            .btn-control {
                width: 100%;
                margin: 0.3rem 0;
            }
        }

        /* Loading animation */
        .node.loading {
            animation: pulse 1s infinite;
        }

        /* Tooltip */
        .tooltip-custom {
            position: relative;
        }

        .tooltip-custom:hover::after {
            content: attr(data-tooltip);
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(15, 23, 42, 0.95);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.85rem;
            white-space: nowrap;
            z-index: 1000;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }