  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            padding: 20px;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            padding: 30px;
            text-align: center;
        }
        
        .header h1 {
            font-size: 2.5em;
            margin-bottom: 10px;
            font-weight: 700;
        }
        
        .header p {
            font-size: 1.2em;
            opacity: 0.9;
        }
        
        .controls {
            padding: 20px 30px;
            background: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .project-tabs {
            display: flex;
            gap: 10px;
        }
        
        .project-tab {
            background: white;
            border: 2px solid #e9ecef;
            color: #2c3e50;
            padding: 10px 20px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .project-tab:hover {
            background: #3498db;
            color: white;
            border-color: #3498db;
        }
        
        .project-tab.active {
            background: #2c3e50;
            color: white;
            border-color: #2c3e50;
        }
        
        .dark-mode-toggle {
            background: #34495e;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .dark-mode-toggle:hover {
            background: #2c3e50;
            transform: scale(1.05);
        }
        








/* ... (all existing styles up to the end of .dark-mode) ... */

/* Dark Mode Styles */
.dark-mode {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.dark-mode .container {
    background: #2c3e50;
    color: #ecf0f1;
}

.dark-mode .controls {
    background: #34495e;
    border-bottom-color: #4a5f7a;
}

.dark-mode .project-tab {
    background: #34495e;
    border-color: #4a5f7a;
    color: #ecf0f1;
}

.dark-mode .project-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.dark-mode .phase-card {
    background: #34495e;
    border-color: #4a5f7a;
    color: #ecf0f1;
}

.dark-mode .phase-card.completed {
    border-color: #27ae60;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), #34495e);
}

.dark-mode .phase-card.current {
    border-color: #f39c12;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), #34495e);
}

.dark-mode .phase-goal {
    background: #4a5f7a;
    border-left-color: #3498db;
    color: #ecf0f1;
}

.dark-mode .milestone {
    background: transparent;
    color: #ecf0f1;
    border-left-color: #6c7b7f;
}

.dark-mode .milestone.completed {
    background: rgba(39, 174, 96, 0.15);
    border-color: #27ae60;
}

.dark-mode .milestone.in-progress {
    background: rgba(243, 156, 18, 0.15);
    border-left-color: #f39c12;
}

.dark-mode .chart-container {
    background: transparent;
}

.dark-mode .stat-card {
    background: #34495e;
    color: #ecf0f1;
}

.dark-mode .phase-title,
.dark-mode .chart-title {
    color: #ecf0f1;
}

.dark-mode .stat-label {
    color: #bdc3c7;
}

/* --- NEW: LED Dark Mode Styles --- */
.led-mode {
    background: #000;
}

.led-mode .container,
.led-mode .phase-card,
.led-mode .stat-card {
    background: #000;
    color: #fff;
}

.led-mode .header,
.led-mode body {
    background: #000;
}

.led-mode .controls {
background: #000000;
    border-bottom-color: #222;
}

.led-mode .project-tab {
    background: #111;
    border-color: #222;
    color: #fff;
}

.led-mode .project-tab.active {
    background: #3498db;
    border-color: #3498db;
    color: white;
}

.led-mode .phase-card {
    border-color: #222;
}

.led-mode .phase-card:hover {
    border-color: #3498db;
}

.led-mode .phase-card.completed {
    border-color: #27ae60;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.1), #000);
}

.led-mode .phase-card.current {
    border-color: #f39c12;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), #000);
}

.led-mode .phase-goal {
    background: #1a1a1a;
    border-left-color: #3498db;
    color: #eee;
}

.led-mode .milestone {
    background: transparent;
    color: #eee;
    border-left-color: #444;
}

.led-mode .milestone.completed {
    background: rgba(39, 174, 96, 0.15);
    border-color: #27ae60;
}

.led-mode .milestone.in-progress {
    background: rgba(243, 156, 18, 0.15);
    border-left-color: #f39c12;
}

.led-mode .chart-container {
    background: transparent;
}

.led-mode .phase-title,
.led-mode .chart-title,
.led-mode .stat-label {
    color: #fff;
}














        .content {
            padding: 30px;
        }
        
        .phase-timeline {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        .phase-card {
            background: white;
            border: 2px solid #e9ecef;
            border-radius: 15px;
            padding: 25px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        
        .phase-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-color: #3498db;
        }
        
        .phase-card.completed {
            border-color: #27ae60;
            background: linear-gradient(135deg, #f8fff9, #ffffff);
        }
        
        .phase-card.current {
            border-color: #f39c12;
            background: linear-gradient(135deg, #fffbf0, #ffffff);
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
            50% { box-shadow: 0 10px 30px rgba(243, 156, 18, 0.2); }
        }
        
        .phase-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .phase-title {
            font-size: 1.4em;
            font-weight: 700;
            color: #2c3e50;
        }
        
        .phase-timeline-date {
            background: #3498db;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.9em;
            font-weight: 600;
        }
        
        .phase-goal {
            background: #ecf0f1;
            padding: 15px;
            border-radius: 10px;
            margin: 15px 0;
            font-style: italic;
            border-left: 4px solid #3498db;
        }
        
        .milestone-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }
        
        .milestone {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid #bdc3c7;
            transition: all 0.3s ease;
        }
        
        .milestone.completed {
            border: 2px solid #27ae60;
            background: rgba(39, 174, 96, 0.1);
            position: relative;
        }
        
        .milestone.completed::after {
            content: "✓";
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            color: #27ae60;
            font-weight: bold;
            font-size: 1.1em;
        }
        
        .milestone.in-progress {
            border-left-color: #f39c12;
            background: linear-gradient(135deg, #fffbf0, #f8f9fa);
        }
        
        .milestone-icon {
            font-size: 1.2em;
            margin-right: 10px;
        }
        
        .charts-container {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
            margin: 30px 0;
        }
        
        .chart-container {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        }
        
        .chart-title {
            font-size: 1.3em;
            font-weight: 600;
            margin-bottom: 20px;
            color: #2c3e50;
            text-align: center;
        }
        
        .gantt-container {
            height: 300px;
        }
        
        .progress-container {
            height: 300px;
        }
        
        .progress-bar {
            background: #ecf0f1;
            border-radius: 10px;
            height: 8px;
            margin: 10px 0;
            overflow: hidden;
        }
        
        .progress-fill {
            background: linear-gradient(90deg, #27ae60, #2ecc71);
            height: 100%;
            border-radius: 10px;
            transition: width 1s ease;
        }
        
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }
        
        .stat-card {
            background: white;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }
        
        .stat-card:hover {
            transform: translateY(-5px);
        }
        
        .stat-number {
            font-size: 2.5em;
            font-weight: 700;
            color: #3498db;
            margin-bottom: 10px;
        }
        
        .stat-label {
            color: #7f8c8d;
            font-weight: 500;
        }
        
        .hidden {
            display: none;
        }
        
        /* Dark Mode Styles */
        .dark-mode {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        }
        
        .dark-mode .container {
            background: #2c3e50;
            color: #ecf0f1;
        }
        
        .dark-mode .controls {
            background: #34495e;
            border-bottom-color: #4a5f7a;
        }
        
        .dark-mode .project-tab {
            background: #34495e;
            border-color: #4a5f7a;
            color: #ecf0f1;
        }
        
        .dark-mode .project-tab.active {
            background: #3498db;
            border-color: #3498db;
            color: white;
        }
        
        .dark-mode .phase-card {
            background: #34495e;
            border-color: #4a5f7a;
            color: #ecf0f1;
        }
        
        .dark-mode .phase-card.completed {
            border-color: #27ae60;
            background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), #34495e);
        }
        
        .dark-mode .phase-card.current {
            border-color: #f39c12;
            background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), #34495e);
        }
        
        .dark-mode .phase-goal {
            background: #4a5f7a;
            border-left-color: #3498db;
            color: #ecf0f1;
        }
        
        .dark-mode .milestone {
            background: transparent;
            color: #ecf0f1;
            border-left-color: #6c7b7f;
        }
        
        .dark-mode .milestone.completed {
            background: rgba(39, 174, 96, 0.15);
            border-color: #27ae60;
        }
        
        .dark-mode .milestone.in-progress {
            background: rgba(243, 156, 18, 0.15);
            border-left-color: #f39c12;
        }
        
        .dark-mode .chart-container {
            background: transparent;
        }
        
        .dark-mode .stat-card {
            background: #34495e;
            color: #ecf0f1;
        }
        
        .dark-mode .phase-title,
        .dark-mode .chart-title {
            color: #ecf0f1;
        }
        
        .dark-mode .stat-label {
            color: #bdc3c7;
        }
        
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            
            .header {
                padding: 20px 15px;
            }
            
            .header h1 {
                font-size: 2em;
            }
            
            .controls {
                padding: 15px;
                flex-direction: column;
                gap: 15px;
                align-items: stretch;
            }
            
            .project-tabs {
                flex-wrap: wrap;
                justify-content: center;
                gap: 8px;
            }
            
            .project-tab {
                padding: 8px 16px;
                font-size: 0.9em;
                flex: 1;
                min-width: 120px;
                text-align: center;
            }
            
            .content {
                padding: 15px;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
                margin: 20px 0;
            }
            
            .stat-card {
                padding: 20px 15px;
            }
            
            .stat-number {
                font-size: 2em;
            }
            
            .charts-container {
                grid-template-columns: 1fr;
                gap: 20px;
                margin: 20px 0;
            }
            
            .chart-container {
                padding: 20px 15px;
                margin: 0;
            }
            
            .phase-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .phase-timeline-date {
                font-size: 0.8em;
                padding: 4px 12px;
            }
            
            .phase-card {
                padding: 20px 15px;
            }
            
            .milestone-list {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            
            .milestone {
                padding: 12px;
                font-size: 0.9em;
            }
            
            .phase-goal {
                padding: 12px;
                margin: 12px 0;
                font-size: 0.9em;
            }
        }
        
        @media (max-width: 480px) {
            .stats-grid {
                grid-template-columns: 1fr;
            }
            
            .project-tab {
                min-width: 100px;
                font-size: 0.85em;
            }
            
            .phase-title {
                font-size: 1.2em;
            }
            
            .milestone-icon {
                font-size: 1em;
            }
        }















































        