        :root {
            --bg-main: #0b0f19;
            --bg-card: #151f32;
            --text-primary: #ffffff;
            --text-secondary: #94a3b8;
            --accent-blue: #1a75cf;
            --accent-orange: #eb6f46;
            --accent-teal: #1fa67a;
            --accent-purple: #b842cd;
            --accent-pink: #e62e74;
            --accent-lime: #9dc413;
            --accent-navy: #235fa4;
            --accent-plum: #a61c5d;
            --accent-indigo: #5072eb;
            --border-color: rgba(255, 255, 255, 0.1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
        }

        body {
            background-color: var(--bg-main);
            color: var(--text-primary);
            line-height: 1.6;
            padding: 20px;
            overflow-x: hidden;
        }

        header {
            text-align: center;
            margin-bottom: 30px;
            padding: 20px 0;
            border-bottom: 1px solid var(--border-color);
        }

        header h1 {
            font-size: 2.5rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 10px;
        }

        header p {
            color: var(--text-secondary);
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Mode Switcher */
        .view-switcher {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 35px;
        }

        .view-btn {
            background-color: var(--bg-card);
            color: var(--text-secondary);
            border: 1px solid var(--border-color);
            padding: 10px 24px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .view-btn.active {
            background-color: var(--accent-blue);
            color: white;
            border-color: var(--accent-blue);
            box-shadow: 0 4px 14px rgba(26, 117, 207, 0.4);
        }

        .view-btn:hover:not(.active) {
            border-color: var(--text-secondary);
            color: white;
        }

        /* Container Views */
        .view-content {
            display: none;
            animation: fadeIn 0.5s ease forwards;
        }

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

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

        /* --- VIEW 1: INFOGRAPHIC TREEMAP --- */
        .dashboard-container {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1.2fr 1fr 0.8fr;
            gap: 15px;
            height: auto;
        }

        /* Brand Block Styles */
        .brand-block {
            border-radius: 12px;
            padding: 20px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 150px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        .brand-block:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 20px rgba(0,0,0,0.3);
            filter: brightness(1.1);
        }

        .brand-name {
            font-size: 1.8rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .brand-share {
            font-size: 2.2rem;
            font-weight: 900;
            opacity: 0.95;
            margin-top: 5px;
        }

        .brand-desc {
            font-size: 0.85rem;
            opacity: 0.8;
            margin-top: auto;
            font-weight: 500;
        }

        .flag-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 15px;
        }

        .flag-badge {
            background: rgba(255, 255, 255, 0.15);
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 0.8rem;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255,255,255,0.05);
        }

        /* Specific Brand Layout Allocations */
        .col-main {
            grid-column: 1;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .col-mid {
            grid-column: 2;
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .col-right {
            grid-column: 3;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        /* Colors mapping from Infographic */
        .bg-toyota { background: linear-gradient(135deg, #1664c0, #1976d2); color: white; min-height: 480px; }
        .bg-vw { background: linear-gradient(135deg, #d8572a, #eb6f46); color: white; }
        .bg-fiat { background: linear-gradient(135deg, #075e40, #0b4a34); color: white; }
        .bg-kia { background: linear-gradient(135deg, #9c27b0, #b842cd); color: white; }
        .bg-hyundai { background: linear-gradient(135deg, #3f51b5, #5072eb); color: white; }
        .bg-byd { background: linear-gradient(135deg, #434d59, #455466); color: white; }
        .bg-renault { background: linear-gradient(135deg, #7f1734, #a82247); color: white; }
        .bg-skoda { background: linear-gradient(135deg, #6e670d, #333003); color: white; }
        
        .sub-grid-2x2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .mini-block {
            border-radius: 8px;
            padding: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
        }
        .mini-block:hover {
            border-color: var(--text-secondary);
            background: rgba(255, 255, 255, 0.05);
        }
        .mini-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 700;
            font-size: 0.95rem;
        }
        .mini-share {
            font-size: 1.1rem;
            color: #38bdf8;
            font-weight: 800;
        }
        .mini-flags {
            margin-top: 8px;
            font-size: 0.85rem;
            color: var(--text-secondary);
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
        }

        /* --- VIEW 2: INTERACTIVE SLIDESHOW --- */
        .slideshow-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: var(--bg-card);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            padding: 40px;
            position: relative;
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
            min-height: 480px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .slide {
            display: none;
            animation: slideIn 0.5s ease forwards;
        }

        .slide.active {
            display: block;
        }

        @keyframes slideIn {
            from { opacity: 0; transform: translateX(20px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .slide-tag {
            display: inline-block;
            padding: 6px 14px;
            background: rgba(56, 189, 248, 0.1);
            color: #38bdf8;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .slide h2 {
            font-size: 2rem;
            margin-bottom: 20px;
            color: #fff;
            border-left: 5px solid var(--accent-blue);
            padding-left: 15px;
        }

        .slide-content {
            font-size: 1.1rem;
            color: #cbd5e1;
            margin-bottom: 25px;
        }

        .slide-content p {
            margin-bottom: 15px;
        }

        .slide-stats {
            display: flex;
            gap: 20px;
            margin-top: 25px;
            flex-wrap: wrap;
        }

        .stat-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.05);
            padding: 15px 20px;
            border-radius: 10px;
            flex: 1;
            min-width: 200px;
        }

        .stat-card .num {
            font-size: 2rem;
            font-weight: 800;
            color: #f43f5e;
        }
        .stat-card .num.blue { color: #38bdf8; }
        .stat-card .num.green { color: #10b981; }

        .stat-card .label {
            font-size: 0.9rem;
            color: var(--text-secondary);
            margin-top: 5px;
        }

        .slideshow-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 40px;
            border-top: 1px solid var(--border-color);
            padding-top: 20px;
        }

        .nav-btn {
            background: #1e293b;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: background 0.2s;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .nav-btn:hover:not(:disabled) {
            background: #334155;
        }

        .nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .slide-dots {
            display: flex;
            gap: 8px;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #334155;
            cursor: pointer;
            transition: all 0.3s;
        }

        .dot.active {
            background: var(--accent-blue);
            width: 24px;
            border-radius: 10px;
        }

        /* --- MODAL FOR DETAIL POPUP --- */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(5px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            width: 90%;
            max-width: 600px;
            border-radius: 16px;
            padding: 30px;
            position: relative;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .modal.active .modal-content {
            transform: scale(1);
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 1.5rem;
            cursor: pointer;
        }

        .close-modal:hover {
            color: white;
        }

        .modal-header h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .modal-body {
            margin-top: 20px;
        }

        .modal-section-title {
            font-size: 1rem;
            text-transform: uppercase;
            color: var(--text-secondary);
            letter-spacing: 1px;
            margin-bottom: 10px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding-bottom: 5px;
        }

        /* Footer styling */
        footer {
            text-align: center;
            margin-top: 50px;
            padding: 20px;
            color: var(--text-secondary);
            font-size: 0.9rem;
            border-top: 1px solid var(--border-color);
        }

        /* Responsive Layout */
        @media (max-width: 1024px) {
            .dashboard-container {
                grid-template-columns: 1fr 1fr;
            }
            .col-right {
                grid-column: span 2;
            }
        }

        @media (max-width: 768px) {
            .dashboard-container {
                grid-template-columns: 1fr;
            }
            .col-main, .col-mid, .col-right {
                grid-column: span 1;
            }
            header h1 {
                font-size: 1.8rem;
            }
            .slideshow-container {
                padding: 20px;
            }
        }