
        :root {
            /* GitHub Dark Theme Colors */
            --primary: #0d1117;
            --primary-dark: #010409;
            --primary-header: #1a1a1a;
            --primary-light: #161b22;
            --accent: #238636;
            --accent-hover: #2ea043;
            --text-primary: #f0f6fc;
            --text-secondary: #c9d1d9;
            --text-muted: #8b949e;
            --border: #30363d;
            --danger: #f85149;
            --warning: #d29922;
            --success: #3fb950;
            
            /* Gray Scale */
            --gray-50: #f0f6fc;
            --gray-100: #c9d1d9;
            --gray-200: #b1bac4;
            --gray-300: #8b949e;
            --gray-400: #6e7681;
            --gray-500: #484f58;
            --gray-600: #30363d;
            --gray-700: #21262d;
            --gray-800: #161b22;
            --gray-900: #0d1117;
            
            /* Layout */
            --sidebar-width: 280px;
            --container-max-width: 1200px;
            --fira-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: var(--fira-font);
            line-height: 1.6;
            color: var(--text-primary);
            background-color: var(--primary);
            overflow-x: hidden;
        }
        
        .demo-container {
            /* max-width: var(--container-max-width); */
            margin: 0 auto;
            padding: 80px;
            
        }
        
   .demo-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(
        135deg, 
        rgb(from var(--primary-dark) r g b / 0.9) 0%, 
        rgb(from var(--primary) r g b / 0.85) 50%,
        rgb(from var(--accent) r g b / 0.5) 100%
    ), url('../img/contac-section.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.demo-header-title {
    display: flex;
    align-items: center;
    justify-content: center; /* Centers items horizontally */
    gap: 15px;
    flex-wrap: wrap;
    text-align: center; /* Ensures text centers when wrapped */
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .demo-header-title {
        gap: 10px;
    }
}
        .demo-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 20%, rgba(35, 134, 54, 0.1) 0%, transparent 50%);
        }
        
        .demo-header h1 {
            font-size: 3rem;
            margin-bottom: 15px;
            background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            position: relative;
        }
        
        .demo-header p {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }
        
        .demo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        
        .demo-card {
            background: var(--primary-light);
            border-radius: 12px;
            padding: 25px;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .demo-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--accent);
        }
        
        .demo-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            border-color: var(--accent);
        }
        
        .demo-card-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .demo-card-icon {
            width: 50px;
            height: 50px;
            border-radius: 10px;
            background: rgba(35, 134, 54, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            color: var(--accent);
            font-size: 1.5rem;
        }
        
        .demo-card-title {
            font-size: 1.4rem;
            font-weight: 600;
        }
        
        .demo-card-content {
            color: var(--text-secondary);
            margin-bottom: 20px;
        }
        
        .demo-card-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
        }
        
        .stat {
            text-align: center;
        }
        
        .stat-value {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 5px;
        }
        
        .stat-label {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        .demo-chart-container {
            background: var(--primary-light);
            border-radius: 12px;
            padding: 25px;
            border: 1px solid var(--border);
            margin-bottom: 40px;
        }
        
        .demo-chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .demo-chart-title {
            font-size: 1.4rem;
            font-weight: 600;
        }
        
        .demo-chart-actions {
            display: flex;
            gap: 10px;
        }
        
        .demo-btn {
            padding: 8px 16px;
            border-radius: 6px;
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s;
            /* font-family: 'Inter', sans-serif; */
        }
        
        .demo-btn-primary {
            background: var(--accent);
            color: white;
        }
        
        .demo-btn-primary:hover {
            background: var(--accent-hover);
        }
        
        .demo-btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border);
            text-decoration: none;
        }
        
        .demo-btn-secondary:hover {
            background: var(--primary);
        }
        
        .chart-container {
            height: 300px;
            position: relative;
        }
        
        .demo-threats {
            background: var(--primary-light);
            border-radius: 12px;
            padding: 25px;
            border: 1px solid var(--border);
            margin-bottom: 40px;
        }
        
        .threats-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .threats-title {
            font-size: 1.4rem;
            font-weight: 600;
        }
        
        .threats-list {
            list-style: none;
        }
        
        .threat-item {
            display: flex;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid var(--border);
        }
        
        .threat-item:last-child {
            border-bottom: none;
        }
        
        .threat-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1.2rem;
        }
        
        .threat-icon-critical {
            background: rgba(248, 81, 73, 0.2);
            color: var(--danger);
        }
        
        .threat-icon-high {
            background: rgba(210, 153, 34, 0.2);
            color: var(--warning);
        }
        
        .threat-icon-medium {
            background: rgba(47, 129, 247, 0.2);
            color: #2f81f7;
        }
        
        .threat-info {
            flex: 1;
        }
        
        .threat-title {
            font-weight: 500;
            margin-bottom: 3px;
        }
        
        .threat-desc {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        .threat-time {
            font-size: 0.9rem;
            color: var(--text-muted);
        }
        
        .demo-activity {
            background: var(--primary-light);
            border-radius: 12px;
            padding: 25px;
            border: 1px solid var(--border);
        }
        
        .activity-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .activity-title {
            font-size: 1.4rem;
            font-weight: 600;
        }
        
        .activity-list {
            list-style: none;
        }
        
        .activity-item {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }
        
        .activity-item:last-child {
            border-bottom: none;
        }
        
        .activity-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 1rem;
            background: var(--primary);
        }
        
        .activity-info {
            flex: 1;
        }
        
        .activity-title {
            font-weight: 500;
            margin-bottom: 3px;
            font-size: 0.95rem;
        }
        
        .activity-desc {
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        
        .activity-time {
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        
        .demo-footer {
            text-align: center;
            padding: 40px 20px;
            border-top: 1px solid var(--border);
            color: var(--text-muted);
            background: linear-gradient(
        135deg, 
        rgb(from var(--primary-dark) r g b / 0.9) 0%, 
        rgb(from var(--primary) r g b / 0.85) 50%,
        rgb(from var(--accent) r g b / 0.5) 100%
    ), url('../img/cta-section.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
        }
        
        .demo-footer p {
            margin-bottom: 10px;
        }
        
        .demo-cta {
            display: inline-block;
            margin-top: 20px;
            padding: 12px 30px;
            background: var(--accent);
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-weight: 500;
            transition: all 0.3s;
        }
        
        .demo-cta:hover {
            background: var(--accent-hover);
            transform: translateY(-2px);
        }
        
        .status-indicator {
            display: inline-block;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            margin-right: 8px;
        }
        
        .status-active {
            background: var(--success);
        }
        
        .status-warning {
            background: var(--warning);
        }
        
        .status-critical {
            background: var(--danger);
        }
        
        @media (max-width: 768px) {
            .demo-grid {
                grid-template-columns: 1fr;
            }
            
            .demo-header h1 {
                font-size: 2.2rem;
            }
            
            .demo-card-stats {
                flex-direction: column;
                gap: 15px;
            }
            
            .stat {
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
        }
        
        /* Animation for live data */
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.7; }
            100% { opacity: 1; }
        }
        
        .live-indicator {
            display: inline-flex;
            align-items: center;
            font-size: 0.8rem;
            color: var(--success);
            margin-left: 10px;
        }
        
        .live-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--success);
            margin-right: 5px;
            animation: pulse 2s infinite;
        }
    /* ============================================
   SMOOTH SCROLLING FOR ALL CARDS
   ============================================ */

/* Enable smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* All scrollable containers */
.attack-stream,
.response-log,
.threats-list,
.activity-list,
.simulator-terminal,
.demo-threats,
.demo-activity,
.attack-stream-panel .attack-stream,
.magic-demo-container .attack-stream,
.magic-demo-container .response-log {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

/* Custom scrollbar - Webkit browsers */
.attack-stream::-webkit-scrollbar,
.response-log::-webkit-scrollbar,
.threats-list::-webkit-scrollbar,
.activity-list::-webkit-scrollbar,
.simulator-terminal::-webkit-scrollbar {
    width: 5px;
}

.attack-stream::-webkit-scrollbar-track,
.response-log::-webkit-scrollbar-track,
.threats-list::-webkit-scrollbar-track,
.activity-list::-webkit-scrollbar-track,
.simulator-terminal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.attack-stream::-webkit-scrollbar-thumb,
.response-log::-webkit-scrollbar-thumb,
.threats-list::-webkit-scrollbar-thumb,
.activity-list::-webkit-scrollbar-thumb,
.simulator-terminal::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #238636, #2ea043);
    border-radius: 10px;
}

.attack-stream::-webkit-scrollbar-thumb:hover,
.response-log::-webkit-scrollbar-thumb:hover,
.threats-list::-webkit-scrollbar-thumb:hover,
.activity-list::-webkit-scrollbar-thumb:hover,
.simulator-terminal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2ea043, #3fb950);
}

/* Firefox scrollbar */
.attack-stream,
.response-log,
.threats-list,
.activity-list,
.simulator-terminal {
    scrollbar-width: thin;
    scrollbar-color: #238636 rgba(0, 0, 0, 0.3);
}

        /* Data indicator styles */
        .data-indicator {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-left: 15px;
        }

        .data-indicator.real {
            background: rgba(46, 160, 67, 0.2);
            color: #2ea043;
            border: 1px solid rgba(46, 160, 67, 0.3);
        }

        .data-indicator.demo {
            background: rgba(248, 81, 73, 0.2);
            color: #f85149;
            border: 1px solid rgba(248, 81, 73, 0.3);
        }

        .data-indicator i {
            font-size: 0.7rem;
        }

        .message-banner {
            background: rgba(248, 81, 73, 0.1);
            border-left: 3px solid #f85149;
            padding: 10px 15px;
            margin-bottom: 20px;
            border-radius: 8px;
            font-size: 0.9rem;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                opacity: 1;
            }

            50% {
                transform: scale(1.2);
                opacity: 0.7;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .live-dot {
            animation: pulse 1.5s infinite;
        }

        /* World Map SVG Styling */
        .world-map-svg {
            width: 100%;
            height: 100%;
            display: block;
            border-radius: 8px;
        }

        #world-map {
            position: relative;
            background: linear-gradient(135deg, #0a150e 0%, #061208 100%);
            border-radius: 8px 8px 0 0;
        }

        /* Map hover effects */
        .world-map-svg .attack-origin:hover {
            filter: drop-shadow(0 0 10px #ff4444);
            cursor: pointer;
        }

        .world-map-svg .attack-arc:hover {
            stroke-width: 2.5;
            filter: drop-shadow(0 0 8px #ff4444);
            transition: all 0.3s;
        }

        /* Map container */
        .threat-map-container {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(35, 134, 54, 0.2);
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(10px);
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
        }

        /* Responsive map height */
        @media (max-width: 768px) {
            #world-map {
                height: 300px;
            }
        }

        @media (max-width: 480px) {
            #world-map {
                height: 250px;
            }
        }

        /* ============================================
            SECTION HEADER (Shared)
            ============================================ */
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 16px;
            background: rgba(35, 134, 54, 0.1);
            border: 1px solid rgba(35, 134, 54, 0.2);
            border-radius: 100px;
            font-size: 0.8rem;
            font-family: var(--fira-font);
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #2ea043;
            margin-bottom: 20px;
        }

        .section-header h2 {
            font-size: clamp(2rem, 4vw, 2.8rem);
            font-family: var(--fira-font);
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 16px;
        }

        .section-header p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 600px;
            margin: 0 auto;
        }

        .pulse-dot.critical {
            width: 8px;
            height: 8px;
            background: #ff4444;
            border-radius: 50%;
            box-shadow: 0 0 10px #ff4444;
            animation: pulse-critical 1.5s infinite;
        }

        @keyframes pulse-critical {

            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }

            50% {
                opacity: 0.4;
                transform: scale(1.3);
            }
        }

        /* ============================================
             LIVE THREAT MAP SECTION
             ============================================ */
        .threat-map-section {
            padding: 80px 0;
            background: linear-gradient(180deg, #0a0a0a 0%, #0d1510 100%);
            position: relative;
        }

        .threat-map-container {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(35, 134, 54, 0.2);
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(10px);
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
        }

        #world-map {
            width: 100%;
            height: 400px;
            background: linear-gradient(135deg, #0a150e 0%, #061208 100%);
            position: relative;
        }

        /* World Map SVG Background (Fallback) */
        #world-map::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 500'%3E%3Crect width='1000' height='500' fill='%230a150e'/%3E%3Cpath d='M100,100 Q200,80 300,120 Q400,160 500,100 Q600,40 700,100 Q800,160 900,120' stroke='%23238636' stroke-width='1' fill='none' opacity='0.3'/%3E%3Cpath d='M50,200 Q150,180 250,220 Q350,260 450,200 Q550,140 650,200 Q750,260 850,220 Q950,180 980,200' stroke='%23238636' stroke-width='1' fill='none' opacity='0.2'/%3E%3Cpath d='M0,300 Q100,280 200,320 Q300,360 400,300 Q500,240 600,300 Q700,360 800,320 Q900,280 1000,300' stroke='%23238636' stroke-width='1' fill='none' opacity='0.15'/%3E%3Ccircle cx='200' cy='150' r='3' fill='%23ff4444' opacity='0.8'/%3E%3Ccircle cx='450' cy='120' r='2' fill='%23ff4444' opacity='0.6'/%3E%3Ccircle cx='600' cy='200' r='4' fill='%23ff4444' opacity='0.9'/%3E%3Ccircle cx='750' cy='280' r='2' fill='%23ff4444' opacity='0.5'/%3E%3Ccircle cx='300' cy='350' r='3' fill='%23ffaa00' opacity='0.7'/%3E%3Ccircle cx='850' cy='150' r='2' fill='%23ffaa00' opacity='0.6'/%3E%3C/svg%3E");
            background-size: cover;
            background-position: center;
            opacity: 0.5;
        }

        /* Attack arcs animation */
        #world-map::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 30% 40%, rgba(255, 68, 68, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 60% 30%, rgba(255, 68, 68, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255, 170, 0, 0.1) 0%, transparent 50%);
            pointer-events: none;
            animation: map-pulse 4s ease-in-out infinite;
        }

        @keyframes map-pulse {

            0%,
            100% {
                opacity: 0.5;
            }

            50% {
                opacity: 1;
            }
        }

        .map-overlay-stats {
            display: flex;
            justify-content: space-around;
            padding: 20px 30px;
            background: rgba(0, 0, 0, 0.6);
            border-top: 1px solid rgba(35, 134, 54, 0.2);
            backdrop-filter: blur(10px);
        }

        .map-stat {
            text-align: center;
        }

        .map-stat-value {
            display: block;
            font-size: 2rem;
            font-weight: 700;
          font-family: var(--fira-font);
            color: #2ea043;
            text-shadow: 0 0 20px rgba(46, 160, 67, 0.5);
            line-height: 1.2;
        }

        .map-stat-label {
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* ============================================
            BEFORE VS AFTER COMPARISON SECTION
            ============================================ */
        .comparison-section {
            padding: 80px 0;
            background: linear-gradient(180deg, #0d1510 0%, #0a0a0a 100%);
            position: relative;
        }

        .comparison-slider {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .comparison-before,
        .comparison-after {
            border-radius: 16px;
            overflow: hidden;
            transition: transform 0.3s;
        }

        .comparison-before:hover,
        .comparison-after:hover {
            transform: translateY(-5px);
        }

        .comparison-label {
            padding: 12px 20px;
            font-family: var(--fira-font);
            font-weight: 600;
            font-size: 1rem;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .comparison-label.bad {
            background: rgba(248, 81, 73, 0.15);
            border: 1px solid rgba(248, 81, 73, 0.3);
            color: #f85149;
            border-bottom: none;
            border-radius: 12px 12px 0 0;
        }

        .comparison-label.good {
            background: rgba(46, 160, 67, 0.15);
            border: 1px solid rgba(46, 160, 67, 0.3);
            color: #2ea043;
            border-bottom: none;
            border-radius: 12px 12px 0 0;
        }

        .comparison-content {
            border-radius: 0 0 12px 12px;
            overflow: hidden;
        }

        .comparison-before .comparison-content {
            border: 1px solid rgba(248, 81, 73, 0.2);
            border-top: none;
        }

        .comparison-after .comparison-content {
            border: 1px solid rgba(46, 160, 67, 0.2);
            border-top: none;
        }

        /* Code Block Styling */
        .code-block {
            background: #0d1117;
            overflow: hidden;
        }

        .code-header {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            background: rgba(0, 0, 0, 0.3);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .code-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .code-dot.red {
            background: #ff5f56;
        }

        .code-dot.yellow {
            background: #ffbd2e;
        }

        .code-dot.green {
            background: #27c93f;
        }

        .code-filename {
            margin-left: 8px;
            color: rgba(255, 255, 255, 0.5);
          font-family: var(--fira-font);
            font-size: 0.8rem;
        }

        .code-block pre {
            margin: 0;
            padding: 20px;
            overflow-x: auto;
        }

        .code-block code {
           font-family: var(--fira-font);
            font-size: 0.85rem;
            line-height: 1.6;
            color: #c9d1d9;
        }

        .vulnerable code {
            color: #f85149;
        }

        .protected code {
            color: #2ea043;
        }

        .warning-message,
        .success-message {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 15px 20px;
            font-size: 0.9rem;
        }

        .warning-message {
            background: rgba(248, 81, 73, 0.1);
            color: #f85149;
            border-top: 1px solid rgba(248, 81, 73, 0.2);
        }

        .success-message {
            background: rgba(46, 160, 67, 0.1);
            color: #2ea043;
            border-top: 1px solid rgba(46, 160, 67, 0.2);
        }

        .warning-message i,
        .success-message i {
            font-size: 1rem;
        }

        /* ============================================
             ATTACK SIMULATOR SECTION
             ============================================ */
        .simulator-section {
            padding: 80px 0;
            background: linear-gradient(180deg, #0a0a0a 0%, #0d1510 100%);
            position: relative;
        }

        .simulator-container {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 30px;
            max-width: 1100px;
            margin: 0 auto;
        }

        /* Attack Panel */
        .simulator-attack-panel {
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(35, 134, 54, 0.15);
            border-radius: 16px;
            padding: 25px;
            backdrop-filter: blur(10px);
        }

        .simulator-attack-panel h3 {
            display: flex;
            align-items: center;
            gap: 10px;
           font-family: var(--fira-font);
            font-size: 1.1rem;
            color: #ffffff;
            margin-bottom: 25px;
        }

        .simulator-attack-panel h3 i {
            color: #f85149;
        }

        .attack-buttons {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .sim-btn {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: #ffffff;
            font-family: var(--fira-font);
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s;
            text-align: left;
        }

        .sim-btn i {
            width: 24px;
            color: #f85149;
            font-size: 1rem;
        }

        .sim-btn:hover {
            background: rgba(248, 81, 73, 0.15);
            border-color: rgba(248, 81, 73, 0.4);
            transform: translateX(5px);
        }

        .sim-btn:active {
            transform: translateX(2px);
        }

        /* Result Panel */
        .simulator-result-panel {
            background: #0d1117;
            border: 1px solid rgba(35, 134, 54, 0.15);
            border-radius: 16px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .simulator-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 20px;
            background: rgba(0, 0, 0, 0.4);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .simulator-status {
            display: flex;
            align-items: center;
            gap: 8px;
           font-family: var(--fira-font);
            font-size: 0.8rem;
            color: #2ea043;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .simulator-status i {
            font-size: 0.5rem;
            animation: pulse-status 2s infinite;
        }

        @keyframes pulse-status {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.4;
            }
        }

        .simulator-terminal {
            flex: 1;
            padding: 20px;
            background: #0a0c10;
            min-height: 200px;
            max-height: 300px;
            overflow-y: auto;
            font-family: var(--fira-font);
        }

        .simulator-terminal::-webkit-scrollbar {
            width: 6px;
        }

        .simulator-terminal::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
        }

        .simulator-terminal::-webkit-scrollbar-thumb {
            background: rgba(46, 160, 67, 0.3);
            border-radius: 3px;
        }

        .terminal-line {
            display: flex;
            gap: 12px;
            margin-bottom: 8px;
            font-size: 0.85rem;
            line-height: 1.6;
        }

        .terminal-prompt {
            color: #2ea043;
            font-weight: 600;
        }

        .terminal-text {
            color: #c9d1d9;
        }

        .terminal-text.error {
            color: #f85149;
        }

        .terminal-text.success {
            color: #2ea043;
        }

        .terminal-text.warning {
            color: #f0883e;
        }

        .simulator-result {
            padding: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            min-height: 60px;
        }

        .result-blocked {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: rgba(46, 160, 67, 0.1);
            border: 1px solid rgba(46, 160, 67, 0.3);
            border-radius: 8px;
            color: #2ea043;
        }

        .result-blocked i {
            font-size: 1.2rem;
        }

        /* ============================================
             RESPONSIVE DESIGN
             ============================================ */
        @media (max-width: 992px) {
            .comparison-slider {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .simulator-container {
                grid-template-columns: 1fr;
            }

            .map-overlay-stats {
                flex-wrap: wrap;
                gap: 20px;
            }

            .map-stat {
                flex: 1;
                min-width: 100px;
            }
        }

        @media (max-width: 768px) {

            .threat-map-section,
            .comparison-section,
            .simulator-section {
                padding: 50px 0;
            }

            .section-header h2 {
                font-size: 1.8rem;
            }

            .section-header p {
                font-size: 1rem;
            }

            #world-map {
                height: 250px;
            }

            .map-stat-value {
                font-size: 1.5rem;
            }

            .map-stat-label {
                font-size: 0.7rem;
            }

            .code-block pre {
                padding: 15px;
            }

            .code-block code {
                font-size: 0.75rem;
            }

            .attack-buttons {
                gap: 8px;
            }

            .sim-btn {
                padding: 12px 14px;
                font-size: 0.8rem;
            }
        }

        @media (max-width: 480px) {
            .map-overlay-stats {
                flex-direction: column;
                gap: 15px;
            }

            .map-stat {
                text-align: left;
                display: flex;
                align-items: baseline;
                gap: 10px;
            }

            .map-stat-value {
                font-size: 1.3rem;
                min-width: 60px;
            }

            .warning-message,
            .success-message {
                font-size: 0.8rem;
                padding: 12px 15px;
            }
        }

        /* ============================================
               ACCESSIBILITY
            ============================================ */
        @media (prefers-reduced-motion: reduce) {

            .pulse-dot.critical,
            #world-map::after,
            .simulator-status i {
                animation: none;
            }

            .comparison-before:hover,
            .comparison-after:hover,
            .sim-btn:hover {
                transform: none;
            }
        }

        .sim-btn:focus-visible {
            outline: 3px solid #2ea043;
            outline-offset: 3px;
        }

        /* ============================================
            DEMO CONVERSION BANNER
            ============================================ */
        .demo-conversion-banner {
            padding: 60px 0 40px;
        }

        .conversion-box {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px;
            padding: 40px 50px;
            background: linear-gradient(135deg, rgba(35, 134, 54, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
            border: 1px solid rgba(35, 134, 54, 0.2);
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }

        .conversion-content h2 {
            font-size: 2rem;
            font-family: var(--fira-font);
            color: #ffffff;
            margin-bottom: 10px;
        }

        .conversion-content p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .conversion-actions {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        @media (max-width: 768px) {
            .conversion-box {
                flex-direction: column;
                text-align: center;
                padding: 30px 25px;
            }

            .conversion-content h2 {
                font-size: 1.5rem;
            }

            .conversion-actions {
                justify-content: center;
                width: 100%;
            }


        }

        /* ============================================
   MAGIC LIVE DEMO SECTION
   ============================================ */
        .magic-demo-section {
            padding: 80px 0;
            background: linear-gradient(180deg, #0a0a0a 0%, #0a120c 100%);
            position: relative;
        }

        .magic-demo-container {
            display: grid;
            grid-template-columns: 1fr 1.2fr 1fr;
            gap: 20px;
            margin-bottom: 40px;
        }

        /* ===== Attack Stream Panel ===== */
        .attack-stream-panel {
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(248, 81, 73, 0.2);
            border-radius: 16px;
            padding: 20px;
            backdrop-filter: blur(10px);
        }

        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .panel-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-family: var(--fira-font);
            font-size: 0.9rem;
            color: #f85149;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .attack-counter {
            text-align: right;
        }

        .attack-counter span:first-child {
            font-size: 1.8rem;
            font-weight: 700;
            font-family: var(--fira-font);
            color: #f85149;
            display: block;
            line-height: 1.2;
        }

        .attack-counter span:last-child {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
        }

        .attack-stream {
            min-height: 200px;
            max-height: 250px;
            overflow-y: auto;
            margin-bottom: 15px;
        }

        .stream-placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 150px;
            color: rgba(255, 255, 255, 0.3);
            gap: 10px;
        }

        .stream-placeholder i {
            font-size: 2rem;
        }

        .attack-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 12px;
            background: rgba(248, 81, 73, 0.05);
            border-left: 3px solid;
            margin-bottom: 8px;
            border-radius: 0 6px 6px 0;
            animation: slideIn 0.3s ease;
        }

        .attack-item.sql {
            border-color: #f85149;
        }

        .attack-item.xss {
            border-color: #ffaa00;
        }

        .attack-item.bot {
            border-color: #9b59b6;
        }

        .attack-item.brute {
            border-color: #e67e22;
        }

        .attack-item i {
            width: 20px;
            color: #f85149;
        }

        .attack-info {
            flex: 1;
        }

        .attack-type {
            font-weight: 600;
            font-size: 0.85rem;
            color: #ffffff;
        }

        .attack-detail {
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.5);
            font-family: var(--fira-font);
        }

        .attack-time {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.4);
          font-family: var(--fira-font);
        }

        .attack-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            padding-top: 10px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.6);
        }

        .legend-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
        }

        .legend-item.sql .legend-dot {
            background: #f85149;
        }

        .legend-item.xss .legend-dot {
            background: #ffaa00;
        }

        .legend-item.bot .legend-dot {
            background: #9b59b6;
        }

        .legend-item.brute .legend-dot {
            background: #e67e22;
        }

        /* ===== Risk Panel ===== */
        .risk-panel {
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(35, 134, 54, 0.2);
            border-radius: 16px;
            padding: 20px;
            backdrop-filter: blur(10px);
        }

        .risk-gauge-container {
            position: relative;
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        #riskGauge {
            width: 150px !important;
            height: 150px !important;
        }

        .risk-value {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
        }

        #risk-percent {
            font-size: 2rem;
            font-weight: 700;
          font-family: var(--fira-font);
            color: #ffffff;
            display: block;
            line-height: 1;
        }

        .risk-label {
            font-size: 0.6rem;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .risk-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }

        .risk-stat {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
        }

        .stat-icon {
            width: 35px;
            height: 35px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .stat-icon.blocked {
            background: rgba(248, 81, 73, 0.15);
            color: #f85149;
        }

        .stat-icon.detected {
            background: rgba(155, 89, 182, 0.15);
            color: #9b59b6;
        }

        .stat-info {
            flex: 1;
        }

        .stat-value {
            font-size: 1.3rem;
            font-weight: 700;
            font-family: var(--fira-font);
            color: #ffffff;
            display: block;
            line-height: 1.2;
        }

        .stat-label {
            font-size: 0.6rem;
            color: rgba(255, 255, 255, 0.5);
            text-transform: uppercase;
        }

        .risk-timeline {
            padding: 15px;
            background: rgba(0, 0, 0, 0.3);
            border-radius: 10px;
        }

        .timeline-header {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.75rem;
        }

        .timeline-sparkline {
            margin-bottom: 10px;
        }

        #sparklineCanvas {
            width: 100% !important;
            height: 40px !important;
        }

        .timeline-spike {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 8px;
            background: rgba(248, 81, 73, 0.1);
            border-radius: 6px;
            color: #f85149;
            font-size: 0.75rem;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .timeline-spike.show {
            opacity: 1;
            animation: pulse-warning 1s infinite;
        }

        /* ===== Response Panel ===== */
        .response-panel {
            background: rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(46, 160, 67, 0.2);
            border-radius: 16px;
            padding: 20px;
            backdrop-filter: blur(10px);
            display: flex;
            flex-direction: column;
        }

        .response-status {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.7rem;
            color: #2ea043;
            text-transform: uppercase;
        }

        .status-dot {
            width: 8px;
            height: 8px;
            background: #2ea043;
            border-radius: 50%;
            animation: pulse-status 1.5s infinite;
        }

        .response-log {
            flex: 1;
            min-height: 200px;
            max-height: 250px;
            overflow-y: auto;
            margin-bottom: 20px;
        }

        .log-entry {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            animation: fadeIn 0.3s ease;
        }

        .log-time {
            font-size: 0.65rem;
            color: rgba(255, 255, 255, 0.4);
            font-family: var(--fira-font);
            min-width: 55px;
        }

        .log-icon {
            width: 20px;
            text-align: center;
        }

        .log-icon.success {
            color: #2ea043;
        }

        .log-icon.info {
            color: #2f81f7;
        }

        .log-icon.warning {
            color: #f0883e;
        }

        .log-icon.blocked {
            color: #f85149;
        }

        .log-message {
            flex: 1;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .quick-actions {
            display: flex;
            gap: 10px;
        }

        .magic-btn {
            flex: 1;
            padding: 12px;
            background: linear-gradient(135deg, #f85149 0%, #cc0000 100%);
            border: none;
            border-radius: 8px;
            color: #ffffff;
            font-family: var(--fira-font);
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .magic-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -5px rgba(248, 81, 73, 0.4);
        }

        .magic-btn.secondary {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .magic-btn.secondary:hover {
            background: rgba(255, 255, 255, 0.05);
            box-shadow: none;
        }

        .magic-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        /* ===== Magic CTA ===== */
        .magic-cta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
            padding: 25px 30px;
            background: linear-gradient(135deg, rgba(35, 134, 54, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
            border: 1px solid rgba(35, 134, 54, 0.2);
            border-radius: 16px;
        }

        .magic-cta .cta-content {
            display: flex;
            align-items: center;
            gap: 12px;
            color: #ffffff;
            font-size: 1.1rem;
        }

        .magic-cta .cta-content i {
            color: #2ea043;
            font-size: 1.5rem;
        }

        .magic-cta-btn {
            padding: 14px 28px;
            background: #2ea043;
            border: none;
            border-radius: 8px;
            color: #ffffff;
            font-family: var(--fira-font);
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
        }

        .magic-cta-btn:hover {
            background: #3fb950;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px -5px rgba(46, 160, 67, 0.4);
            color: #ffffff;
        }

        .magic-cta-btn i {
            transition: transform 0.3s;
        }

        .magic-cta-btn:hover i {
            transform: translateX(5px);
        }

        /* Animations */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-10px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes pulse-warning {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(248, 81, 73, 0.4);
            }

            50% {
                box-shadow: 0 0 10px 3px rgba(248, 81, 73, 0.2);
            }
        }

        /* Responsive */
        @media (max-width: 992px) {
            .magic-demo-container {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .magic-cta {
                flex-direction: column;
                text-align: center;
            }

            .magic-cta-btn {
                width: 100%;
                justify-content: center;
            }
        }