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

        body {
            font-family: 'JetBrains Mono', 'Fira Code', monospace;
            background: #0d1117;
            color: #c9d1d9;
            min-height: 100vh;
            line-height: 1.6;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 40px;
            padding: 30px;
            background: linear-gradient(135deg, #161b22 0%, #21262d 100%);
            border-radius: 16px;
            border: 1px solid #30363d;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .header h1 {
            font-size: 3rem;
            margin-bottom: 15px;
            background: linear-gradient(45deg, #3fb950, #58a6ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 30px rgba(63, 185, 80, 0.3);
        }

        .header p {
            color: #8b949e;
            font-size: 1.1rem;
        }

        .scanner-controls {
            background: #161b22;
            padding: 30px;
            border-radius: 16px;
            margin-bottom: 30px;
            border: 1px solid #30363d;
        }

        .input-row {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .input-group {
            flex: 1;
            min-width: 250px;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: #f0f6fc;
            font-weight: 600;
            font-size: 0.9rem;
        }

        input[type="text"] {
            width: 100%;
            padding: 12px 16px;
            background: #0d1117;
            border: 2px solid #30363d;
            border-radius: 8px;
            color: #c9d1d9;
            font-family: inherit;
            font-size: 14px;
            transition: all 0.2s ease;
        }

        input[type="text"]:focus {
            outline: none;
            border-color: #58a6ff;
            box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
        }

        .scan-btn {
            padding: 14px 28px;
            background: linear-gradient(135deg, #3fb950, #2ea043);
            border: none;
            border-radius: 8px;
            color: white;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .scan-btn:hover:not(:disabled) {
            background: linear-gradient(135deg, #2ea043, #238636);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(63, 185, 80, 0.3);
        }

        .scan-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .progress-bar {
            display: none;
            background: #21262d;
            border-radius: 8px;
            overflow: hidden;
            margin: 20px 0;
        }

        .progress-fill {
            height: 8px;
            background: linear-gradient(90deg, #3fb950, #58a6ff);
            transition: width 0.3s ease;
            width: 0%;
        }

        .progress-text {
            text-align: center;
            margin-top: 10px;
            color: #8b949e;
            font-size: 0.9rem;
        }

        .results-grid {
            display: grid;
            gap: 25px;
        }

        .repo-card {
            background: #161b22;
            border: 1px solid #30363d;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .repo-card:hover {
            border-color: #58a6ff;
            box-shadow: 0 8px 32px rgba(88, 166, 255, 0.1);
        }

        .repo-header {
            padding: 25px;
            background: linear-gradient(135deg, #21262d, #161b22);
            border-bottom: 1px solid #30363d;
        }

        .repo-title {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .repo-name {
            font-size: 1.4rem;
            font-weight: 700;
            color: #58a6ff;
            text-decoration: none;
        }

        .repo-name:hover {
            color: #79c0ff;
        }

        .repo-stats {
            display: flex;
            gap: 20px;
            font-size: 0.85rem;
            color: #8b949e;
        }

        .security-score {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        .score-excellent { background: rgba(63, 185, 80, 0.2); color: #3fb950; }
        .score-good { background: rgba(255, 212, 59, 0.2); color: #ffd43b; }
        .score-poor { background: rgba(248, 81, 73, 0.2); color: #f85149; }
        .score-critical { background: rgba(248, 81, 73, 0.3); color: #ff7b72; }

        .checks-container {
            padding: 25px;
        }

        .check-category {
            margin-bottom: 25px;
        }

        .category-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #f0f6fc;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .checks-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 12px;
        }

        .check-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 15px;
            border-radius: 8px;
            transition: all 0.2s ease;
            font-size: 0.9rem;
        }

        .check-item.pass {
            background: rgba(63, 185, 80, 0.1);
            border: 1px solid rgba(63, 185, 80, 0.3);
        }

        .check-item.fail {
            background: rgba(248, 81, 73, 0.1);
            border: 1px solid rgba(248, 81, 73, 0.3);
        }

        .check-item.warning {
            background: rgba(255, 212, 59, 0.1);
            border: 1px solid rgba(255, 212, 59, 0.3);
        }

        .check-icon {
            font-size: 1.2rem;
            margin-top: 2px;
        }

        .check-content {
            flex: 1;
        }

        .check-title {
            font-weight: 600;
            margin-bottom: 5px;
        }

        .check-description {
            color: #8b949e;
            font-size: 0.8rem;
            margin-bottom: 8px;
        }

        .check-details {
            background: rgba(0, 0, 0, 0.3);
            padding: 8px 12px;
            border-radius: 6px;
            font-family: 'JetBrains Mono', monospace;
            font-size: 0.75rem;
            color: #ff7b72;
            word-break: break-all;
            max-height: 80px;
            overflow-y: auto;
        }

        .summary-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 15px;
            margin-top: 20px;
            padding: 20px;
            background: rgba(33, 38, 45, 0.5);
            border-radius: 8px;
        }

        .stat-item {
            text-align: center;
        }

        .stat-number {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .stat-label {
            font-size: 0.8rem;
            color: #8b949e;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .error-message {
            background: rgba(248, 81, 73, 0.1);
            border: 1px solid rgba(248, 81, 73, 0.3);
            color: #ff7b72;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
        }

        .loading-spinner {
            display: none;
            text-align: center;
            padding: 40px;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #30363d;
            border-top: 3px solid #58a6ff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }